Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 19 Apr 2014, 10:58
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
BaCon Shell Game
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Sat 16 Jun 2012, 03:53    Post subject:  BaCon Shell Game
Subject description: Guess where the pea is
 

Dear Puppians,

Here is a little diversion I programmed in BaCon that simulates the traditional con-man shell game that is played on streets throughout the world. The pea starts out under shell 2 and the shells are shuffled 10 times. Your task is to follow the movement of the shell with the pea. You can vary the speed a bit, since CPUs will process at different speeds. Eventually I will try to fix this, so that the game adjusts automatically to various CPU speeds. I compiled it in Lucid, so it should work in most recent puppies. It uses SOX's play to render sounds. If you don't have SOX installed, you can symlink aplay (from Alsa) to play and it should work.

Here is a screenshot.

The source is in the /usr/local/bsg/src dir.

With kind regards,
vovchik
bsg.png
 Description   
 Filesize   39.57 KB
 Viewed   229 Time(s)

bsg.png

bsg-0.1a.pet
Description 
pet

 Download 
Filename  bsg-0.1a.pet 
Filesize  86.65 KB 
Downloaded  160 Time(s) 
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0330s ][ Queries: 12 (0.0048s) ][ GZIP on ]