This Ruby gem is a collection of classes to model the popular iOS game W.E.L.D.E.R. I'm trying to learn some AI techniques, so I thought I would start with a game that I've been playing.
To start a game and detect words on the pre-populated board, run
welder --dictionary <dictionary_file>
dictionary_file is a newline-separated list of words. If you are looking for dictionary files, check out the Word List project.
To see additional options, run
Welder::Tileis an individual letter tile. There are subclasses of
Welder::Tilefor different types of tiles.
Welder::Boardrepresents a grid of tiles.
Welder::Wordis a collection of tiles on the board.
Welder::Dictionaryprovides methods to access a loaded word list.
Welder::TileGeneratorcreates random tiles based on provided weights for each tile. It uses
Dictionary, and a
TileGeneratorand drives gameplay.
Tests can be run with