An open API service indexing awesome lists of open source software.

https://github.com/boompig/pong

Pong implementation using websockets, python, canvas, javascript
https://github.com/boompig/pong

python3 socket-io vuejs2 websockets

Last synced: 3 months ago
JSON representation

Pong implementation using websockets, python, canvas, javascript

Awesome Lists containing this project

README

          

# 2-player Pong

**NOTE:** this code was written in 2015 and will not be updated.

An implementation of 2-player pong using websockets. Running on port 8080

## Flow

1. `/register` - register username
2. `/lounge` - find other users and issue challenges. Also accept/reject incoming challenges.
3. `/waitingRoom` - after issuing a challenge wait until other user has accepted the challenge
4. `/game` - play the game