-
Notifications
You must be signed in to change notification settings - Fork 127
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
A proposal for two-teams game #37
base: master
Are you sure you want to change the base?
Conversation
I've only done a cursory view. Probably the first step is documentation. What does TwoTeamsGame do? You might want to include a simple example in the documentation. You could use the same example in the testing code. @Zulko what do you think? |
Hi John, thank you so much for your feedback ok, I'll include some .rst doc file in my repo. The idea is to override TwoPlayersGame switch_player method in order to allow games between two teams, default implementation is described here: https://github.com/laxertu/easyAI/blob/470961648d146ef94b375abdd4c71ea32dc6e09c/easyAI/TwoTeamsGame.py#L111 I really don't know if it may be useful for your project :-) but just in case.. |
It's a novel use of the Negamax algorithm. As long as the next player is always predictable from the game state, I would think it would always work. The challenge is what to use as a simple example. It needs to be simple enough to follow easily in code; yet not so simple that it doesn't demonstrate it's usefulness. BTW, let me know if you have trouble with compiling the |
Hi all,
I'm working on a kind of RPG games framework based on easyAI, here:
https://github.com/laxertu/rpg-engine
so I've adapted TwoPlayersGame class to suit with my requirements. Here is the result :-)
maybe you're interested in include something like that in your repo. As I'm a totally newbie in AI, any suggestion woud be really apreciated
thanks a lot