/tornado-websocket-pong

A simple pong game using Tornado, WebSocket and HTML5

Primary LanguageHTMLMIT LicenseMIT

Pong Game

This is a simple project that I made in 2011, as an school exercise, that I converted to use Tornado.

It uses WebSocket to realtime comunication and HTML5 Canvas for the graphics.

There are a lot of bugs on this project and I'm not sure if someday I will fix it, but it stills a good sample for Tornado and WebSockets.

On Linux:
$ python -m venv .venv
$ source .venv/activate
(.venv) $ pip install -r requirements.txt
(.venv) $ python run.py

On Windows:
> python -m venv .venv
> .venv\Scripts\activate
(.venv) > pip install -r requirements.txt
(.venv) > python run.py