Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Showcase / Triple Triad: Red
- - By allcaps Date 2013-07-05 06:41
I remade the card game from Final Fantasy 8 using Ruby and Gosu.  I mostly did it to get better at pure Ruby, but Gosu was pretty swell.  The code stayed pretty clean up until I hit my final session and wrapped the game rules up and added a bot to play against.  There are a few concepts I'd still like to learn more about, like ways to do game states, and ways to add time delays without holding the entire game up, like when the bot chooses a cell.  There's also no animation or actual game framework, though the card game's rules are in and working.

I think I'm a little sloppy passing so many object pointers around, and I'm sure a few things in here should be modules, but I'm learning as I go.  This is miles better than my last "project", which was a horribly sloppy (but perfectly functional) Conway's game of Life.

https://github.com/mikezila/Triple-Triad--Red

It includes art and sound that's copyright square enix, but it's already widely available on the net, and I'm like the 30th person to remake the game using the official art and sound, so I'm not sweating.
Parent - - By Spooner Date 2013-07-06 19:20
You need to convert the songs to .ogg format (e.g. with audacity), because mp3 isn't supported across the board (I'm on Linux).
Parent - By bestguigui Date 2013-07-07 07:08
I'm using this online converter : http://audio.online-convert.com/fr/convertir-en-ogg
It works great ! :)
Parent - - By allcaps Date 2013-07-08 03:48
I realized the .mp3 issue after I had uploaded it.  I actually developed the bulk of this on an Linux laptop, but did the "final" touches like music and sfx from an OS X machine.
Parent - - By ml Date 2013-08-06 06:33
I tried it out and it worked great, after converting the .mp3s to .oggs, of course.

This game is very helpful for me, because it is simple enough that I can get it to work on my system, and I can make some general sense of the code.

Thanks, very instructive.
Parent - - By allcaps Date 2013-08-06 08:35
I'm glad it's helped.  Keep in mind that this is generally pretty bad code.  If I went and remade this, there are things I'd do differently.  But it is nothing if not simple and primitive.  Feel free to take/dissect/reuse/copy+paste any part of it.  It's totally public domain in all it's horrible glory, save for the art and sound.
Parent - By ml Date 2013-08-06 22:47
Thanks, I appreciate it.
Parent - By jlnr (dev) Date 2013-09-21 06:58
…a readme for complete outsiders would be nice ;)
Up Topic Gosu / Gosu Showcase / Triple Triad: Red

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill