An open API service indexing awesome lists of open source software.

https://github.com/maxbeizer/gh-games

๐ŸŽฎ Terminal games as a GitHub CLI extension
https://github.com/maxbeizer/gh-games

Last synced: 2 months ago
JSON representation

๐ŸŽฎ Terminal games as a GitHub CLI extension

Awesome Lists containing this project

README

          

# ๐ŸŽฎ gh-games

Terminal games as a GitHub CLI extension. Play right from your command line!

## Install

```sh
gh extension install maxbeizer/gh-games
```

## Games

| Command | Game |
|---------|------|
| `gh games guess` | ๐ŸŸฉ Guess the 5-letter word in 6 tries |
| `gh games group` | ๐Ÿ”— Find four groups of four related words |
| `gh games hive` | ๐Ÿ Find words from 7 letters, center required |
| `gh games hang` | โ˜ ๏ธ Classic hangman |
| `gh games jumble` | ๐Ÿ”€ Unscramble the jumbled word |
| `gh games ladder` | ๐Ÿชœ Change one letter at a time to reach the target |
| `gh games trivia` | ๐Ÿง  10-question trivia quiz |
| `gh games code` | ๐Ÿ” Crack the secret color code |
| `gh games cross` | ๐Ÿ“ฐ 5ร—5 mini crossword |

## Sharing Results

After each game, share your spoiler-free results:

- **Clipboard** โ€” press `C` to copy (always available)
- **Slack** โ€” press `S` to post via [gh-slack](https://github.com/github/gh-slack) (requires setup)

### Slack setup

```sh
gh extension install github/gh-slack # if not already installed
gh games config # interactive setup
```

## Development

```sh
make build # Build binary
make test # Run tests
make ci # Build + vet + test with race detector
make install-local # Install from local checkout
```

## License

MIT ยท Not affiliated with the New York Times or any other company โš–๏ธ