Whoop Hoop – A 2023 Wam Jam entry

Controls

  • Drag your finger, or mouse, to throw balls. Throw as many balls in the hoop before the time runs out.
  • The game becomes increasingly difficult the more points you score
    • Gain 1 extra second for each point you score
    • Gain 6 extra seconds for every 10 points (up to 200 points)
  • Login to your wallet to save your highscore

Challenges

Web3

  • Add wallet login through WalletConnect
  • The leaderboard/scoreboard is a smart-contract deployed to the Polygon Mumbai (testnet. See polygon scan here: https://mumbai.polygonscan.com/address/0xEB792581Ad60e49c4afffE27C422F47dFcaaEECD)
    • We can see a call to `Update Score` when we get a new high score with our account. 
    • The transaction itself is made on behalf of a test account to prevent the user from having to sign the transaction
    • The transaction itself is made on behalf of a test account to prevent the user from having to sign the transaction

AI

9  out of 10 basketballs are made using AI tools:

Balls generated with AI

Background Music is made with https://creators.aiva.ai/

The buttons in the menu are made with the help of ChatGPT. I asked them to create orange buttons with a highlight on the top, and a shadow in the bottom.

Things to add Post Jam

  • A crowd in the background that cheers if you're able to score many times in a row, or land a trick shot
  • Unlock new balls as you progress through the game
  • Buy or mint NFT balls
  • Unlock Player skins as you progress through the game
  • Buy or mint NFT characters
  • Create an "Accuracy mode"
    • Score as many points as you can from a pool of balls (could be implemented as an online multiplayer tournament)
    • See how many points you're able to score in a row (unlimited time)
  • New polished UI
  • More juice! 
    • Slightly stretch the balls based on speed, and squash on impact
    • Subtle animation/shake when hitting the rim
    • Some indication that the time has increased after scoring goals
    • Subtle pop animation on the scoreboard when scoring points 
  • Improve mouse aim (maybe, since game should mainly be played on mobile)

Leave a comment

Log in with itch.io to leave a comment.