I want to start by saying I did search first, and found a lot of similar issues on various other things, but not this problem exactly.
I have this code:
Name your private variable differently than your public one.
bool _gameOver = false; public bool gameOver { get { return _gameOver; } set { _gameOver = value; } }