Hex Grid Movement in Groups

This project demonstrates the use of SQLAlchemy (SQLite) with Python to model collections of game pieces that move jointly across a 2D hex grid.

Requirements

Project was tested using the following:

  • Python 3.10.9
  • SQLAlchemy 1.4.39
  • pytest 7.1.2 (to run the unit tests)

Installation

TBD

Usage

  1. Run the program with python dw.py
  2. The program will generate a grid and add a few regiments with fighters and persist them in dw.db
  3. The program will print the names of all regiments and their fighters

Unit tests

To run the unit tests, navigate to the root directory of the project and run pytest.

Contributors

  • Viktor Brech

License

TBD