1. The code provided creates a stick figure on the screen which moves about using the UP/DOWN/LEFT/RIGHT arrow keys. Please see attached file.
Project:
The following must be done WITHOUT using classes as I want to use the files to teach some students how to work with functions (and classes have not come into play yet). What I would like is 8 Python files. Each one should be carefully commented and should show the progression (as described below). The LAST one (which is File 8) should be re-written to show the whole game using classes instead of just functions.
1. Create another stick figure (bigger, longer, and BLUE in colour (blue middle)
-This stick figure moves randomly around
2. Create a background of hills and trees (or any other background of your choice)
3. Create a green ball that moves randomly around (very fast)
4. Create a score variable that goes up when the main player touches the green ball (increment + 10)
5. Add a game over feature: If the main player touches the BLUE stick figure, game is over (a label is displayed and perhaps some fire/explosion)
6. Add a timer feature. If the player can achieve a score of 100, in 30 seconds, LABEL displayed: "YOU WIN THE GAME". If however, 30 seconds is over and either the player loses due to touching the BLUE stick enemy OR because time is up - "YOU LOSE, SORRY TRY AGAIN", is displayed.
7. Create a main menu for the very start of the game. The main menu should contain:
WELCOME
1. "P" to Play
2. "Q" to Quit
3. "S" to Save (this option should ask for the user's name, and save (append) their score and time to a text file
4. "V" to View high scores. This should simply display the top 2 times. (that is the two users that have the max score (which is 100) and the least time.
****
8. Create another python file, doing all of the above, but this time using classes. There should be a player class. The red and blue stick figure inherit from it. "
Hi,
I'm a 2nd year Computer Science Student based at the University of York and would be happy to write these programs for you. I already have experience making games in python and have been programming python for the last 6 years.
I hope you will accept me for this project, and please message me if you'd like to discuss anything further.
Kind regards,
Jacob
Hi, I'm experienced in pygame lib. also done almost same game but with SDL lib, so I know exactly what you want. please contact me and I'll start working right away.