Skip to content

A bot designed to play Wordament, an online multiplayer version of Boggle

License

Notifications You must be signed in to change notification settings

heyitaki/wordsmith

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordsmith

Summary

Wordament is an online word game inspired by Boggle in which players are given 2 minutes to find as many words as they can from a 4x4 board. Tiles cannot be reused, and words must be built from adjacent tiles. WordamentPlayer is a bot designed to play for the highest score possible.

Wordsmith moves the Wordament window into a specific location (via JNA), screenshots each tile, performs OCR (via Tesseract/Tess4J), and then solves the board using DFS and a trie-implemented dictionary. Processing and solving the board takes about 10 seconds of calculation time before starting to input words into the game board.

Note: I do not encourage cheating whatsoever; this project was merely an intellectual exercise.

Demo

Click on the demo to see the full video.

WordamentPlayer Demo

Next steps

  • release another demo video showing the console running alongside the WordamentPlayer gameplay
  • whitelist allowed OCR chars to improve conversion speed and accuracy
  • extend usability to MacOS/Linux
  • replace some hardcoded "magic" values with calcs based on user's screen size

License

The code is released under the MIT license.

About

A bot designed to play Wordament, an online multiplayer version of Boggle

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages