Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-04-05 05:18:22 +03:00
parent 16c77971a0
commit b541b6e882

View File

@ -194,9 +194,9 @@ var Snake = {
}
function test(){
function test(game){
return Snake
.setup('.snake')
.setup(game || '.snake')
// XXX BUG: this will break as soon as it reaches the corner...
.snake('blue', 0, 0, 's', 5)