Weedpacket wrote:Interesting thought ... how would one "cheat" in this context?
if($player_1->wantstocheat())
{
if(rand(0,100)==0) // Let player 1 know player 2's choice, and ask player for their new choice
else
// Scream to the world "PLAYER 1 WANTS TO CHEAT!" and player 2 wins.
}
I did think about this for about 10 seconds after I postsed that. And the answer was make things more complicated but resembling real life.
Have a login system (using cookies) and track the games and numbers of times a person has won. The more they play, the more they win, the higher their number goes. Somehow, this could be related to the cheat function - if their number was high enough AND the cheat came up randomly (once again based upon their number) THEN they would get the auto-win.
Because, we all know there are people around the office who have experience winning any kind of duel. And it's because they are experienced at getting their own way.
Oh, perhaps have a cry-baby mode as well? Ok, I'm not sure what this would invovle but you get the gist. Cry-baby mode would certainly have to override any kind of victory (cheat or not) but only AFTER the original victory has been awarded. Oi vey, because then we'd need to track the number of cry-baby wins as well - after a certain number of cry baby wins though you get a negative rating which makes it much more difficult for a person to win at all.
Does that help make it clear? Probably not... 😉