ENGR 103 Final
Minesweeper over server. One ESP is used to setup a basic minesweeper board. There are 10 bombs available to place on a board of 12x6. You move around the board with a d-pad and place the bombs with a bomb placement button. You then can submit the board state to the server with a submit button. This is then POSTed to the php server and saved to a .txt file on the server. If the other ESP then POSTs a different string, the server echos that .txt file to the ESP. This is then taken and sent through logic portions of code to setup the minesweeper board. The bombs are placed and the traditional numbers are shown. You can move around the board with another D-pad and either "flag" a square, which is then represented on screen, or "check" a square. Checking a square removes it and reveals the board at that location. If you click a bomb, you lose.
Artifacts
Name | Description | |
---|---|---|
Mine Setting Arduino Code | Code for setting the mines to be run on first ESP. | Download |
PHP File | PHP that handles POST requests and sends data to 2nd ESP | Download |
.txt File | Used to store board state from first ESP | Download |
Project Video | Video going over our project from start to finish at every step. | Link |