It detects whether a word was recognised or not by the game as well as other game states such as when the game accuses the player of guessing (too many invalid words in a short time), when the time runs out and when a new game starts. Once it has the list of playable words it iterates through them starting with the longest words first and moving the mouse over the tiles to play each the word. It first finds the browser window containing the Wordament tab, then takes a screenshot of it, looks for the tiles on the gameboard, performs OCR on each tile and finds all the sequential letter combinations that form valid words from a list of 170,000+ words. I do not condone cheating so PLEASE UNDERSTAND the spirit of this project was purely the joy as a developer in overcoming the technical challenges of writing an AI that plays Wordament with no human intervention. A bot that automatically plays and consistently wins at Microsoft Wordament
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |