-
Notifications
You must be signed in to change notification settings - Fork 14
Home
darkryder edited this page Oct 6, 2014
·
1 revision
Hi, This was my first major project that I did for my self development in my first semester. Let's get started trying to get this working on your machine.
- First of all, fork/clone this github repo from here.
- Then install the dependencies:
- pygame using these instructions.
- python wrapper for qt4 - pyqt4. You can get installation instructions from here.
- Next open up a terminal and
cd
to the cloned repository directory. - Simply type
python rerouter.py
. This will start the server, and will start listening for clients to connect to it. - You can now open up new terminal and start up clients by typing
python clientGUI.py <nick_name>
for instancepython clientGUI.py darkryder
. It takes an optional argumentIP_of_the_server
which defaults to localhost.
-
A quick dirty hack: Simply using
python clientStarter.py
will start up 5 test clients with simple test names.
- Opening up more clients will update the old clients too.
- Clients can now start challenging each other. Challenging opens up new windows with chess games on both sides of the clients. The one who challenges gets to play white. The moves they play will be securely transmitted to each other.
- Enjoy, code and send PRs and leave suggestions. 😃
Thanks. 😄
darkryder,
42