Skip to content

learn-academy-2020-charlie/treasure-hunt-migrysel-treasure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Treasure Hunt

Remember:

  • Pseudocode!!
  • Ask clarifying questions

User Stories

  • As a player, I can see a web page with a 3 by 3 grid board game with question marks in each square
  • As a player, when I click on one of the question marks, an alert appears with the id of the position in the grid
  • As a player, when I click on one of the question marks, instead of the alert the space turns into a tree icon (In order to focus on the functionality of this step, you can start with switching the ‘?’ to the word ‘tree’)
  • As a player, I can click on the question marks and behind one of the question marks is a treasure box icon and an alert appears with the text “You Win”
  • As a player, I can see a counter that shows how many guesses I have left (starting at 9, 8, 7, etc)
  • As a player, I can see a “win” or “lose” message when the game is won or lost
  • As a player, I can click on a “Play Again” button to restart the game

Stretch

  • As a player, I can click on the question marks and behind one of the question marks is a bomb icon and an alert appears with the text “You Lose"
  • As a player, I can play a 25 square game with three bombs

About

treasure-hunt-migrysel-treasure created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published