Remove reminents of semi-auto solver in day 25

master
Nick Krichevsky 2019-12-26 01:10:19 -05:00
parent 4f67ad144e
commit ff12d30f6d
1 changed files with 0 additions and 23 deletions

View File

@ -416,30 +416,7 @@ if __name__ == "__main__":
for i, item in enumerate(f.read().rstrip().split(",")): for i, item in enumerate(f.read().rstrip().split(",")):
memory[i] = int(item) memory[i] = int(item)
# The automatic input strings to compelte the text adventure for my input
AUTO_INPUT_STRINGS = [
'north',
'east',
'south',
'take hypercube',
'north',
'west',
'north',
'east',
'take tambourine',
'west',
'west',
'take spool of cat6',
'north',
'take weather machine',
'west',
'west',
'west'
]
if len(sys.argv) == 3 and sys.argv[2] == 'auto': if len(sys.argv) == 3 and sys.argv[2] == 'auto':
# auto_inputs = [ascii_char for input_str in AUTO_INPUT_STRINGS for ascii_char in convert_input_to_ascii(input_str)]
# run(memory, auto_inputs)
auto_solve(memory) auto_solve(memory)
elif len(sys.argv) == 3: elif len(sys.argv) == 3:
print(f"Invalid subcommand '{sys.argv[2]}'") print(f"Invalid subcommand '{sys.argv[2]}'")