Now Im just trying to make it look good. How can I set the mines to display in color? Thats not something we've covered yet but it would be nice to learn.
Type: Posts; User: NessValdez
Now Im just trying to make it look good. How can I set the mines to display in color? Thats not something we've covered yet but it would be nice to learn.
Wow, thank you. I spent the whole weekend trying to figure out what was wrong. I just declared the gameboard til after I initialized m and n and it worked perfectly.
Thank you. When I run the program, it looks like this:
0 1 2 3 4
0
1
2
3 *
4 *
I want to add command line arguments to a minesweeper game. Would this make sense? m would be the number of rows, n would be the columns, and NUMBOMBS of course would be the number of bombs to...
Thanks oogabooga. Im not quite finished with the game, but the third argument I havent used is for the difficulty level. I'll probably do that last since that will be the easiest thing to do. And...
I understand that the new line im inserting after every row is why its not lining up with game[x][y]. But I didnt want to crunch the game into a small space. I would like to evenly space out...
Im not done with the game yet, but so far when it prints, the numbering of the rows isnt lined up properly. Ive tried several different ways, but I cant seem to figure it out, yet it seems it should...