Basic Movement with some bugs
This commit is contained in:
@@ -16,7 +16,9 @@ class GameLoop{
|
||||
}
|
||||
|
||||
loop(){
|
||||
//this.snakes.forEach()
|
||||
this.playground.resetPlayground();
|
||||
|
||||
this.snakes.forEach(snake => { snake.move() });
|
||||
|
||||
this.sendUpdate();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user