http://awilliams.github.io/RTanque/
RTanque depends on Gosu, which depends on SDL, which depends on... :(
- Guide for Linux https://github.com/gosu/gosu/wiki/Getting-Started-on-Linux
- Guide for OSX https://github.com/gosu/gosu/wiki/Getting-Started-on-OS-X
Install dependencies for gosu and texplay gems.
sudo apt-get install build-essential libsdl2-dev libsdl2-ttf-dev libpango1.0-dev libgl1-mesa-dev libfreeimage-dev libopenal-dev libsndfile-dev libiconv-hook-dev libxml2-dev freeglut3 freeglut3-dev ImageMagick libmagickwand-dev
Install dependencies for gosu gem.
brew install sdl2 libogg libvorbis
Both in Debian and OSX gosu and texplay gems failed to install.
- Gosu 0.7 wouldn't compile. That's why I had to install RTanque from a different github repository.
- Texplay 0.4.3 wouldn't compile. That's why I had to install texplay from the github repository.
mkdir -p rtanque; cd rtanque
bundle init
echo "gem 'rtanque', github: 'andrew/rtanque'" >> Gemfile
echo "gem 'texplay', github: 'banister/texplay'" >> Gemfile
bundle install
bundle exec rtanque new_bot my_bot
bundle exec rtanque start --gui=false sample_bots/seek_and_destroy bots/my_bot