mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-25 21:00:31 +01:00
Implement 2019 day 15
This commit is contained in:
@@ -73,6 +73,9 @@ class Computer:
|
||||
while self._execute_current():
|
||||
pass
|
||||
|
||||
def get_output(self) -> int:
|
||||
return self.output.popleft()
|
||||
|
||||
def _execute_current(self) -> bool:
|
||||
"""
|
||||
Execute a single instruction
|
||||
|
||||
Reference in New Issue
Block a user