World Conquest Chronicles

World Conquest Chronicles

Biohazard, v1.4

2D puzzle game for Android inspired by Conway's Game of Life and various block games.

Implement controls via a keyboard for the movable field part.

Change Log

  • movable field part:
    • controls:
      • controls via a keyboard:
        • loading a configuration of keys from a JSON file;
        • validation of a configuration of keys via the JSON Schema;
  • general controls:
    • quitting by the Esc key.

Features

  • primary field:
  • movable field part:
    • drawing:
      • 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;
    • controls:
      • controls via UI elements:
        • drawing:
          • calculation of a font size based on a screen height;
        • support of touches;
      • controls via a keyboard:
        • loading a configuration of keys from a JSON file;
        • validation of a configuration of keys via the JSON Schema;
  • game stats:
    • metrics:
      • current cell count;
      • minimal cell count;
    • drawing:
      • calculation of a font size based on a screen height;
    • storing in the FlatDB database:
      • saving on every turn;
      • saving if there are changes only.

Repository

Link: https://github.com/thewizardplusplus/biohazard/tree/v1.4.

Content: code.

License: MIT.