Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve #931 double dekker tanks #1088

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

hemoridos
Copy link
Contributor

Resolves #931

Filter out all the locations already taken by the player, before the non-player's turn for placing units.

The issues was reproduced by forcing the ai to place all units in a prepared corner by hardcoding the initial placement location,
(not I was able to reproduce it with the default random setting but it was a tedious process)

Two units on the same grid space
double_dekker_tanks

After the fix:
plain_old_tanks

@akarnokd akarnokd merged commit 6321a9b into akarnokd:master Oct 10, 2023
@hemoridos hemoridos deleted the fix_double_dekker_tanks branch October 10, 2023 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Emeletes tankok.
2 participants