Skip to content

A bot that automatically plays and consistently wins at Microsoft Wordament

License

Notifications You must be signed in to change notification settings

codeandcats/Wordament-Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordament-Solver

A bot that automatically plays and consistently wins at Microsoft Wordament

Click below to watch it in action:

Written in WPF & C#.

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.

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. 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 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.

Note: You will need to have Tesseract installed on your machine for the bot to perform OCR on the tiles. The bot will expect to find it under: C:\Program Files (x86)\Tesseract-OCR\Tesseract.exe Though that location is configurable in the app.config file.

Have fun!

Copyright codeandcats.com 2013

About

A bot that automatically plays and consistently wins at Microsoft Wordament

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages