Lines Matching refs:helpwin

55 static WINDOW	*helpwin;		/* the help window */  variable
88 helpwin = newwin(0, 0, INSTRY, INSTRX); in init()
115 (void)waddstr(helpwin, "Knight's move is a solitaire puzzle. Your\n"); in help1()
116 (void)waddstr(helpwin, "objective is to visit each square of the \n"); in help1()
117 (void)waddstr(helpwin, "chessboard exactly once by making knight's\n"); in help1()
118 (void)waddstr(helpwin, "moves (one square right or left followed \n"); in help1()
119 (void)waddstr(helpwin, "by two squares up or down, or two squares \n"); in help1()
120 (void)waddstr(helpwin, "right or left followed by one square up or\n"); in help1()
121 (void)waddstr(helpwin, "down). You may start anywhere.\n\n"); in help1()
123 (void)waddstr(helpwin, "Use arrow keys to move the cursor around.\n"); in help1()
124 (void)waddstr(helpwin, "When you want to move your knight to the \n"); in help1()
125 (void)waddstr(helpwin, "cursor location, press <space> or Enter.\n"); in help1()
126 (void)waddstr(helpwin, "Illegal moves will be rejected with an \n"); in help1()
127 (void)waddstr(helpwin, "audible beep.\n\n"); in help1()
128 (void)waddstr(helpwin, "The program will detect if you solve the\n"); in help1()
129 (void)waddstr(helpwin, "puzzle; also inform you when you run out\n"); in help1()
130 (void)waddstr(helpwin, "of legal moves.\n\n"); in help1()
132 (void)mvwaddstr(helpwin, NOTIFYY-INSTRY, 0, in help1()
139 (void)waddstr(helpwin, "Possible moves are shown with `-'.\n\n"); in help2()
141 (void)waddstr(helpwin, "You can move around with the arrow keys or\n"); in help2()
142 (void)waddstr(helpwin, "with the rogue/hack movement keys. Other\n"); in help2()
143 (void)waddstr(helpwin, "commands allow you to undo moves or redraw.\n"); in help2()
144 (void)waddstr(helpwin, "Your mouse may work; try left-button to\n"); in help2()
145 (void)waddstr(helpwin, "move to the square under the pointer.\n\n"); in help2()
147 (void)waddstr(helpwin, "x,q -- exit y k u 7 8 9\n"); in help2()
148 (void)waddstr(helpwin, "r -- redraw screen \\|/ \\|/ \n"); in help2()
149 (void)waddstr(helpwin, "u -- undo move h-+-l 4-+-6\n"); in help2()
150 (void)waddstr(helpwin, " /|\\ /|\\ \n"); in help2()
151 (void)waddstr(helpwin, " b j n 1 2 3\n"); in help2()
153 (void)waddstr(helpwin,"\nYou can place your knight on the selected\n"); in help2()
154 (void)waddstr(helpwin, "square with spacebar, Enter, or the keypad\n"); in help2()
155 (void)waddstr(helpwin, "center key. You can quit with `x' or `q'.\n"); in help2()
157 (void)mvwaddstr(helpwin, NOTIFYY-INSTRY, 0, in help2()
171 werase(helpwin); in play()
176 wnoutrefresh(helpwin); in play()
306 wnoutrefresh(helpwin); in play()
342 werase(helpwin); in play()
353 wrefresh(helpwin); in play()