Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
|
|
@ -130,8 +130,8 @@ proc start . .
|
|||
.
|
||||
n = 8
|
||||
while n > 0
|
||||
c = random 8 - 1
|
||||
r = random 7 - 1
|
||||
c = randint 8 - 1
|
||||
r = randint 7 - 1
|
||||
ind = r * 8 + c + 1
|
||||
if cell[ind] = 0
|
||||
n -= 1
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import "/dynamic" for Struct
|
||||
import "/fmt" for Fmt
|
||||
import "./dynamic" for Struct
|
||||
import "./fmt" for Fmt
|
||||
import "random" for Random
|
||||
import "/ioutil" for Input
|
||||
import "/str" for Str
|
||||
import "./ioutil" for Input
|
||||
import "./str" for Str
|
||||
|
||||
var Cell = Struct.create("Cell", ["isMine", "display"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue