#Welcome to RubyGoal!
RubyGoal is a game in which you will be coaching your football team.
You will be coding your strategy in RUBY :D .
GNU/Linux, Make sure you have all dependencies installed.
Ubuntu/Debian:
# Gosu's dependencies for both C++ and Ruby
sudo apt-get install build-essential freeglut3-dev libfreeimage-dev libgl1-mesa-dev \
libopenal-dev libpango1.0-dev libsdl-ttf2.0-dev libsndfile-dev \
libxinerama-dev
For other distros: https://github.com/jlnr/gosu/wiki/Getting-Started-on-Linux
gem install rubygoal
Run the game with example Coach
rubygoal
Run the game with your custom Coach
implementation
rubygoal coach_1.rb
Run the game with your home and away Coach
implementations
rubygoal coach_1.rb coach_2.rb
Take a look to the already defined Coach
at lib/rubygoal/coaches
.
Specially pay attention to the file lib/rubygoal/coaches/template.rb
All source code, except the files under the media/
folder, is
licensed under the Apache License 2.0. Please see the LICENSE
file under
the gem root folder.
All media files under the media/
folder are licensed under the Creative
Commons 4.0 Attribution license. Please see https://creativecommons.org/licenses/by/4.0/