diff --git a/MAP_DUMP b/MAP_DUMP new file mode 100644 index 0000000..0f6bb1b --- /dev/null +++ b/MAP_DUMP @@ -0,0 +1,1872 @@ + +Map for freq: j [LOOKS GOOD!] +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +...............................................j.. +.................................................. +........................................#......... +.................................................. +.................................................. +.................................................. +.................................................. +...........................................j...... +.................................................. +.................................................. +..................#............................... +................................j................. +..............................................j... +.................................................. +.......................................#.......... +.....................#............................ +.................................................. +.................................................# +.................................................. +.................................................. +.................................................. +.................#................................ +.................................................. +.................................................. +.............................................#.... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: X [LOOKS GOOD!] +.................................................. +.................................................. +.........................#........................ +.................................................. +.................................................. +.................................................. +...........................................#...... +.................................................. +.................................................. +..............#................................... +..........X....................................... +.......................X.......................... +....................................#............. +................................X................. +.................................................. +.........................................#........ +.................................................. +.................................................. +.................................................. +.................................................. +.....................X............................ +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +..........#....................................... +.................................................. +...................#.............................. +................................#................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: 3 [Maybe but verify again] +............................................#..... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.........................................#........ +...........................................3...... +.............................................3.... +...............................................#.. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +..............................................3... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +...............................................#.. +.................................................# +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: F [LOOKS GOOD!] +.................................................. +.................................................. +.................................................. +.................................................. +...........#...................................... +..............#................................... +.....................#............................ +.......#................#......................... +............F..................................... +.................F................................ +.......#..............#........................... +..........F....................................... +.............F.................................... +...#............#................................. +........#......................................... +.........#........................................ +..............#................................... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: u [LOOKS GOOD!] +.................................................. +.................................................. +.................................................. +.................................................. +..........u....................................... +.................................................. +.................................................. +.................................................. +.................................................. +......u........................................... +.................................................. +.................................................. +.................................................. +.................u................................ +..#............................................... +.................................................. +.................................................. +............................#..................... +.................................................. +.................................................. +.................................................. +.................................................. +........................#......................... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: Y [LOOKS GOOD!] +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +...............#.................................. +..........................#....................... +.................................................. +.................................................. +............................Y..................... +.................................................. +...................#.............................. +..............................Y................... +.........................................Y........ +.................................................. +................................#................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: 7 [LOOKS GOOD!] +...............7.................................. +..................7............................... +.....................#............................ +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +............................7..................... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +......................................#........... +.........................................#........ +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: O [LOOKS GOOD!] +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +................O................................. +.................................................. +.................................................. +.................................................. +.................................................. +..................................#............... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +..........................................#....... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.............................#.................... +.................................................. +.................................................. +.................................O................ +.................................................. +.................................................. +.....................................O............ +.................................................. +.................................................. +.........................................#........ +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +................................O................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: x [LOOKS GOOD!] +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.......................................#.......... +.................................................. +.........................................#........ +.................................................. +.................................................. +......................................#........... +.................................................. +........................................#......... +.................................................. +.................................................. +.................................................. +...........................#...................... +............................x..................... +.............................x.................... +...................#..........#................... +.................................................. +.................................................. +.................................................. +.................................................. +..................x............................... +.................................................. +.................................................. +.................................................. +.................................................. +.................x................................ + +Map for freq: o [LOOKS GOOD!] +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.......#.......................................... +.............#.................................... +...............................................#.. +.................................................. +.................................................. +......#........................................... +..........................o....................... +..............................................o... +.................................................. +.................................................. +.................................#................ +.......................................o.......... +.............................................o.... +.................................................. +.................................................. +................................#................. +.................................................. +............................................#..... +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: S [LOOKS GOOD!] +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +................#................................. +.................................................. +..........#....................................... +...........#...................................... +.............##................................... +.....#....S....................................... +.......S.......................................... +....#....S........................................ +...........#...................................... +........#......................................... +....S............................................. +.................................................. +.................................................. +.................................................. + +Map for freq: 1 [LOOKS GOOD!] +.................................................. +.................................................. +.................................................. +.............................#.................... +.................................................. +.................................................. +.................................................. +..............................................#... +.................................................. +.................................................. +......................................1........... +.................................................. +.................................................# +.................................................. +.................................................. +.................................................. +.................................................. +..........................................#....1.. +.................................................. +.................................................. +.................................................. +.................................................. +.............................................1.... +.................................................. +.................................................. +.................................................. +.................................................. +...........................................#....1. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: J [LOOKS GOOD!] +.................................................. +..........................................#....... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +........................................#......... +.................................................. +..........#....................................... +.................................................. +.................................................. +.................................................. +.................................................. +......................................#........... +.................................................. +.................................................. +.................................................. +.....................................J............ +.................................................. +.................................................. +.................................................. +....................................J............. +.....................J............................ +......#........................................... +.................................................. +...................................#.............. +.................................................. +.....#............................................ +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +................................J................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: 9 [LOOKS GOOD!] +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +......#........................................... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +....................#............................. +.................................................. +..................#............................... +.....9............................................ +.................................................. +.................................................. +.............#.................................... +............9..................................... +...........9...................................... +..........#....................................... +.................................................. +...................#.............................. +.................................................. +.................#................................ +....9............................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: 6 +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +............................................#..... +.................................................. +................................#................. +.................................................. +.................................................. +.................................................. +..................................#............... +................................................#. +.................................................. +....................................#............# +...........................................6...... +.....................................6............ +...............................#.................. +......................................6........... +.................................................. +.......................................#.......... +.................................#................ +.................................................. +.................................................. +.................................................. +..........................................6....... +.................................................. +.................................................. +.................................................. + +Map for freq: d +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +................#................................. +.................................................. +.......#.......................................... +.................................................. +.................................................. +....d............................................. +.................................................. +.....................#............................ +.................d................................ +.............d.................................... +.........#........................................ +..............................#................... +.................................................. +......................#........................... +.................................................. +.................................................. +..................d............................... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.......................#.......................... +...................#.............................. +.................................................. +.................................................. +................................#................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: t +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +..............................................#... +.................................................. +.................................................. +...............................................#.. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +............................................t..... +.............................................#.... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +...............................................#.. +.........................................t........ +.................................................. +.................................................. +..........................................t....... +.................................................. +.................................................. +...........................................#...... +.....................................t............ +......................................#........... +.................................................. +.................................................. +................................#................. +.................................................. +.................................................. +.................................#......#......... + +Map for freq: D +.........................................#........ +....................................#............. +.................................................. +.......................................D.......... +...............................................#.. +..........................................D....... +.....................................D............ +................................#............#.... +.................................................. +...................................#.............. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: c +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +....................#............................. +.................................................. +........#......................................... +.................................................. +.................................................. +.................................................. +...........................#...................... +.....................c............................ +...............c.................................. +.........#........................................ +.................................................. +.................................................. +.................................................. +.................................................. +......................c........................... + +Map for freq: U +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +...........................................#...... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +........................................#......... +.................................................. +.................................................. +....................................#....#........ +.................................................. +.................................................. +.................................................. +.................................................. +...................................U.............. +.................................#................ +......................................#........... +.................................................. +.................................................. +..................................U............... +.................................................. +.................................................. +..............................U................... +.................................................. +.................................#................ +..........................#....................... +.................................................. +.................................................. +.................................................. +...........................U...................... +.........................#........................ +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +........................#......................... +.................................................. + +Map for freq: 0 +.....................................0............ +.................................................. +....................................0............. +.................................................. +...................................#.............. +...........................................0...... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................# +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: 4 +..........................................#....... +.................................#................ +...........................#...................... +.................................................. +.........#........................................ +..................................4............... +.................................................. +.................................................. +............................................#..... +...................................4.............. +..........................4....................... +.................#................................ +.................................................. +....................................#............. +.................................................. +.................................................. +...........................................4...... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: 2 +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................2................ +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +....#............................................. +.................................................. +.................................................. +.................................................. +...............#.................................. +..........2....................................... +.....2............................................ +#................................................. +.................................................. +.................................................. +................2................................. +.................................................. +.................................................. + +Map for freq: e +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.....................#............................ +............#..................................... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +...........#...................................... +..............................e................... +.................................................e +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +................................................e. +.......................................e.......... +..............................#................... +.................................................. +.................................................. +.................................................. +...............................................#.. +.................................................. +.............................#.................... +................................................#. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: 5 +.................................................. +.................................................. +.................................................. +.................................................. +................#................................. +.................................................. +..................#............................... +.................................................. +.................................................. +....................#............................. +.....................5............................ +......................5........................... +.......................#.......................... +.................................................. +.................................................. +.................................................. +..........................5....................... +.................................................. +.................................................. +.................................................. +.................................................. +..............................#................... +...............................#.................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: T +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +..........................#....................... +...............................#.................. +....................................#............. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.......................#.......................... +............................T..................... +.................................T................ +......................................#........... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.........................#........................ +..............................T................... +...................................T.............. +........................................#......... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: y +.........................................y........ +.................................................. +................................................y. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +...........................................y...... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +..........................y....................... +.............................................#.... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.........#........................................ +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +....#............................................. +.................................................. +.................................................. +...........#...................................... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: W +.................................................. +............................................#..... +...........................................W...... +..........................................W....... +.........................................#........ +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +......................W........................... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +..#............................................... +.#................................................ +.................................................. +.................................................. +.................................................. + +Map for freq: C +.............C.................................... +...................................C.............. +.................................................. +.................................................. +.................................................. +.................................................. +..........#....................................... +......................C........................... +..................................C............... +..............................................#... +.................................................. +.................................................. +.................................................. +.........#........................................ +...............................#.................. +.................................#................ +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: g +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.#................................................ +#................................................. +.................................................. +.................................................. +...........#...................................... +.................................................. +.................................................. +.......g.......................................... +.................................................. +.................................................. +...g.............................................. +.................................................. +................#................................. +..............g................................... +............g..................................... +..........#....................................... +.........................#........................ +.................................................. +.....................#............................ +.....................#............................ +.................................................. +.................#................................ +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: 8 +.................................................. +.................#................................ +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +......................................#........... +.................................................. +.............................8.................... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +........................................8......... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +..........................................8....... +.................................................. +.................................................. +.........................................8........ +.................................................. +.................................................. + +Map for freq: f +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +...............................#.................. +.................................................. +.................................................. +.......................#.......................... +.................................................# +................................f................. +...................................#............#. +.........................................f........ +..................................f............... +...........................#...................... +.................................f................ +....................................#............. +................................#................. +.........................#........................ +.................................................. +..................................#............... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: s +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.............................#.................... +.................................................. +.................................................. +.................................................. +..................#............................... +............................#..................... +.................................................. +.................................................. +.......................#.......................... +.........................s........................ +...........................................#...... +.................................................. +............#..................................... +......................s........................... +................................s................. +..........................................#....... +.................................................. +.................................................. +.....................s............................ +.......................................#.......... +.................................................. +.................................................. +..........#....................................... +....................#............................. +.................................................. +.................................................. +.................................................. +.................#................................ +.................................................. +.................................................. +.................................................. + +Map for freq: G +..................................G............... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.......................................G.......... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +............................................#..... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +................G................................. +.................................................. +.................................................. +...............................................G.. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. + +Map for freq: E +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.....................................#............ +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +............................................#..... +......................................#........... +.................................................. +...........................................E...... +.................................................. +................................................E. +..........................................E....... +....................................#............. +.................................................. +.........................................#........ +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +...............................................E.. + +Map for freq: w +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +....#............................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +.......w.......................................... +.................................................. +.................................................. +.................................................. +.................................................. +.................#................................ +.................................................. +.....................................#............ +.................................................. +.................................................. +.................................................. +.................................................. +#................................................. +..........w....................................... +....................w............................. +..............................#................... +.................................................. +.................................................. +.................................................. +.................................................. +.................................................. +...w.............................................. +.................................................. +.................................................. +.................................................. diff --git a/crates/day_8/src/day_8.rs b/crates/day_8/src/day_8.rs index 7614b6d..f31463e 100644 --- a/crates/day_8/src/day_8.rs +++ b/crates/day_8/src/day_8.rs @@ -52,8 +52,10 @@ impl Day8 self.map.print(true); } + self.map.dump_map_data_by_freq("MAP_DUMP"); + + // 223 -> That's not the right answer; your answer is too high. self.final_result = antinodes.len() as i32; - self.final_result.to_string() } @@ -98,6 +100,10 @@ impl Solver for Day8 println!("ERROR: Antenna locations map is broken!"); //self.map.print_ant_locations(); } + else + { + println!("Antenna locations OK"); + } } } diff --git a/crates/day_8/src/map.rs b/crates/day_8/src/map.rs index e76a642..a910dd9 100644 --- a/crates/day_8/src/map.rs +++ b/crates/day_8/src/map.rs @@ -16,14 +16,21 @@ use std::{io::prelude::*, fs::File, collections::HashMap, mem}; use nalgebra_glm::Vec2; +//||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +// MapObject +//||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| #[derive(Copy, Clone, PartialEq, Debug)] -pub enum MapCell +pub enum MapObject { Empty, Freq(u8), + Antinode(Antinode), } +//||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +// PointIdx +//||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| #[derive(Copy, Clone, PartialEq, Debug)] pub struct PointIdx { @@ -50,21 +57,116 @@ impl PointIdx } -#[derive(Copy, Clone, PartialEq, Debug)] +//||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +// Antinode +//||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +#[derive(Copy, Clone, Debug)] pub struct Antinode { location: PointIdx, freq: u8, } +impl PartialEq for Antinode +{ + fn eq(&self, other: &Antinode) -> bool + { + self.location.i == other.location.i && + self.location.j == other.location.j + } +} + impl Antinode { pub fn new(location: PointIdx, freq: u8) -> Antinode { Antinode { location, freq } } + + pub fn new_empty() -> Antinode + { + Antinode { location: PointIdx::new(0, 0), freq: 0 } + } +} + +//||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +// MapCell +//||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +#[derive(Clone, Debug)] +pub struct MapCell +{ + contents: Vec, +} + +impl MapCell +{ + pub fn new(contents: Vec) -> MapCell + { + MapCell { contents } + } + + pub fn has_antenna(self: &MapCell) -> bool + { + for mo in &self.contents + { + if mem::discriminant(mo) == mem::discriminant(&MapObject::Freq(0)) + { + return true; + } + } + + false + } + + pub fn has_antinode(self: &MapCell) -> bool + { + for mo in &self.contents + { + if mem::discriminant(mo) == mem::discriminant(&MapObject::Antinode(Antinode::new_empty())) + { + return true; + } + } + + false + } + + pub fn get_antenna_freq(self: &MapCell) -> Option + { + for mo in &self.contents + { + match *mo + { + MapObject::Empty => (), + MapObject::Antinode(_) => (), + MapObject::Freq(freq) => return Some(freq), + } + } + + None + } + + pub fn get_antinode_freq(self: &MapCell) -> Option + { + for mo in &self.contents + { + match *mo + { + MapObject::Empty => (), + MapObject::Freq(_) => (), + MapObject::Antinode(anode) => return Some(anode.freq), + } + } + + None + } + + } +//||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +// Map +//||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| #[derive(Clone, Debug)] pub struct Map { @@ -102,10 +204,10 @@ impl Map { match *c { - b'.' => parsed_row.push(MapCell::Empty), + b'.' => parsed_row.push(MapCell::new(vec![MapObject::Empty])), b'0'..=b'9' | b'a'..=b'z' | b'A'..=b'Z' => { - parsed_row.push(MapCell::Freq(*c)); + parsed_row.push(MapCell::new(vec![MapObject::Freq(*c)])); if !antenna_locations.contains_key(c) { @@ -142,18 +244,22 @@ impl Map { for (j, c) in row.iter().enumerate() { - if mem::discriminant(c) == mem::discriminant(&MapCell::Freq(0)) + for o in &c.contents { - if let MapCell::Freq(f) = c + if mem::discriminant(o) == mem::discriminant(&MapObject::Freq(0)) { - if !self.antenna_locations[f].contains(&PointIdx::new(i, j)) + if let MapObject::Freq(f) = o { - println!("ERROR: Incorrect Antenna Location! Actual: ({}, {}), Locations for this frequency ({}): {:#?}", - i, j, *f as char, self.antenna_locations); - return false; + if !self.antenna_locations[f].contains(&PointIdx::new(i, j)) + { + println!("ERROR: Incorrect Antenna Location! Actual: ({}, {}), Locations for this frequency ({}): {:#?}", + i, j, *f as char, self.antenna_locations); + return false; + } } } } + } } @@ -164,7 +270,7 @@ impl Map { if include_antinodes { - print!("MAP (w/ antinodes):") + print!("MAP (w/ antinodes, * = antinode that covers an antenna):") } else { @@ -175,14 +281,37 @@ impl Map print!("\n\t"); for (_j, c) in row.iter().enumerate() { - match c + let has_antenna = c.has_antenna(); + let mut has_antinode = c.has_antinode(); + + if !include_antinodes + { + has_antinode = false; + } + + if has_antenna && has_antinode { - MapCell::Empty => print!("."), - MapCell::Freq(f) => + print!("*"); + } + else if has_antenna + { + if let Some(freq) = c.get_antenna_freq() { - print!("{}", *f as char); - }, - } + print!("{}", freq as char); + } + else + { + panic!("MapCell says it has an antenna but won't give it's freq!"); + } + } + else if has_antinode + { + print!("#"); + } + else + { + print!("."); + } } } println!(); @@ -195,36 +324,58 @@ impl Map pub fn dump_map_data_by_freq(self: &Map, filename: &str) { - let mut file = File::create("foo.txt").expect(&format!("Failed to create file {}", filename)); - for (freq, _locations) in &self.antenna_locations - { - file.write_all(&format!("\nMap for freq: {}", *freq as char).as_bytes()).expect("Failed to write to file!"); + let mut file = File::create(filename).expect(&format!("Failed to create file {}", filename)); + println!("DUMPING MAP FILE FOR EACH FREQUENCY"); - for (_i, row) in self.map.iter().enumerate() + for (freq, _) in &self.antenna_locations + { + println!("Dumping freq: {}", *freq as char); + file.write_all(&format!("\nMap for freq: {}\n", *freq as char).as_bytes()).expect("Failed to write to dump file [6]"); + for row in &self.map { - file.write_all(b"\n\t").expect("Failed to write to file again"); - for (_j, c) in row.iter().enumerate() + for c in row { + let mut has_antenna = c.has_antenna(); - match c + if let Some(ant_freq) = c.get_antenna_freq() { - MapCell::Empty => file.write_all(b".").expect("Failed to write to file (in match statement)"), - MapCell::Freq(f) => + if ant_freq != *freq { - if *freq == *f - { - file.write_all(&format!("{}", *f as char).as_bytes()).expect("Failed to write to file (in match statement 2)"); - } - else - { - file.write_all(b".").expect("Failed to write to file (in match statement 3)"); - } - }, + has_antenna = false; + } + } + + let mut has_antinode = c.has_antinode(); + + if let Some(anode_freq) = c.get_antinode_freq() + { + if anode_freq != *freq + { + has_antinode = false; + } + } + + if has_antenna && has_antinode + { + file.write_all(b"*").expect("Failed to write to dump file [1]"); + } + else if has_antenna + { + file.write_all(&format!("{}", *freq as char).as_bytes()).expect("Failed to write to dump file [2]") + } + else if has_antinode + { + file.write_all(b"#").expect("Failed to write to dump file [3]"); + } + else + { + file.write_all(b".").expect("Failed to write to dump file [4]"); } } + file.write_all(b"\n").expect("Failed to write to dump file [5]"); } } - + } // an antinode occurs at any point that is perfectly in line with two antennas of the same @@ -289,6 +440,7 @@ impl Map if !antinodes.contains(&antinode) { + self.map[antinode.location.i][antinode.location.j].contents.push(MapObject::Antinode(antinode)); antinodes.push(antinode); }