Skip to content

A game where you play as a cow, and prevent monsters from getting to the barn

Notifications You must be signed in to change notification settings

Arjun-G-Ravi/Cow-invaders

Repository files navigation

COW INVADERS

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.

The game

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

Monsters

There are three types of monsters:

  1. Red Monster: They are slow in their horizontal and vertical motions. They are very common.

  2. Pink Monster: They are very fast in their horizontal motion.

  3. White Monster: They are fast in both vertical and horizontal motions. They are rare.

Challenge

Try to get to score: 1000

To play

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.

Future plans

AI Based

  • Automate the game with
    • Deep Reinforcement Learning
    • Proximal Policy Approximation
    • Genetic Algorithm
    • Some basic/ normal decision based algorithm (maybe) and compare the results.

Gameplay

Alt text

Alt text

Alt text

Citations

About

A game where you play as a cow, and prevent monsters from getting to the barn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages