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

Tournament object #58

Open
Trylobot opened this issue Aug 27, 2014 · 0 comments
Open

Tournament object #58

Trylobot opened this issue Aug 27, 2014 · 0 comments

Comments

@Trylobot
Copy link
Owner

Use the Tournament object to track the progress of an entire AI tournament, along with the ability to output its status in an attractive way directly to the console.

A tournament requires: a list of participants, and a tournament format. Given that, it can create a list of matches.

A match is a series of moves generated by player objects; each player object belongs to a single match, but multiple player objects can refer to a single AI module.

The Tournament object will also be responsible for ordering communications in such a way as to keep all AI modules fully saturated, with the basic assumption that no AI should be asked to process more than one move at a time. So, each AI module should be associated with a request queue, and the Tournament should operate on these queues during operation.

Match penalties and Tournament penalties may require that queues be emptied and AI modules flagged.

At the end of the tournament, all games should be saved out to files that can be loaded and viewed; ideally using only the console, but it seems logical to also write a view mode for the node-webkit ui as well.

@Trylobot Trylobot added this to the Tournament Program milestone Aug 27, 2014
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