Skip to content

shadforth/spelling-bee-clone-cli-kotlin

Repository files navigation

spelling-bee-clone-cli-kotlin

Play today's The New York Times Spelling Bee puzzle from your command line.

Demo of Spelling Bee CLI

Running the game

Start the game by running the command below.

./scripts/run

Developing

Set up the repository for development by running the command below. This will create a few git commit hooks.

./scripts/setup

Run tests with the command below.

./scripts/tests

In-game commands

MAIN COMMANDS
  :help		Print available game commands
  :load		Load a previously saved game (today only)
  :save		Save the current game (today only)
  :shuffle	Shuffle outer letters
  :quit		Quit the game without saving

ALIAS COMMANDS
  :h, :?	Print available game commands
  :l		Load a previously saved game (today only)
  :s, :w	Save the current game (today only)
  :sh		Shuffle outer letters
  :q		Quit the game without saving

Technical details

This is a breakable toy project I wrote to play around with Kotlin, using Koin for dependency injection.

The app lazily scrapes The New York Times website to grab today's Spelling Bee puzzle.

It stores and loads saved games from an SQLite database. It uses the Command pattern to handle user input.

About

Play The New York Times Spelling Bee puzzle from your command line 🐝

Topics

Resources

Stars

Watchers

Forks