Update tests. remove converted test for the time being

This commit is contained in:
Sam El-Husseini
2018-04-21 10:45:02 -07:00
parent ff892dbcb4
commit 6ac64f0e3d
11 changed files with 36 additions and 32 deletions

View File

@ -54,7 +54,7 @@ function playOneGame(): number {
. . . . . . # # # . . . # . . . . # . . . . # . . . . # . . . . # . . . # # # . . . . . . . . . . .
. # # # . . . # . . . . # . . . . # . . . . # . . . . # . . . . # . . . . # . . . # # # . . . . . .
`, 50)
let pos = Math.random(5)
let pos = Math.randomInt(5)
if (xdir) {
if (!canvas.pixel(pos, y)) {
canvas.setPixel(pos, y, true)
@ -70,9 +70,9 @@ function playOneGame(): number {
xdir = !xdir
bearing = input.compassHeading()
if (xdir) {
x = Math.random(5)
x = Math.randomInt(5)
} else {
y = Math.random(5)
y = Math.randomInt(5)
}
} else {
basic.pause(100)