srand(getpid()); /* initialize random sequence */
printf("Need a terminal on %d\n", _tty_ch
);
tputs(CL
, NLINES
, _putchar
);
makeboard(); /* make the board setup */
puton('*'); /* put on '*'s */
puton(' '); /* cover up with ' 's */
* _putchar defined for tputs() (and _puts())
for (lp
= Layout
; lp
< end
; lp
++) {
for (lp
= Layout
; lp
< end
; lp
++)
if (!AM
|| (lp
->y
< NLINES
- 1 || lp
->x
< NCOLS
- 1)) {
mvcur(lasty
, lastx
, lp
->y
, lp
->x
);
if ((lastx
= lp
->x
+ 1) >= NCOLS
)