Thanks to the ever attentive eyes of mlarkin, who spotted some unused
code to print a battleship in battleship.
Diff below enables printing the battleship, changes the name to the
S.S. Puffy, and adds my attempt at a tiny ascii blowfish to the side.
OK?
Index: bs.c
===================================================================
RCS file: /cvs/src/games/bs/bs.c,v
retrieving revision 1.24
diff -u -p -r1.24 bs.c
--- bs.c 29 Aug 2013 20:22:11 -0000 1.24
+++ bs.c 12 Jul 2014 07:36:47 -0000
@@ -260,7 +260,6 @@ static void intro(void)
errx(1, "screen must be at least %dx%d.", PROMPTLINE + 3, COLWIDTH);
}
-#ifdef PENGUIN
#define PR (void)addstr
(void)clear();
(void)mvaddstr(4,29,"Welcome to Battleship!");
@@ -269,16 +268,15 @@ static void intro(void)
PR(" \\ \\ \\\n");
PR(" \\ \\ \\ \\
\\_____________\n");
PR(" \\ \\ \\_____________ \\ \\/
|\n");
- PR(" \\ \\/ \\ \\/
|\n");
- PR(" \\/ \\_____/
|__\n");
- PR(" ________________/
|\n");
- PR(" \\ S.S. Penguin
|\n");
- PR(" \\
/\n");
+ PR(" \\ \\/ \\__/ \\ \\/
|\n");
+ PR(" \\/ \\/ \\/ \\_____/
|__\n");
+ PR(" ________________/ /\\/ ..\\/
|\n");
+ PR(" \\ S.S. Puffy \\/\\___o/
|\n");
+ PR(" \\ / /\\ \\
/\n");
PR("
\\___________________________________________________/\n");
(void) mvaddstr(22,27,"Hit any key to continue..."); (void)refresh();
(void) getch();
-#endif /* PENGUIN */
#ifdef A_COLOR
start_color();