Four

A Simple JavaScript Game Engine In A 4x4 Grid.

The goal of this package was to create a game abstraced away the complexity of getting things setup and drawing the game grid.

In order to keep this game engine simple there is nothing like title screens, option menus, or even a pause feature. Just a 4x4 grid that you can set colours on and use clicks and arrows for user interaction. The score is displayed as an animation that scrolls across the screen.

The core model is based on the P5.js or Pico-8 systems where there are three core methods that need to be implemented in order to run the game. Other methods exist to assist in filling in one of the grid items or displaying a score.