forked from dfilimon/Jeopy
-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
57 lines (45 loc) · 1.67 KB
/
README
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
TODO:
- use netifaces
- http://pypi.python.org/pypi/netifaces/0.4
netifaces.ifaddresses('vmnet8')[netifaces.AF_INET][0]['addr']
Observation:
- the width/height ratio in rules.json must be roughly 1.33,
otherwise the plot may not fit in QStackedWidget (left Gui side)
Requires:
- Python > 2.6
- PyQt > 4.6
- Pyro ~ 3.10 (NOT Pyro 4)
- Matplotlib
For Ubuntu 10.10, install [sud apt-get install ...]:
- python-qt4
- pyro
- python-matplotlib
- python-netifaces (soon...)
For Mac OS X [10.5+], install [sudo port install ...]:
! The python interpreted from MacPorts is required to run this program.
! You can find it in /opt/local/bin/python2.6.
! To use it by default, set /opt/local/bin before /usr/bin in your PATH
! Create a symlink named python in /opt/local/bin to the python2.6 binary
- py26-pyqt4
- py26-pyro
- py26-matplotlib
For Windows, install:
- ?
Running:
- You need to start the Pyro Name Server by yourself
this is operating system and path dependent so I
have not done that in code. Perhaps before final
revision.
Do so, by running 'pyro-ns' in UNIX and 'pyro-ns.cmd'
in Windows, which is probably located in the Tools/Scripts
directory of your Python distribution root.
- First, run the game server and select a .jeop file. Do this
by running 'python AdminGui.py' or './AdminGui.py' if the program
is executable.
- Any client can only start after a game has been selected and
the login table has been displayed in the server gui. Clients
can be started by running 'python PlayerGui.py'.
Hacking:
- Remember to add relevant comments! For that you need epydoc.
http://epydoc.sourceforge.net/
Run it with 'epydoc -v *.py'