I’ve been thinking about Pong lately; specifically: How can I write a game that retains the spirit of Pong but changes the gameplay a bit? Enter Crazy Tennis!
Crazy Tennis! pits two players against each other, or one player against the computer.
Every time a ball hits a paddle, the ball gets faster.
Every time a human player returns a ball, their paddle gets slower.
Every time the computer returns a ball, its paddle gets faster.
When a ball passes a human player, the speed of that player’s paddle resets to the original speed. Also, if that player is playing against the computer, then the computer’s paddle resets to the original speed, too.
An extra ball is added to the playfield every 30 seconds.
This game gets challenging quickly. Feel free to change the constants in the initGame function to change the parameters of the game.
Hi @AlexK, sorry to bring this topic back up—I really hope that’s okay. I’ve been working on making a character selection screen for your awesome game Crazy Tennis, but I’m a bit stuck and feeling kind of lost. I’ve been trying to figure it out for about a month now, and honestly, I’ve hit a wall. Would you be willing to help by adding a simple 4-character roster for each player? It would be amazing if each character looked different and had a unique ability—like one with a wide reach that takes up space temporarily, another that can dash really fast for a moment, or one with a spike move? I completely understand this is a big ask, and if it’s not something you want to do, that’s totally okay! I just really admire your work and would love to learn from it if you’re open to sharing. Thanks so much either way!
Oh my gosh, I seriously didn’t think you’d actually do it—this is honestly a dream come true! I’ve been stuck on this for so long, and seeing your response totally made my day. Also, the fourth character doesn’t do anything. If it’s possible, could the second player (whether it’s a person or AI) also be able to choose a character? Like, the AI could just randomly pick one and then actually use that character’s move when it makes sense. That part sounds hard to code—at least for me, since I’m not super experienced—but I figured I’d ask just in case! Also, it would be super cool if each character had a name (maybe named after forum members?) and a color—like one could be red, another blue, and so on. Thanks again so much for helping out. You’re incredibly kind, and I really appreciate you taking the time to do all this!