biohazardcore, v1.2
Posted on

The library that implements the business logic of the puzzle game inspired by Conway's Game of Life and various block games.
Add static possibilities for cell classification and provide access to game settings and an offset of the movable field part.
Change Log
- models:
- cell classification:
- static possibilities:
- list of all known cell kinds;
- checking if a cell kind is known;
- static possibilities:
- cell classification:
- game business logic:
- providing access:
- to game settings;
- to an offset of the movable field part.
- providing access:
Features
- models:
- field settings:
- storing:
- size;
- initial offset;
- filling;
- minimal count;
- maximal count;
- supporting of default values for some settings;
- storing:
- game settings:
- storing:
- primary field settings;
- movable field part settings;
- storing:
- cell classification:
- static possibilities:
- list of all known cell kinds;
- checking if a cell kind is known;
- storing:
- old cells (those that are presented in the primary field, but not presented in the movable field part);
- new cells (those that are presented in the movable field part, but not presented in the primary field);
- intersection between the primary field and the movable field part;
- static possibilities:
- field settings:
- creating a field by its settings:
- random filling of the generated field;
- game business logic:
- providing access:
- to game settings;
- to an offset of the movable field part;
- generating of random fields:
- primary field;
- movable field part;
- operations with the movable field part:
- moving;
- rotating;
- unioning with the primary field;
- classifying cells (see the cell classification model for details).
- providing access:
Repository
Link: https://github.com/thewizardplusplus/biohazardcore/tree/v1.2.
Content: code.
License: MIT.