Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miohtama/mopedwarriors
A multi-player game in HTML5 and Python
https://github.com/miohtama/mopedwarriors
Last synced: 23 days ago
JSON representation
A multi-player game in HTML5 and Python
- Host: GitHub
- URL: https://github.com/miohtama/mopedwarriors
- Owner: miohtama
- Created: 2011-05-21T16:52:06.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-05-22T18:38:19.000Z (over 13 years ago)
- Last Synced: 2024-11-11T12:45:35.555Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 590 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
===========================
Moped Warriors
===========================A multiplayer experiement in HTML5 and Python
Client
* HTML5
* cocos2d-javascript
* websockets-js (Flash implementation for websockets)
Server
* Tornado
* pygame
Installation
===============Installation::
git clone blablaba
virtualenv virtualenv # use -p for force python 2.6
source virtualenv/bin/activate
easy_install Tornado
easy_install pygame
https://github.com/gimite/web-socket-js/tree/hybi-07
Running the server
====================The server must be run as superuser, because we need to bind port 843 for Flash security.
source virtualenv/bin/activate
cd warriors
sudo python run.pyNow point your browser to
http://localhost:9999/test.html
Communications
================* Web server is started
* Tornado listens port 80
* Browser opens index.html* Browser downloads available game sessions from Tornado
* User may choose an existing session to join
* User may create a new sessions