It’s done!!!
The game is finally done after hours of work. There is a complete main menu now, with 3 different modes to choose from. ‘Normal’ - normal pong, nothing much else to say. ‘Speed’ - every time the ball collides with something (the wall or a paddle), its speed increases by a certain factor until someone scores a point, after which it is reset back to its original value. ‘Large Paddles’ - just gives each player larger paddles, nothing more than that. I added an AI (always paddle 2) just in case people wanted to play by themselves. It simply follows the y value of the ball (as long as its heading towards the paddle and past half of the screen). I had to change the size of the AI’s paddle in the ‘Large Paddles’ game or else it would’ve been impossible to score (still larger than the other gamemodes). I also decreased its speed. It SHOULD be possible for anyone to beat the AI in all three gamemodes, I did it myself. But, if people have trouble with it, I’ll try and balance it a bit more. Toggling on the AI uses simple states like I did for the gamemodes, ai_state = "false/true", and changing the value depending on what ‘button’ the user clicks. I wish I could get the text for the gamemodes ON the button/rectangle, but the Turtle library makes ts too difficult for no reason. Since you can’t exactly make buttons with Turtle, I added a click sound when each rectangle is pressed so it feels like you’re actually doing something (pygame my beloved). I have had lots of fun with this project and wish to make more games in Python!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.