Skip to content

sachamorgese/html5-pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

html5-pong

A porting of Harvard's CS50 version of Pong to html5/canvas The original version (in Lua and Love) can be found here

Installation

git clone https://github.com/TheOmegaBlack/html5-pong.git
cd html5-pong
yarn
yarn start
Click on the link that comes up in the terminal

How to play

2 players only

  • Player 1 can move up and down using W and S
  • Player 2 can move up and down using the Up and Down keys
  • Both players can serve pressing the Shift button (either is fine)

The game ends when one of the players scores 5 times

About

A porting of pong to html5/canvas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published