if (request.again != null) {
if (request.again == "yes") {
client.gameno = parseInt(client.gameno) + 1
client.newgame = "true" // set flag to initialize new game
redirect(addClient("hangman.html")) // redirect back to hangman page to play again.
}
else
redirect("thanks.html") // redirect to thanks page.
// Don't use addClient because don't need to preserve properties.
}
SORRY, YOU LOST!!!
The secret word was write(client.word)
write(client.answer)