Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 323 Bytes

todo.md

File metadata and controls

12 lines (12 loc) · 323 Bytes
  1. convert to rooms. CTRL+F through room objects and just add rooms[room.key].*
  2. speed. sort through rooms and snakes in init().
rooms.forEach((room,i)=>{
  room.snakes.forEach((snake,j)=>{
    checkwin(room,j);
    moveplayer(snake,j);
    ...
  })
})
  1. change speed so that it goes 2x fast not jumps 2.