mirror of
https://github.com/tldr-pages/tldr
synced 2026-08-26 14:13:36 +01:00
hangman: add page (#23333)
Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
This commit is contained in:
co-authored by
Ivan Baluta
parent
63e425aea1
commit
8f16a092e2
@@ -0,0 +1,28 @@
|
||||
# hangman
|
||||
|
||||
> Play the classic Hangman word-guessing game.
|
||||
> More information: <https://manned.org/man/hangman>.
|
||||
|
||||
- Start the game:
|
||||
|
||||
`hangman`
|
||||
|
||||
- Guess a letter:
|
||||
|
||||
`{{<a>|<b>|<c>|...}}`
|
||||
|
||||
- Move to the next word:
|
||||
|
||||
`<Space>`
|
||||
|
||||
- Quit the game:
|
||||
|
||||
`<Enter>`
|
||||
|
||||
- Start the game with a specific minimum word length (default is 6):
|
||||
|
||||
`hangman -m {{min_length}}`
|
||||
|
||||
- Start the game with a specific word list:
|
||||
|
||||
`hangman -d {{path/to/word_list}}`
|
||||
Reference in New Issue
Block a user