- A simple terminal-based game where a cat chases a mouse while avoiding barriers.
- These instructions will get you a copy of the project up and running on your local machine.
- You need to have Python installed on your machine.
- Clone the repository:
- using HTTPS:
git clone https://github.com/Mohsen-mhm/cat-and-mouse.git
- or use SSH:
git clone git@github.com:Mohsen-mhm/cat-and-mouse.git
- Change directory to the project folder:
cd cat-and-mouse/src
- Install dependencies (curses)
pip install windows-curses # For Windows
pip install curses # For Unix-based systems
python main.py
or
python3 main.py
- Python - The programming language used
- curses - The library for creating terminal-based interfaces