Shop OBEX P1 Docs P2 Docs Learn Events
Quickstart Smile Games Contest — Parallax Forums

Quickstart Smile Games Contest

Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
edited 2011-11-25 13:09 in Propeller 1
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!
«1

Comments

  • mindrobotsmindrobots Posts: 6,506
    edited 2011-10-21 11:46
    What a fun diversion! (not that I'll finish anything but still a fun diversion!)

    Can we add a piezio speaker for obnoxious sound effects??
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-10-21 11:48
    mindrobots wrote: »
    What a fun diversion! (not that I'll finish anything but still a fun diversion!)

    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
  • jazzedjazzed Posts: 11,803
    edited 2011-10-21 11:51
    Nice project :)
  • Cluso99Cluso99 Posts: 18,069
    edited 2011-10-21 13:18
    OBC: What a great idea!

    Of course I am tied up with all my other prop projects.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-10-21 13:30
    This is an awesome idea, OBC! The winning entry could, perhaps, be selected as a self-running point-of-sale demo for those RadioShack stores that carry the QuickStart.

    -Phil
  • WBA ConsultingWBA Consulting Posts: 2,935
    edited 2011-10-21 15:49
    Well, I cheated. I adapted Beau's POV LED program for the demoboard and made it spell out "DIY". Not really a game, but a super easy demo for newbies to play with if they pick up a Quickstart board. (I wish I had my Mastermind port completed)
  • HShankoHShanko Posts: 402
    edited 2011-10-21 16:27
    OBC,

    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.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-10-21 19:18
    Smile Game Compos aren't really a new idea.

    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
  • AribaAriba Posts: 2,690
    edited 2011-10-21 19:21
    I have made a few QuickStart Demos.
    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.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-10-21 19:29
    @Ariba: Right on the money! Awesome entry!

    OBC
  • bsnutbsnut Posts: 521
    edited 2011-10-22 00:59
    OBC, I agree.
    @Ariba: Right on the money! Awesome entry!

    OBC
    This is a cool idea that you came up with, were it tests someone coding skills.
  • Ray0665Ray0665 Posts: 231
    edited 2011-10-22 08:01
    While not strictly a game, I combined the original button follow demo, Beau Schwabs demo, and my Led Sequencer plus a few others, 6 in all, into one package and added an OS (of sorts) to launch the programs using combinations of buttons. Enjoy
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-10-22 09:17
    @Ray,

    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
  • AribaAriba Posts: 2,690
    edited 2011-10-22 12:27
    @Ariba: Right on the money! Awesome entry!

    OBC

    Thank you Jeff

    I have added a second version to my previous post, which works a bit better.
  • HShankoHShanko Posts: 402
    edited 2011-10-22 13:11
    OBC, you wrote
    For the next week, post your Quickstart Smile Game to this thread! I'll start!

    Just one week? Cut-off date? I'm working on one but it may take longer than a week.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-10-22 13:42
    You know we'll ALWAYS accept new stuff for our Propellers, but this is a (pardon the pun) a "quick" contest for fame and glory. :)

    Voting opens next week! :)

    OBC
  • Ray0665Ray0665 Posts: 231
    edited 2011-10-22 15:10
    Well we have lots of buttons and fingers the only restriction to more routines is memory.
    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.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-10-22 17:48
    While I'd hate to see all the games go this direction.... You guys are forgetting PST.. :)

    OBC
  • MagIO2MagIO2 Posts: 2,243
    edited 2011-10-23 13:39
    Liked the idea and took a few hours to code this!
    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).
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-10-23 15:50
    Nice! Changed the keyboard layout and it worked great here!

    OBC
  • trodosstrodoss Posts: 577
    edited 2011-10-23 19:34
    While I'd hate to see all the games go this direction.... You guys are forgetting PST.. :)

    OBC
    ...So, that means that using a "serial connection" isn't out of the question then?
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-10-23 20:00
    The game should have as few outside requirements as possible. Playable by simply adding a 9v battery is ideal, but PST isn't out of the question.
    trodoss wrote: »
    ...So, that means that using a "serial connection" isn't out of the question then?
  • HShankoHShanko Posts: 402
    edited 2011-10-24 15:48
    Here's my submission to Smile games. Not much of a game, but.....

    Instructions are at end of source, but will provide it here:
    MATCH IT - 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.

    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
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-10-24 18:18
    Looks interesting but missing "Conduit.spin" & "QuickSample.spin" Could you add the files?

    OBC
  • HShankoHShanko Posts: 402
    edited 2011-10-24 19:49
    OBC,

    Apologies. In haste, I forgot to turn off VP lines. I replaced my earlier file with the archived version including VP files.
  • HShankoHShanko Posts: 402
    edited 2011-10-25 14:49
    I uploaded a slightly improved version. Improvement is in the ending. A single LED sweeps to the left (not possible score of 128) for ZERO score and sweeps to the right for earned score.

    The score blinks until another touch to play the next game.

    I still find it difficult to get a very high score (in binary).
  • HShankoHShanko Posts: 402
    edited 2011-10-26 10:54
    Hi, everyone dealing with the 'Smile games'.

    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.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2011-10-26 13:15
    Nice!!

    Two more days left! Who's got the "simon" game? :)

    OBC
  • HShankoHShanko Posts: 402
    edited 2011-10-26 15:34
    "He's back!" One more update on the MatchIt game.

    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
  • AribaAriba Posts: 2,690
    edited 2011-10-27 23:28
    Nice!!

    Two more days left! Who's got the "simon" game? :)

    OBC
    If nobody else post one ... I got it.
    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
Sign In or Register to comment.