ipod-classic-js icon indicating copy to clipboard operation
ipod-classic-js copied to clipboard

Added 2048 Game

Open Lukas1h opened this issue 2 years ago • 3 comments

Added 2048 to the games list. Ported from https://github.com/kwrush/react-2048

BTW, Great project! Absolutely love it!

Lukas1h avatar May 25 '22 19:05 Lukas1h

Someone is attempting to deploy a commit to a Personal Account owned by @tvillarete on Vercel.

@tvillarete first needs to authorize it.

vercel[bot] avatar May 25 '22 19:05 vercel[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
ipod-classic-js ❌ Failed (Inspect) May 25, 2022 at 8:09PM (UTC)

vercel[bot] avatar May 25 '22 20:05 vercel[bot]

Hey @Lukas1h, thanks for contributing! It would be awesome to have 2048 as an iPod game. Unfortunately it doesn't look like this is in a functioning state in its current form. A couple things I've noticed while trying to test it out:

  1. I see a new dependency called styled-normalize is used, however it hasn't been added to the root package.json which is causing a runtime error. Try running yarn add styled-normalize to fix that
  2. After getting the game at least in a runnable state, I'm seeing that the first screen I'm presented with is "game over". I think there might be an incorrect initial game state getting set
  3. The iPod screen's height just slightly increases when entering the 2048 game from the Games menu. We might need to adjust the styles within the game so it doesn't stretch the height of the screen
  4. I see that there are quite a few unused variables throughout your code. I'd recommend installing ESLint if you use VSCode. It will show you several useful warnings to make your code more resilient

Let me know if you need guidance on any of these points -- happy to help wherever possible 🙂

I'm going to convert this PR into a Draft PR since it still needs some iteration, but I'll be watching it for any comments. Thanks again!

tvillarete avatar Jun 11 '22 23:06 tvillarete

Going to close this as it's quite out of date now. If you ever feel compelled to resurrect it in the future, I'll happily give it a review 🙂

tvillarete avatar Jan 16 '24 04:01 tvillarete

Yeah it's been awhile 😂

I don't think I'll ever get around to fixing the code.

Also thanks for your polite comment. I was a lot younger (only 14) and a lot less experienced and looking back now the code is pretty crazy.

Lukas1h avatar Jan 22 '24 03:01 Lukas1h