this is a basic sample for xcanvas as TypeScript html5/canvas-2D game library