chichilku3
Part 3 of the chichilku series written in ruby.
Simple 2d online multiplayer stick figure battle game.
dependencies
macOS
brew install sdl2
linux
# debian
sudo apt install git libfontconfig1-dev libsndfile1-dev libsdl2-dev libmpg123-dev libopenal1 libopenal-dev
# ubuntu
sudo apt-get install build-essential libsdl2-dev libgl1-mesa-dev libopenal-dev libsndfile-dev libmpg123-dev libgmp-dev libfontconfig1-dev
# arch
sudo pacman -S openal pango sdl2 sdl2_ttf libsndfile pkg-config mpg123
# fedora
sudo dnf install --assumeyes mpg123-devel mesa-libGL-devel openal-devel libsndfile-devel gcc-c++ redhat-rpm-config SDL2-devel fontconfig-devel
Installing as gem
# install binarys
gem install chichilku3
# run the server
chichilku3-server
# run the client
chichilku3
Building from source
Download the source
git clone --recursive https://github.com/chichilku/chichilku3
cd chichilku3
bundle install
Download default maps (needed for server)
cd ~/.chichilku/chichilku3
git clone git@github.com:chichilku/chichilku3-maps.git maps
Start the client
ruby lib/client/chichilku3.rb
Start the server
ruby lib/server/chichilku3_server.rb
Testing
rspec
License
The whole project and all images are licensed under public domain. All graphics were handcrafted by ChillerDragon same goes for the code. You are free to use any of it for anything. You are free to copy/redistribute/sell/edit this project without any limitations. Without any warranty tho for more information see LICENSE file at the root of this repository.
IMPORTANT NOTE! The source under lib/external are external libraries with their own licenses. Check the individual libraries.
Credit is appreciated but not required.