fix problems and adding win or lose if 20 points win if -5 points lose and moving rectangle with mouse
check comments to know what I mean