A program plays the game Honor of Kings, mostly one hero against one, and this page shows how it decides.
Who decides what. Two models share the work. A planner model, Agnes 3.0 Flash, reads a written
summary of the game about every 30 seconds and sets a plan, for example to farm, to harass the enemy or to push
the tower. A second model, Jev, is asked every 2 seconds to pick one of eight actions (advance, farm,
poke, attack the hero, attack the tower, hold, retreat, recall), given the state of the game and the plan in
force. Ordinary program code then carries the chosen action out: it moves the hero, aims and casts. In most
games both sides are played this way, by two versions of the same program.
What is on screen. At the top: who plays whom, the kills of each side and the game clock. Left: the
game. Right, for the moment of the game that is shown, three cards. THE PLAN is the planner's latest plan as one
word and one sentence. THE PICK is the action Jev chose and how likely it found its best few options. WHAT THE
HERO IS DOING is what the code then did; when one of the hero's reflexes acted instead of the pick (it was
attacked, a tower shot at it, its health was low), the card says so. Below: the heroes' health and the moments
that matter. Where both sides are played by our program, a click on a side's name shows that side's plan and
pick.
A team game has three heroes a side. Each of our three heroes has its own planner and its own Jev;
nobody is in charge of the others. The only link between them is that each planner is shown what the other
two plan. The page then shows three equal panels, one per hero, each with that hero's own plan, pick and
action.
SIMPLE and DETAIL. SIMPLE is this view. DETAIL shows everything behind it: the planner's reply as it
was received, the question put to Jev and the probability of every action, the text Jev was sent word for word
(SITUATION REPORT), the whole map with the score, the planner's full input (CONTEXT) and the chain from state to
action (GRAPH).
LIVE follows the games that are being played now, drawn as a map from the game's own record: the newest
running game, then the next one. When no game is running, the most recent finished game is replayed.
The picture is about a minute behind the game.
REAL GAMEPLAY plays recorded games with the picture of the real game, one after another, newest first,
in step with the same cards. A recording appears some time after its game has ended, usually within half an
hour: the finished game is first replayed in the game itself and filmed.
ALL GAMES shows every game that is being played now, side by side, each as a small moving map with its
score, our side's plan and Jev's pick. Games that finished a little while ago fill the remaining places and are
replayed. A click on a game opens it.
Keys: space pauses and plays, the arrow keys step one second, L, R and A choose LIVE, REAL GAMEPLAY and ALL
GAMES, D switches between SIMPLE and DETAIL, N and P go to the next and the previous recording.