Giter Club home page Giter Club logo

cat_sim's Introduction

Game of Cats - Python Simulation

Description

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.

Contents

  • 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.

Dependencies

Ensure the following dependencies are installed before running the program:

  • cat.py
  • cat2.png
  • cat3.png
  • terrain.txt
  • random
  • numpy
  • matplotlib.pyplot
  • matplotlib.offsetbox

Usage

  1. Clone the repository to your local machine.
git clone https://github.com/yourusername/GameOfCats.git
  1. Navigate to the project directory.
cd GameOfCats
  1. Run the simulation using the final version script.
python catfinal(24).py
  1. Enjoy observing the playful interactions of cats within the defined terrain!

Showcase

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.

Additional Information

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.

cat_sim's People

Contributors

sincerelynavin avatar

Watchers

 avatar

cat_sim's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.