WMICraft/algorithms/genetic/map_generator.py

15 lines
307 B
Python
Raw Normal View History

2022-05-31 01:03:00 +02:00
from map_importer_exporter import export_map
2022-05-30 23:34:28 +02:00
from genome import Genome
2022-05-29 23:13:45 +02:00
def main() -> None:
example_genome = Genome()
print(example_genome.knights_red)
print(example_genome.knights_blue)
print(example_genome.grid)
2022-05-31 01:03:00 +02:00
export_map(example_genome.grid)
2022-05-29 23:13:45 +02:00
if __name__ == '__main__':
main()