Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,28 @@ This repository contains multiple implementations of the pixelflut protocol. Pul

### `/pixelflut` (python server)

Server written in Python, based on gevent and pygame. Easy to hack with, but a bit slow. In fact, it was slowed down on purpose to be more fair and encourage smart drawing techniques instead of image spamming. Perfect for small groups.
Server written in Python2, based on gevent and pygame. Easy to hack with, but a bit slow. In fact, it was slowed down on purpose to be more fair and encourage smart drawing techniques instead of image spamming. Perfect for small groups.

cd pixelflut
sudo apt-get install python-gevent python-pygame python-cairo
mkdir save
python pixelflut.py brain.py
python2 pixelflut.py brain.py

Alternatively use `pip2` and a virtual environemnt for cleaner dependecy management.

cd pixelflut

pip2 install virtualenv
python2 -m virtualenv venv

source venv/bin/activate
pip2 install -r requirements.txt
mkdir save
python2 pixelflut.py brain.py

After exiting, deactivate the virtual environment

deactivate

#### `/pixelwar` (java server)

Expand Down
6 changes: 6 additions & 0 deletions pixelflut/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
gevent==21.12.0
greenlet==1.1.2
pycairo==1.18.2
pygame==2.0.3
zope.event==4.5.0
zope.interface==5.4.0