/freegemas

Freegemas is an open source version of the well known Bejeweled, built in C++ using SDL2

Primary LanguageC++GNU General Public License v2.0GPL-2.0



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.

Installation on Debian-based GNU/Linux systems

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

Installation on OS X

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.

Installation on Playstation Vita

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.

Music licensing

The music in the game is Easy Lemon by Kevin MacLeod Licensed under Creative Commons: By Attribution 3.0