darthdaenerys / Contra

The most popular contra game created using pygame library in python.
MIT License
1 stars 0 forks source link
2d-game contra json object-oriented-programming pygame python shooter-game tilemap visual-studio-code

Contra

Welcome to Contra, a classic arcade-style game developed using Pygame. In this game, players can experience the thrill of intense action as they navigate through challenging levels, firing bullets at enemies and dodging obstacles. With vibrant graphics and engaging gameplay, Contra promises an exciting gaming experience reminiscent of the retro era.

demo

How to Help Development

Your contributions to the development of Contra are greatly appreciated! Whether it's submitting bug fixes, suggesting new features, or improving existing code, your efforts help make this game better for everyone. Fork the repository, make your changes, and submit a pull request – together, we can take Contra to the next level! Here are some suggestions of contributions:

How to Start the Game

To start playing Contra, follow these simple steps:

If you would rather run directly from the source (or want to develop the game), make sure to have Python installed and run python -m pip install -r requirements.txt in the repository folder.

Then you can run python main.py or "./main.py" (only for Python 3) in linux operating system to start the game. If you ever need to remove a module for any reason, use the command pip uninstall (module-name)

Instructions

In Contra, your mission is to navigate through the level, defeating enemies and avoiding obstacles along the way. Use your arrow keys to move the player character and press the spacebar to fire bullets at enemies. Keep an eye on your health bar – take too much damage, and it's game over!

alt text

Key Controls

Action Primary Secondary
Move left A Left arrow
Move right D Right arrow
Jump W Up arrow
Duck S Down arrow
Fire Spacebar -

alt text

Get ready for an adrenaline-pumping experience – play Contra now!