Nightshade's town is one map of 32 by 32 cells, a byte each, at TOWN. Nothing else describes the world: a cell's byte is its type, and the type alone gives the building that stands on it (the building table, BUILDING_TABLE, a definition for each way of looking at it), the boxes the knight bumps into (BOX_TABLE), the colour of its walls and the kind of find it gives. The screen shows the knight's cell and the eight round it, scrolled so that he stays in the middle (PROJECT_CELL); this page draws all 1024 at once. The rooms, the grid and the room builder of Knight Lore and Alien 8 are gone: there are no rooms, no room records and no doorways, only cells.

What is measured and what is read. Measured, in SkoolKit's simulator, by calling the game's own routines: every picture (the walls by DRAW_WALLS, the lines on the ground by DRAW_OUTLINE, the colours by COLOUR_WALL), where each cell goes (by PROJECT_CELL, for every cell), the start cells, the cells objects and villains can be put in, the kind of find each type gives, the stocks and the percentage. Read from the tables: the types, the boxes. Worked out from the boxes, and then walked in the simulator: which neighbouring cells the knight can walk between. Put together by this page, not by the game: the whole town in one picture, back to front. Cells are given as (column, row).

The town

Every cell with a building is drawn by the game's own wall routine and put where the game's projection puts its corner; the cells further back are pasted first, so that nearer walls stand in front. The game itself never draws more than the cells round the knight, and draws only the walls behind him: the ones in front are reduced to their line on the ground, so as not to hide him (DRAW_CELLS). The faint outlines of the cells on the ground are the page's. The solid cells, types 1 and 2 -- the ring round the town and the blocks inside it, which nothing can ever be in -- are shown as black ground without their walls, which would bury the town; the game draws them like any other cell, and cell types shows them. This is the usual view, north on the panel's compass, the viewer at the high-U, low-V corner; the view turned round is below. Click a cell for its type, or see the whole town at full size. Tick a box to show a layer.

The town, in the usual view20333242044441831845355355188510103518451010185107341835755366566432086655534332020520203203229231931715151920102823232523179175162021211922222124183130169192220252544414228881532025191532135202020232224242712161321921212013272732123151533211912142210221234171517351315351212133315356991332829281515153599151512341315335321715173327133528353416131651032222342781412128812653343527158241533583233303115303182446482829122829213388630311719146686628291413171515355333(1,1): 67 of 1024(1,2): 29 of 1024(1,3): 29 of 1024(1,4): 3 of 1024(1,18): 3 of 1024(1,22): 4 of 1024(1,23): 3 of 1024(1,24): 3 of 1024(1,28): 4 of 1024(2,1): 1 of 1024(2,2): 1 of 1024(2,3): 1 of 1024(2,4): 1 of 1024(2,12): 5 of 1024(2,17): 4 of 1024(2,18): 1 of 1024(2,20): 8 of 1024(2,21): 5 of 1024(2,22): 1 of 1024(2,23): 1 of 1024(2,24): 1 of 1024(2,25): 4 of 1024(2,26): 5 of 1024(2,27): 5 of 1024(2,28): 1 of 1024(3,1): 1 of 1024(3,2): 1 of 1024(3,3): 1 of 1024(3,4): 1 of 1024(3,8): 6 of 1024(3,9): 5 of 1024(3,10): 5 of 1024(3,11): 5 of 1024(3,12): 1 of 1024(3,13): 7 of 1024(3,16): 6 of 1024(3,17): 1 of 1024(3,18): 1 of 1024(3,20): 1 of 1024(3,21): 1 of 1024(3,22): 1 of 1024(3,23): 1 of 1024(3,24): 1 of 1024(3,25): 1 of 1024(3,26): 1 of 1024(3,27): 1 of 1024(3,28): 1 of 1024(3,29): 6 of 1024(4,1): 1 of 1024(4,2): 1 of 1024(4,3): 1 of 1024(4,4): 1 of 1024(4,7): 10 of 1024(4,8): 1 of 1024(4,9): 1 of 1024(4,10): 1 of 1024(4,11): 1 of 1024(4,12): 1 of 1024(4,13): 1 of 1024(4,14): 12 of 1024(4,16): 1 of 1024(4,17): 1 of 1024(4,18): 1 of 1024(4,20): 1 of 1024(4,21): 1 of 1024(4,22): 1 of 1024(4,23): 1 of 1024(4,24): 1 of 1024(4,25): 1 of 1024(4,26): 1 of 1024(4,27): 1 of 1024(4,28): 1 of 1024(4,29): 1 of 1024(5,4): 1 of 1024(5,7): 1 of 1024(5,8): 1 of 1024(5,9): 1 of 1024(5,10): 1 of 1024(5,11): 1 of 1024(5,12): 1 of 1024(5,13): 1 of 1024(5,14): 1 of 1024(5,16): 1 of 1024(5,17): 1 of 1024(5,18): 1 of 1024(5,20): 1 of 1024(5,21): 1 of 1024(5,22): 1 of 1024(5,23): 1 of 1024(5,24): 1 of 1024(5,25): 1 of 1024(5,26): 1 of 1024(5,27): 1 of 1024(5,28): 1 of 1024(5,29): 1 of 1024(5,30): 7 of 1024(6,4): 1 of 1024(6,5): 12 of 1024(6,6): 12 of 1024(6,7): 1 of 1024(6,8): 1 of 1024(6,9): 1 of 1024(6,10): 1 of 1024(6,11): 1 of 1024(6,12): 1 of 1024(6,13): 1 of 1024(6,14): 1 of 1024(6,17): 1 of 1024(6,18): 1 of 1024(6,19): 9 of 1024(6,20): 1 of 1024(6,21): 1 of 1024(6,22): 1 of 1024(6,23): 1 of 1024(6,24): 1 of 1024(6,25): 1 of 1024(6,26): 1 of 1024(6,27): 1 of 1024(6,28): 1 of 1024(6,29): 1 of 1024(6,30): 1 of 1024(7,4): 1 of 1024(7,5): 1 of 1024(7,6): 1 of 1024(7,7): 1 of 1024(7,8): 1 of 1024(7,9): 1 of 1024(7,10): 1 of 1024(7,11): 1 of 1024(7,12): 1 of 1024(7,13): 1 of 1024(7,18): 1 of 1024(7,19): 1 of 1024(7,20): 1 of 1024(7,21): 1 of 1024(7,22): 1 of 1024(7,23): 1 of 1024(7,24): 1 of 1024(7,25): 1 of 1024(7,26): 1 of 1024(7,27): 1 of 1024(7,28): 1 of 1024(7,29): 1 of 1024(7,30): 1 of 1024(8,7): 1 of 1024(8,8): 1 of 1024(8,9): 1 of 1024(8,10): 1 of 1024(8,11): 1 of 1024(8,12): 1 of 1024(8,13): 1 of 1024(8,15): 18 of 1024(8,16): 3 of 1024(8,18): 1 of 1024(8,19): 1 of 1024(8,20): 1 of 1024(8,21): 1 of 1024(8,22): 1 of 1024(8,23): 1 of 1024(8,24): 1 of 1024(8,25): 1 of 1024(8,26): 1 of 1024(8,27): 1 of 1024(8,28): 1 of 1024(8,29): 1 of 1024(9,7): 1 of 1024(9,8): 1 of 1024(9,9): 1 of 1024(9,10): 1 of 1024(9,11): 1 of 1024(9,12): 1 of 1024(9,13): 1 of 1024(9,16): 1 of 1024(9,17): 3 of 1024(9,18): 1 of 1024(9,19): 1 of 1024(9,20): 1 of 1024(9,21): 1 of 1024(9,22): 1 of 1024(9,23): 1 of 1024(9,24): 1 of 1024(9,25): 1 of 1024(9,26): 1 of 1024(9,27): 1 of 1024(9,28): 1 of 1024(9,29): 1 of 1024(10,7): 1 of 1024(10,8): 1 of 1024(10,9): 1 of 1024(10,10): 1 of 1024(10,11): 1 of 1024(10,12): 1 of 1024(10,13): 1 of 1024(10,14): 4 of 1024(10,15): 2 of 1024(10,16): 1 of 1024(10,17): 1 of 1024(10,18): 1 of 1024(10,19): 1 of 1024(10,20): 1 of 1024(10,21): 1 of 1024(10,22): 1 of 1024(10,23): 1 of 1024(10,24): 1 of 1024(10,25): 1 of 1024(10,26): 1 of 1024(10,27): 1 of 1024(10,28): 1 of 1024(11,6): 4 of 1024(11,7): 1 of 1024(11,8): 1 of 1024(11,9): 1 of 1024(11,10): 1 of 1024(11,11): 1 of 1024(11,12): 1 of 1024(11,13): 1 of 1024(11,14): 1 of 1024(11,15): 1 of 1024(11,16): 1 of 1024(11,17): 1 of 1024(11,18): 1 of 1024(11,19): 1 of 1024(11,20): 1 of 1024(11,21): 1 of 1024(11,22): 1 of 1024(11,23): 1 of 1024(11,24): 1 of 1024(11,25): 1 of 1024(11,26): 1 of 1024(12,7): 1 of 1024(12,8): 1 of 1024(12,9): 1 of 1024(12,10): 1 of 1024(12,11): 1 of 1024(12,12): 1 of 1024(12,13): 1 of 1024(12,14): 1 of 1024(12,15): 1 of 1024(12,16): 1 of 1024(12,17): 1 of 1024(12,18): 1 of 1024(12,19): 1 of 1024(12,20): 1 of 1024(12,24): 1 of 1024(12,25): 1 of 1024(12,26): 1 of 1024(12,27): 2 of 1024(13,4): 6 of 1024(13,5): 6 of 1024(13,6): 2 of 1024(13,7): 1 of 1024(13,8): 1 of 1024(13,9): 1 of 1024(13,10): 1 of 1024(13,11): 1 of 1024(13,12): 1 of 1024(13,13): 1 of 1024(13,14): 1 of 1024(13,15): 1 of 1024(13,16): 1 of 1024(13,17): 1 of 1024(13,18): 1 of 1024(13,20): 1 of 1024(13,21): 2 of 1024(13,24): 1 of 1024(13,25): 1 of 1024(13,26): 1 of 1024(13,27): 1 of 1024(13,28): 3 of 1024(13,29): 4 of 1024(13,30): 6 of 1024(14,3): 10 of 1024(14,4): 1 of 1024(14,5): 1 of 1024(14,6): 1 of 1024(14,7): 1 of 1024(14,8): 1 of 1024(14,9): 1 of 1024(14,10): 1 of 1024(14,11): 1 of 1024(14,12): 1 of 1024(14,13): 1 of 1024(14,14): 1 of 1024(14,15): 1 of 1024(14,16): 1 of 1024(14,17): 1 of 1024(14,21): 1 of 1024(14,24): 1 of 1024(14,25): 1 of 1024(14,26): 1 of 1024(14,27): 1 of 1024(14,28): 1 of 1024(14,29): 1 of 1024(14,30): 1 of 1024(15,3): 1 of 1024(15,4): 1 of 1024(15,5): 1 of 1024(15,6): 1 of 1024(15,7): 1 of 1024(15,8): 1 of 1024(15,9): 1 of 1024(15,10): 1 of 1024(15,11): 1 of 1024(15,12): 1 of 1024(15,13): 1 of 1024(15,14): 1 of 1024(15,15): 1 of 1024(15,16): 1 of 1024(15,21): 1 of 1024(15,23): 4 of 1024(15,24): 1 of 1024(15,25): 1 of 1024(15,26): 1 of 1024(15,27): 1 of 1024(15,28): 1 of 1024(15,29): 1 of 1024(15,30): 1 of 1024(16,3): 1 of 1024(16,4): 1 of 1024(16,5): 1 of 1024(16,6): 1 of 1024(16,7): 1 of 1024(16,8): 1 of 1024(16,9): 1 of 1024(16,10): 1 of 1024(16,11): 1 of 1024(16,12): 1 of 1024(16,13): 1 of 1024(16,14): 1 of 1024(16,15): 1 of 1024(16,16): 1 of 1024(16,19): 4 of 1024(16,20): 3 of 1024(16,21): 1 of 1024(16,25): 1 of 1024(17,3): 1 of 1024(17,4): 1 of 1024(17,5): 1 of 1024(17,6): 1 of 1024(17,7): 1 of 1024(17,8): 1 of 1024(17,9): 1 of 1024(17,10): 1 of 1024(17,11): 1 of 1024(17,12): 1 of 1024(17,13): 1 of 1024(17,14): 1 of 1024(17,15): 1 of 1024(17,16): 1 of 1024(17,20): 1 of 1024(17,21): 1 of 1024(17,22): 6 of 1024(18,4): 1 of 1024(18,5): 1 of 1024(18,6): 1 of 1024(18,7): 1 of 1024(18,8): 1 of 1024(18,9): 1 of 1024(18,10): 1 of 1024(18,11): 1 of 1024(18,12): 1 of 1024(18,13): 1 of 1024(18,14): 1 of 1024(18,15): 1 of 1024(18,16): 1 of 1024(18,17): 4 of 1024(18,18): 5 of 1024(18,19): 2 of 1024(18,20): 1 of 1024(18,21): 1 of 1024(18,22): 1 of 1024(18,25): 2 of 1024(18,26): 3 of 1024(18,27): 3 of 1024(18,28): 3 of 1024(19,5): 1 of 1024(19,6): 1 of 1024(19,7): 1 of 1024(19,8): 1 of 1024(19,10): 1 of 1024(19,11): 1 of 1024(19,12): 1 of 1024(19,13): 1 of 1024(19,14): 1 of 1024(19,15): 1 of 1024(19,16): 1 of 1024(19,17): 1 of 1024(19,18): 1 of 1024(19,19): 1 of 1024(19,20): 1 of 1024(19,21): 1 of 1024(19,22): 1 of 1024(19,25): 1 of 1024(19,26): 1 of 1024(19,27): 1 of 1024(19,28): 1 of 1024(20,10): 1 of 1024(20,11): 1 of 1024(20,12): 1 of 1024(20,13): 1 of 1024(20,14): 1 of 1024(20,15): 1 of 1024(20,16): 1 of 1024(20,17): 1 of 1024(20,18): 1 of 1024(20,19): 1 of 1024(20,20): 1 of 1024(20,21): 1 of 1024(20,22): 1 of 1024(20,23): 5 of 1024(20,24): 5 of 1024(20,25): 1 of 1024(20,26): 1 of 1024(20,27): 1 of 1024(20,28): 1 of 1024(21,4): 3 of 1024(21,5): 2 of 1024(21,6): 2 of 1024(21,7): 2 of 1024(21,8): 2 of 1024(21,9): 3 of 1024(21,10): 1 of 1024(21,11): 1 of 1024(21,12): 1 of 1024(21,13): 1 of 1024(21,14): 1 of 1024(21,15): 1 of 1024(21,17): 1 of 1024(21,18): 1 of 1024(21,19): 1 of 1024(21,20): 1 of 1024(21,21): 1 of 1024(21,22): 1 of 1024(21,23): 1 of 1024(21,24): 1 of 1024(21,25): 1 of 1024(21,26): 1 of 1024(21,27): 1 of 1024(21,28): 1 of 1024(22,4): 1 of 1024(22,5): 1 of 1024(22,6): 1 of 1024(22,7): 1 of 1024(22,8): 1 of 1024(22,9): 1 of 1024(22,10): 1 of 1024(22,11): 1 of 1024(22,12): 1 of 1024(22,13): 1 of 1024(22,14): 1 of 1024(22,15): 1 of 1024(22,16): 2 of 1024(22,17): 1 of 1024(22,18): 1 of 1024(22,19): 1 of 1024(22,20): 1 of 1024(22,21): 1 of 1024(22,22): 1 of 1024(22,23): 1 of 1024(22,24): 1 of 1024(22,25): 1 of 1024(23,4): 1 of 1024(23,5): 1 of 1024(23,6): 1 of 1024(23,7): 1 of 1024(23,8): 1 of 1024(23,9): 1 of 1024(23,10): 1 of 1024(23,11): 1 of 1024(23,12): 1 of 1024(23,13): 1 of 1024(23,15): 1 of 1024(23,16): 1 of 1024(23,17): 1 of 1024(23,18): 1 of 1024(23,19): 1 of 1024(23,20): 1 of 1024(23,21): 1 of 1024(23,22): 1 of 1024(23,23): 1 of 1024(23,24): 1 of 1024(23,25): 1 of 1024(23,26): 2 of 1024(23,27): 2 of 1024(23,28): 2 of 1024(24,4): 1 of 1024(24,5): 1 of 1024(24,6): 1 of 1024(24,7): 1 of 1024(24,8): 1 of 1024(24,9): 1 of 1024(24,10): 1 of 1024(24,11): 1 of 1024(24,12): 1 of 1024(24,13): 1 of 1024(24,15): 1 of 1024(24,16): 1 of 1024(24,17): 1 of 1024(24,18): 1 of 1024(24,19): 1 of 1024(24,20): 1 of 1024(24,21): 1 of 1024(24,22): 1 of 1024(24,23): 1 of 1024(24,24): 1 of 1024(24,25): 1 of 1024(24,26): 1 of 1024(24,27): 1 of 1024(24,28): 1 of 1024(24,29): 9 of 1024(25,4): 1 of 1024(25,5): 1 of 1024(25,6): 1 of 1024(25,7): 1 of 1024(25,8): 1 of 1024(25,9): 1 of 1024(25,10): 1 of 1024(25,11): 1 of 1024(25,17): 1 of 1024(25,18): 1 of 1024(25,19): 1 of 1024(25,20): 1 of 1024(25,21): 1 of 1024(25,22): 1 of 1024(25,23): 1 of 1024(25,24): 1 of 1024(25,25): 1 of 1024(25,26): 1 of 1024(25,27): 1 of 1024(25,28): 1 of 1024(25,29): 1 of 1024(26,3): 9 of 1024(26,4): 1 of 1024(26,5): 1 of 1024(26,6): 1 of 1024(26,7): 1 of 1024(26,8): 1 of 1024(26,9): 1 of 1024(26,10): 1 of 1024(26,11): 1 of 1024(26,12): 2 of 1024(26,17): 1 of 1024(26,18): 1 of 1024(26,19): 1 of 1024(26,20): 1 of 1024(26,21): 1 of 1024(26,22): 1 of 1024(26,23): 1 of 1024(26,24): 1 of 1024(26,25): 1 of 1024(26,26): 1 of 1024(26,27): 1 of 1024(26,28): 1 of 1024(26,29): 1 of 1024(26,30): 11 of 1024(27,3): 1 of 1024(27,8): 1 of 1024(27,9): 1 of 1024(27,10): 1 of 1024(27,11): 1 of 1024(27,12): 1 of 1024(27,17): 1 of 1024(27,18): 1 of 1024(27,20): 1 of 1024(27,21): 1 of 1024(27,22): 1 of 1024(27,23): 1 of 1024(27,24): 1 of 1024(27,25): 1 of 1024(27,26): 1 of 1024(27,27): 1 of 1024(27,28): 1 of 1024(27,29): 1 of 1024(28,3): 1 of 1024(28,7): 2 of 1024(28,8): 1 of 1024(28,9): 1 of 1024(28,10): 1 of 1024(28,11): 1 of 1024(28,12): 1 of 1024(28,15): 4 of 1024(28,17): 1 of 1024(28,20): 1 of 1024(28,21): 1 of 1024(28,22): 1 of 1024(28,23): 1 of 1024(28,24): 1 of 1024(28,25): 1 of 1024(28,26): 1 of 1024(28,27): 1 of 1024(28,28): 1 of 1024(28,29): 1 of 1024(28,30): 2 of 1024(29,3): 1 of 1024(29,7): 1 of 1024(29,8): 1 of 1024(29,9): 1 of 1024(29,10): 1 of 1024(29,11): 1 of 1024(29,15): 1 of 1024(29,16): 5 of 1024(29,17): 1 of 1024(29,18): 2 of 1024(29,20): 1 of 1024(29,21): 1 of 1024(29,22): 1 of 1024(29,23): 1 of 1024(29,24): 1 of 1024(29,25): 1 of 1024(29,26): 1 of 1024(29,27): 1 of 1024(29,28): 1 of 1024(29,29): 1 of 1024(29,30): 1 of 1024(30,3): 1 of 1024(30,8): 1 of 1024(30,9): 1 of 1024(30,10): 1 of 1024(30,16): 1 of 1024(30,17): 1 of 1024(30,22): 1 of 1024(30,23): 1 of 1024(30,24): 1 of 1024(30,29): 1 of 1024(30,30): 1 of 1024(1,1): 46 of 16384(1,2): 51 of 16384(1,3): 65 of 16384(1,4): 63 of 16384(1,18): 59 of 16384(1,22): 90 of 16384(1,23): 55 of 16384(1,24): 56 of 16384(1,28): 29 of 16384(2,1): 7 of 16384(2,2): 17 of 16384(2,4): 23 of 16384(2,12): 13 of 16384(2,17): 12 of 16384(2,18): 6 of 16384(2,20): 9 of 16384(2,21): 10 of 16384(2,22): 44 of 16384(2,23): 20 of 16384(2,24): 20 of 16384(2,25): 25 of 16384(2,26): 11 of 16384(2,27): 4 of 16384(2,28): 35 of 16384(3,1): 41 of 16384(3,2): 58 of 16384(3,3): 62 of 16384(3,4): 7 of 16384(3,8): 49 of 16384(3,9): 14 of 16384(3,10): 23 of 16384(3,11): 63 of 16384(3,12): 27 of 16384(3,13): 23 of 16384(3,16): 37 of 16384(3,17): 25 of 16384(3,18): 44 of 16384(3,20): 25 of 16384(3,21): 31 of 16384(3,22): 20 of 16384(3,23): 17 of 16384(3,24): 35 of 16384(3,25): 55 of 16384(3,26): 20 of 16384(3,27): 21 of 16384(3,28): 12 of 16384(3,29): 51 of 16384(4,1): 36 of 16384(4,2): 9 of 16384(4,3): 14 of 16384(4,4): 6 of 16384(4,7): 20 of 16384(4,8): 36 of 16384(4,9): 24 of 16384(4,10): 8 of 16384(4,11): 15 of 16384(4,12): 17 of 16384(4,13): 35 of 16384(4,14): 25 of 16384(4,16): 41 of 16384(4,17): 9 of 16384(4,18): 5 of 16384(4,20): 8 of 16384(4,22): 13 of 16384(4,23): 8 of 16384(4,24): 9 of 16384(4,26): 4 of 16384(4,28): 50 of 16384(4,29): 32 of 16384(5,4): 28 of 16384(5,7): 13 of 16384(5,8): 22 of 16384(5,9): 24 of 16384(5,10): 73 of 16384(5,11): 24 of 16384(5,12): 18 of 16384(5,13): 122 of 16384(5,14): 61 of 16384(5,16): 84 of 16384(5,17): 19 of 16384(5,18): 84 of 16384(5,20): 32 of 16384(5,21): 16 of 16384(5,22): 18 of 16384(5,23): 6 of 16384(5,24): 36 of 16384(5,25): 28 of 16384(5,26): 15 of 16384(5,27): 13 of 16384(5,28): 13 of 16384(5,29): 67 of 16384(5,30): 38 of 16384(6,4): 12 of 16384(6,5): 8 of 16384(6,6): 7 of 16384(6,7): 61 of 16384(6,8): 71 of 16384(6,9): 24 of 16384(6,10): 19 of 16384(6,11): 17 of 16384(6,12): 58 of 16384(6,13): 25 of 16384(6,14): 28 of 16384(6,17): 29 of 16384(6,18): 16 of 16384(6,19): 6 of 16384(6,20): 7 of 16384(6,21): 21 of 16384(6,23): 32 of 16384(6,24): 86 of 16384(6,25): 4 of 16384(6,26): 32 of 16384(6,27): 30 of 16384(6,28): 50 of 16384(6,29): 7 of 16384(6,30): 47 of 16384(7,4): 23 of 16384(7,5): 52 of 16384(7,6): 38 of 16384(7,8): 23 of 16384(7,9): 11 of 16384(7,10): 31 of 16384(7,11): 25 of 16384(7,13): 50 of 16384(7,18): 16 of 16384(7,19): 7 of 16384(7,22): 23 of 16384(7,23): 16 of 16384(7,24): 40 of 16384(7,25): 7 of 16384(7,26): 14 of 16384(7,28): 10 of 16384(7,29): 50 of 16384(7,30): 24 of 16384(8,7): 19 of 16384(8,8): 53 of 16384(8,9): 32 of 16384(8,10): 28 of 16384(8,11): 30 of 16384(8,12): 30 of 16384(8,13): 20 of 16384(8,15): 6 of 16384(8,16): 5 of 16384(8,18): 4 of 16384(8,19): 40 of 16384(8,20): 19 of 16384(8,21): 19 of 16384(8,22): 17 of 16384(8,23): 10 of 16384(8,24): 25 of 16384(8,25): 22 of 16384(8,26): 18 of 16384(8,27): 28 of 16384(8,28): 55 of 16384(8,29): 7 of 16384(9,7): 12 of 16384(9,8): 6 of 16384(9,9): 67 of 16384(9,10): 14 of 16384(9,11): 6 of 16384(9,13): 84 of 16384(9,17): 16 of 16384(9,18): 20 of 16384(9,19): 39 of 16384(9,20): 24 of 16384(9,21): 22 of 16384(9,22): 19 of 16384(9,24): 20 of 16384(9,25): 6 of 16384(9,26): 32 of 16384(9,27): 22 of 16384(9,28): 48 of 16384(9,29): 52 of 16384(10,8): 11 of 16384(10,9): 18 of 16384(10,10): 37 of 16384(10,11): 23 of 16384(10,12): 21 of 16384(10,13): 8 of 16384(10,14): 7 of 16384(10,15): 17 of 16384(10,16): 23 of 16384(10,17): 34 of 16384(10,18): 11 of 16384(10,19): 21 of 16384(10,21): 6 of 16384(10,22): 5 of 16384(10,23): 12 of 16384(10,24): 9 of 16384(10,25): 21 of 16384(10,27): 17 of 16384(10,28): 71 of 16384(11,6): 37 of 16384(11,7): 40 of 16384(11,8): 37 of 16384(11,9): 24 of 16384(11,10): 29 of 16384(11,11): 12 of 16384(11,13): 73 of 16384(11,14): 34 of 16384(11,15): 4 of 16384(11,16): 49 of 16384(11,17): 50 of 16384(11,18): 15 of 16384(11,19): 26 of 16384(11,21): 19 of 16384(11,22): 5 of 16384(11,23): 49 of 16384(11,24): 56 of 16384(11,25): 32 of 16384(11,26): 22 of 16384(12,7): 4 of 16384(12,8): 17 of 16384(12,9): 28 of 16384(12,10): 5 of 16384(12,11): 13 of 16384(12,12): 33 of 16384(12,13): 30 of 16384(12,14): 8 of 16384(12,15): 25 of 16384(12,16): 10 of 16384(12,17): 23 of 16384(12,19): 5 of 16384(12,24): 24 of 16384(12,26): 34 of 16384(12,27): 36 of 16384(13,4): 30 of 16384(13,5): 46 of 16384(13,6): 32 of 16384(13,7): 50 of 16384(13,8): 54 of 16384(13,9): 14 of 16384(13,10): 32 of 16384(13,11): 59 of 16384(13,12): 20 of 16384(13,13): 74 of 16384(13,14): 73 of 16384(13,15): 28 of 16384(13,16): 90 of 16384(13,17): 14 of 16384(13,18): 48 of 16384(13,20): 100 of 16384(13,21): 84 of 16384(13,24): 60 of 16384(13,25): 40 of 16384(13,26): 36 of 16384(13,27): 96 of 16384(13,28): 29 of 16384(13,29): 76 of 16384(13,30): 36 of 16384(14,3): 42 of 16384(14,4): 45 of 16384(14,5): 47 of 16384(14,6): 16 of 16384(14,7): 17 of 16384(14,8): 53 of 16384(14,9): 12 of 16384(14,10): 18 of 16384(14,11): 50 of 16384(14,12): 34 of 16384(14,13): 43 of 16384(14,14): 33 of 16384(14,15): 44 of 16384(14,16): 24 of 16384(14,17): 10 of 16384(14,21): 22 of 16384(14,24): 17 of 16384(14,25): 20 of 16384(14,26): 12 of 16384(14,27): 36 of 16384(14,28): 30 of 16384(14,29): 19 of 16384(14,30): 6 of 16384(15,3): 16 of 16384(15,4): 20 of 16384(15,5): 15 of 16384(15,6): 77 of 16384(15,7): 32 of 16384(15,9): 35 of 16384(15,10): 19 of 16384(15,11): 32 of 16384(15,12): 37 of 16384(15,13): 40 of 16384(15,14): 30 of 16384(15,15): 133 of 16384(15,16): 38 of 16384(15,21): 7 of 16384(15,23): 8 of 16384(15,24): 20 of 16384(15,25): 22 of 16384(15,26): 28 of 16384(15,28): 53 of 16384(15,29): 50 of 16384(15,30): 18 of 16384(16,3): 11 of 16384(16,4): 27 of 16384(16,5): 78 of 16384(16,6): 36 of 16384(16,7): 21 of 16384(16,8): 17 of 16384(16,9): 53 of 16384(16,10): 10 of 16384(16,11): 44 of 16384(16,12): 17 of 16384(16,13): 39 of 16384(16,14): 32 of 16384(16,15): 37 of 16384(16,16): 20 of 16384(16,19): 19 of 16384(16,20): 5 of 16384(16,21): 25 of 16384(16,25): 46 of 16384(17,3): 36 of 16384(17,4): 10 of 16384(17,5): 27 of 16384(17,6): 12 of 16384(17,7): 18 of 16384(17,8): 21 of 16384(17,9): 26 of 16384(17,10): 4 of 16384(17,11): 30 of 16384(17,13): 44 of 16384(17,14): 13 of 16384(17,16): 8 of 16384(17,20): 20 of 16384(17,21): 15 of 16384(17,22): 23 of 16384(18,4): 14 of 16384(18,5): 56 of 16384(18,6): 16 of 16384(18,7): 10 of 16384(18,8): 18 of 16384(18,9): 34 of 16384(18,10): 9 of 16384(18,11): 14 of 16384(18,12): 5 of 16384(18,13): 14 of 16384(18,14): 30 of 16384(18,15): 44 of 16384(18,17): 31 of 16384(18,18): 24 of 16384(18,19): 30 of 16384(18,20): 16 of 16384(18,21): 17 of 16384(18,22): 16 of 16384(18,25): 8 of 16384(18,26): 6 of 16384(18,28): 20 of 16384(19,5): 38 of 16384(19,6): 6 of 16384(19,7): 11 of 16384(19,8): 27 of 16384(19,10): 12 of 16384(19,11): 21 of 16384(19,12): 5 of 16384(19,13): 11 of 16384(19,14): 13 of 16384(19,15): 8 of 16384(19,16): 17 of 16384(19,17): 5 of 16384(19,18): 9 of 16384(19,19): 26 of 16384(19,20): 62 of 16384(19,21): 8 of 16384(19,25): 17 of 16384(19,26): 48 of 16384(19,27): 38 of 16384(19,28): 27 of 16384(20,10): 7 of 16384(20,11): 11 of 16384(20,12): 41 of 16384(20,13): 43 of 16384(20,14): 30 of 16384(20,15): 34 of 16384(20,16): 27 of 16384(20,17): 7 of 16384(20,18): 23 of 16384(20,19): 41 of 16384(20,20): 11 of 16384(20,21): 68 of 16384(20,22): 11 of 16384(20,25): 9 of 16384(20,28): 92 of 16384(21,4): 22 of 16384(21,5): 50 of 16384(21,6): 15 of 16384(21,8): 16 of 16384(21,9): 7 of 16384(21,10): 7 of 16384(21,11): 26 of 16384(21,12): 25 of 16384(21,13): 57 of 16384(21,14): 18 of 16384(21,15): 29 of 16384(21,17): 16 of 16384(21,18): 12 of 16384(21,19): 23 of 16384(21,20): 20 of 16384(21,21): 13 of 16384(21,22): 46 of 16384(21,23): 22 of 16384(21,24): 23 of 16384(21,25): 13 of 16384(21,26): 10 of 16384(22,4): 17 of 16384(22,5): 68 of 16384(22,6): 6 of 16384(22,8): 38 of 16384(22,9): 5 of 16384(22,10): 17 of 16384(22,11): 16 of 16384(22,12): 39 of 16384(22,13): 11 of 16384(22,14): 10 of 16384(22,15): 14 of 16384(22,16): 33 of 16384(22,17): 37 of 16384(22,18): 22 of 16384(22,21): 24 of 16384(22,22): 7 of 16384(22,23): 16 of 16384(22,24): 42 of 16384(22,25): 12 of 16384(23,6): 5 of 16384(23,9): 32 of 16384(23,11): 16 of 16384(23,12): 16 of 16384(23,13): 57 of 16384(23,15): 9 of 16384(23,16): 63 of 16384(23,17): 4 of 16384(23,18): 6 of 16384(23,19): 5 of 16384(23,20): 5 of 16384(23,21): 8 of 16384(23,22): 18 of 16384(23,24): 7 of 16384(23,25): 5 of 16384(23,26): 5 of 16384(23,27): 5 of 16384(24,4): 46 of 16384(24,5): 12 of 16384(24,6): 66 of 16384(24,7): 49 of 16384(24,9): 50 of 16384(24,10): 27 of 16384(24,11): 32 of 16384(24,12): 51 of 16384(24,13): 68 of 16384(24,15): 73 of 16384(24,16): 80 of 16384(24,17): 9 of 16384(24,19): 10 of 16384(24,20): 14 of 16384(24,21): 5 of 16384(24,22): 14 of 16384(24,23): 26 of 16384(24,24): 9 of 16384(24,25): 32 of 16384(24,26): 30 of 16384(24,27): 5 of 16384(24,28): 25 of 16384(24,29): 51 of 16384(25,4): 16 of 16384(25,5): 17 of 16384(25,6): 17 of 16384(25,8): 23 of 16384(25,10): 13 of 16384(25,11): 41 of 16384(25,17): 27 of 16384(25,18): 5 of 16384(25,20): 13 of 16384(25,21): 10 of 16384(25,22): 6 of 16384(25,23): 8 of 16384(25,24): 6 of 16384(25,25): 4 of 16384(25,26): 32 of 16384(25,27): 10 of 16384(25,28): 27 of 16384(25,29): 29 of 16384(26,4): 10 of 16384(26,5): 14 of 16384(26,6): 21 of 16384(26,7): 12 of 16384(26,8): 48 of 16384(26,9): 8 of 16384(26,10): 12 of 16384(26,17): 29 of 16384(26,19): 71 of 16384(26,20): 96 of 16384(26,22): 7 of 16384(26,23): 6 of 16384(26,24): 13 of 16384(26,26): 11 of 16384(26,27): 11 of 16384(26,28): 20 of 16384(26,29): 36 of 16384(26,30): 59 of 16384(27,3): 7 of 16384(27,8): 20 of 16384(27,9): 22 of 16384(27,11): 26 of 16384(27,12): 28 of 16384(27,22): 10 of 16384(27,23): 11 of 16384(27,24): 7 of 16384(27,26): 16 of 16384(27,27): 30 of 16384(27,28): 57 of 16384(27,29): 75 of 16384(28,3): 54 of 16384(28,7): 76 of 16384(28,8): 15 of 16384(28,9): 60 of 16384(28,10): 45 of 16384(28,11): 61 of 16384(28,15): 27 of 16384(28,17): 13 of 16384(28,21): 75 of 16384(28,22): 4 of 16384(28,23): 53 of 16384(28,24): 30 of 16384(28,26): 11 of 16384(28,27): 5 of 16384(28,28): 18 of 16384(28,29): 155 of 16384(28,30): 113 of 16384(29,3): 24 of 16384(29,7): 6 of 16384(29,8): 14 of 16384(29,9): 30 of 16384(29,10): 16 of 16384(29,11): 311 of 16384(29,15): 10 of 16384(29,16): 12 of 16384(29,17): 31 of 16384(29,20): 34 of 16384(29,21): 75 of 16384(29,22): 124 of 16384(29,23): 19 of 16384(29,24): 5 of 16384(29,27): 13 of 16384(29,28): 83 of 16384(29,29): 15 of 16384(29,30): 152 of 16384(30,3): 99 of 16384(30,8): 47 of 16384(30,9): 45 of 16384(30,10): 16 of 16384(30,16): 42 of 16384(30,17): 13 of 16384(30,22): 51 of 16384(30,23): 15 of 16384(30,24): 94 of 16384(30,29): 76 of 16384(30,30): 64 of 16384V0V1V2V3O0O1O2O3K
(31,0)(30,0)(31,1)(29,0)(30,1)(31,2)(28,0)(29,1)(30,2)(31,3)(27,0)(28,1)(29,2)(30,3)(31,4)(26,0)(27,1)(28,2)(29,3)(30,4)(31,5)(25,0)(26,1)(27,2)(28,3)(29,4)(30,5)(31,6)(24,0)(25,1)(26,2)(27,3)(28,4)(29,5)(30,6)(31,7)(23,0)(24,1)(25,2)(26,3)(27,4)(28,5)(29,6)(30,7)(31,8)(22,0)(23,1)(24,2)(25,3)(26,4)(27,5)(28,6)(29,7)(30,8)(31,9)(21,0)(22,1)(23,2)(24,3)(25,4)(26,5)(27,6)(28,7)(29,8)(30,9)(31,10)(20,0)(21,1)(22,2)(23,3)(24,4)(25,5)(26,6)(27,7)(28,8)(29,9)(30,10)(31,11)(19,0)(20,1)(21,2)(22,3)(23,4)(24,5)(25,6)(26,7)(27,8)(28,9)(29,10)(30,11)(31,12)(18,0)(19,1)(20,2)(21,3)(22,4)(23,5)(24,6)(25,7)(26,8)(27,9)(28,10)(29,11)(30,12)(31,13)(17,0)(18,1)(19,2)(20,3)(21,4)(22,5)(23,6)(24,7)(25,8)(26,9)(27,10)(28,11)(29,12)(30,13)(31,14)(16,0)(17,1)(18,2)(19,3)(20,4)(21,5)(22,6)(23,7)(24,8)(25,9)(26,10)(27,11)(28,12)(29,13)(30,14)(31,15)(15,0)(16,1)(17,2)(18,3)(19,4)(20,5)(21,6)(22,7)(23,8)(24,9)(25,10)(26,11)(27,12)(28,13)(29,14)(30,15)(31,16)(14,0)(15,1)(16,2)(17,3)(18,4)(19,5)(20,6)(21,7)(22,8)(23,9)(24,10)(25,11)(26,12)(27,13)(28,14)(29,15)(30,16)(31,17)(13,0)(14,1)(15,2)(16,3)(17,4)(18,5)(19,6)(20,7)(21,8)(22,9)(23,10)(24,11)(25,12)(26,13)(27,14)(28,15)(29,16)(30,17)(31,18)(12,0)(13,1)(14,2)(15,3)(16,4)(17,5)(18,6)(19,7)(20,8)(21,9)(22,10)(23,11)(24,12)(25,13)(26,14)(27,15)(28,16)(29,17)(30,18)(31,19)(11,0)(12,1)(13,2)(14,3)(15,4)(16,5)(17,6)(18,7)(19,8)(20,9)(21,10)(22,11)(23,12)(24,13)(25,14)(26,15)(27,16)(28,17)(29,18)(30,19)(31,20)(10,0)(11,1)(12,2)(13,3)(14,4)(15,5)(16,6)(17,7)(18,8)(19,9)(20,10)(21,11)(22,12)(23,13)(24,14)(25,15)(26,16)(27,17)(28,18)(29,19)(30,20)(31,21)(9,0)(10,1)(11,2)(12,3)(13,4)(14,5)(15,6)(16,7)(17,8)(18,9)(19,10)(20,11)(21,12)(22,13)(23,14)(24,15)(25,16)(26,17)(27,18)(28,19)(29,20)(30,21)(31,22)(8,0)(9,1)(10,2)(11,3)(12,4)(13,5)(14,6)(15,7)(16,8)(17,9)(18,10)(19,11)(20,12)(21,13)(22,14)(23,15)(24,16)(25,17)(26,18)(27,19)(28,20)(29,21)(30,22)(31,23)(7,0)(8,1)(9,2)(10,3)(11,4)(12,5)(13,6)(14,7)(15,8)(16,9)(17,10)(18,11)(19,12)(20,13)(21,14)(22,15)(23,16)(24,17)(25,18)(26,19)(27,20)(28,21)(29,22)(30,23)(31,24)(6,0)(7,1)(8,2)(9,3)(10,4)(11,5)(12,6)(13,7)(14,8)(15,9)(16,10)(17,11)(18,12)(19,13)(20,14)(21,15)(22,16)(23,17)(24,18)(25,19)(26,20)(27,21)(28,22)(29,23)(30,24)(31,25)(5,0)(6,1)(7,2)(8,3)(9,4)(10,5)(11,6)(12,7)(13,8)(14,9)(15,10)(16,11)(17,12)(18,13)(19,14)(20,15)(21,16)(22,17)(23,18)(24,19)(25,20)(26,21)(27,22)(28,23)(29,24)(30,25)(31,26)(4,0)(5,1)(6,2)(7,3)(8,4)(9,5)(10,6)(11,7)(12,8)(13,9)(14,10)(15,11)(16,12)(17,13)(18,14)(19,15)(20,16)(21,17)(22,18)(23,19)(24,20)(25,21)(26,22)(27,23)(28,24)(29,25)(30,26)(31,27)(3,0)(4,1)(5,2)(6,3)(7,4)(8,5)(9,6)(10,7)(11,8)(12,9)(13,10)(14,11)(15,12)(16,13)(17,14)(18,15)(19,16)(20,17)(21,18)(22,19)(23,20)(24,21)(25,22)(26,23)(27,24)(28,25)(29,26)(30,27)(31,28)(2,0)(3,1)(4,2)(5,3)(6,4)(7,5)(8,6)(9,7)(10,8)(11,9)(12,10)(13,11)(14,12)(15,13)(16,14)(17,15)(18,16)(19,17)(20,18)(21,19)(22,20)(23,21)(24,22)(25,23)(26,24)(27,25)(28,26)(29,27)(30,28)(31,29)(1,0)(2,1)(3,2)(4,3)(5,4)(6,5)(7,6)(8,7)(9,8)(10,9)(11,10)(12,11)(13,12)(14,13)(15,14)(16,15)(17,16)(18,17)(19,18)(20,19)(21,20)(22,21)(23,22)(24,23)(25,24)(26,25)(27,26)(28,27)(29,28)(30,29)(31,30)(0,0)(1,1)(2,2)(3,3)(4,4)(5,5)(6,6)(7,7)(8,8)(9,9)(10,10)(11,11)(12,12)(13,13)(14,14)(15,15)(16,16)(17,17)(18,18)(19,19)(20,20)(21,21)(22,22)(23,23)(24,24)(25,25)(26,26)(27,27)(28,28)(29,29)(30,30)(31,31)(0,1)(1,2)(2,3)(3,4)(4,5)(5,6)(6,7)(7,8)(8,9)(9,10)(10,11)(11,12)(12,13)(13,14)(14,15)(15,16)(16,17)(17,18)(18,19)(19,20)(20,21)(21,22)(22,23)(23,24)(24,25)(25,26)(26,27)(27,28)(28,29)(29,30)(30,31)(0,2)(1,3)(2,4)(3,5)(4,6)(5,7)(6,8)(7,9)(8,10)(9,11)(10,12)(11,13)(12,14)(13,15)(14,16)(15,17)(16,18)(17,19)(18,20)(19,21)(20,22)(21,23)(22,24)(23,25)(24,26)(25,27)(26,28)(27,29)(28,30)(29,31)(0,3)(1,4)(2,5)(3,6)(4,7)(5,8)(6,9)(7,10)(8,11)(9,12)(10,13)(11,14)(12,15)(13,16)(14,17)(15,18)(16,19)(17,20)(18,21)(19,22)(20,23)(21,24)(22,25)(23,26)(24,27)(25,28)(26,29)(27,30)(28,31)(0,4)(1,5)(2,6)(3,7)(4,8)(5,9)(6,10)(7,11)(8,12)(9,13)(10,14)(11,15)(12,16)(13,17)(14,18)(15,19)(16,20)(17,21)(18,22)(19,23)(20,24)(21,25)(22,26)(23,27)(24,28)(25,29)(26,30)(27,31)(0,5)(1,6)(2,7)(3,8)(4,9)(5,10)(6,11)(7,12)(8,13)(9,14)(10,15)(11,16)(12,17)(13,18)(14,19)(15,20)(16,21)(17,22)(18,23)(19,24)(20,25)(21,26)(22,27)(23,28)(24,29)(25,30)(26,31)(0,6)(1,7)(2,8)(3,9)(4,10)(5,11)(6,12)(7,13)(8,14)(9,15)(10,16)(11,17)(12,18)(13,19)(14,20)(15,21)(16,22)(17,23)(18,24)(19,25)(20,26)(21,27)(22,28)(23,29)(24,30)(25,31)(0,7)(1,8)(2,9)(3,10)(4,11)(5,12)(6,13)(7,14)(8,15)(9,16)(10,17)(11,18)(12,19)(13,20)(14,21)(15,22)(16,23)(17,24)(18,25)(19,26)(20,27)(21,28)(22,29)(23,30)(24,31)(0,8)(1,9)(2,10)(3,11)(4,12)(5,13)(6,14)(7,15)(8,16)(9,17)(10,18)(11,19)(12,20)(13,21)(14,22)(15,23)(16,24)(17,25)(18,26)(19,27)(20,28)(21,29)(22,30)(23,31)(0,9)(1,10)(2,11)(3,12)(4,13)(5,14)(6,15)(7,16)(8,17)(9,18)(10,19)(11,20)(12,21)(13,22)(14,23)(15,24)(16,25)(17,26)(18,27)(19,28)(20,29)(21,30)(22,31)(0,10)(1,11)(2,12)(3,13)(4,14)(5,15)(6,16)(7,17)(8,18)(9,19)(10,20)(11,21)(12,22)(13,23)(14,24)(15,25)(16,26)(17,27)(18,28)(19,29)(20,30)(21,31)(0,11)(1,12)(2,13)(3,14)(4,15)(5,16)(6,17)(7,18)(8,19)(9,20)(10,21)(11,22)(12,23)(13,24)(14,25)(15,26)(16,27)(17,28)(18,29)(19,30)(20,31)(0,12)(1,13)(2,14)(3,15)(4,16)(5,17)(6,18)(7,19)(8,20)(9,21)(10,22)(11,23)(12,24)(13,25)(14,26)(15,27)(16,28)(17,29)(18,30)(19,31)(0,13)(1,14)(2,15)(3,16)(4,17)(5,18)(6,19)(7,20)(8,21)(9,22)(10,23)(11,24)(12,25)(13,26)(14,27)(15,28)(16,29)(17,30)(18,31)(0,14)(1,15)(2,16)(3,17)(4,18)(5,19)(6,20)(7,21)(8,22)(9,23)(10,24)(11,25)(12,26)(13,27)(14,28)(15,29)(16,30)(17,31)(0,15)(1,16)(2,17)(3,18)(4,19)(5,20)(6,21)(7,22)(8,23)(9,24)(10,25)(11,26)(12,27)(13,28)(14,29)(15,30)(16,31)(0,16)(1,17)(2,18)(3,19)(4,20)(5,21)(6,22)(7,23)(8,24)(9,25)(10,26)(11,27)(12,28)(13,29)(14,30)(15,31)(0,17)(1,18)(2,19)(3,20)(4,21)(5,22)(6,23)(7,24)(8,25)(9,26)(10,27)(11,28)(12,29)(13,30)(14,31)(0,18)(1,19)(2,20)(3,21)(4,22)(5,23)(6,24)(7,25)(8,26)(9,27)(10,28)(11,29)(12,30)(13,31)(0,19)(1,20)(2,21)(3,22)(4,23)(5,24)(6,25)(7,26)(8,27)(9,28)(10,29)(11,30)(12,31)(0,20)(1,21)(2,22)(3,23)(4,24)(5,25)(6,26)(7,27)(8,28)(9,29)(10,30)(11,31)(0,21)(1,22)(2,23)(3,24)(4,25)(5,26)(6,27)(7,28)(8,29)(9,30)(10,31)(0,22)(1,23)(2,24)(3,25)(4,26)(5,27)(6,28)(7,29)(8,30)(9,31)(0,23)(1,24)(2,25)(3,26)(4,27)(5,28)(6,29)(7,30)(8,31)(0,24)(1,25)(2,26)(3,27)(4,28)(5,29)(6,30)(7,31)(0,25)(1,26)(2,27)(3,28)(4,29)(5,30)(6,31)(0,26)(1,27)(2,28)(3,29)(4,30)(5,31)(0,27)(1,28)(2,29)(3,30)(4,31)(0,28)(1,29)(2,30)(3,31)(0,29)(1,30)(2,31)(0,30)(1,31)(0,31)

Cell types: the number the map holds (TOWN) for every cell but open ground (type 0, 346 cells) and type 1 (398 cells), the solid walls: the ring round the town and the blocks inside it, left unnumbered so that the rest can be read. The other 280 cells are of 32 types. Click any cell, numbered or not, for its type on the cell types page.

The 625 cells that count: 625 cells, every one that is not type 1 or 2. They are the cells a knight can be in: RANDOM_START_CELL, PLACE_OBJECTS and PLACE_VILLAINS all pass over types 1 and 2 when they choose a cell, and those two types' boxes close all four sides. Each is a bit in VISITED once he has been there (VISIT_CELL), and PERCENTAGE counts a unit for each and three for each villain destroyed: 625 and 12 make 637, which it turns into exactly 100%. Measured: PERCENTAGE run with these 625 bits set gives 98% with the four villains alive and 100% with them gone.

Where finds come from: every cell a find can come from, coloured by the kind of antibody it gives. Every sixteenth turn SPAWN_FIND puts a find in the knight's cell if its type has any left in STOCKS; the kind is the type's low two bits: types with low bits 0 give graphic 48, carried as thing 5 (magenta); types with low bits 1 give graphic 52, carried as thing 6 (green); types with low bits 2 give graphic 56, carried as thing 7 (cyan); types with low bits 3 give graphic 60, carried as thing 8 (yellow). Measured: SPAWN_FIND run with the knight in a cell of each type made exactly that graphic for types 2 to 35. The stock is the type's, shared by every cell of the type, and STOCK_BUILDINGS sets it at every new game to 16-31 for each type from 2 to 35 (measured over all 4096 places in the ROM it can read from); types 0 and 1 get none, so open ground gives nothing, and type 2's stock is never drawn on because no knight can stand in its one cell, (28,16). A find left behind goes back to its type's stock (FIND_WANDER).

Where a new game can start: 625 cells, every standable one. RANDOM_START_CELL takes ten bits of the random number as a cell of the map and, if it is solid, steps on through the map, wrapping at the end, to the next that is not; so a cell just after a run of solid ones in the map is chosen for the whole run. Measured: the routine run from just after its stir on all 1024 values gave these cells, each marked by how many of the 1024 choose it -- from 1 up to 67 for (1,1), 29 for (1,2), 29 for (1,3), 18 for (8,15), 12 for (6,5). How likely each is in a real game depends on how even the random number's low ten bits are, which is not measured here.

Where objects and villains can be put: 557 of the 625 standable cells. At a new game PLACE_VILLAINS and then PLACE_OBJECTS each take the random number's low twelve bits as an address in the first 4K of the ROM and read the bytes from there in pairs, a column and a row each masked to 0-31, taking the first four that are not solid cells for their four records and passing over the rest. So only the cells some pair of the ROM's bytes spells can ever hold a villain or an object, and the same cells for both. Measured: both routines run from just after their stirs on all 4096 values put their four records in these cells and no others, the same four for the same value, and exactly where a walk of the ROM's pairs from that address says; the furthest any walk reads is $100B. Each cell is marked by how many of the 4 x 4096 places land there. Nothing keeps two apart, or a villain out of the knight's first cell.

One game's villains and objects: the four villains (V0-V3, records 0-3 at VILLAINS) and four objects (O0-O3; object record n kills villain n) in the simulator's game, the one this page was drawn from, at the start of its first turn after the knight appeared -- the objects where they were put, the villains a few steps on -- and the knight's first cell (K): V0 (13,5) (graphic 110); V1 (11,17) (graphic 106); V2 (18,17) (graphic 102); V3 (28,9) (graphic 98); O0 (11,14) (graphic 7); O1 (11,6) (graphic 6); O2 (13,13) (graphic 5); O3 (13,29) (graphic 4); K (4,27). Another game puts them elsewhere, but always in the cells of the last layer.

The walls the knight bumps into: every cell's boxes (the lists at BOX_TABLE), drawn on the ground where they stand: the walls the collision code tests the knight and everything else against (HIT_BOXES_U and the routines round it), for every cell but the solid ones of types 1 and 2, whose four walls are whole. A gap in a wall is a way in. They are drawn here from the lists; the game never draws a box.

Walking about. Taking two neighbouring cells to be joined where the knight's box, centred on the edge between them, can stand somewhere along it without meeting a box of either -- the test OVERLAP_U makes, with his half-size of 16 halved as it halves it -- 738 of the 1984 edges are open, and of the 625 standable cells all 625 are one region: the knight can walk from any to any. Then measured: for each of the 1092 edges between two standable cells the knight was stood in the middle of the first, level with the gap the boxes leave (or the middle of the edge where they leave none), facing the second, and walked for four seconds of the game with everything else cleared out of his way; an edge he did not cross was tried again from nearer it and after a few turns of the game. He crossed 738 of them, exactly the open ones. The town's edge is all type 1, so nothing ever reaches the end of the map, and the look-ups that do not check a column or a row against 32 never need to.

The town turned round

Z or SYMBOL SHIFT turns the town round, to be seen from the opposite corner (VIEW; the panel then says south). Nothing is moved: the drawing reads the map backwards from its last byte (LOOK_UP_CELL), which is column 31 - c and row 31 - r (TURN_CELL), turns every position the same way, and takes each type's second building definition, which draws the building's other two walls -- the ones the usual view has at the back. Here is the whole town that way round, drawn the same way; at full size.

The town, turned round
(0,31)(1,31)(0,30)(2,31)(1,30)(0,29)(3,31)(2,30)(1,29)(0,28)(4,31)(3,30)(2,29)(1,28)(0,27)(5,31)(4,30)(3,29)(2,28)(1,27)(0,26)(6,31)(5,30)(4,29)(3,28)(2,27)(1,26)(0,25)(7,31)(6,30)(5,29)(4,28)(3,27)(2,26)(1,25)(0,24)(8,31)(7,30)(6,29)(5,28)(4,27)(3,26)(2,25)(1,24)(0,23)(9,31)(8,30)(7,29)(6,28)(5,27)(4,26)(3,25)(2,24)(1,23)(0,22)(10,31)(9,30)(8,29)(7,28)(6,27)(5,26)(4,25)(3,24)(2,23)(1,22)(0,21)(11,31)(10,30)(9,29)(8,28)(7,27)(6,26)(5,25)(4,24)(3,23)(2,22)(1,21)(0,20)(12,31)(11,30)(10,29)(9,28)(8,27)(7,26)(6,25)(5,24)(4,23)(3,22)(2,21)(1,20)(0,19)(13,31)(12,30)(11,29)(10,28)(9,27)(8,26)(7,25)(6,24)(5,23)(4,22)(3,21)(2,20)(1,19)(0,18)(14,31)(13,30)(12,29)(11,28)(10,27)(9,26)(8,25)(7,24)(6,23)(5,22)(4,21)(3,20)(2,19)(1,18)(0,17)(15,31)(14,30)(13,29)(12,28)(11,27)(10,26)(9,25)(8,24)(7,23)(6,22)(5,21)(4,20)(3,19)(2,18)(1,17)(0,16)(16,31)(15,30)(14,29)(13,28)(12,27)(11,26)(10,25)(9,24)(8,23)(7,22)(6,21)(5,20)(4,19)(3,18)(2,17)(1,16)(0,15)(17,31)(16,30)(15,29)(14,28)(13,27)(12,26)(11,25)(10,24)(9,23)(8,22)(7,21)(6,20)(5,19)(4,18)(3,17)(2,16)(1,15)(0,14)(18,31)(17,30)(16,29)(15,28)(14,27)(13,26)(12,25)(11,24)(10,23)(9,22)(8,21)(7,20)(6,19)(5,18)(4,17)(3,16)(2,15)(1,14)(0,13)(19,31)(18,30)(17,29)(16,28)(15,27)(14,26)(13,25)(12,24)(11,23)(10,22)(9,21)(8,20)(7,19)(6,18)(5,17)(4,16)(3,15)(2,14)(1,13)(0,12)(20,31)(19,30)(18,29)(17,28)(16,27)(15,26)(14,25)(13,24)(12,23)(11,22)(10,21)(9,20)(8,19)(7,18)(6,17)(5,16)(4,15)(3,14)(2,13)(1,12)(0,11)(21,31)(20,30)(19,29)(18,28)(17,27)(16,26)(15,25)(14,24)(13,23)(12,22)(11,21)(10,20)(9,19)(8,18)(7,17)(6,16)(5,15)(4,14)(3,13)(2,12)(1,11)(0,10)(22,31)(21,30)(20,29)(19,28)(18,27)(17,26)(16,25)(15,24)(14,23)(13,22)(12,21)(11,20)(10,19)(9,18)(8,17)(7,16)(6,15)(5,14)(4,13)(3,12)(2,11)(1,10)(0,9)(23,31)(22,30)(21,29)(20,28)(19,27)(18,26)(17,25)(16,24)(15,23)(14,22)(13,21)(12,20)(11,19)(10,18)(9,17)(8,16)(7,15)(6,14)(5,13)(4,12)(3,11)(2,10)(1,9)(0,8)(24,31)(23,30)(22,29)(21,28)(20,27)(19,26)(18,25)(17,24)(16,23)(15,22)(14,21)(13,20)(12,19)(11,18)(10,17)(9,16)(8,15)(7,14)(6,13)(5,12)(4,11)(3,10)(2,9)(1,8)(0,7)(25,31)(24,30)(23,29)(22,28)(21,27)(20,26)(19,25)(18,24)(17,23)(16,22)(15,21)(14,20)(13,19)(12,18)(11,17)(10,16)(9,15)(8,14)(7,13)(6,12)(5,11)(4,10)(3,9)(2,8)(1,7)(0,6)(26,31)(25,30)(24,29)(23,28)(22,27)(21,26)(20,25)(19,24)(18,23)(17,22)(16,21)(15,20)(14,19)(13,18)(12,17)(11,16)(10,15)(9,14)(8,13)(7,12)(6,11)(5,10)(4,9)(3,8)(2,7)(1,6)(0,5)(27,31)(26,30)(25,29)(24,28)(23,27)(22,26)(21,25)(20,24)(19,23)(18,22)(17,21)(16,20)(15,19)(14,18)(13,17)(12,16)(11,15)(10,14)(9,13)(8,12)(7,11)(6,10)(5,9)(4,8)(3,7)(2,6)(1,5)(0,4)(28,31)(27,30)(26,29)(25,28)(24,27)(23,26)(22,25)(21,24)(20,23)(19,22)(18,21)(17,20)(16,19)(15,18)(14,17)(13,16)(12,15)(11,14)(10,13)(9,12)(8,11)(7,10)(6,9)(5,8)(4,7)(3,6)(2,5)(1,4)(0,3)(29,31)(28,30)(27,29)(26,28)(25,27)(24,26)(23,25)(22,24)(21,23)(20,22)(19,21)(18,20)(17,19)(16,18)(15,17)(14,16)(13,15)(12,14)(11,13)(10,12)(9,11)(8,10)(7,9)(6,8)(5,7)(4,6)(3,5)(2,4)(1,3)(0,2)(30,31)(29,30)(28,29)(27,28)(26,27)(25,26)(24,25)(23,24)(22,23)(21,22)(20,21)(19,20)(18,19)(17,18)(16,17)(15,16)(14,15)(13,14)(12,13)(11,12)(10,11)(9,10)(8,9)(7,8)(6,7)(5,6)(4,5)(3,4)(2,3)(1,2)(0,1)(31,31)(30,30)(29,29)(28,28)(27,27)(26,26)(25,25)(24,24)(23,23)(22,22)(21,21)(20,20)(19,19)(18,18)(17,17)(16,16)(15,15)(14,14)(13,13)(12,12)(11,11)(10,10)(9,9)(8,8)(7,7)(6,6)(5,5)(4,4)(3,3)(2,2)(1,1)(0,0)(31,30)(30,29)(29,28)(28,27)(27,26)(26,25)(25,24)(24,23)(23,22)(22,21)(21,20)(20,19)(19,18)(18,17)(17,16)(16,15)(15,14)(14,13)(13,12)(12,11)(11,10)(10,9)(9,8)(8,7)(7,6)(6,5)(5,4)(4,3)(3,2)(2,1)(1,0)(31,29)(30,28)(29,27)(28,26)(27,25)(26,24)(25,23)(24,22)(23,21)(22,20)(21,19)(20,18)(19,17)(18,16)(17,15)(16,14)(15,13)(14,12)(13,11)(12,10)(11,9)(10,8)(9,7)(8,6)(7,5)(6,4)(5,3)(4,2)(3,1)(2,0)(31,28)(30,27)(29,26)(28,25)(27,24)(26,23)(25,22)(24,21)(23,20)(22,19)(21,18)(20,17)(19,16)(18,15)(17,14)(16,13)(15,12)(14,11)(13,10)(12,9)(11,8)(10,7)(9,6)(8,5)(7,4)(6,3)(5,2)(4,1)(3,0)(31,27)(30,26)(29,25)(28,24)(27,23)(26,22)(25,21)(24,20)(23,19)(22,18)(21,17)(20,16)(19,15)(18,14)(17,13)(16,12)(15,11)(14,10)(13,9)(12,8)(11,7)(10,6)(9,5)(8,4)(7,3)(6,2)(5,1)(4,0)(31,26)(30,25)(29,24)(28,23)(27,22)(26,21)(25,20)(24,19)(23,18)(22,17)(21,16)(20,15)(19,14)(18,13)(17,12)(16,11)(15,10)(14,9)(13,8)(12,7)(11,6)(10,5)(9,4)(8,3)(7,2)(6,1)(5,0)(31,25)(30,24)(29,23)(28,22)(27,21)(26,20)(25,19)(24,18)(23,17)(22,16)(21,15)(20,14)(19,13)(18,12)(17,11)(16,10)(15,9)(14,8)(13,7)(12,6)(11,5)(10,4)(9,3)(8,2)(7,1)(6,0)(31,24)(30,23)(29,22)(28,21)(27,20)(26,19)(25,18)(24,17)(23,16)(22,15)(21,14)(20,13)(19,12)(18,11)(17,10)(16,9)(15,8)(14,7)(13,6)(12,5)(11,4)(10,3)(9,2)(8,1)(7,0)(31,23)(30,22)(29,21)(28,20)(27,19)(26,18)(25,17)(24,16)(23,15)(22,14)(21,13)(20,12)(19,11)(18,10)(17,9)(16,8)(15,7)(14,6)(13,5)(12,4)(11,3)(10,2)(9,1)(8,0)(31,22)(30,21)(29,20)(28,19)(27,18)(26,17)(25,16)(24,15)(23,14)(22,13)(21,12)(20,11)(19,10)(18,9)(17,8)(16,7)(15,6)(14,5)(13,4)(12,3)(11,2)(10,1)(9,0)(31,21)(30,20)(29,19)(28,18)(27,17)(26,16)(25,15)(24,14)(23,13)(22,12)(21,11)(20,10)(19,9)(18,8)(17,7)(16,6)(15,5)(14,4)(13,3)(12,2)(11,1)(10,0)(31,20)(30,19)(29,18)(28,17)(27,16)(26,15)(25,14)(24,13)(23,12)(22,11)(21,10)(20,9)(19,8)(18,7)(17,6)(16,5)(15,4)(14,3)(13,2)(12,1)(11,0)(31,19)(30,18)(29,17)(28,16)(27,15)(26,14)(25,13)(24,12)(23,11)(22,10)(21,9)(20,8)(19,7)(18,6)(17,5)(16,4)(15,3)(14,2)(13,1)(12,0)(31,18)(30,17)(29,16)(28,15)(27,14)(26,13)(25,12)(24,11)(23,10)(22,9)(21,8)(20,7)(19,6)(18,5)(17,4)(16,3)(15,2)(14,1)(13,0)(31,17)(30,16)(29,15)(28,14)(27,13)(26,12)(25,11)(24,10)(23,9)(22,8)(21,7)(20,6)(19,5)(18,4)(17,3)(16,2)(15,1)(14,0)(31,16)(30,15)(29,14)(28,13)(27,12)(26,11)(25,10)(24,9)(23,8)(22,7)(21,6)(20,5)(19,4)(18,3)(17,2)(16,1)(15,0)(31,15)(30,14)(29,13)(28,12)(27,11)(26,10)(25,9)(24,8)(23,7)(22,6)(21,5)(20,4)(19,3)(18,2)(17,1)(16,0)(31,14)(30,13)(29,12)(28,11)(27,10)(26,9)(25,8)(24,7)(23,6)(22,5)(21,4)(20,3)(19,2)(18,1)(17,0)(31,13)(30,12)(29,11)(28,10)(27,9)(26,8)(25,7)(24,6)(23,5)(22,4)(21,3)(20,2)(19,1)(18,0)(31,12)(30,11)(29,10)(28,9)(27,8)(26,7)(25,6)(24,5)(23,4)(22,3)(21,2)(20,1)(19,0)(31,11)(30,10)(29,9)(28,8)(27,7)(26,6)(25,5)(24,4)(23,3)(22,2)(21,1)(20,0)(31,10)(30,9)(29,8)(28,7)(27,6)(26,5)(25,4)(24,3)(23,2)(22,1)(21,0)(31,9)(30,8)(29,7)(28,6)(27,5)(26,4)(25,3)(24,2)(23,1)(22,0)(31,8)(30,7)(29,6)(28,5)(27,4)(26,3)(25,2)(24,1)(23,0)(31,7)(30,6)(29,5)(28,4)(27,3)(26,2)(25,1)(24,0)(31,6)(30,5)(29,4)(28,3)(27,2)(26,1)(25,0)(31,5)(30,4)(29,3)(28,2)(27,1)(26,0)(31,4)(30,3)(29,2)(28,1)(27,0)(31,3)(30,2)(29,1)(28,0)(31,2)(30,1)(29,0)(31,1)(30,0)(31,0)

The map

TOWN: 1024 bytes, 32 rows of 32. A position in the town is a U and a V of 16 bits each, 256 units to a cell; the high byte of U is the cell's column and the high byte of V its row, so the cell is the byte at 32 times the row plus the column (LOOK_UP_CELL; PLACE_IN_CELL for the collision code). The low bytes are the place within the cell: every record keeps its cell in its position, and there is nothing like a room number.

ByteCellsWhat it is
0346Open ground: no building, no boxes, no finds. Nothing is drawn on it but what walks on it.
1398Solid: a building whose boxes close all four sides. The ring round the town and the blocks inside it. No find, and never a start or a place for a villain or object.
21Solid too, with its own building: (28,16). It is given a stock of finds like the types above it, which nothing can take.
3-35279Built on: 31 types in the map (types 11, 26 have buildings and boxes but no cell). The type picks the building, two definitions for the two views; the boxes; the ink of the walls, from its low two bits (green, cyan, yellow, white); and the kind of find, from the same two bits.

Every type's walls, outlines and boxes are on the cell types page, and the 58 building definitions on the buildings page. How many cells of each type:

TypeCellsTypeCellsTypeCellsTypeCells
034696187276
1398108198287
211102016295
3231210219304
412139229314
523145236323
6141521246337
72165254347
815179260359