I made a browser game with ChatGPT, what do you think?

I created a game that you can play on your phone in your browser. No downloads, no ads, no subscriptions and other nonsense: just click the link and play!

Having little to no programming knowledge, I got to work with ChatGPT and Perplexity. After a lot of back and forth chatting this is the result: ‘empty the grid’. I am very curious what you guys think of it. And your high score of course, so far I can’t get past 32…

https://matty.games/matty6.html

2 Likes

That was actually good fun, well done :023:

1 Like

The game was fun, but there is a few things that may be better:

  1. Even i (writing as a person who have vision problems) can notice a double border CSS issue. There are few ways to fix that … One of them is to use table element together with border-collapse: collapse style.

  2. Consider adding different than body’s default background to cell and maybe few others little CSS changes - the current version looks a bit too plain. Alternatively you can set a different background colour for each cell value. I especially recommend to look for an inspiration in other games like 2048.

  3. Consider some styling for children - I and other people here are fine, but for children it may be more eye-catching if you would use apples and bananas instead of numbers. That’s one of reasons why Fall Guys (for example memory game with fruits) is so popular.

  4. Light/dark mode setting is not persistent - simple refresh resets to default. There are few ways in JavaScript to store settings without a need to change the backend’s code

  5. The main page looks unstyled - I don’t require to write lots of fancy CSS styles, but there are lots of CSS reset samples that you can use like: Barebones: Responsive CSS Boilerplate

Edit: @AstonJ I had no idea that a game title like that may trigger inclusive language message from bot. I’m … sorry? :joy:

2 Likes

Thank you so much!

1 Like

Hi Eiji,

Thank you for your kind suggestions! I will look into 1 and 5. I’m hoping to improve my skills so I can use them to make the game better (looking).

Funny you mention 2048 because one of my earlier versions was made with 2048-like styling! In the end I didn’t want to copy their styling too much…

Your point 3: I hope children will like and play my games and improve their math skills without them knowing they do :wink:

I immediately changed the code so the light/dark mode is persistent now! If you do a hard refresh you will see the result.

Again: thank you so much for your reply and great suggestions!

2 Likes