pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
PyCanvasServer

PyCanvasServer - ALPHA

Andy Hanson (rhodiumgames)

Tags:

Description

PYCANVASSERVE Open-Source Python Game Server for HTML Canvas HYPER-BETA VERSION - NOT WORTH IT TO MODIFY This program is a Python server that allows people to play games through a Web browser. It uses CherryPy and the HTML Canvas, and uses some integration with PyGame. HOW TO RUN Run the file MyGame.py Open a canvas-compatible browser (IE users must update to IE9) Go to URL: http://localhost:8080 Click unpause (Does not support multiple games at once yet) [WARNING: In IDLE, you MUST use CTRL+C to end server before starting up again. If you messed up, you must manually close pythonw.exe (Task Manager->Processes->scroll to pythonw.exe and hit delete - this will also close IDLE)] HOW IT WORKS CherryPy creates a web server on port 8080. It sends the file index.html upon the request (when you enter the url http://localhost:8080) index.html uses a XMLHttpRequest to ask the server for instructions. The server processes MyGame's commands and turns them into a special format. The client receives the commands in the special format and converts them to JavaScript calls, which write to the canvas.

Links

Home Page: http://www.rhodiumgames.com/pycanvasserver/
Source: http://www.rhodiumgames.com/pycanvasserver/

Screenshot


click to view original size

Releases

PyCanvasServer - ALPHA - May 21, 2011

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

No user comments have been submitted.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Apr 16, 2014

Apr 13, 2014

Apr 9, 2014

Mar 21, 2014

Mar 18, 2014


Mar 15, 2014


Mar 14, 2014

Mar 13, 2014

Mar 11, 2014

Mar 9, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)