Creating a very simple game in Pygame using classes and functions
£10-20 GBP
Completed
Posted over 7 years ago
£10-20 GBP
Paid on delivery
Using Pygame and Python 3 (the version is important!), I would like the following 10 small programs (created separately and labelled 1..2..3..etc): What I require is a simple progression for children, to show creating a game from scratch. All code must be commented and made as simple as possible.
Python File 1. Create a ball class with a simple sphere (ball1) on the screen (no movement)
Python File 2. Create user key (up, down, left right arrow key) movement for the ball
Python File 3. Add a score variable and add a smaller GREEN ball (ball2) (inherits from the ball class) that randomly moves about the screen. When ball1 touches the green ball, the score increments by +10.
Python File 4. Create a red ball (ball 3) When ball 1 touches the red ball, the score decrements by -10.
Python File 5. Add a "Game over" feature. When the score reaches 1000 (You Win) or when the score reaches -1000 (You lose)
Hello I have a bachelor in computer science and 5+ years coding experience.
I've worked with Python a lot, for example in games, image processing, artificial intelligence agents, among other applications, so I think I am qualified for this job.
Feel free to message me if you have any further questions
£13 GBP in 1 day
5.0 (3 reviews)
2.0
2.0
3 freelancers are bidding on average £17 GBP for this job
Computer Engineer. Plenty of experience solving algorithmic problems via code. Python is one of my main languages. I know both Python2 and Python3, so the version is not an issue