1/4
Day 56: Let's Play
I was supposed to spend the day setting up the game so I could start writing the code, but as soon as I started, I was so lost. I saw things that looked weird and new.
1/3
Day 55: Let's Play
Kicking off a new game today: Breakout. This build takes a new route. It uses physics on a canvas, like 2D game engines do: angles, motion formulas, vectors.
1
1
7
3/4
I saw how the canvas draws inside React, how frames matter so much to this game, how they differ from screen to screen, and how the game adjusts for that.
I was most surprised to see Pythagoras used to work out the distance the ball travels.
1
1
1
1/3
Day 55: Let's Play
Kicking off a new game today: Breakout. This build takes a new route. It uses physics on a canvas, like 2D game engines do: angles, motion formulas, vectors.
2/3
Collision and frames have come up before, but with a different approach this time. This won't be a grid game like the rest. The ball's movement is the heart of it, and it shapes how the whole game is built.
1
1
7
Day 54: Let's Play
Before jumping into the next build, I made sure I understood everything, and I can say I do sha 😂
Did some revision on the rules and I think I'm good to go. Try the updated, polished 2048 on laptop and mobile:
games-challenge.aces-portal.…
See you soon...
1/4
Day 53: Let's Play
I can say I know why and how this polishing works, but I might be lying.
It made the game smoother and more coordinated than before. This was possible by keeping track of every step: a new tile spawning, tiles merging, tiles moving.
3/4
Other things run in the background too. The game only slides left, so the other directions are reversed or transposed to become left, then the tile positions are turned back. CSS handles the sliding, and I added a best score and keep going after 2048.
1
1
7
Day 52: Let's Play
I thought polishing 2048 would be easy, not knowing I'd be back at the drawing board for the tile movement.
I wondered why the movement felt scattered, not knowing polishing was the fix. It's not easy, it's work to settle down and learn.
So,See you soon.
Day 51: Let's Play
The game is hosted now, and swipe works on mobile. Try it on your phone: swipe anywhere on the screen to slide the tiles.
Next up: polishing it. See you soon...
games-challenge.aces-portal.…
3
29
Day 51: Let's Play
The game is hosted now, and swipe works on mobile. Try it on your phone: swipe anywhere on the screen to slide the tiles.
Next up: polishing it. See you soon...
games-challenge.aces-portal.…
Day 50: Let's Play
The rules are set, tested and passing, so today I drew the board and added the keyboard controls. Arrow keys work on laptop for now. I tried playing it and couldn't win 😔
Up next, swipe controls for mobile, then the sliding animation. See you soon.
1/5
Day 49: Let's Play
As promised, I spent time understanding the rules of 2048. They're interesting and very strict.
The game starts with a 4x4 grid and two tiles. You swipe to slide and merge equal tiles, chasing the 2048 tile.
1
1
33
4/5
After every move, the game checks if the grid changed. If it did, a new 2 or 4 appears on a random empty cell. If not, nothing happens.
Won = a 2048 tile exists. Over = no direction can change the grid.
1
1
3


