Amul Agrawal
2019101113
Hello there! This is a small game developed by me for my course assignment. Read the instructions here and try out the game. I hope you like it :)
The game has two rounds, each round consists of both the players playing once against each other.
Player 1 is at bottom and has to reach the other end by avoiding all the obstacles and in minimum time.
Player 2 starts at the top of the screen and has to reach the bottom, the other objectives remain the same.
As the player crosses a band, he/she is rewarded points according to the number of obstacles in that band, the rules are –
- +5 for fixed obstacles
- +10 for moving obstacles
The player with the greater score wins that particular round, score decreases as time passes.Time penalty is 1 point for 2 seconds.
In the next round, the speed of the moving obstacles increases for the winner of the previous round.
The game automatically closes after the second round.
Keyboard Arrow Keys
to move up, down, left and right.
- Download the folder/copy it to your local device.
- Install python, pygame
- Check this link to get them installed on linux – https://linuxize.com/post/how-to-install-python-3-7-on-ubuntu-18-04/
- Download PyGame – https://www.pygame.org/download.shtml
- Further help - https://www.pygame.org/wiki/GettingStarted
- Open the folder in Terminal and run :
- python3 main.py
- Enjoy the Game.
- Download the folder/copy it to your local device.
- Install python, pygame
- Download python3 – https://www.python.org/downloads/release/python-376/
- Download PyGame – https://www.pygame.org/download.shtml
- Further help - https://www.pygame.org/wiki/GettingStarted
- Open the folder in Python IDE or some other IDE like PyCharm or code editor like VS CODE and run :
https://www.jetbrains.com/pycharm/download/
https://code.visualstudio.com/download- python3 main.py
- Enjoy the Game.
In this game I have used Python 3
and PyGame
.
These are some resources I used for icons.
Icons made by Freepik from www.flaticon.com
Icons made by surang from www.flaticon.com
Icons made by Smashicons from www.flaticon.com
For the game development i have used PyCharm by JetBrains https://www.jetbrains.com/pycharm/download/