A game where you play as a cow, and prevent monsters from getting to the barn. It is a modern recreation of atari's classic space invaders.
- Cow has to kill the monsters before it gets to the farmhouse
- The cow can either shoot or headbutt to kill the monsters
- The headbutt is a more effective way to kill (compared to early game bullets), but has a higher chance to spawn stronger enemys.
- As your score increases, the cow will get stronger upgrades.
There are three types of monsters:
-
Red Monster: They are slow in their horizontal and vertical motions. They are very common.
-
Pink Monster: They are very fast in their horizontal motion.
-
White Monster: They are fast in both vertical and horizontal motions. They are rare.
Try to get to score: 1000
Just download the repository, and run the file main.py
using python3. You must have pygame library installed. It can be installed using pip install pygame
.
- Automate the game with
- Deep Reinforcement Learning
- Proximal Policy Approximation
- Genetic Algorithm
- Some basic/ normal decision based algorithm (maybe) and compare the results.
- The image credits go to www.flaticon.com
- The image credits go to https://www.freepik.com/
- Sound Effect from Pixabay