pythonfoo / bomber

0 stars 0 forks source link

Bomber

This will be a bomberman clone server sooner or later. It will only work with Python 3.4 or later.

Install Dependencies

apt-get install python3-pip python3-dev libsdl-image1.2-dev libsdl-mixer1.2-dev \
libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy subversion \
libportmidi-dev libfreetype6-dev libavformat-dev libswscale-dev mercurial

pip3 install hg+http://bitbucket.org/pygame/pygame
pip3 install https://github.com/hwmrocker/pygameui/archive/master.zip
pip3 install docopt msgpack-python

Arch users should install at least

sudo pacman -S hgsvn
sudo pacman -S python-pip

Via vagrant

install newest vagrant version from https://www.vagrantup.com/downloads.html and virtual box

type vagrant up in the directory with the source files

wait a bit until the image is downloaded and startet. A new window with the VM should open. Login in with user and passwort vagrant. Compile and / or install all dependecies.

sudo su
cd /vagrant
bash bootstrap.sh
exit

Now start the XServer.

startx

start the server in the xterm window

python3 bomber.py

Now you can connect your client to localhost:8001. Happy hacking.