Guide › The Play page

The Play page

The Play page has two parts: Against an engine, a game against an engine of your library played on the Board page, and On Lichess, your Lichess games played from RookStudio (see On Lichess) and Lichess’s arenas and Swiss tournaments (see Arenas and Swiss tournaments); the part shown last comes back. It is in the rail after the Training page, in the views Study and Everything. A view you made before it does not change by itself: the Home page offers once to add it to the view shown (Add it to …, or Not now), and Ctrl+K Play against an engine (or Play on Lichess) leads there meanwhile, as do Play against an engine on the Home page and The Play page in the Board page’s card Play a game…. Against an engine, nothing leaves the machine: the engine runs on it. While one of your games is played live on Lichess, the page says so and starts no game against an engine (see Fair play).

Against an engine

The choice is kept for the next game: once made, Play (Enter) is all it takes.

  • The opponent: an engine of your library, with the strengths it can take.
  • Its strength: the Elo it aims at (UCI_Elo, with UCI_LimitStrength), on its own scale: an indication, not a FIDE rating. An engine without that setting plays a number of nodes a move instead, from 1 to a million, fewer for a weaker game. Full strength leaves it at its best, whatever its card limits.
  • Its style: its openings, what it plays before its own moves: Its own (no book); Your databases (the moves played most there, in all your databases with an opening tree or in one of them); Your repertoire (the moves you prepared against, then the engine; you play the repertoire’s colour, which choosing it sets); A player’s games (the moves a player played with the engine’s colour, from a database named Lichess · name, such as preparing a game against them makes, see Preparing a game); A book of the library (a Polyglot or CTG book of the Books page, its moves to avoid left out). Vary picks at random among the moves played at least 5 times, as often as they were played (a book’s moves as often as its weights say, a repertoire’s moves equally often); unticked, the move played most, a book’s main move first. Once its openings have no move for the position, the engine plays to the end. Its style is its openings: the engine’s own settings stay on its card. With a handicap, the openings meet positions they do not have, and the engine plays from the first move.
  • You: White, Black or at random; the clock, minutes and an increment, The same for both or, unticked, the engine’s own (unequal time); from the start position, or from the Board page’s.
  • The handicap: what the engine gives at the start: nothing, its f-pawn, its b-knight, its a-rook (castling on that side with it) or its queen; a man it does not have where it starts is greyed, and Chess960 has none. Taking a move back (allowed unless unticked) and Hints (3 a game) are handicaps too, counted.

The game counts in the core budget (the engine’s threads, as for a game played from the board); the page says when the machine is full.

The game against an engine

Play takes the game to the Board page, in a view for study: the board turned to your side, the clocks running in the players’ strips (the engine’s with its strength), and over the column the game’s card: whose move it is, Offer a draw, Resign…, Take back · Ctrl+Z, Hint · Alt+H, Stop.

  • Play your moves on the board, or type them: a move’s first letter opens the field, Enter plays it.
  • The aids are hidden until the end: the Analysis, Tree, References and Questions tabs, the analysis (Alt+A), the threat, the game’s analysis (Alt+G), the tablebases and the assistant. The engine shows nothing of its search either: its evaluations come with the finished game. Show them, in the card or in place of a tab, gives them back during the game, which is then marked with aids.
  • Take back (Ctrl+Z) takes back your last move and the engine’s answer, or your move while the engine thinks, the clocks as they were before it: counted, and written in the game.
  • Hint (Alt+H): at your move, the analysis engine’s move after a second’s search, as a green arrow; three a game, counted and written in the game.
  • Offer a draw: the engine answers with its next move. It takes the draw when it is being mated or stands clearly worse, or when it stands no better once 20 moves are played; a move from its openings declines it.
  • Resign… asks for Enter, or a second click, within a few seconds; Stop ends the game without a result, saved as it is.
  • Where the engine’s openings ended, the notation says so (end of your repertoire · then the engine).

Closing RookStudio during the game keeps it: at the next launch it is back on the Board page, its clocks waiting until you resume it (Resume, Enter) or stop it (Stop it). Another game opened on the board meanwhile leaves yours going, your clock running when it is your move: Back to the game brings it back.

After the game

At the end, the aids come back, and the card says how the game ended (Draw: threefold repetition at move 34), against what and how: the strength, your colour, the clock, the takebacks, the hints, with or without aids. The game is saved into the database My games against engines, made at the first game, with its settings in its tags: Strength (UCI_Elo 1800, nodes 1000, full), Openings (repertoire Najdorf, database Mine, databases, player Somebody, book Human, engine), Handicap (knight b8, with the start position), Takebacks, Hints, Aids. Ctrl+S puts it back there after a change.

  • Review it (Enter): the game’s analysis, as Alt+G does (see The review of a game); once it is reviewed, your mistakes in it become exercises (see Your mistakes as exercises) when your names say the game is yours (see Your names).
  • Rematch, colours reversed: the same choice, the other colour.
  • Change the settings: the Play page.
  • Close: the game stays on the board as any game.

Under it, your games against that engine at that level: won, drawn and lost, those with aids apart and not counted, and where you lost the last one (a rook endgame), with whether it is among your exercises. The next level is chosen there or on the Play page: nothing goes up by itself. Each game is also a line of the profile’s play/games.jsonl.

On Lichess

The Play page’s On Lichess part plays your Lichess games from RookStudio, through Lichess’s Board API, which is made for people. It has two halves, Games, described here, and Tournaments (see Arenas and Swiss tournaments); the one shown last comes back. It needs your account linked (see Linking your account); the first time, Lichess asks for one more permission, Playing your games (board:play): Allow on Lichess… (Enter) opens Lichess’s page, your account stays linked meanwhile, and the token it replaces is revoked. RookStudio never plays a move you did not play. What leaves the machine: your seeks and challenges, your moves, your chat messages, draws and resignations, with your account’s token; the choices are kept in the profile’s play/lichess.json.

  • Seek a game: rapid (10+0, 10+5, 15+10), classical (30+0, 30+20) or correspondence (1 to 14 days a move), rated or not, against opponents of any rating or of a rating around yours in that speed (±). Lichess keeps blitz and bullet for its site: a program does not seek them, and blitz stays possible as a direct challenge. Seek an opponent (Enter) puts the seek in Lichess’s lobby once Lichess’s event stream is open, as Lichess asks, so that the game’s start is not missed. A live seek lives while RookStudio holds it open: Escape calls it back, and so does closing RookStudio; the game found opens on the Board page. A correspondence seek stays in the lobby until someone takes it (the API cannot call it back; lichess.org’s lobby can), and its game comes among your games in progress.
  • Challenge a player: their name, the clock (3+2, 5+3, 10+5, 15+10, 3 days, or other…: minutes and seconds added a move, or days a move; three minutes at least, the increment counted forty times, since the Board API plays no bullet), rated or not, your colour. A live challenge waits for the answer while you stay (Escape, or Call it back). Declined, Lichess’s reason is said (too fast for them) with other clocks a click away (slower ones after “too fast”); accepted, the game opens on the Board page.
  • A challenge received comes at the top of the part (Accept · Enter, Decline ▾ with Lichess’s reasons: Not now, Later, Too fast for me, Too slow for me, Casual only, Rated only), on the Home page under In progress, and in a notice at the window’s corner wherever you are, with a sound when the sounds are on; Later puts the notice aside. During a live game, it waits for the game’s end. A game the Board API cannot play (bullet, a variant other than Chess960) is played on lichess.org.
  • Your games in progress: your turn first, with the time left to move; a click opens one on the Board page, where your move is played.

The event stream is the one of Fair play: Lichess opens one per token, and it tells the games’ starts and ends, the challenges received and the fate of those you sent.

A game on Lichess

The game is played on the Board page, in a view for study: the board turned to your side, the players’ ratings and clocks in their strips, and over the column the game’s card: what it is (Rated · Rapid 10+5 against …), whose move it is, Offer a draw, Resign… (Enter, or a second click, within a few seconds), Ask for a takeback, Abort (before both sides have moved), Chat (the players’ chat), Open on lichess.org.

  • Live, your moves go as soon as they are played, on the board or typed (a move’s first letter opens the field, Enter plays it). A move made during your opponent’s turn waits for yours (a dashed arrow), and is played then if it is legal; Escape takes it back. Before your first move, the card counts down the time Lichess gives before it aborts the game.
  • By correspondence, a move waits for your confirmation (Your move: 10.g4 · not sent yet, an arrow on the board): Send (Enter), or Take it back (Escape). The card lists your other correspondence games, a click away.
  • Your opponent’s draw offer or takeback request comes in the card with Accept and Decline; your own waits for their answer. If your opponent leaves the game, the card counts down until Lichess lets you claim the victory (Claim the victory, Claim a draw).
  • The aids: the lock of Fair play holds, as for any game of yours. Live, every aid is locked on every position: the Analysis, Tree, References and Questions tabs, the analysis, the threat, the tables, the cloud and the assistant. By correspondence, the engine, the cloud, the tables and the assistant are locked on the game; the tree of your databases and your books stay open, as Lichess allows a book there.
  • A cut: the card says so (your clock runs on Lichess) and tries again by itself, after 1, 2, 3, then every 5 seconds; the whole game comes back with the connection, the chat too. A move played meanwhile does not go: play it again once the connection is back. Open the game on lichess.org stays at hand.
  • Closing RookStudio during a live game asks first (Stay · Escape, Close anyway): the game goes on on Lichess, your clock running. At the next launch, a game still being played comes back on the Board page, and the Home page shows it first. Another game opened on the board meanwhile leaves yours going: Back to the game brings it back.
  • At the end, the card says how the game ended and what it did to your rating; the game comes into your Lichess database, with Lichess’s analysis when there is one, its review a click away, as your other finished games do (see Your finished games). Another game seeks again with the same clock.

Arenas and Swiss tournaments

The Tournaments half of the Play page’s On Lichess part joins a Lichess arena, or a Swiss tournament of one of your teams, and plays its games from RookStudio. The Lichess page’s card Lichess tournaments leads there too, Join on an arena’s line (see Lichess tournaments).

  • What Lichess allows. Its Board API plays rapid, classical and correspondence games only, never blitz or bullet in a tournament: those arenas are followed in the mosaic and played on lichess.org, and their line says so, with the link. The part lists the rapid and classical arenas you can play.
  • The first time, Lichess asks for one more permission, tournament:write (to join, pause and leave a tournament); board:play, to play, is given already. Allow on Lichess… (Enter) opens Lichess’s page; your account stays linked meanwhile, and the token it replaces is revoked.
  • Joining an arena: its conditions as Lichess judges them, each with your figures (At least 20 rated games in Rapid (you: 312)), a condition missing said before you join; its rules in one line each, and The full rules on lichess.org; Join (Enter). A refusal is said in Lichess’s words: for an arena reserved to a team’s members, Open the team on lichess.org, as RookStudio does not manage teams.
  • Waiting for a game: Lichess pairs a player away from the arena’s page for a minute only, so RookStudio joins you again each minute while you wait; closed, it no longer does, and you are paired no more, your points staying. The next game opens on the Board page by itself.
  • The arena’s line, over the part and over the game’s card: your rank of so many, your points, the streak (the next win counts double), the time left, and Pause (Alt+P), which takes you out after the game being played, your points staying; Back in the arena (Alt+P) joins again. The arena’s page is asked every 15 seconds; after a 429 (too many requests), its standing waits a minute and says so, your games going on.
  • Playing: as any game on Lichess (see A game on Lichess), with Berserk where the arena allows it, before your first move only (half your clock, a point more if you win); Lichess allows no takeback in a tournament’s game, nor aborting it. A tournament’s game whose first move you do not play in time is lost, not aborted, and the card says so. Under the card, the game before at its end: Won in 34 moves · +2 points · the streak starts.
  • The aids stay locked while you are in the arena once it has started, between two games too, since the next one comes within seconds: the engine, the tree, the cloud, the tables, the assistant and the reports (a player’s dossier, an opening report, a crosstable). Pause gives them back (see Fair play).
  • Its end: your rank and your points; each game is in Lichess · your name, as your finished games are (see Your finished games), their review offered then: Review the last game, Its games in the list. Closing RookStudio during an arena asks first: Pause and close, or Stay (Escape).
  • A Swiss tournament, for its team’s members: its round of so many, the standing after its last round (points, tie-break, performance), your games round by round, and the next round’s time. Two minutes before it, a notice at the window’s corner says so wherever you are; your game opens on the Board page by itself, and a game whose first move you do not play in time is lost. Its games in the mosaic shows the round’s games of its first eight. Once it is over, Keep it in a database… takes its games, each with its round, and its standing (its TRF file) into Lichess tournaments or another database of yours: the database’s crosstable then reads it, byes and late joins included (see Tournaments and crosstables), a click away with Open its crosstable.

What leaves the machine: following, the tournament asked and its games, without an account; joining, with your token, the join, the pause and your moves. One request at a time, a minute after a 429. Ctrl+K has Play an arena or a Swiss tournament on Lichess, Join the arena: …, Pause in the arena, Back to the arena, Berserk and Keep the Swiss in a database….

In RookStudio, F1 opens this guide beside the page, at the section of what is under the mouse.