Biohazard, v1.6
Posted on

2D puzzle game for Android inspired by Conway's Game of Life and various block games.
Implement loading from a JSON file of configurations of the primary field and the movable field part and support a resizable mode on desktops.
Change Log
- primary field:
- configuration:
- loading from a JSON file;
- validation via the JSON Schema;
- forcing the default count of cells;
- configuration:
- movable field part:
- configuration:
- loading from a JSON file;
- validation via the JSON Schema;
- controls:
- controls via a keyboard:
- extending the default configuration of keys;
- controls via a keyboard:
- configuration:
- misc. improvements:
- fixing initialization of require paths;
- adding the LÖVE configuration:
- game window:
- resizable mode;
- title;
- size:
- minimal;
- default;
- MSAA tuning;
- save directory for a game;
- game window:
- fullscreen mode:
- using the fullscreen mode only on a mobile OS;
- improving initialization of the fullscreen mode.
Features
- primary field:
- configuration:
- loading from a JSON file;
- validation via the JSON Schema;
- drawing:
- resizable mode;
- support of operations:
- populating according to Conway's Game of Life rules;
- configuration:
- movable field part:
- configuration:
- loading from a JSON file;
- validation via the JSON Schema;
- drawing:
- resizable mode;
- drawing a frame around the movable field part;
- drawing collisions with the primary field with a different color;
- support of operations:
- moving:
- restricting moving by boundaries of the primary field;
- rotation:
- clockwise rotation only;
- unioning with the primary field:
- disabling unioning on collisions with the primary field;
- moving:
- controls:
- controls via UI elements:
- drawing:
- resizable mode:
- calculation of a font size based on a screen height;
- resizable mode:
- support of touches;
- drawing:
- controls via a keyboard:
- loading a configuration of keys from a JSON file;
- validation of a configuration of keys via the JSON Schema;
- controls via UI elements:
- configuration:
- game stats:
- metrics:
- current cell count;
- minimal cell count;
- drawing:
- resizable mode:
- calculation of a font size based on a screen height;
- resizable mode:
- storing in the FlatDB database:
- saving on every turn;
- saving if there are changes only.
- metrics:
Repository
Link: https://github.com/thewizardplusplus/biohazard/tree/v1.6.
Content: code.
License: MIT.
Screenshots
Game window not in the fullscreen mode
