In my not so copious spare time over the past few months, I’ve been working on a game engine to power two dimensional board-based games. The engine has a long way to go, but I have reach the first demo milestone and wanted to share it with you.
Here is a basic version the snake game written using the game engine. It illustrates a working main thread, responsiveness to keyboard commands, interaction between a user controlled character and the game environment, and a simple map building engine. I chose the Snake game, because it is relatively simple, but has some unusual characteristics (growing character size, collision detection, power ups) that forced me to consider more complex behaviors in the game engine.
Obviously, there is still a lot missing from the engine, so I won’t go into its details yet, but the engine and the Snake game are at a point where you can begin to play around with it. The next demo will have a finished version of Snake, then I’ll use the engine to build a second game, a third game, and so on. By the completion of the third game, I believe the engine will be ready to be consumed by other game developers looking to build some simple browser games.