Introducing Gaming Engine - Snake Demo v1

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.

The idea behind the engine is to allow developers to build a two dimensional board-base game using a combination of HTML/CSS/JavaScript. For most games, I expect a user to control a sprite and move it around the board, but it should eventually be versatile enough to even support multiplayer board games. See the source files on github for more information.

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.