Slotz
August 1, 2006
This is a very simple slot machine type program written in C with GTK+ 2.x with Glade-2 on Fedora Core 4. It is meant to serve more as an example and/or learning experience than it is intended to be "fun." I coded it because I decided one day that I wanted to learn a little about writing GUI apps on Linux. Download
Payout
InstallingIf you have a sane GNU development environment configured (Install the development tools bundled with your distro, on Windows you'll need something like Cygwin) you should be able to type the following commands and have it "just work". tar -xzvf slotz-0.1.tar.gz
cd slotz-0.1
./configure
make
make installRunningJust type in the command idiot. slotzHow it was writtenWriting this was a piece of cake. I designed the GUI in Glade. In the source I programmed callbacks.c, added some global vars and random seeding in main.c, wrote stuff.h to have extern definitions for the global vars, and included stuff.h in callbacks.c. Legal
Slotz The programs found on this page are free software and may be used, distributed, and modified under the terms of the GNU General Public License version 2.0. These patches are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. CommentsNo comments found. Post Comment |
Tag Cloudaccounting assembly asterisk c django erlang games hacking python speaking travel tutorial web Archive
September 2008 Popular Content
Asterisk Voice Changer
(1403 Views) Recent Comments
Phone Parrot
on Oct 27 by John |
