Does anyone know how to do this coordinate field in c++, example:
Enter size of minefield (e.g.: 10x15): 3x3
Enter percentage of minecount: 50 // this calculation done already.
There are 9 cells with 4 mines. // this will print out the coordinate and randomly fill the field with mines according to percentage
Good luck!!!
1 2 3
a. . . a
b. . . b
c. . . c
1 2 3
I am new in c++, might needed help from some gurus here. Thanks. If need more explanation, feel free to ym or email me.
C++ coordinate?
i cant understand your problem
nobile
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment