Jul. 16th, 2020

Gem games

Jul. 16th, 2020 02:11 pm
I've been looking for a decent Open Source jewel or gem game where you try to line up three or more gems in a row.

Was able to find a few written in C:
https://sourceforge.net/projects/bejeweled/
https://sourceforge.net/projects/gemz/

I also ran across OpenGemmy on the Google Play Store. The source code for it is available here:
https://bitbucket.org/vjaka/match3/
It's built using lua and a library called love2d.

I thought it would be really interested to be able to play the match3 game on my PC instead of an Android. One reason, the screen's easier to view. So, I tried downloading an executable of love2d for Windows. With the latest version of love2d and a couple of patches to the match3 code, I'm able to get it working on a Windows 10 machine. However, I really wanted to see if I could get this running on an old Windows XP machine. Later versions of love2d are written in C++, but I found an older version of love2d written in C ( https://github.com/love2d/love-old ). It's probably going to take a while to debug and get building against the latest version of lua. So, in the meantime, I downloaded love-0.6.2-win-x86.zip from https://bitbucket.org/rude/love/downloads/ With a little more patching I was able to get match3 to come up using that version of love2d. To run, specify the directory where love is installed and the executable along with the directory where match3 is installed. For instance, on my system it's:
\bin\lua\love2d\love \bin\lua\match3
Needed to do some debugging on match3 to get it to run without any bugs on Windows XP, but it appears to be working fine now. It's nice being able to see it on a large screen.

If you run across any other cross platform implementations of this type of game in C, please let me know. I'd really like to find out what other versions of this game are out there.

July 2025

S M T W T F S
  12345
67891011 12
13141516171819
20212223242526
2728293031  

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 14th, 2025 12:26 pm
Powered by Dreamwidth Studios