Skip to content

Mohsen-mhm/cat-and-mouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cat and Mouse Game

  • A simple terminal-based game where a cat chases a mouse while avoiding barriers.

Preview

Getting Started

  • These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

  • You need to have Python installed on your machine.

Installing

  1. 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
  1. Change directory to the project folder:
cd cat-and-mouse/src
  1. Install dependencies (curses)
pip install windows-curses  # For Windows
pip install curses          # For Unix-based systems

Running the Game

python main.py

or

python3 main.py

Built With

  • Python - The programming language used
  • curses - The library for creating terminal-based interfaces

Author