1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

[]: update all examples and tests

This commit is contained in:
Alexander Medvednikov
2019-11-14 10:00:22 +03:00
parent 96b530cf85
commit 7d924679a6
10 changed files with 390 additions and 389 deletions

View File

@ -174,7 +174,7 @@ fn (g mut Game) init_game() {
g.parse_tetros()
rand.seed(time.now().uni)
g.generate_tetro()
g.field = []array_int // TODO: g.field = [][]int
g.field = [] // TODO: g.field = [][]int
// Generate the field, fill it with 0's, add -1's on each edge
for i := 0; i < FieldHeight + 2; i++ {
mut row := [0].repeat(FieldWidth + 2)