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 Tue 30 Jun 2015, 10:37
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 Posts_count_1  
Author Message

Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: Sat 16 Jun 2012, 03:53    Post_subject:  BaCon Shell Game
Sub_title: 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,
 Filesize   39.57 KB
 Viewed   1091 Time(s)



Filename  bsg-0.1a.pet 
Filesize  86.65 KB 
Downloaded  210 Time(s) 
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
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 attach files in this forum
You can download files in this forum

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