tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
games
/
at
jcs
41 folders
2 files
adventure
21 years ago someone called "jsm" modified another version of this which is also being distributed, with commit message "Fix capitalisation of compass directions." Seems sensible.
2 years ago
arithmetic
convert to unsigned variables to avoid some overflows. analysis and patch from David Fifield
7 years ago
atc
slight improvement to index file parsing; ok mlarkin
2 years ago
backgammon
Convert K&R function definition to ansi to make clang 15 happier
2 years ago
banner
More fixes from David Fifield:
7 years ago
battlestar
switch fgetln remnants to getline. ok millert@
3 years ago
bcd
Be more specific regarding which encoding this simulator generates: the existing text encouraged the misconception that punched card encodings were somehow standardized, which they were not. Lots of different encodings existed, and the one simulated here was a proprietary one of one specific vendor (GE). Also correct the history: the folks at Bell Labs already played with this.
6 years ago
boggle
Print non-literal string with "%s"
2 years ago
bs
Avoid gendered language in man pages when not referring to a specific person. Rewrite or use singular they.
4 years ago
caesar
fortune files are no longer being rot13d;
2 years ago
canfield
man pages: add missing commas between subordinate and main clauses
4 years ago
cribbage
Fix input handling wrt redrawing. The new version of curses does not like shortcutting switching windows, especially if you're also using libc for i/o. Reported by Don Wilburn; ok jsg@
2 years ago
factor
In 32 bits sqrt(val) + 1 can overflow, so some big primes still aren't recognized as such, for example 18446744073709551577 given in the commit message of factor.c r1.7 from NetBSD. Move the return type of usqrt() from u_int32_t to u_int64_t.
9 years ago
fish
- General changes: - Remove -? from getopt(3) options, but still keep (or add) -h where applicable - Replace hardcoded program strings by getprogname(3)
10 years ago
fortune
Fix typo: "never ever stick *you* hand in the toaster" -> "your"
1 month ago
gomoku
if both stdout and stderr are redirected to a non-tty, pledge(2) will kill ncurses applications, e.g.:
4 years ago
grdc
typing ^C and seeing "terminated by signal %d" is so ... I don't have the words ok florian
3 years ago
hack
file not needed
2 years ago
hangman
Filter out all symbols starting with a double underbar. In particular, this filters out all retguard symbols, which are no fun to guess. One recognizes them easily but can get yourself hanged by a single digit!
4 years ago
hunt
use the right FILE to parse the config, not stdin
2 years ago
mille
Use vw_printw() and fix a format print warning.
2 years ago
monop
Feed more generated files to the clean target; joint work with naddy@
2 years ago
morse
prefer https links in man pages ok gnezdo@ miod@ jmc@
4 years ago
number
- General changes: - Remove -? from getopt(3) options, but still keep (or add) -h where applicable - Replace hardcoded program strings by getprogname(3)
10 years ago
phantasia
having a file called "OWNER" lying around in a directory of (effectively) public dommain software is weird. put that info into a better place.
2 years ago
pig
eaktway eviouspray;
7 years ago
pom
Consolidate printf(3) calls at the end of main().
8 years ago
ppt
Correct ppt(6) history. Before it appeared in 4.3BSD-Tahoe, a ppt command appeared in v7 (without source). It was described in v7 bcd(6).
8 months ago
primes
Straightforward conversion to strtonum. Slight change of behavior in that trailing whitespace is no longer permitted when invoked from stdin. From Scott Cheloha.
8 years ago
quiz
In our fight against the cosmos, in the chaos of the source tree, we deleted the greek quiz. Some people felt trauma, and called out our hubris. At my request, Carson Harding performed a metamorphosis of the quiz -- kudos to him! After playing, I consider it the acme of quizzes. ok jmc mglocker
2 years ago
rain
if both stdout and stderr are redirected to a non-tty, pledge(2) will kill ncurses applications, e.g.:
4 years ago
random
Put explicit ULL suffix to constants which won't fit in 32 bits.
3 years ago
robots
Fix format string warning in robots/score.c
2 years ago
sail
Avoid gendered language in man pages when not referring to a specific person. Rewrite or use singular they.
4 years ago
snake
Avoid gendered language in man pages when not referring to a specific person. Rewrite or use singular they.
4 years ago
tetris
Change the error reporting pattern throughout the tree when unveil fails to report the path that the failure occured on. Suggested by deraadt@ after some tech discussion.
4 years ago
trek
sync manual section numbers
2 years ago
wargames
a few depend:-related thingies that were still in.
6 years ago
worm
Remove a few too early pledge(2)s on games/ and apply them a little bit later but with much reduced permissions ("stdio tty" if ncurses based and "stdio" for the ones that only perform basic operations).
7 years ago
worms
man pages: add missing commas between subordinate and main clauses
4 years ago
wump
Move a badly positioned parenthesis that caused nonsensical movement properties for the Wumpus. The bug has been present since 4.3BSD-Reno and was introduced by Keith Bostic on February 14, 1990 when committing the major rewrite from Dave Taylor.
7 years ago
Makefile
Licensing issues resolved on bs and hunt, so build them again.
23 years ago
Makefile.inc
Build most of games/ with -Werror-implicit-function-declaration. Prompted by benno's addition of the flag to most of usr.sbin/.
10 years ago