added event.js
separated events handling from game logic
use 'dots' to represent monsters now