STEP 1: To start this game, we need a word! The background and sprite code has been added for you.

  • Go to and drop Ask at the bottom of your code.
  • Change the string in .ask() to "Enter a word for the other player to guess!"
  • Click Run and enter any word into the ask bubble! It's important to enter a word to test that our code works. Make sure to enter a word and test your code after every activity! Then click Submit and Next.

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
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)