Skip to content

j-lubega/my-python-pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ PyScript Pong

A classic Pong game rebuilt using Python in the browser with PyScript ๐Ÿโœจ
Fast, fun, and playable on both desktop and mobile!


๐Ÿš€ Getting Started

  1. Open the game in a modern web browser ๐ŸŒ
  2. Click anywhere on the screen first ๐Ÿ‘†
    • This allows the browser to capture keyboard input correctly
  3. The game starts immediately โ€” no menus, no loading screens โšก

๐ŸŽฎ Controls

๐Ÿง Player 1 (Left Paddle)

  • โฌ†๏ธ Move Up: W
  • โฌ‡๏ธ Move Down: S

๐Ÿง Player 2 (Right Paddle)

  • โฌ†๏ธ Move Up: โ†‘ Arrow or I
  • โฌ‡๏ธ Move Down: โ†“ Arrow or K

๐Ÿ’ก Multiple key options make it easier to play on different keyboards.


๐Ÿ“ฑ Touch Controls (Mobile & Tablet)

Playing on a touchscreen? No problem! ๐Ÿคณ

  • Touch the left half of the screen โž control Player 1
  • Touch the right half of the screen โž control Player 2
  • Drag your finger up or down to move the paddle smoothly ๐ŸŽฏ

๐Ÿ† Scoring Rules

  • If the ball goes past your paddle, your opponent scores ๐ŸŽฏ
  • Scores are displayed at the top of the screen:

About

A simple fun pyscript pong game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages