forked from s464965/WMICraft
18 lines
503 B
Python
18 lines
503 B
Python
from map_importer_exporter import export_map
|
|
from genome import Genome
|
|
from common import get_islands
|
|
|
|
|
|
def main() -> None:
|
|
example_genome = Genome()
|
|
print(example_genome.knights_red)
|
|
print(example_genome.knights_blue)
|
|
print(example_genome.grid)
|
|
islands = get_islands(example_genome.grid, example_genome.knights_red)
|
|
print(f'Roots {islands} and islands count {len(islands)}')
|
|
# export_map(example_genome.grid) fixme: FileNotFoundError
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|