from random import choice, randint, shuffle
enemy.new_experience += 1
"""Gather the data needed for movement."""
"""a single round of battle"""
- # concurrent preparation
- for me in (f.result() for f in as_completed([et.submit(preparemovement, me, battlefield) for me in fighters])):
+ for me in map(preparemovement, fighters):
for step in (me.forwards, me.sidewards, me.odd):
+ # concurrent character improvement. Might not be finished, when the next round starts, but hey: We learn in battle :)