When starting a game, we need to make sure the opponent address is valid.
Invalid Opponents:
There are two types of invalid opponent addresses:
1. address(0) - The zero address can't play
2. msg.sender - You can't play against yourself!
Using != Operator:!= means "not equal to"
It's the opposite of == (equal to)
Adding Validation:
In startGame, add two require statements: require(_opponent != address(0), "Invalid opponent");require(_opponent != msg.sender, "Cannot play yourself");
These checks ensure only valid games can start.