Questions tagged [pong]
A classic arcade game in which two players control paddles to bounce a ball back to their opponent (like air hockey)
17
questions
0
votes
0
answers
44
views
Main menu for a LÖVE pong game
It's supposed to be the code for the main menu of a pong game I'm writing using LÖVE. I believe no knowledge on it is necessary for understanding, since it seems very explicit. I'm mostly unsure if ...
2
votes
1
answer
241
views
Pong in c++ console app
I would really appriciate if someone could review my code and give me feedback. This was my first multi file project.
Main:
...
6
votes
3
answers
270
views
Predict bouncing ball destination in JavaScript
In a Pong-style 2D game, a ball (a circle of radius BALLRADIUS) can bounce (with perfect elasticity) on the top or bottom of the screen. When it hits the left or right side of the screen, one of the ...
2
votes
2
answers
498
views
Game States / Pong: SFML Box2D EnTT
Trying to make a little 2D engine I can play with. The end goal is a simple multiplayer PVP game just using shapes. I will make one version using ECS and one using OOP for learning. This is the shell ...
2
votes
0
answers
52
views
DQN implementation
I just wrote my pong DQN. It seems to work. I'm looking for a performance based review on anything that might slow down the training in complex models.
main.py:
...
5
votes
1
answer
291
views
Pong Game project
I tried to make a Pong game in Java. It's my first game I have ever programmed, and I would be very pleased if you would take the time to advise me on what I could do better next time. Thank you so ...
1
vote
0
answers
186
views
Python console pong game - multithreading
I am writing a pong game in Python that uses voice input to move the paddles.
I have implemented multithreading so that the google speech recognition module can always run in a separate thread from ...
25
votes
1
answer
4k
views
A Pong Game using C++
I wrote a simple, 2-player Pong game for a Udacity Nanodegree in C++.
The program has the following class structure (relatively new to UML so any tips on here would be very much welcome too):
...
2
votes
0
answers
91
views
Pong Implementation using Rust SFML
Getting my feet wet with Game Development, and was wanting to see where I could improve in my usage of Rust as well as Game Development concepts.
...
6
votes
2
answers
150
views
Pong-Like Game. First game I ever made. advice needed
This is my first time ever making a game. It is a pong-like game, where the user has a paddle and has to prevent the ball from passing them. Since this is my first game, I want any recommendations/...
2
votes
1
answer
2k
views
Pong game in Python with tkinter
This is a pong game I created some time ago, but it doesn't have methods to store scores yet and also might have some bugs. It is also very slow.
The code:
...
1
vote
1
answer
1k
views
Basic Pong game using C++ and SFML
I am making use of C++ and SFML to make a basic Pong game. I have made it so that there are two players who can control the paddle on each side and the ball will bounce off screen and paddles except ...
4
votes
1
answer
68
views
PONG XI Platinum Edition
This is my first game.
This header defines the constants:
Constants.h:
...
6
votes
1
answer
942
views
First OOP in Python 3: Pygame Pong
I have been studying Python for a few months and just recently decided to stop avoiding OOP and reworked a Pong game to a more object oriented style. Please tell me how I should improve my code.
Some ...
4
votes
1
answer
10k
views
Python Pong using turtle
I am a new Python programmer, and I am learning how to use the turtle import. I am making some projects, and now I am trying to do a Pong game using turtle.
It is working but not really well; the ...
2
votes
1
answer
4k
views
1 player Pong with AI
I have made this pong game as a 1 player game, versus the computer. however it is impossible to beat the ai. Any ideas to make the code better would be appreciated.
...
16
votes
1
answer
101k
views
Pong game in Java
I have recently written the following Pong game in Java:
Pong class:
...