Discord Bot to play a wordle-like game with users.
npm install -g yarn
yarn install
yarn start
Command | Description |
---|---|
@Wordle !ping |
Ping server to see if it is up. Returns pong . |
@Wordle !start [length] |
Start a game of length length . Will pick out a word from the corpus file, corpus.txt . |
@Wordle !state |
Get the current state of a game, if one is currently being played in the channel. |
@Wordle !guess [word] |
Guess the word described by word . Will increment the guesses counter. |
@Wordle !end |
End current session |
Pull requests very welcome for any of these!
- State management of some kind ( Redis, DB, file, etc ) which can be loaded after restart.
- Store grid of previous commands and results to see every guess made so far.
- Set a limit of turns for a given game and create a loss condition if a limit is set.
- Performance profiles & Sharded bot for improved performance
- Custom images instead of emojis of letters with background colour depending on state.