There's a simple dice game that you could try your hand at coding an AI for. Interested?
The game is Zombie Dice. You keep rolling until you either cash out with all your collected brains or you come up with three shotguns and get zero points.
Improve on my base-line actor!The simulator is here on GitHub.
def actor(state) {
if (state.shotguns == 2) "stop"
}
It could be that this problem is too simple. This above benchmarks at an average score per turn of 2.4. This benchmarks at 2.5:And my best idea benchmarks at an average of 2.6. Not much variation, really.def actor = { state ->
if (state.shotguns == 2 && state.score > 0) "stop"
}
Aug 21, 2011
AI Challenge
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment