JavaScript Minigames
summary
Demos show building 2048 in React by representing the board as a matrix, adding two random 2s, and implementing the slide + merge logic; a tile‑based platformer uses a matrix of tiles, a character with useHKeys x/y state, and CSS transitions to animate between cells. Coins live in an array; collision checks remove a coin and increment score. Claim is that playable minigames take tens to hundreds of lines; resources mentioned include Tiled and the js13k contest.
AI-written summary · about
chapters (7)
- 0:00Introduction to minigames
- 3:19Building 2048 in React
- 7:03Tile-based games like Gbett Run
- 12:30Why minigames matter
- 18:01Game jams and challenges
- 21:14React and game development
- 23:42Resources and next steps
related talks
31mMake coding fun: developing a game in the browser
48mVanilla JS 2018
25mJavascript as Play A Primer on Getting Started with Video Games
30mMaking Games in React
08mDesigning Boardgames and How Tech (and React) Can Help
32mDaedalus – Through the Maze of Code
27mMy Experience Making a 13-Kilobyte Video Game in JavaScript
33mThe Art of Less
