This program simulates various cat behaviors and interactions within a terrain defined in the terrain.txt
file. You'll witness cats roaming, playing, eating, sleeping, and even kittens joining the fun.
-
README.md: The file you are currently reading, providing an overview of the Game of Cats simulation.
-
References: Folder containing all the references used in the development of the program.
-
Showcase: Folder containing inputs and outputs of 5 showcase simulations to demonstrate the program's capabilities.
-
cat.png: Backup cat image.
-
catClass.py: Definitions of the functions used in the simulation.
-
cat2.png: Image used for adult cats.
-
cat3.png: Image used for kittens.
-
cat.py: Final version of the Game of Cats program.
-
terrain.txt: File used for defining the terrain used in the simulation.
Ensure the following dependencies are installed before running the program:
- cat.py
- cat2.png
- cat3.png
- terrain.txt
- random
- numpy
- matplotlib.pyplot
- matplotlib.offsetbox
- Clone the repository to your local machine.
git clone https://github.com/yourusername/GameOfCats.git
- Navigate to the project directory.
cd GameOfCats
- Run the simulation using the final version script.
python catfinal(24).py
- Enjoy observing the playful interactions of cats within the defined terrain!
Explore the Showcase
folder to see inputs and outputs of 5 showcase simulations, providing a glimpse into the various scenarios the Game of Cats can simulate.
No additional information available at the moment.
Feel free to explore, experiment, and have fun with the Game of Cats simulation! If you encounter any issues or have suggestions, please refer to the "Issues" section on GitHub to report them.