🚀 improve demo and add test script for action

This commit is contained in:
platane
2020-07-19 18:42:56 +02:00
parent 2c592c8909
commit a4ea2a4a46
6 changed files with 16 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ export const run = async () => {
const gameOptions = { maxSnakeLength: 5 };
const grid0 = generateGrid(14, 7, { colors: [1, 2, 3, 4], emptyP: 3 });
const grid0 = generateGrid(42, 7, { colors: [1, 2, 3, 4], emptyP: 3 });
const snake0 = [
{ x: 4, y: -1 },