- player 1
w
To move ups
To move Down
- player 2
up
To move updown
To move Down
- Press
Space
to serve - Settings documentation
- Input 1: window
width, height
width
: The width of the window (500 ≤width
≤ 20000)height
: The height of the window (300 ≤height
≤ 12000)
- Input 2: robot
player, view
player
: The player that the robot will control (1 or 2 (0 for pvp))view
: the view of the robot (1 ≤view
≤ 3)
- Input 3: ball
speed, radius
speed
: The speed of the ball (1 ≤speed
≤ 12)radius
: The radius of the ball (2 ≤radius
≤ 400)
- Input 4: p1
width, height, speed
width
: The width of the paddle (1 ≤width
≤ 250)height
: The height of the paddle (1 ≤height
≤ 500)speed
: The speed of the paddle (1 ≤speed
≤ 50)
- Input 5: p2
width, height, speed
width
: The width of the paddle (1 ≤width
≤ 250)height
: The height of the paddle (1 ≤height
≤ 500)speed
: The speed of the paddle (1 ≤speed
≤ 50)
- Input 1: window
forked from yeshivaschools/pingpong
2D ping pong game
License
menachemshkedi/pingpong
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
2D ping pong game
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Python 100.0%