if (request.again != null)
{
if (request.again == "yes")
{
client.gameno = 1 + parseInt(client.gameno,10);
client.newgame = "true"; // set flag to initialize new game
redirect("hangman.html"); // redirect back to hangman page to play again.
}
else
redirect("thanks.html"); // redirect to thanks page.
}
SORRY, YOU LOST!!!
The secret word was write(client.word);
write(client.answer);