4 ** 2021-12, markus schnalke <meillo@marmaro.de>
16 struct map *map, *fow;
25 intrflush(stdscr, FALSE);
30 map = readmap("map2");
32 findchar(map, '>', &y, &x);
37 while ((c = getch()) != ERR) {
62 if (y2 < 0 || y2 > H || x2 < 0 || x2 > W) {
66 c2 = map->map[y2][x2];
70 map->map[y2][x2] = ' ';
74 mvprintw(0, 0, "%d:%d", x2, y2);
79 mvprintw(H/2, 10, "AUSGANG gefunden!");
85 mvprintw(0, 40, "<%c> gold:%d", c2, gold);
93 mvprintw(H, 0, "press key to exit...");