{"action":"opened","issue":{"url":"https://api.github.com/repos/miromiro-2017/miromiro-2017/issues/1048","repository_url":"https://api.github.com/repos/miromiro-2017/miromiro-2017","labels_url":"https://api.github.com/repos/miromiro-2017/miromiro-2017/issues/1048/labels{/name}","comments_url":"https://api.github.com/repos/miromiro-2017/miromiro-2017/issues/1048/comments","events_url":"https://api.github.com/repos/miromiro-2017/miromiro-2017/issues/1048/events","html_url":"https://github.com/miromiro-2017/miromiro-2017/issues/1048","id":249899009,"number":1048,"title":"6.4 Minesweeper: finishing touches","user":{"login":"eda-waffler","id":19367633,"avatar_url":"https://avatars2.githubusercontent.com/u/19367633?v=4","gravatar_id":"","url":"https://api.github.com/users/eda-waffler","html_url":"https://github.com/eda-waffler","followers_url":"https://api.github.com/users/eda-waffler/followers","following_url":"https://api.github.com/users/eda-waffler/following{/other_user}","gists_url":"https://api.github.com/users/eda-waffler/gists{/gist_id}","starred_url":"https://api.github.com/users/eda-waffler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eda-waffler/subscriptions","organizations_url":"https://api.github.com/users/eda-waffler/orgs","repos_url":"https://api.github.com/users/eda-waffler/repos","events_url":"https://api.github.com/users/eda-waffler/events{/privacy}","received_events_url":"https://api.github.com/users/eda-waffler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"dylan-pahina","id":30019054,"avatar_url":"https://avatars3.githubusercontent.com/u/30019054?v=4","gravatar_id":"","url":"https://api.github.com/users/dylan-pahina","html_url":"https://github.com/dylan-pahina","followers_url":"https://api.github.com/users/dylan-pahina/followers","following_url":"https://api.github.com/users/dylan-pahina/following{/other_user}","gists_url":"https://api.github.com/users/dylan-pahina/gists{/gist_id}","starred_url":"https://api.github.com/users/dylan-pahina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylan-pahina/subscriptions","organizations_url":"https://api.github.com/users/dylan-pahina/orgs","repos_url":"https://api.github.com/users/dylan-pahina/repos","events_url":"https://api.github.com/users/dylan-pahina/events{/privacy}","received_events_url":"https://api.github.com/users/dylan-pahina/received_events","type":"User","site_admin":false},"assignees":[{"login":"dylan-pahina","id":30019054,"avatar_url":"https://avatars3.githubusercontent.com/u/30019054?v=4","gravatar_id":"","url":"https://api.github.com/users/dylan-pahina","html_url":"https://github.com/dylan-pahina","followers_url":"https://api.github.com/users/dylan-pahina/followers","following_url":"https://api.github.com/users/dylan-pahina/following{/other_user}","gists_url":"https://api.github.com/users/dylan-pahina/gists{/gist_id}","starred_url":"https://api.github.com/users/dylan-pahina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylan-pahina/subscriptions","organizations_url":"https://api.github.com/users/dylan-pahina/orgs","repos_url":"https://api.github.com/users/dylan-pahina/repos","events_url":"https://api.github.com/users/dylan-pahina/events{/privacy}","received_events_url":"https://api.github.com/users/dylan-pahina/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-08-13T21:07:20Z","updated_at":"2017-08-13T21:07:20Z","closed_at":null,"body":"# 6.4 Minesweeper: finishing touches\n\nCongratulations on making it this far! We hope you enjoyed (or at least were not driven to distraction by) this little journey through a classic game.\n\nThe basics are complete, but there are so many more things to work on. Here are some stretch goals if you're done ahead of time and your other assignments for the week are complete. Don't get too bogged down in trying to make your game perfect: it's much more important that you learn the principles behind it. \n\nPlease do the push to GitHub Pages regardless though, and share your work with the cohort.\n\n- [ ] **Stretch Goal 1:** automatically generate the board! Instead of just typing out the global `board` object, write a function to create it.\n  - Each cell will need `row`, `col`, `isMine`, `isMarked`, and `hidden` properties.\n  - You could start by simply setting every `isMine` to true, but later you'll probably want to have a random number of mines scattered throughout the board.\n- [ ] **Stretch Goal 2:** reset the board!\n  - After a win or loss, give players a chance to try again by resetting the board to its default state. You'll need to put classes back the way they were at the start, and re-initialise the global `board` object.\n- [ ] **Stretch Goal 3:** sound effects!\n  - Investigate how to use JavaScript to play a sound when the user uncovers or marks a cell. Play an explosion when they uncover a bomb, and applause when they win.\n  - Resource: [Play sound on :hover](https://css-tricks.com/play-sound-on-hover/)\n- [ ] **Stretch Goal 4:** you decide!\n  - Let your imagination run rampant. Maybe they're not mines after all, but kumquats! Restyle the board, change the rules, make it your own.\n- [ ] When you've finished, upload the game to [GitHub Pages](https://pages.github.com) so other people can play it.\n  - Select 'Project site', then 'Start from scratch', and follow the instructions.\n  - [ ] When you've published your game, add a link to it in the waffle comments below.\n  - [ ] Post the link to the #show-eda channel on Slack with the hashtag #minesweeper!\n"}}
{"actor":{"display_login":"eda-waffler"}}