Whack-A-Plant (Whack-A-Mole)

You know those games from the arcade where you whack moles that pop out of holes? This guide will teach you how to recreate in Gimkit.

Room Design

Making the pop-up randomizer

Place a lifecycle that listens for game start, place a repeater which has a task interval of how frequently you want your “Moles” to pop-up from their holes. Set the stop strategy to after receiving on channel and do not input a channel. Place a trigger that is invisible and has no collision on game start. Create the following block code for the trigger:

Making a Plant (Mole)

Place a Sentry in which its appearance is a Green Evil Plant, set it to be inactive on game start and activate when receiving on “ActivatePlant1”. Be sure to place the Plant in a dark scrape area.

Whacking The Plant

Place a button on top of The Evil Plant that is invisible, inactive on game start, and activates when receiving on “ActivatePlant1”, set the button to transmit on “WhackPlant”. Set the button message to “Whack Plant”. Wire the button to the Plant (Button pressed - Deactivate sentry) Place a wire repeater, then wire the button to the wire repeater (Button pressed - Repeat the wire pulse) then the wire repeater back to the button (When the wire receives the pulse - Deactivate button). And with that, our first plant is complete!
IMG_0286
To make more plants, simply copy and paste the devices, rewire them, and modify the channels for the button and sentry depending on its Number (Plant 2 would have the sentry and button activate on “ActivateSentry2”, Plant 3 would have the sentry and button activate on “ActivateSentry3”, and so on. Be sure to place each plant in the dark scrapes)

Getting Score

Place a player-scoped counter that increments when receiving on “WhackPlant”, set it to update a property named “PlantsWhacked”. In the map options, set the score type to property and set it to track “PlantsWhacked”. (Make sure the property is scoped to player)

Ending the Game

Set the map options Game Clock to countdown and set it to a short amount of time (Like 3 minutes)

Death Penalty (Optional)

Place a lifecycle that listens for “Player Knocked Out”. Place a trigger which is invisble and has no collision. Make block code for the trigger that decrements the score property by any amount. (Depending on how gruesome you want your death penalty to be.) Now, wire the lifecycle to the trigger (You know how to wire it.)

I think we are done.

Difficulty
  • 0/10
  • 1/10
  • 2/10
  • 3/10
  • 4/10
  • 5/10
  • 6/10
  • 7/10
  • 8/10
  • 9/10
  • 10/10
  • 11/10
0 voters
17 Likes

Nice! However, in your block code, instead of having the variable, couldn’t you just put
‘broadcast message on channel - create text with - activate plant - random integer from 1 to 6’?

7 Likes

This is brilliant. Using the plant sentries is a really good idea and this guide is well formatted, good job!

5 Likes

Good guide! Can’t wait for the finished product!

3 Likes

Wow, this is really cool! Nice guide @CustomCoaster !

2 Likes

This is a very fun way to take your anger out on sentries!

Hi! You’re back!

2 Likes

SUPER BUMP (get this post back to the top!)

1 Like

Please wait at least five days before you bump. It hasn’t even been 24 hours.

1 Like

Oh, I must be to impatient.

1 Like

Bump!

3 Likes

Bump

Bump since Whack-A-Mole is fun.

1 Like

Har har har har har BUUUUMPPPPP

1 Like

WOW, AMAZING GUIDE!

1 Like

Gulp
BUUUUUUUUUUUUUUUUUUUUUUUUUMMMMMMMMMMMMMMMMMMMMMMMPPPP

whack-a-bump

whack the checkboxes!1!1!!!
always leave at least 1 checkbox for others to whack!

1 Like