Hangman game autoplay base on RESTful API