Closed kait-can-create closed 4 years ago
https://github.com/kait-can-create/minesweeper
I really didn't grasp this assignment very well. I tried to look at the code of others and get something operable put together, but I ran out of time and wanted to get some rest and be back at it tomorrow with the right attitude. I feel in general a problem I'm having is pace. As soon as I feel that I begin to understand a concept, we move on and then I feel that I lose it.
This is not too far off when you get finished with an assignment early let's revisit this together.
Minesweeper
In this assignment, you will communicate with a back-end API server to create the user-interface for a Minesweeper clone. It might help to familiarize yourself with the game if you've never played it.
Objectives
fetch
oraxios
to performPOST
request orRequirements
Read over the documentation for the API we'll be using:
https://minesweeper-api.herokuapp.com/
You 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.Here's an example implementation of this assignment:
Explorer Mode
check
actionflag
actionwon
orlost
, show a victory or failure message.Adventure Mode
Epic Mode
localStorage
, and render the same game, rather than creating a new one every time (until the player presses the restart button).Additional Resources