diff options
author | rillig <rillig@NetBSD.org> | 2020-07-02 19:11:01 +0000 |
---|---|---|
committer | rillig <rillig@NetBSD.org> | 2020-07-02 19:11:01 +0000 |
commit | df5cc7cf1cf61077ac0dcd2b376e61b3ed7fc388 (patch) | |
tree | 45b25fd134ccee949cd9da6cf705cf9f2ee83b73 /hangman/prdata.c | |
parent | e51dd5d1fb713d15515575d8a5a600a11434a186 (diff) | |
download | bsdgames-darwin-df5cc7cf1cf61077ac0dcd2b376e61b3ed7fc388.tar.gz bsdgames-darwin-df5cc7cf1cf61077ac0dcd2b376e61b3ed7fc388.tar.zst bsdgames-darwin-df5cc7cf1cf61077ac0dcd2b376e61b3ed7fc388.zip |
cgram(6): use standard cursor keys, use standard shuffle algorithm
The previous shuffle algorithm asked for 100 random numbers, on average.
The new algorithm asks exactly for 26 random numbers.
Curses predefines numeric constants for keys, and there is no apparent
reason not to use these standard keys for cursor movement.
Diffstat (limited to 'hangman/prdata.c')
0 files changed, 0 insertions, 0 deletions