If your were going to program a game...

Jean-Paul Calderone exarkun at divmod.com
Fri Jan 2 13:16:13 EST 2009


On Fri, 2 Jan 2009 09:44:55 -0800 (PST), Fuzzyman <fuzzyman at gmail.com> wrote:
>On Jan 2, 3:02 pm, J Kenneth King <ja... at agentultra.com> wrote:
>> Tokyo Dan <huff... at tokyo.email.ne.jp> writes:
>> > If your were going to program a game in python what technologies would
>> > you use?
>>
>> > The game is a board game with some piece animations, but no movement
>> > animation...think of a chess king exploding. The game runs in a
>> > browser in a window of a social site built around the game. The social
>> > site has login, chat, player stats, list of active games, etc. AND
>> > there is also be a desktop client that accesses the game server via
>> > the same communication mechanism (like an AIR-based desktop client/
>> > app) as the browser-based version - I guess using JSON/RPC.
>>
>> Ever see chess.com?
>>
>> I don't know what they're using in the backend, but the client is
>> entirely javascript.
>>
>> You could probably roll your own python javascript compiler to suit your
>> needs. It could probably even build up your own DSL for writing these
>> games.
>>
>> It's a worthwhile project and I think there might be support for it from
>> other developers.
>
>There's a project called Pyjamas, and PyPy also has a Python to
>Javascript compiler.

No, PyPy includes an RPython to JavaScript compiler.  RPython and Python are
different languages.

Jean-Paul



More information about the Python-list mailing list