CLI SCRABBLE is a python program to play the game of SCRABBLE in a Command-Line-Interface format. This program was made as an exercise for fun and some learning, and also is my first GitHub repository!
On top of a working Python 3+ installation:
numpy
termcolor
(optional, strongly recommended)colorama
(for windows withtermcolor
; optional, strongly recommended)
Open terminal (in windows: windows button + r -> type cmd
-> hit enter) -> Navigate to the code folder within the Scrabble repository ->
Type the following in the terminal to run the game:
python inputoutput.py
Once you run the programme, a CLI dialogue of the game play begins.
The rules of the game are in accordance with the original Scrabble rules. For more info on the orginal rules, click here. You can also read the rules line-by-line from within the game too!
The current version of CLI scrabble is a turn based game with no time limit and without a provision for challenging, but a global validity_mode
controls if only in-the-dictionary words are allowed on the board.
For the default wordlist, we currently use SOWPODS, but any properly formatted file can be used as the wordlist (details within the game).
- Provision for challenging with
validity_mode
off - Better documentations :)
- A graded AI to play against!
- Tutor to help you select the best play given a mode
- A fast python API to allow for training AI (hopefully :) )