Skip to content

Informal tournament

Simen Haugerud Granlund edited this page Sep 11, 2017 · 7 revisions

At the end of the workshop we invite everybody to join our chess AI tournament. The tournament is ment to be very informal, so don't sweat it if you just managed to get the random move making AI working ;-)

Rules of the tournament

  1. Games will be played in a cup format. Who's starting with black of white pieces will be drawn. Although not the fairest in a chess tournament context, it's a lot quicker, and a bit more accessible and exiting than a round-robin style tournament.

  2. Games have an upper limit of 100 moves before a winner is decided.

  3. If there is no winner after 100 moves or the result is a draw, the winner is decided based on materiel count based on chess piece relative value.

  4. Draws through repetition is not counted, and play will continue to checkmate or the limit of 50 moves.

  5. All AI's have to make their moves within a short amount of time, if not the tournament would take a very long time. AI's that plays too slow unfortunately have to be disqualified.

  6. Use of code not written by you or given as part of the workshop material is permitted within reason. Re-using an existing chess engine would be an example of use of existing code that's not allowed. When in doubt the workshop presenters will preform a manual inspection of the AI.

  7. The workshop presenters reserve all rights to make any decision they see fit.

How to join the tournament

If you're running locally using node.js use the command npm run tournament. This will connect the player to a game and the tournament server, and should produce an output similar to the listing below:

...
Player rnd-jesus is connected to cheslie-game
Player rnd-jesus is connected to cheslie-tourney

If you're using JSFiddle you'll be adding Tournament.connect(ai); to the bottom of your fiddle. Have a look in the developer console in your browser, and you should see something similar to the above.

You can visit cheslie-tourney.azurewebsites.net and to follow the tournament in progress.