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
Closed

Comments

@TerryCavanagh
Copy link
Owner

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
Copy link

bz2 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
Copy link

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
Copy link
Owner Author

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

@iestynne
Copy link

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
Projects
None yet
Development

No branches or pull requests

3 participants