A simple 2-dimension board game engine for HTML5 apps