Have you ever imagined the classical snake game but with a cat? No? So the time has come: we present snakat! Help a hungry cat get its food and survive the wild world of pixels!
However, be careful with the walls and its own body ๐. You know the rules, right?
We are making snakat using Python and Pygame. Pygame is a set of Python modules designed for writing video games.
We hope you enjoy the game ๐ป.
The project is still in progress.
Before starting, you'll need to install the following tools: Git, Python and Pygame. Furthermore, is recommended to install a Code Editor like Visual Studio Code from Microsoft or an IDE like Pycharm from Jetbrains.
# Clone this repo
$ git clone https://github.com/monikode/snakat
# Access project folder in terminal/cmd
$ cd snakat
# Run the code
$ python main.py
To use the
python
command it is necessary to put the python installation path in the PATH environment variable or other things depending on your operating system. More information: Mac user, Windows user, Linux user.
There are 4 ways to contribute to this project: solving or opening an issue, improving our documentation, or fixing a bug not founded yet.
- Don't forget to comment your code.
- By standard, you must name python packages with lowercase letters and avoid using underline. Take for example the package named as
sprites
. - On the other hand, files are named with lowercase letters and, if necessary, you can use underline. Example:
hello_world.py
. - Finally, functions and classes are named with lowercase letters and, if necessary, you can use underline for functions and the CapWords pattern for classes. Function example:
function_name
. Class example:MyClass
.
For more information about the language standards, you should read the PEP 8.
Don't forget to follow our pull to request and issue templates.
- Fork this repo.
- Clone your forked repo.
- Create and switch to a new branch named like
feature/my-feature-name
. - Do your changes or create new programs.
- Save your changes and make a commit telling what you did:
git commit -m "feature: My new feature"
. - Push your changes to your remote cloned repo:
git push origin feature/my-feature-name
. - Submit your changes to approve by making a pull request.
In case you have questions check this guide about how to contribute to GitHub.
Here is our Code of Counduct.
This project is under MIT license.
Here are our project contributors:
Adriano Henrique ๐จ๐ปโ๐๐ |
Larissa Roque ๐ฉ๐ปโ๐๐ |
Manuela Cristina ๐ฉ๐ปโ๐๐ |
Monike Freitas ๐ฉ๐ปโ๐๐ |
Ronaldo Costa ๐จ๐ปโ๐๐ |
Ronaldo Costa
Made by Ronaldo Costa. Contact me ๐๐: