Game Hangman with database connection