The rook moves in straight lines, horizontally or vertically, as far as it likes. The bishop moves diagonally. The queen combines both. The king moves one square in any direction. The knight moves in an L (two squares one way and one sideways) and is the only piece that jumps over others. The pawn steps forward one square, or two on its first move, and captures one square diagonally forward. No piece may land on a square held by its own side, and you capture by moving onto the opponent piece.
Chess
Free Online Chess: Against the Computer, a Friend or on Lichess
Play chess with no sign-up against Stockfish at 10 levels, with a friend, or rated through your Lichess account
Full chess in your browser: from the first move to checkmate
This is real chess with all the official rules: castling, en passant, promotion, checkmate, stalemate and the draws by repetition, 50 moves and insufficient material. You can play four ways. Against the computer, Stockfish runs inside your browser at 10 levels, from beginner to maximum, with an optional clock, takebacks and hints. In two-player mode you share one device, and the board can flip every move if you like. With a friend by link you create an open challenge on Lichess, send the link by WhatsApp or QR code and the game is played there, with nobody needing an account. And with your free Lichess account you play real games from here: against the Lichess AI, against people at rapid or classical pace, or by challenging someone by username. The game against the computer is saved automatically in your browser and can be resumed later. At the end you download the PGN or open the game in the jkit.tools analysis board to see mistakes and good moves move by move. Cburnett pieces by Colin M. L. Burnett, under the BSD license.
Pick a mode, tap or drag a piece and play
- Choose how to play: against the computer (and its level), two players, a friend by link or your Lichess account.
- Tap a piece to see its legal squares and tap the destination, or drag the piece. A pawn reaching the end of the board asks which piece to promote to.
- At the end, see the result and the reason, download the PGN or open the game in the analysis board to study the moves.
Sources and references for this tool
These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.
- FIDE Laws of ChessFIDE, Official rules: piece movement, castling, en passant, promotion, checkmate, stalemate and draws.
- Lichess API (Board API e OAuth)Lichess, Board API specification: accepted time controls, event stream, open challenge and PKCE login.
- StockfishStockfish team, The engine you play against, running in the browser, with its limited-strength modes (UCI_Elo and Skill Level).
- chess.jsJeff Hlywa, Library (BSD-2) used to validate moves, detect checkmate and draws, and produce the PGN.
- Chess pieces (Cburnett)Wikimedia Commons, Cburnett pieces by Colin M. L. Burnett, under the BSD license.
Frequently asked questions
Where to go next
Related tools
- CheckersThe classic board game with mandatory captures, against the computer or a friend.
- ReversiOutflank your opponent and flip the board in your favor. Against an AI at four levels, or with a friend.
- Four in a RowLine up 4 pieces before the computer (or a friend) does. Classic strategy on a 7×6 board.
- Tic-Tac-ToePlay against the computer or with a friend, right in your browser.