PDA

View Full Version : Sabacc Basics - anyone want it?



goumba
June 17th, 2009, 17:33
Hey guys,

First forgive me if this is in the wrong place.

I've been working on Sabacc Basics. Unfortunately, I've broken my hand which makes it difficult for me to continue and I don't have as much time as I used to anyway. So it doesn't seem like I've forgotten the project, I'm offering the source to anyone who wishes to continue developing SB.

Please excuse any typos or grammatical errors. I am trying to make this as easy on my hand as possible, so I'm going to type and not do too much editing.

A few notes:
1. I am a self taught programmer, and was learning along the way. I have no formal training in programming. This is my first project I've gotten anywhere with using C++ (much less SDL, etc). As such, the code may not be nice to look at, and many things probably could have been done better. I am not a programmer by trade and never will be. Please don't make fun of the code. :)
2. On that note, if you choose not to release the source, I request you at least share with me so that I may learn where I could have improved things. Possibly for a future project if I have the time.
3. Please give me some credit. :)
4. I may, however it is unlikely once I give up the source, resume SB at a later time. Or, I may re-use the name in an entirely new project. At such time, those who volunteer to continue SB may still do so. I am not one of those people who will ask others to cease. This is a free project and will always be so as far as I am concerned. Likewise, I am asking that none who pick up the project try to make it "exclusive," by asking others to stop developing SB.

One other option I am considering is making this a community project, putting it up on sourceforge or the like, and adding as maintainers those who are interested.

JLF65
June 17th, 2009, 22:24
Sounds like you really want to put an open source license on your code and make it a community project. You might check the various licenses available and pick one that fits your points above.

I'd probably ask for this (been following this for some time - I'm about the only one to comment in your old threads), but I'm pulled too thin on other things as it is right now.

Darksaviour69
June 17th, 2009, 23:01
GPL, and releasing on sourceforge, comes to mind....

goumba
July 30th, 2009, 14:19
Hey guys,

Finally got around to it,

http://sabaccportable.sourceforge.net/

Have fun!

Just remember:
There may be something wrong with me (I have no doubt)< but Sabacc was my first C++ program (and my first program in over 10 years, the last written in VB6), so its pretty ugly looking. There are also a lot of hacks - Sabacc itself was written on top of the "Sabacc Interface Toolkit." At v0.7 I ditched SIT for the "Sabacc Media Framework" it now contains. As such, there is a lot of legacy code (especially in class CasinoGame for handling events) that I'd like to see gone.

Some files were lost - mainly the FreeType rendering class, but SDL_ttf should do. My FT class allowed for multiple line and rich text formatting, so adjustments will be necessary to other code. Where did this file go? Who knows. Where's the backup? Ditto. I may have deleted it with the intent to re-write (I do these things, now ask why Sabacc is only 0.7 LOL). The other lost files look like sound files.

I haven't attached a license yet, but likely it will be GPL.

If you use the libraries repository at ps2dev.org, you'll have what you need to build it.

It also builds and runs under Debian, and I'm sure many other Linux distributions. You'll need SDL, SDL_image, SDL_ttf. The package manager should handle the rest.

I haven't tried to build it under Windows or MacOS.

Phew. Good luck guys, and have fun.

Use the Open Discussion forum for questions and any suggestions. Criticism is also welcome there as I'd really like to improve my C++ and design skills in general.

Goumba

JLF65
July 30th, 2009, 23:52
Coolness. Thanks!