← the terminal · man pages

MAN PAGES // WEEK 32

CAPSTONE: INIT, HITS, PLAYER TURN · Ch 13 Sec 7-9 · six terms · write your own usage line under each
$ man INITIALIZATION
the ordered setup that starts a fresh game

$ man HIT_DETECTION
logic deciding whether a shot found a ship

$ man MISS
a shot that found only water, also recorded in state

$ man TURN
one complete player action and its consequences

$ man EVENT_DELEGATION
one listener on the board handling every cell

$ man GUARD_CLAUSE
an early return that rejects illegal moves