Cifra is a 2 player board game that has the objective of moving more pieces to the opposite side goal. Cifra Code25 is a version of CIFRA that has a 5x5 board size.
António Augusto (up202000705@edu.fe.up.pt)
Gabriel Machado Jr. (up202008860@edu.fe.up.pt)
Miguel Curval (up201105191@edu.fe.up.pt)
- Python (version >=3.9)
- Pygame library (version >=2.3)
- NumPy library (version >=1.24)
- time library (standard library in Python)
- math library (standard library in Python)
- random library (standard library in Python)
You can install pygame, numpy using pip, the Python package manager, by running the following commands in your terminal:
pip install pygame
pip install numpy
- Navigate to the directory where the main.py is located
src/main.py
- Open a terminal in that directory.
- Run the following command to start the game:
python main.py
- The game window will open, and you can interact with it using the keyboard inputs as described in the game's instructions.
- Main menu with options: Dash, King, Sum and Quit.
- Each option opens up an AI vs AI game
- Long Press ESC key can be used to exit back to main menu
- To interact with the menu use the up, down and return (enter) keys