Functionally, though, it's just you, a 4x4 grid of letter tiles, and a timer that always seems to be running on empty. Wordament is technically a multiplayer game, as everyone who plays shares the same arrangement of letters and competes for a high score. And if you're not as interested in beating everyone over the head with your fast-finding word skills, you can also just, you know, play the game and have a good time! Round after round of letter arrangements you'll see, utilizing your precious few minutes to spell as many words as you can before it's on to the scoreboard followed by the next letter grid. Though that location is configurable in the app.config file.Originally released as a Windows Phone game, Wordament from Microsoft is a straightforward Boggle-like word game that's heavy on statistics and competitive scores. The bot will expect to find it under: C:\Program Files (x86)\Tesseract-OCR\Tesseract.exe You will need to have Tesseract installed on your machine for the bot to perform OCR on the tiles. 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 |