Freegemas is an open source version of the well known Bejeweled, for GNU/Linux, Windows, Mac and Playstation Vita. It's written in C++ using SDL2. In the past it used Gosu instead of SDL2, and the old repository can be found at Google Code.
First, you need to install git and gcc:
sudo apt-get install git build-essential cmake
Next, install SDL2 and JsonCpp from the repositories:
sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev libjsoncpp-dev
After that, clone the repo:
git clone https://github.com/JoseTomasTocino/freegemas.git
Do an out-of-source compilation and run the program:
cd freegemas
mkdir build
cd build
cmake ..
make
./freegemas
This assumes that you are already using Homebrew. You will need CMake and a few libraries to compile Freegemas:
brew install cmake sdl2 sdl2_mixer sdl2_ttf sdl2_image gettext jsoncpp
Now follow the instructions above, starting with git clone
.
For building for Vita, the Vita SDK should be installed.
After that, clone the repo:
git clone https://github.com/JoseTomasTocino/freegemas.git
Do an out-of-source compilation:
cd freegemas
mkdir vita
cd vita
cmake -DCMAKE_TOOLCHAIN_FILE="${VITASDK}/share/vita.toolchain.cmake" ..
make
Now freegemas.vpk
can be tranfered and installed on Vita.
The music in the game is Easy Lemon by Kevin MacLeod Licensed under Creative Commons: By Attribution 3.0