Name Your player name is shown on the Leaderboard and can be humorous, taunting, etc.
Inappropriate player names wll be blocked and potentially cause your account to be locked out.:
Description:
Version Version numbers are for your reference only and can be any string.:
Created:
{{ago(player.created_on)}}
Updated:
{{ago(player.updated_on)}}
Published:
{{ago(player.published_on)}}
Test Cases Test cases allow you to enter game state JSON and what you expect your player to return as its move. Tests are run automatically when you change your player code.
Use this to add a case where you expect your player to always make the same move, like blocking a win. As you change your code, you can have confidence that you don't break these cases where the expected move is known.
Run Tests
Select a test below to edit.
Tests/
{{t.name}}
Create New Test
Delete Test
State Use the game runner on the right to locate a specific move you want to test for, and copy the state from its debugger into the input here!
Expected Move This can be a number, a string, an Array, or JSON - whatever format your player should respond with.
Result: {{tests_passed?"PASS":"FAIL"}}
Name
Result
Expected
Actual
{{player.tests[index].name}}
{{r.passed?"PASS":"FAIL"}}
{{player.tests[index].expect}}
{{r.output}}
Auto-run game as you change code in editors
Delay between moves in game runner: ms
Pick which opponent to play against while you work on your player. By default you play your code against itself. You can also play against any of your other players, or test players defined in the game itself. You cannot test against players from other users (yet). Your chance to play against them comes in the leaderboard tournament matches so publish your best code!
Test Opponent:
I'm Player #: