Remove old elements in actorList instead of setting them to null
Add title
Add game loop method
Implement ai movement
Don't create walls
Init player with empty pattern
Refactor draw calls in onKeyUp
Skip Player in runAI
Fix commata
Add path string
Make direction and keycode2dir vars global
Format createWalkTree
drawActors draws players path
Format create()
Fix drawing path outside of canvas
Move actor killing to function
Refactor killActor to take only one argument
Match player's path with actor's
Remove debug code