ML game with canvas