Now extend your program how ever you want!

  • Try using a list of colors to allow the player to draw in different colors. Use the Click on Stage event we created earlier and the mouse's x-coordinate to figure out which color they clicked.
  • Add a button that has the announcer say the word again in case Player 1 forgets it while they're drawing.
  • For a challenge, try adding a timer.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)