# 🎮 WDC #12 Let's Play Whac-a-Mole™️

**URL:** <https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774>\
**Category:** Teachers' Lounge\
**Tags:** wdc\
**Created:** [April 23, 2021, 4:46pm UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774 "2021-04-23T16:46:28Z")\
**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:** [April 23, 2021, 4:46pm UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/1 "2021-04-23T16:46:29Z")

</div>

## Level Up

To keep things interesting, we’re going to try a game development challenge for #wdc 12

Very much inspired by @David_Wolber’s iconic “Mole Mash” game, this weekend the objective is to build a Whac-a-Mole™️ style game

![tenor](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/2/e241e7fcfff85f8ca06d1297b866892ce92ec329.gif)

## Examples

In case anyone isn’t familiar with the arcade game, or any of the online versions of this game here are two examples.

### [ICT Games](https://www.ictgames.com/mobilePage/whackAMole/index.html)

In this version the moles have numbers on them. It’s aimed at younger players to help them with their counting skills. There are quite a lot of options here that are very straightforward in Thunkable. You can choose the starting number, the step size and whether you want to count up or down.

I think this is a nice spin on the original and could easily be adapted to use the alphabet rather than numbers. Or maybe there would be different rounds for each? You’re the developers, you can decide that.

 ![Screenshot 2021-04-23 at 17.22.39](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/1/11106e6dd54759745f6d53cfae02cf50d0264ce8.png)

### [Memory Training Games](https://www.memory-improvement-tips.com/whack-a-mole-game-window.html)

Closer to the quintessential Whac-a-mole for me, it has sound effects, a timer, current score, high score, different points values and the graphics are really nice too. As with most of these challenges, I feel this is another one where you can get the functionality quite quickly and then spend more time on the art and design side of things to continually improve your game.

 ![Screenshot 2021-04-23 at 17.22.19](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/5/b59d857702e366c0b6a47695e51d8846d2bf5305.jpeg)

### Character Selection and Naming

Whac-a-Mole™️ is a registered trademark to the best of my knowledge, so please try to come up with your own version of the name for this challenge.

Also, the original game is now almost 50 years old. When I was thinking about how I might approach this challenge myself it occurred to me that there are plenty of _inanimate_ characters that might be more suitable for “whacking”.

For example:

- 🤖 Whack-a-Bot-5000
- ⚾ Bat-the-ball
- ⏰ Snooze-the-alarm-clock

Anyway, you all have much better imaginations than I do - I’m sure you can come with plenty more yourselves too!

### 🏆 The GameJam will have a custom Sprite as a Prize!

The creator of the best game will get a custom Sprite (within reason!) designed for them by @jane . We will maintain a public gallery of these custom Sprites for use in future projects and games!

## Spread the word

@luv.ak.tech @manyone @roumak-coder @kartik14 @thg @tatiang @muhaeminz @aanshi6 @jared @Chris @skulamester @muneer @cyberdriver @catsarisky @codeswept @codeemaker @eko.devs.apploroceo @japa6225a @jared @Chris @aanshi6 @muhaeminz @skulamester @jane @goutham @jmcmullan [@Power\_Thunkers](https://community.thunkable.com/groups/power_thunkers) @Joannie_Huang

---

<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:** [April 23, 2021, 4:47pm UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/2 "2021-04-23T16:47:59Z")

</div>

## Summary of Entries

### [Mask a Face](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/16) by @catsarisky

[![](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/0/30c454e14335093b43ceaa7da6925be4ddab0530.png) ](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/0/30c454e14335093b43ceaa7da6925be4ddab0530.png)

* * *

### [Guac-a-mole](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/21) by @codeswept

[![](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/c/8ce3a9afc5dcc60f39d0375f3b74bda4c96f4bef.png) ](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/c/8ce3a9afc5dcc60f39d0375f3b74bda4c96f4bef.png)

* * *

### [Iced Tea Toss](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/37) by @tatiang

[![](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/2/82482c540998d6309386077b2be1123014f18613.jpeg) ](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/2/82482c540998d6309386077b2be1123014f18613.jpeg)

* * *

### [Retro Whac-a-Mole](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/40) by @Thg

[![](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/3/435769ede8d83e6a42441742055ed08a3f38ee9c.jpeg) ](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/3/435769ede8d83e6a42441742055ed08a3f38ee9c.jpeg)

### [Whack a Beaver](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/61) by @human

 ![Screenshot 2021-04-26 1.32.59 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/6/36e0a47b2ee8a6e24d45a0a1e54a7575bcf4f5e4.png)

#### Summary of Previous Challenges:

[Memory Game](https://community.thunkable.com/t/wdc-9-can-you-re-create-shaileshs-memory-game-app/1201030/7) | [Password Apps](https://community.thunkable.com/t/wdc-10-can-you-re-create-randalls-password-generator/1213307/2) | [Idea Generators](https://community.thunkable.com/t/wdc-11-can-you-re-create-davids-x-for-y-idea-generator/1228405/4)

---

<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:** [April 23, 2021, 4:48pm UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/3 "2021-04-23T16:48:28Z")

</div>

## List of resources

(bringing this one back because I think it will be useful this week)

- [Tutorial for a bare-bones Mole Mash game](https://draganddropcode.com/chapter-7-canvases-and-sprites/) by @David_Wolber
- [Canvas/game help in the Drag and Drop Code text](https://www.amazon.com/Drag-Drop-Code-Android-Thunkable-ebook/dp/B08LMF4XSN) by @David_Wolber
- [Beaver in a Mask Game](https://youtube.com/playlist?list=PLB89L9PPGIrw79QH29j9wy_9rkgd7yY_W) by @christina_wong
- [Thunkable Gaming Docs](https://docs.thunkable.com/gaming) by @jane
- [2D Animation tutorial](https://www.youtube.com/watch?v=4egN4kWQb6A) by @bokalvslund
- [Space Game tutorial](https://www.youtube.com/watch?v=n0XQRckF1fE) by @simran
- [Donut Shop Game tutorial](https://www.youtube.com/watch?v=cpGYIC2dpl4) by @Sofia
- [Lunapic Image Editor](https://www9.lunapic.com/editor) shared by @tatiang

---

<div class="post-metadata">

**Author:** ![eko.devs.apploroceo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eko.devs.apploroceo/32/93147_2.png) [@eko.devs.apploroceo](https://community.thunkable.com/u/eko.devs.apploroceo)\
**Post date:** [April 23, 2021, 5:08pm UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/4 "2021-04-23T17:08:51Z")

</div>

similar to an recent wdc?  
memory app wdc

---

<div class="post-metadata">

**Author:** ![human](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/human/32/101416_2.png) [@human](https://community.thunkable.com/u/human)\
**Post date:** [April 23, 2021, 5:12pm UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/6 "2021-04-23T17:12:05Z")

</div>

@domhnallohanlon I did something like this before and its still saved in Thunkable 😂

should i just submit it or modify it too?

---

<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:** [April 23, 2021, 5:26pm UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/8 "2021-04-23T17:26:40Z")

</div>

> [@eko.devs.apploroceo](#):
>
> similar to an recent wdc?

In the sense that you can get an MVP of this game out really quickly but that you could also spend a good bit of time after that finessing your project, improving the assets, adding extra game play features/levels etc.

* * *

> [@human](#):
>
> should i just submit it or modify it too?

Totally up to you. If you submit it now you might get some feedback from the Community and be inspired to make some updates?

---

<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:** [April 23, 2021, 6:25pm UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/9 "2021-04-23T18:25:48Z")

</div>

Glad to see this WDC… I was going to suggest something that requires use of the canvas. This is a good stretch for me as I really haven’t made any games with Thunkable. I find the canvas hard to navigate and it feels like it’s the part of Thunkable that needs the most work. But I could just be saying that because I’m new to it!

It still gets me that my sprite does a little dance if I just simply drag a canvas onto the screen in the Design tab:

![Hnet.com-image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/2/92d84c38fef2bafa4dafd2408f4ffad83034afa1.gif)

It does that during preview, too. Odd!

---

<div class="post-metadata">

**Author:** ![David\_Wolber](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/david_wolber/32/117458_2.png) [@David\_Wolber](https://community.thunkable.com/u/David_Wolber)\
**Post date:** [April 23, 2021, 9:56pm UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/10 "2021-04-23T21:56:21Z")

</div>

Another resource: I have a tutorial for a bare-bones Mole Mash game at  
[https://draganddropcode.com/chapter-7-canvases-and-sprites/](https://draganddropcode.com/chapter-7-canvases-and-sprites/)  
and more canvas/game help in the [Drag and Drop Code text](https://www.amazon.com/Drag-Drop-Code-Android-Thunkable-ebook/dp/B08LMF4XSN)

---

<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:** [April 24, 2021, 5:19am UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/11 "2021-04-24T05:19:13Z")

</div>

Amazing! This looks like the best WDC yet!

> [@domhnallohanlon](#):
>
> Whac-a-Mole™️ is a registered trademark to the best of my knowledge, so please try to come up with your own version of the name for this challenge.

If Whac-A-Mole is registered, what about Guac-A-Mole?😂

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [April 24, 2021, 8:44am UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/12 "2021-04-24T08:44:34Z")

</div>

@codeswept that’s perfect. I look forward to seeing it!

---

<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:** [April 24, 2021, 8:55am UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/13 "2021-04-24T08:55:03Z")

</div>

Thanks! I’m done with the code (153 blocks), but need to make the UI at least bearable…

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [April 24, 2021, 12:34pm UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/14 "2021-04-24T12:34:58Z")

</div>

But definitely guacamole right?

---

<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:** [April 24, 2021, 3:16pm UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/15 "2021-04-24T15:16:46Z")

</div>

With tortillas.

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [April 25, 2021, 12:46am UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/16 "2021-04-25T00:46:46Z")

</div>

Here’s my rather silly version:  
[https://thunkable.site/w/s2-EvC23W](https://thunkable.site/w/s2-EvC23W)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/c/8c1f7c3fbaf9875213825041d8be9abc1a6f73bf.png) ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/0/30c454e14335093b43ceaa7da6925be4ddab0530.png)

UPDATED: New web link with actual mask application: [https://thunkable.site/w/2\_2c2TSzK](https://thunkable.site/w/2_2c2TSzK)

83 blocks on the main screen. [Thunkable](https://x.thunkable.com/copy/f0772aec52242a461b8c6657cacc416f)  
Image updated - I fixed my people icons (from flaticon) to be a little less universally white. (Sigh.)

---

<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:** [April 25, 2021, 2:04am UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/17 "2021-04-25T02:04:44Z")

</div>

Love it! Great theme, great use of physics.

---

<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:** [April 25, 2021, 4:02am UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/18 "2021-04-25T04:02:49Z")

</div>

you make it look like fun! this is the first time i see how to use canvas and sprites in thunkable. thanks for the nice example!

---

<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:** [April 25, 2021, 4:03am UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/19 "2021-04-25T04:03:48Z")

</div>

Amazing app @catsarisky! A great game, with an important message too!  
Stay safe everybody!

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [April 25, 2021, 4:27am UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/20 "2021-04-25T04:27:40Z")

</div>

That was the first time I used the canvas and sprites, too, manyone! Thanks for your nice words. 🙂

---

<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:** [April 25, 2021, 6:08am UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/21 "2021-04-25T06:08:40Z")

</div>

Done with mine! It’s called _(drum roll)_ **GUAC-A-MOLE!**

**Etymology**  
I’m all about word play, and when I replace the first two letter of Whac-A-Mole with Gu, I got Guac-A-Mole. Initially, it just started of as a joke, but I kept it after @catsarisky’s post:

> [@catsarisky](#):
>
> But definitely guacamole right?

**About**

So basically, there’s a 3x3 grid of tortilla-buttons. You select a start number and step. For example, my start number is 2 and step is 3, I should click the tortilla with the number 5, then 8, then 11, and so on.  
You start the game with 5 moles waiting in queue to be fed with tortillas. Every time you click on the correct tortilla, one mole gets fed and disappears. If you click on the wrong tortilla, one mole gets added to the queue. Every 5 seconds, if there are still moles in your queue, then a new one gets added. The objective of the game is to feed all the moles in my queue with tortillas.

**Screenshots**

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/2/121ca95b60c5af5572c0fe73c43dec82ed1220a8.png)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/c/dc5d0031c36374ed0a877eb8a60acc29069248f3.png)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/b/2b4fcf7ef41bf0167b841217c54e3c8b5555f44c.png)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/c/8ce3a9afc5dcc60f39d0375f3b74bda4c96f4bef.png)

**PLAY**

Play Guac-A-Mole [here](https://x.thunkable.com/projectPage/6083a9c3d6e5ed0011269e6d).  
If you can, play it on your phone, as it’s much better clicking there.  
Link: [Thunkable](https://x.thunkable.com/projectPage/6083a9c3d6e5ed0011269e6d)

**OUT SOON**

Am adding sound effects, a leaderboard, highest score of the user, better UI, and more. Will share the updated version once I’m done.

**STATS**

Blocks: 267  
Time taken: 2 hours  
Invisible components: Timer and 2 alerts  
Icons:  
Mole from Canva  
Tortilla from Canva

**Thanks @domhnallohanlon !**

Thanks @domhnallohanlon for another great WDC! I had so much fun making my silly app😁  
Can’t wait for next weekend. Also looking forward to seeing other participants’ submissions.

---

<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:** [April 25, 2021, 9:01am UTC](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774/22 "2021-04-25T09:01:52Z")

</div>

Please do share your time and feedback.

[Next page](https://community.thunkable.com/t/wdc-12-lets-play-whac-a-mole/1241774.md?page=2)
