A command line trivia game with content from all types of Star Wars cannon media.
- Go to the latest release page and download the executable that corresponds to your platform
- Save the executable to a folder somewhere in your file system
- If that folder is not already in your system or user path, you'll need to add it (see instructions below if you need help doing this)
- Open a terminal or command prompt
- Type
sw-trivia
to start the game- add the
--version
flag (-v
for short) to see version information about the game - add the
--stats
flag (-s
for short) to see statistics about the game's trivia content
- add the
- Type the number of the option you'd like to select and press
Enter
to proceed
You can submit a new trivia question or report a bug using one of our issue templates.
This project is built with Deno
Although this project uses a stable version of Deno, it needs the --unstable
flag for a few APIs and makes use of the Deno Standard Modules which are pre 1.0.
Because of this, it is still recommended to use the specific version of Deno listed in src/version.ts
.
The program will warn the user if the version of Deno being run does not match the version listed there.
deno task start
-v
,--version
: Show app version info-s
,--stats
: Show statistics about trivia content
deno task new
-n
,--name
: The name of the new trivia source-t
,--type
: The media type of the new trivia source- valid types: book, comic, film, game, television
deno task compile-debug
Will create an executable for the current platform in target/debug
.
deno task compile-release
Will create executables for all platforms in target/release/[platform-name]
.