# WDC 3.0 Let's build the classic game "Simon"

**URL:** <https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196>\
**Category:** Teachers' Lounge\
**Tags:** wdc\
**Created:** [September 13, 2023, 11:38am UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196 "2023-09-13T11:38:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [September 13, 2023, 11:38am UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/1 "2023-09-13T11:38:33Z")

</div>

Thanks a million to everyone that participated in the re-booted #wdc last weekend, it’s great to have these events back in the Community

This weekend we’ll be building the classic game **Simon**

 ![simon_official_vintage_mb_box_and_game](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/3/83a535e062b2c3deb4cd458623279b64aa6a3868.jpeg)

To make sure you have the resources you need though, please fill in the following poll:

_Poll ([view on site](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/1))_

cc [@Community\_Testers](https://community.thunkable.com/groups/community_testers) [@Power\_Thunkers](https://community.thunkable.com/groups/power_thunkers)

## Samples

Thanks to the amazing community members who have shared examples already:

1. [Codeswept](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/9)
2. [Matt](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/11)
3. [Jared](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/19)
4. [Ioannis](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/25)
5. [Domhnall](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/26)
6. [Manyone](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/27)

## Tutorials

I’ve also created a couple of [simple tutorials](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/22) that you can use to get started

Best of luck to everyone on the challenge!

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 13, 2023, 2:53pm UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/2 "2023-09-13T14:53:26Z")

</div>

A while back, before I discovered Thunkable, I created a template for another user who hired me to create a Simon-like game. He had the game design ideas but I coded the basic system for him and then he expanded on it. It was called Light the Way:

[https://forums.gamesalad.com/discussion/98808/light-the-way-10th-anniversary-edition](https://forums.gamesalad.com/discussion/98808/light-the-way-10th-anniversary-edition)

Simon is a good jumping off point for figuring out how to sequence code, how to respond to inputs, and how to check for win/lose events. Can you win at Simon, though? Anyway, I think most users here aren’t using Thunkable to create games but I’m curious to see what variations people come up with.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [September 13, 2023, 3:15pm UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/3 "2023-09-13T15:15:08Z")

</div>

[![](https://i.vimeocdn.com/video/1723424084-ac42fc4c43a798bc8d1c6be02444538b0545f336ec00cbf62e183ad2cd7141b6-d?f=webp "New Recording - 9/13/2023, 11:14:24 AM") ](https://vimeo.com/864033106)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [September 13, 2023, 5:28pm UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/4 "2023-09-13T17:28:38Z")

</div>

> [@tatiang](#):
>
> Can you win at Simon, though?

Good question! I’m mainly interested to see how folks approach the “play/record” functionality, but going forward we might need something with a definitive “game over” condition

—-

@jared looks fun! 😃

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [September 13, 2023, 6:29pm UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/5 "2023-09-13T18:29:03Z")

</div>

> [@tatiang](#):
>
> n you win at Simon, though?

Simon can only become a game of competition with winners/losers after 2 or more matches have been played.

Even then, it’s about what you consider to be ‘playing a competitive game’. You vs You. You vs Others.

you have kids. you muust know anything and everything can become a competition. 🤣

> [@domhnallohanlon](#):
>
> need something with a definitive “game over” condition

the game over condition will be “dang, i hit the wrong color/sequence”, right?

def need a high score bored tho.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [September 13, 2023, 6:52pm UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/6 "2023-09-13T18:52:26Z")

</div>

also…

V1 of simon says on thunkable

> **[thunkablecompanion](https://thunkable.site/w/CP_4Y_bU-cg_UnNtOD63U)**
>
> Powered by Thunkable

you probably need to refresh between each game.

for stature

 ![Screen Shot 2023-09-13 at 2.52.50 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/e/3ec9c55290d3b7ad696e62836449c67f0abfc2d5.png)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [September 13, 2023, 11:20pm UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/7 "2023-09-13T23:20:08Z")

</div>

> [@jared](#):
>
> V1 of simon says on thunkable

Dude, this is brilliant!

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 14, 2023, 4:50am UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/8 "2023-09-14T04:50:17Z")

</div>

> [@jared](#):
>
> you have kids. you muust know anything and everything can become a competition. 🤣

Haha! So true!

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [September 14, 2023, 12:18pm UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/9 "2023-09-14T12:18:54Z")

</div>

Here’s my submission for this WDC! Had made a basic version of this earlier, but it was pretty buggy. Fixed it up for this WDC, gave it some semblance of UI, and gave it added functionality. Here’s my SIMON: 290 blocks and 2 screens’ worth of wayyy too much struggle.

**Features** :  
Quit Game/ Play again and Reset features  
Sound on/off  
Sequence length display  
Encouragements  
Flash animation clone upon clicking a button  
Beeps corresponding to each color  
Memory Quality checks (only for fun, i.e Goldfish or Excellent)

**What I hope to add** :  
Extra colors for difficulty levels  
Compete with other players using Firebase and/or Airtable  
Leaderboard  
Settings feature with previous games, high score, and customization features (choice of block colours, choice of sounds, choice of default difficulty level/ number of blocks)

**Link** :  
[Thunkable](https://x.thunkable.com/copy/e8c46537fe9aba5922793cf9953e29a1)

Please ignore all the other random screens cluttered throughout this app’s code: this app is more or less the guinea pig for all my failures and experiments! The other screens will not be visible during gameplay and will not affect it whatsoever.

So glad to be back doing a WDC- it’s been quite a while. Do let me know if you have any suggestions for features I could add or if there are any bugs that you spot.

Thank you @domhnallohanlon for all the incredible prompts.

Happy Thunking!

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [September 14, 2023, 1:21pm UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/10 "2023-09-14T13:21:07Z")

</div>

> [@codeswept](#):
>
> Here’s my submission for this WDC!

Nice one @codeswept - “an iPhone would be jealous of your memory” relly made me laugh. Also very impressed that you managed to get this completed before the challenge has officially started! 😂

* * *

UPDATE:

since everyone else is getting stuck in already I’ve decided to make a start on mine too!

![billy](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/d/8d6c885599501c35be6098813e359e3a1f92be57.gif)

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [September 14, 2023, 2:54pm UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/11 "2023-09-14T14:54:32Z")

</div>

This is probably v .75 of my submission. I’m getting a bit stuck at how to handle determining if the clicks are correct for any sequence \> 1.

 ![Screenshot 2023-09-14 at 10.52.08 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/f/9fb6dac0a7824ded3140e251d17d5a7ab2d7f785.png)

[Project Link](https://x.thunkable.com/copy/741039bd211fa4d658fd21507ceaffaa)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 14, 2023, 2:59pm UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/12 "2023-09-14T14:59:36Z")

</div>

Whoa! That looks really complex. I would tend to use text strings to hold the values of the pattern and the user inputs. So when a random color is chosen, join that value (e.g. “G” for green) to the pattern variable. When the user clicks a color, join that value to the guess variable. Then compare the two strings to see if they are equal. To make it more like the actual Simon, you can compare the substrings up to the current guess # so that if say, the pattern is GBBGY and the player inputs GBBR, the substring from 1 to 4 of “GBBGY” (“GBBG”) is not equal to the substring of “GBBR”.

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [September 14, 2023, 3:03pm UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/13 "2023-09-14T15:03:22Z")

</div>

I graduated from the Rube Goldberg School of Coding 😂

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [September 14, 2023, 3:59pm UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/14 "2023-09-14T15:59:41Z")

</div>

This is exactly what I did- i regret not using functions for this as they would’ve been quicker and more efficient but these blocks get the job done well.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/4/44858d685240200f215b1139172fd0466f9cd142.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/e/ae8d7a508e4f52f0da2eafcceb6de748a72018d2.png)

Try this- it works for all sequences. The sequence that the computer generates is held in a list and for each click the user makes, the button color and click no. (eg, 7th click while trying to complete the sequence) is cross-checked against the computer-generated list for the same number.

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [September 14, 2023, 4:03pm UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/15 "2023-09-14T16:03:57Z")

</div>

> [@domhnallohanlon](#):
>
> before the challenge has officially started! 😂

Is it only Thursday? I was so sure it was the weekend🤦🏽‍♂️ Or maybe that was just a really big part of me hoping

---

<div class="post-metadata">

**Author:** ![manyone](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@manyone](https://community.thunkable.com/u/manyone)\
**Post date:** [September 14, 2023, 5:21pm UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/16 "2023-09-14T17:21:45Z")

</div>

whoosh! wow, everything here is over my head!  
i’m going to really study the programs of @codeswept and @jared, for sure! thanks for sharing!

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [September 14, 2023, 6:51pm UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/17 "2023-09-14T18:51:53Z")

</div>

Yes! That was the part I could not get. Thank you for this!

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [September 14, 2023, 8:58pm UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/18 "2023-09-14T20:58:22Z")

</div>

> [@jared](#):
>
> for stature

@jared - I just had this “great idea” to switch from lists to objects, but I may have been subliminally influneced by you…also not sure if I want to increase my block count either 😂

 ![Screenshot 2023-09-14 at 21.57.28](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/0/e0ec71162172d49ef2dba02d36bf6d1fcb643785.png)

Tomorrow, sounds effects (and probably objects!) but for now:

> **[thunkablecompanion](https://thunkable.site/w/8PGb28ORx9kmb3aJadjPc?from=x)**
>
> Powered by Thunkable

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [September 15, 2023, 2:25am UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/19 "2023-09-15T02:25:10Z")

</div>

ok. i spruced it up. the UI isnt the sexiest BUT there’s a live scoreboard for the top 100 scores powered by Xano

play over and over. challenge your friends!

> **[thunkablecompanion](https://thunkable.site/w/CP_4Y_bU-cg_UnNtOD63U)**
>
> Powered by Thunkable

[Project Link](https://x.thunkable.com/projectPage/6501bfdac392eb2d193186f1)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 15, 2023, 4:44am UTC](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196/20 "2023-09-15T04:44:33Z")

</div>

Funny you should say that… we’re just starting a Rube Goldberg / chain reaction project with our 6th graders. We’ll be integrating physical and digital materials.

I’m one to talk, though… my style of coding is often to throw everything at the wall and see what sticks and then clean up later.

[Next page](https://community.thunkable.com/t/wdc-3-0-lets-build-the-classic-game-simon/2593196.md?page=2)
