Create adventure.js

The core engine of the canvas adventure game