Skip to content

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

License

Notifications You must be signed in to change notification settings

deckarep/freegemas

 
 

Repository files navigation



Freegemas is a GPL2.0 open source version of the well known Bejeweled, for MacOS and GNU/Linux, and Windows. It's written in Zig 0.13.0 using SDL2. This version is a Zig-based port of the original C++ version by Jose Tomas Tocino. Since the original license is an open source copyleft license this repo is required to use the same exact license.

Supported Systems

  • MacOS
  • Linux
  • Windows (contributions welcome to get this building there)

Installation on OS X

First, head over to ziglang.org and download Zig 0.13.0 or newer.

This assumes that you are already using Homebrew. You will need a few libraries to compile Freegemas:

brew install sdl2 sdl2_mixer sdl2_ttf sdl2_image

Now run the following commands to setup your environment to use Homebrew as a backup location for libraries.

After that, clone the repo:

git clone https://github.com/deckarep/freegemas.git

To compile from source:

cd freegemas
zig build run
./freegemas

Installation on Debian-based GNU/Linux systems

First, head over to ziglang.org and download Zig 0.13.0 or newer.

Next, install SDL2. You will need a few libraries to compile Freegemas:

sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev

Now run the following commands to setup your environment to use Homebrew as a backup location for libraries.

After that, clone the repo:

git clone https://github.com/deckarep/freegemas.git

To compile from source:

cd freegemas
zig build run
./freegemas

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 Zig using SDL2 ported from the original C++ version

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Zig 51.2%
  • C++ 47.5%
  • Other 1.3%