Skip to content

midzer/freegemas

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

199 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



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 run the following commands to setup your environment to use Homebrew as a backup location for libraries.

[[ -z "${LIBRARY_PATH}" ]] && export LIBRARY_PATH=/usr/local/lib
export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib"

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 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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • C++ 97.2%
  • CMake 1.9%
  • C 0.9%