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

Swap moves #1

Open
tewalds opened this issue May 27, 2014 · 0 comments
Open

Swap moves #1

tewalds opened this issue May 27, 2014 · 0 comments
Assignees

Comments

@tewalds
Copy link
Owner

tewalds commented May 27, 2014

  • Store whether you can swap in Board
  • in AgentMCTS::Node::value: if(swap) val = min(val, 1-val); before adding knowledge to find the move closest to 50%
  • in AgentMCTS::return_move:
    • if first move, return as normal, search found closest to 50%
    • if second move, return as normal if best move > 50%, otherwise swap.
  • change History to always copy the baseboard to maintain the rules
    • change Board constructor (not copy constructor) to output the board rules to stderr?
@tewalds tewalds self-assigned this May 27, 2014
tewalds pushed a commit that referenced this issue Feb 18, 2015
update from latest timo version
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

1 participant