/fireball

Python game using PyGame

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Fireball

Fireball is a Python game using pygame where a player has to avoid a "fireball". The longer the player stays alive, the more points the player gets.

How does the game work?

*Player starts the game and there will be the player and a fireball initially.

*Player will dodge the ball using the keyboard arrow keys, while the fireball will change positions randomly to try to follow the player.

*After a specific time according to the levels (Easy|Medium|Hard) more fireballs will be added to the game.

*If the player collides with any of the fireballs, the game ends and it displays the total score.

Other Ideas are also welcomed, if there are more than one we can work on different versions.

Contributing

Contributions are welcome!

Please carefully read this page to make the code review process go as smoothly as possible and to maximize the likelihood of your contribution being merged.

Duplicate

Please check twice if your PR data exist before.

Bug Reports

For bug reports or requests submit an issue.

Pull Requests

The preferred way to contribute is to fork the main repository on GitHub.

  1. Fork the main repository. Click on the 'Fork' button near the top of the page. This creates a copy of the code under your account on the GitHub server.

  2. Clone this copy to your local disk:

     $ git clone git@github.com:YourLogin/fireball.git
     $ cd fireball
    
  3. Create a branch to hold your changes and start making changes. Don't work in the master branch!

     $ git checkout -b my-feature
    
  4. Work on this copy on your computer using Git to do the version control. When you're done editing, run the following to record your changes in Git:

     $ git add modified_files
     $ git commit
    
  5. Push your changes to GitHub with:

     $ git push -u origin my-feature
    
  6. Finally, go to the web page of your fork of the fireball repo and click 'Pull Request' to send your changes for review.

GitHub Pull Requests Docs

If you are not familiar with pull requests, review the pull request docs.