Problem with width/2 and height/2

Unfortunately it is still not working for me. I’ve used this method in all of my previous sketches with no problems. I guess I have more de-bugging to do on this one though.

I have another bug where once the game reaches the end state. It will freeze for about 3 seconds before displaying the end game option boxes.