- player 1
wTo move upsTo move Down
- player 2
upTo move updownTo move Down
- Press
Spaceto serve - Settings documentation
- Input 1: window
width, heightwidth: The width of the window (500 ≤width≤ 20000)height: The height of the window (300 ≤height≤ 12000)
- Input 2: robot
player, viewplayer: 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, radiusspeed: The speed of the ball (1 ≤speed≤ 12)radius: The radius of the ball (2 ≤radius≤ 400)
- Input 4: p1
width, height, speedwidth: 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, speedwidth: 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
yeshivaschools/pingpong
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
