{"action":"created","issue":{"url":"https://api.github.com/repos/jes7078/assignments/issues/15","repository_url":"https://api.github.com/repos/jes7078/assignments","labels_url":"https://api.github.com/repos/jes7078/assignments/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/jes7078/assignments/issues/15/comments","events_url":"https://api.github.com/repos/jes7078/assignments/issues/15/events","html_url":"https://github.com/jes7078/assignments/issues/15","id":526723243,"node_id":"MDU6SXNzdWU1MjY3MjMyNDM=","number":15,"title":"week 04 - day 04 - minesweeper - ","user":{"login":"jes7078","id":56516627,"node_id":"MDQ6VXNlcjU2NTE2NjI3","avatar_url":"https://avatars2.githubusercontent.com/u/56516627?v=4","gravatar_id":"","url":"https://api.github.com/users/jes7078","html_url":"https://github.com/jes7078","followers_url":"https://api.github.com/users/jes7078/followers","following_url":"https://api.github.com/users/jes7078/following{/other_user}","gists_url":"https://api.github.com/users/jes7078/gists{/gist_id}","starred_url":"https://api.github.com/users/jes7078/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jes7078/subscriptions","organizations_url":"https://api.github.com/users/jes7078/orgs","repos_url":"https://api.github.com/users/jes7078/repos","events_url":"https://api.github.com/users/jes7078/events{/privacy}","received_events_url":"https://api.github.com/users/jes7078/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jes7078","id":56516627,"node_id":"MDQ6VXNlcjU2NTE2NjI3","avatar_url":"https://avatars2.githubusercontent.com/u/56516627?v=4","gravatar_id":"","url":"https://api.github.com/users/jes7078","html_url":"https://github.com/jes7078","followers_url":"https://api.github.com/users/jes7078/followers","following_url":"https://api.github.com/users/jes7078/following{/other_user}","gists_url":"https://api.github.com/users/jes7078/gists{/gist_id}","starred_url":"https://api.github.com/users/jes7078/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jes7078/subscriptions","organizations_url":"https://api.github.com/users/jes7078/orgs","repos_url":"https://api.github.com/users/jes7078/repos","events_url":"https://api.github.com/users/jes7078/events{/privacy}","received_events_url":"https://api.github.com/users/jes7078/received_events","type":"User","site_admin":false},"assignees":[{"login":"jes7078","id":56516627,"node_id":"MDQ6VXNlcjU2NTE2NjI3","avatar_url":"https://avatars2.githubusercontent.com/u/56516627?v=4","gravatar_id":"","url":"https://api.github.com/users/jes7078","html_url":"https://github.com/jes7078","followers_url":"https://api.github.com/users/jes7078/followers","following_url":"https://api.github.com/users/jes7078/following{/other_user}","gists_url":"https://api.github.com/users/jes7078/gists{/gist_id}","starred_url":"https://api.github.com/users/jes7078/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jes7078/subscriptions","organizations_url":"https://api.github.com/users/jes7078/orgs","repos_url":"https://api.github.com/users/jes7078/repos","events_url":"https://api.github.com/users/jes7078/events{/privacy}","received_events_url":"https://api.github.com/users/jes7078/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2019-11-21T16:59:57Z","updated_at":"2019-11-24T02:00:24Z","closed_at":null,"author_association":"OWNER","body":"# Minesweeper\n\nIn this assignment, you will communicate with a back-end API server to create the user-interface for a [Minesweeper][1] clone. It might help to [familiarize yourself](https://www.youtube.com/watch?v=7B85WbEiYf4) with the game if you've never played it.\n\n[1]: https://en.wikipedia.org/wiki/Minesweeper_(video_game)\n\n## Objectives\n\n- Understand how state drives changes to an interface in React\n- Respond to user events in React\n- Understand and use REST APIs\n- Use React lifecycle methods\n- Understand and interpret API documentation\n- Use `fetch` or `axios` to perform `POST` request or\n\n## Requirements\n\nRead over the documentation for the API we'll be using:\n\n`https://minesweeper-api.herokuapp.com/`\n\nYou will need to interpret the response and render a graphical user interface. The API results include an array of arrays (two-dimensional array), these represent _rows_ and _columns_. These are probably best translated into table rows (`<tr>`) and table data (`<td>`) cells.\n\nHere's an example implementation of this assignment:\n\n![](https://github.com/suncoast-devs/handbook/blob/0d5c1ec1a91a39587ad138cb46f0d7ea04dd53ea/curriculum/front-end/react-i/assignments/assets/bomb-sniffer.gif?raw=true)\n\n### Explorer Mode\n\n- [ ] Create a new game when the page loads, and render it on the screen, this look as close to gif as possible.\n- [ ] Style the cells appropriately.\n- [ ] Left clicking a cell performs the `check` action\n- [ ] Right/secondary clicking a cell performs the `flag` action\n- [ ] When the game status changed to `won` or `lost`, show a victory or failure message.\n\n### Adventure Mode\n\n- [ ] Before creating the game, prompt the user to choose: _Easy_, _Medium_, or _Hard_ mode.\n- [ ] Have fun with the styling, make it your own\n\n### Epic Mode\n\n- [ ] Render your victory/failure message as it's own \"_screen_\".\n- [ ] On that screen add a button to restart or play again.\n- [ ] Store the current game id in `localStorage`, and render the same game, rather than creating a new one every time (until the player presses the restart button).\n- [ ] Add sound effects.\n\n## Additional Resources\n\n- [ ] [React Mouse Events](https://reactjs.org/docs/events.html#mouse-events)\n"},"comment":{"url":"https://api.github.com/repos/jes7078/assignments/issues/comments/557850212","html_url":"https://github.com/jes7078/assignments/issues/15#issuecomment-557850212","issue_url":"https://api.github.com/repos/jes7078/assignments/issues/15","id":557850212,"node_id":"MDEyOklzc3VlQ29tbWVudDU1Nzg1MDIxMg==","user":{"login":"jes7078","id":56516627,"node_id":"MDQ6VXNlcjU2NTE2NjI3","avatar_url":"https://avatars2.githubusercontent.com/u/56516627?v=4","gravatar_id":"","url":"https://api.github.com/users/jes7078","html_url":"https://github.com/jes7078","followers_url":"https://api.github.com/users/jes7078/followers","following_url":"https://api.github.com/users/jes7078/following{/other_user}","gists_url":"https://api.github.com/users/jes7078/gists{/gist_id}","starred_url":"https://api.github.com/users/jes7078/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jes7078/subscriptions","organizations_url":"https://api.github.com/users/jes7078/orgs","repos_url":"https://api.github.com/users/jes7078/repos","events_url":"https://api.github.com/users/jes7078/events{/privacy}","received_events_url":"https://api.github.com/users/jes7078/received_events","type":"User","site_admin":false},"created_at":"2019-11-24T02:00:24Z","updated_at":"2019-11-24T02:00:24Z","author_association":"OWNER","body":"https://github.com/jes7078/minesweeper"}}
{"actor":{"display_login":"jes7078"}}