Example

ThaddaeusSmith's avatar
ThaddaeusSmith
Community Member
17 days ago

Whack-a-Character

This was a fun one! I decided to make a little game based on the game Whack-a-Mole. See how many points you can get before time runs out!

NOTE: The downloadable file does not contain the JS for the custom cursor. I did this because it points to my personal website. Please reach out if you would like the generic JS.

View the example

Download

12 Replies

  • Okay, that was a lot of fun. First attempt, I scored 21. I'm sure I can do better. BTW, I've had a whack-a-mole type challenge on my list for a few years now. I think this is the year I'll finally post it. Thanks for the fun interaction, ThaddaeusSmith

     

    • ThaddaeusSmith's avatar
      ThaddaeusSmith
      Community Member

      Thanks, David! I actually got my highest score using the keyboard. It’s also easier on an iPad. Using a mouse is a recipe for carpal tunnel 😂. I can’t wait to see your Whack-a-Mole when you post it! 

      • DavidAnderson's avatar
        DavidAnderson
        Staff

        Ooh thanks for the cheat code. Using the iPad would be quicker.

  • Ange's avatar
    Ange
    Community Member

    Thanks for the fun game, the audio really added to the experience.

    • ThaddaeusSmith's avatar
      ThaddaeusSmith
      Community Member

      Glad you liked it! By the way, I just added some new sound effects when you bonk the characters.

      • Ange's avatar
        Ange
        Community Member

        Wonderful, certainly gets hairy when the music picks up speed - a great motivator! 

  • This is really fun Thaddeus! I like the music and sound effects. Great use of the random number variable- those layers were a lot to think through. Great work!

    • ThaddaeusSmith's avatar
      ThaddaeusSmith
      Community Member

      Thanks, Hannah! Yeah, at first I started going down the path of having the state changes occur based on the timeline. Then I thought, there must be an easier way and a way to make it more random. Then the random number idea came to mind. Glad you liked it!

Getting Started with the E-Learning Challenges

Find practical answers to common questions about the E-Learning Challenges, a weekly event that helps you build skills, create your portfolio, and grow as an e-learning professional.