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

Bully will sometimes use a 3 on a rock when they could just use fists #642

Closed
TerryCavanagh opened this Issue Nov 30, 2018 · 4 comments

Comments

Projects
None yet
3 participants
@TerryCavanagh
Copy link
Owner

commented Nov 30, 2018

The AI doesn't have any way to recognise the value of holding on to the rock cards over using fists. Using a once per battle card needs to be slightly dis-incentivised in the scoring.

@bz2

This comment has been minimized.

Copy link

commented Dec 4, 2018

Can probably give a score for 'ability still available for use' of some value? Set at 250 for instance would mean a 1 or 2 would be left unused rather than put in a once per battle damage slot. Could also try to get clever and vary based on number of once per battle abilities and remaining opponent HP.

@iestynne

This comment has been minimized.

Copy link

commented Feb 27, 2019

Might be fun to take an ML approach and let the computer decide all of the score values for itself.

Use the adversarial approach: create two AIs with slightly different scoring values, then pit them against each other for 100 games. Take the winner and generate more AI variants from it for the next round, etc. Leave this running for a few hours/days and see what turns out to be the optimal strategy.

@TerryCavanagh

This comment has been minimized.

Copy link
Owner Author

commented Feb 28, 2019

That could be fun, for sure :) But for v0.16, I've kludged a fix for this, which is good enough!

@iestynne

This comment has been minimized.

Copy link

commented Feb 28, 2019

Sure, I know you indie devs are just overflowing with free time for these kinds of experiments ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.