issues
search
jsgoller1
/
sprawl
2D Game Engine
GNU General Public License v3.0
0
stars
0
forks
source link
Sample Game - Pong
#14
Open
jsgoller1
opened
1 year ago
jsgoller1
commented
1 year ago
reference video
Two paddles, net, ball
Scores (first to N)
Game states
Waiting: Player must press space to start
Serving: ball will be ejected from the top of the screen in a random direction
Playing: ball is in motion back and forth
Finished: score has reached N, win/lose message displayed
Ball movement
To start off with, the new angle of the ball can just be randomly decided on each collision