Test develop 2d game on canvas and js