c語言掃雷游戲 minesweeper實現

全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写minesweeper C 程序代寫

1. (Time: 2 – 3 hours) For your final project you will be implementing the computer

全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写game minesweeper. The game of minesweeper works as follows:

全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写1. There is a rectangular grid of tiles

全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写2. Hidden under some of the tiles are mines

3. Your goal is to mark all the tiles that contain mines and uncover all the tiles

4. If you uncover a tile that contains a mine you lose the game

5. If you uncover a tile that doesn’t contain a mine, it tells you how many mines

全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写that don’t contain mines

are hidden in the eight surrounding squares

Here are some example boards with all of their contents revealed so that you can get an

idea as to what they look like.

Example 1:

2 * * 2 0

1 5 * 3 0

0 * * 2 0

0 1 2 3

Example 2:

9 0 0 0 0 0 1 1 1 0 0

全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写8 0 0 0 0 0 1 * 1 0 0

7 0 1 1 1 0 1 1 2 1 1

6 0 1 * 1 1 1 1 1 * 1

5 0 1 1 1 1 * 1 1 1 1

4 1 1 1 0 1 1 1 0 0 0

全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写3 1 * 1 0 0 0 0 0 0 0

全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写2 1 1 1 0 0 0 0 0 0 0

1 1 2 1 1 0 1 1 2 2 2

全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写0 * 2 * 1 0 1 * 2 * *

全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写0 1 2 3 4 5 6 7 8 9

Requirements

1. Name your exe

Leave a Reply

Your email address will not be published. Required fields are marked *