Quickstart Smile Games Contest
Oldbitcollector (Jeff)
Posts: 8,091
8 COGS, 8 LEDS, 8 TOUCH BUTTONS, AND 8 GAMES!
Quickstart Smile Games Contest?
Reflex
By: Oldbitcollector
Instructions: Press any button to stop the moving LED. Try to stop it on your button.
http://forums.parallax.com/attachment.php?attachmentid=86190&d=1319219893
DIY POV
By: WBA Consulting
Move the board and make it spell out "DIY".
http://forums.parallax.com/attachment.php?attachmentid=86203&d=1319237337
ConnectFour -:- Second place WINNER
By: Ariba
You and the Quickstart alternately turn on a LED, the one that first has 4 LEDs in a row wins.
http://forums.parallax.com/attachment.php?attachmentid=86227&d=1319311456
Touch Buttons LED Demo
By: Ray0665
6-in-1 Demo
http://forums.parallax.com/attachment.php?attachmentid=86214&d=1319295570
Snake -:- 1st place WINNER!
By: MagIO2
Load program and start Parallax Serial Terminal to play game.
http://forums.parallax.com/attachment.php?attachmentid=86258&d=1319402359
Match It
By: HShanko
Instructions:
1. The eight LEDs blink twice then stay ON after initialization.
2. Then touch a pad to set Pattern display time; pad 8 for longest, pad 1 for shortest.
3. Then, when a Pattern is displayed, try to touch and hold the corresponding pad(s) before timeout.
Hold untii pattern turns OFF. Pattern is displayed about 0.1 to 1 second
4. When touched pads matches pattern, the Score is increased by one. If a pattern isn't matched, a
time-out (Delay) occurs and #tries counter is decremented.
5. Game is over when #Tries is zero; Score is then displayed. If Score is zero, indication is by
sweeping a single LED to the left end. Touch any pad to Play again.
http://forums.parallax.com/attachment.php?attachmentid=86362&d=1319668292
Simon
By: Ariba
Simon Rules:
Additional: Connect a speaker or earphone at pin15 (thru a 100..220R resistor or 1..10uF capacitor).
http://forums.parallax.com/attachment.php?attachmentid=86385&d=1319783136
Cogs Of War
By: Tubular
(A variation of tug of war, for two players). One player madly taps the P7 button, the other taps P0.
http://forums.parallax.com/attachment.php?attachmentid=86413&d=1319848904
XorIQ
By: MagIO2
This game I called XorIQ. The goal is pretty easy: You have 30 tries to switch on all LEDs.
First the start-pattern is shown, then it loops over the xor-patterns and show em shortly. This can be switched off by a constant to give no glue at all. Then it's your turn! Push the buttons and the bitpattern will change. If all LEDs are on you won!
http://forums.parallax.com/attachment.php?attachmentid=87188&d=1322254875
Read into the thread for full details and revisions on each of these games!
Quickstart Smile Games Contest?
Reflex
By: Oldbitcollector
Instructions: Press any button to stop the moving LED. Try to stop it on your button.
http://forums.parallax.com/attachment.php?attachmentid=86190&d=1319219893
DIY POV
By: WBA Consulting
Move the board and make it spell out "DIY".
http://forums.parallax.com/attachment.php?attachmentid=86203&d=1319237337
ConnectFour -:- Second place WINNER
By: Ariba
You and the Quickstart alternately turn on a LED, the one that first has 4 LEDs in a row wins.
http://forums.parallax.com/attachment.php?attachmentid=86227&d=1319311456
Touch Buttons LED Demo
By: Ray0665
6-in-1 Demo
http://forums.parallax.com/attachment.php?attachmentid=86214&d=1319295570
Snake -:- 1st place WINNER!
By: MagIO2
Load program and start Parallax Serial Terminal to play game.
http://forums.parallax.com/attachment.php?attachmentid=86258&d=1319402359
Match It
By: HShanko
Instructions:
1. The eight LEDs blink twice then stay ON after initialization.
2. Then touch a pad to set Pattern display time; pad 8 for longest, pad 1 for shortest.
3. Then, when a Pattern is displayed, try to touch and hold the corresponding pad(s) before timeout.
Hold untii pattern turns OFF. Pattern is displayed about 0.1 to 1 second
4. When touched pads matches pattern, the Score is increased by one. If a pattern isn't matched, a
time-out (Delay) occurs and #tries counter is decremented.
5. Game is over when #Tries is zero; Score is then displayed. If Score is zero, indication is by
sweeping a single LED to the left end. Touch any pad to Play again.
http://forums.parallax.com/attachment.php?attachmentid=86362&d=1319668292
Simon
By: Ariba
Simon Rules:
Additional: Connect a speaker or earphone at pin15 (thru a 100..220R resistor or 1..10uF capacitor).
http://forums.parallax.com/attachment.php?attachmentid=86385&d=1319783136
Cogs Of War
By: Tubular
(A variation of tug of war, for two players). One player madly taps the P7 button, the other taps P0.
http://forums.parallax.com/attachment.php?attachmentid=86413&d=1319848904
XorIQ
By: MagIO2
This game I called XorIQ. The goal is pretty easy: You have 30 tries to switch on all LEDs.
First the start-pattern is shown, then it loops over the xor-patterns and show em shortly. This can be switched off by a constant to give no glue at all. Then it's your turn! Push the buttons and the bitpattern will change. If all LEDs are on you won!
http://forums.parallax.com/attachment.php?attachmentid=87188&d=1322254875
Read into the thread for full details and revisions on each of these games!
Comments
Can we add a piezio speaker for obnoxious sound effects??
Sure! Keep it simple.. Everyone should be able to participate. Reflex only took a few minutes.
OBC
Of course I am tied up with all my other prop projects.
-Phil
What is a 'Smile game'? Like your example, just something simple? I've not played much of any games
And how many parts can be added? Makes it difficult if I use something others can't find.
I bot the QS just for the heck of it; small, simple, has a keypad, some LEDs, USB powered, header to expand to the moon, or beyond. I used mine to bring up an old All Electronics LCD, a 24 x 1 char. display. Used it to display, 16 char at a time, of the LCD ROM display characcters, followed by the start/end characteer value. Yeah, I know the data sheet shows them, but wanted some programming time too. Used keypads 1 and 8 for forward/backward through the character set. Added Rayman's LED sequencer. That leaves at least 5 other keypads to select stuff.
Strange effect with it hooked to my iMac; when power is OFF, that is Standby, there must still be some residual power, as the LEDs light up slightly in the dark. Not evenly, so it must be near the 'knee' of the LED diode. Haven't yet measured that; "Hey, you over there, get your DVM and measure this?"
Good idea OBC. We can have our fun, and Parallax sell more QS boards.
The idea behind a "Smile" game is one that is simple and just uses the functionality of the Quickstart board itself without adding a video or audio head. I know this crowd could easily come up with at least a half-a-dozen moderately interesting "Smile" games.
Examples are games like Reflex, Simon, and Football. Surely there are a few other old timers here who remember LED (pre-LED) based pocket games.
Edit
@WBA: Exactly the kind of idea I had in mind! Nice!
OBC
Here is my contribution to this contest, a simple version of ConnectFour ("Vier gewinnt" in german).
You and the Quickstart alternately turn on a LED, the one that first has 4 LEDs in a row wins.
You always begin, the Quickstart uses a mix of intelligence and randomness.
Andy
Edit: I have made an improved version, which lights the 4 LEDs in a win situation, and the code is also easier to understand.
OBC
You read my mind. That's what I had in mind at the end of this contest. You suppose we can get a couple more in there?
OBC
Thank you Jeff
I have added a second version to my previous post, which works a bit better.
Just one week? Cut-off date? I'm working on one but it may take longer than a week.
Voting opens next week!
OBC
As an aside I think something like this would be an ldeal in-store display / demo.
To be really effective a short description is really required. (perhaps part of the display)
The problem I see with all these demos is that unless there is an explanation of the architecture the mono-cog guys will look at it and say - I can do that and walk away.
We need a killer app that is clearly multi-cog.
OBC
As I don't have a quickstart board myself I used a gadgetgangster board and PST.
Quick and easy .... and much room for improvements ... levels ... difficulty ... obstacles and stuff like that can be added later by the guys who learn programming
Enjoy ;o)
PS: Oh ... after posting I remembered the keyboard differencies ... so, here is lesson 1: Change y into z if you have an english keyboard layout ;oP
PPS: I can think of at least 3 minor bugs ... lesson 2: find the bugs and fix the code
Concrete instructions on how to run snake, as requested by OBC in post #36:
===========================================================
To run snake you need PST, the "Propeller Serial Terminal". You can find it on the propeller download page.
Other terminals propably won't work (maybe except the terminal included in BST) because PST has some special bytes for setting the position of the output ""cursor" which is needed by snake.
Then you simply load the program into RAM. The program will wait for you to switch to PST and enable the serial interface again by periodically sending a string.
After that you can simply follow the instructions the game gives you.
About the bugs: One bug you'll face more often the longer your snake is. (Tip: even if the food tells you, you should never cross the snake ;o)
The other bug will appear if you managed to have a snake with 500 pieces. Don't know what happens then. At least in memory the snake will bite itself into it's tail ;o).
OBC
Instructions are at end of source, but will provide it here:
Since a 'drop dead' date wasn't mentioned, I figured this was 'crappy' enough to qualify. Could use a bit more tweaking. I find it difficult to get much of a score. Maybe it is just my fat 'fumble-fingers' on the touch-pads which should have been further apart. But I wouldn't want that either.
QS_crap-MatchIt - Archive [Date 2011.10.25 Time 14.30].zip
OBC
Apologies. In haste, I forgot to turn off VP lines. I replaced my earlier file with the archived version including VP files.
The score blinks until another touch to play the next game.
I still find it difficult to get a very high score (in binary).
I would appreciate anyone trying my MatchIt game to feed back to me any complaints, improvements, etc. that you may have found or done.
Working with only eight each capacitive touchpads and LEDs there is a bit of limitation on what can be done/displayed.
Thank you for any feedback.
Two more days left! Who's got the "simon" game?
OBC
I finally got the routine working that requires holding two or more pads down for a period, rather than the Prop taking off on the first touch of a pad. And commented out ViewPort use. I needed it during debugging. Now is easier to get a score of 5 or more.
Now only if I only had thinner finger tips and could hit all the (pattern) matching keys. And look up what 'Simon' game is.
I'm going to attach the latest version right here. QS_crap-MatchIt - Archive [Date 2011.10.26 Time 15.19].zip
And even with sound, if you connect a speaker or earphone at pin15 (thru a 100..220R resistor or 1..10uF capacitor).
It's easier to remember the sequence with sound, but it works also without.
Andy