Simple rect game with canvas