Posted: Sat 16 Jun 2012, 03:53 Post subject:
BaCon Shell Game Subject description: Guess where the pea is
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.
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