World Conquest Chronicles

World Conquest Chronicles

Biohazard, v1.6

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;
  • 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;
  • 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;
    • 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:
  • 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;
    • controls:
      • controls via UI elements:
        • drawing:
          • resizable mode:
            • 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:
      • resizable mode:
        • 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.6.

Content: code.

License: MIT.

Screenshots

Game window not in the fullscreen mode