/usr/share/doc/python-tofu/README is in python-tofu 0.5-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | ******************* TOFU *******************
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 available under the GNU GPL licence.
* Requirements:
- Python >= 2.3 (http://www.python.org)
- Twisted >= 1.3 (http://twistedmatrix.com)
* Installation:
Do in a console:
python ./setup.py build
and then as root:
python ./setup.py install
* Documentation:
A small demo is included in demo/
Dosctring are present in almost all modules; read them with pydoc.
* TODO
Perform long task asynchronously: loading and creating levels and players.
Use UDP, at least for non-crucial states and actions.
Add peer-to-peer support.
* HINTS
You may need to increase the maximum size of a message (Twisted limits it
by default to 99999 bytes), e.g. with:
import tofu.client
tofu.client.MAX_LENGTH = 2000000
and / or:
import tofu.server
tofu.server.MAX_LENGTH = 2000000
Jiba -- jibalamy@free.fr -- jiba on #slune on FreeNode
|