Description
24a2 is a minimalist game engine for building simple browser games in JavaScript or TypeScript. Every game has a 24 by 24 grid of dots, and you can set the colour of each dot and read it back. The engine can run a function you define when an arrow key is pressed, or when a dot is clicked. The idea is that you do not have to think about visual style, complicated physics or sound, so you can focus on building something in a few hours. Because the features are limited, the site says the engine is easy to learn and encourages creative solutions to problems. Games play in a web browser, which makes them easy to share. The site has a tutorial, an API reference, a list of examples, and a link to the source code. Example games include Snake and Skiing, and the code for a game is shown with create and update callbacks and a frame counter. The author notes that 24a2 is new and may have bugs, and asks for issues to be reported on GitHub.…
Highlights
- 24 by 24 grid of dots to draw with
- Keyboard and click callbacks
- Write in JavaScript or TypeScript, play in the browser
- Tutorial, API reference and example games
Ratings & Reviews
No ratings yet
Be the first to rate 24a2.
People also visit
24a2 FAQ
What is 24a2?
A minimalist game engine that lets you build a simple game in a few hours, using a 24 by 24 grid of dots.
What do I need to write a game?
Write the game in JavaScript or TypeScript, using the create and update functions and the key-press and click callbacks described in the reference.
Where are the games played?
In a web browser, so you can share what you make with a link.
Is it finished?
The site says 24a2 is new and may have bugs, and asks users to raise an issue on GitHub when they find one.
What are the best 24a2 alternatives?
Popular alternatives to 24a2 include Excalibur, Black and Text Engine. See all 24a2 alternatives



