FR    EN
Tofu is a practical high-level network game engine, written in Python and based on Twisted.

Tofu is designed for games where players play one or several characters accross several levels. This includes jump'n run games, RPG or RTS, but not Tetris-like games or board game (chess, go,...).

It currently support client-server and single player mode; peer-to-peer mode may be added later.

Tofu is Free Software, under the GNU LGPL license.


8/3/2006
Jiba
New rewrite of Tofu... testers are needed!
News Image
Here is coming my new network engine Tofu! It is destined to Soya-based game, and relies on UDP. It uses several original technics like acknowledging packet and sending again non-acknowledged packets AFTER updating them, or the existence of "inhibited states" inspired like in biological models. It also uses a method vaguely inspired by aspect-oriented-programming, which allows Tofu to be written in less than 1000 lines of code, including the demo :-)

This version of Tofu has been successfully tested with up to 6 or 7 clients. But we were lacking people to try a higher number of clients !

This is why I propose a big testing party on Saturday the 5, at 20 o clock (French hour). Anyone is welcome !

To launch the client, there are 2 possibilities :
  • download the binary package (Linux x686, warning 20 MB !) http://nekeme.net/~jiba/static_tofu_demo.tar.bz2

    Uncompress it, cd inside it and then:

    ./run_demo --client nekeme.net

    where is the name of your choice (a new character is automatically created if the login doesn't exist).

  • or install Soya SVN, as well as tofu_udp (present at the root of Soya's SVN), and launch:

    python ./tofu_udp/test/demo.py --client nekeme.net

    where is the name of your choice (a new character is automatically created if the login doesn't exist).

4/30/2006
Jiba
Tofu 0.4
News Image
New version!

3/4/2006
Jiba
Tofu 0.3
News Image
New version!

8/20/2005
Jiba
Tofu 0.2
News Image
New version!