You can play Black now, or let the coin decide. Khianat got a proper White repertoire for it, and its Black one moved off the beaten track: Alekhine, Scandinavian, Modern, the Dutch... fewer main lines, more character.
#14 entry (14.08.26)
There is a benchmark now, because the Elo number was always just a guess. It measures tactics against rated Lichess puzzles, forced mates, endgame technique and the score against Stockfish, all at a fixed depth so the numbers survive a change of machine.
#13 entry (01.08.26)
Found a nasty one. To check for repetitions, the chess library takes the whole game apart and rebuilds it. My search called that in every position it looked at, twice. So most of the thinking time went into replaying old moves instead of calculating. Khianat now tracks repetitions itself. Same engine, but it searches deeper in the same time. Should be worth around 100 Elo.
#12 entry (26.07.26)
Small round of polish. There is a sound toggle now, the poll got a spam guard, and the site brings its own font. Khianat also stopped repeating itself. Bigger opening book, and it now picks freely between equally good moves. Same strength, harder to predict.
#11 entry (05.07.26)
Khianat now thinks in a background thread, so the page stays smooth. And every finished game counts: bars under the board, plus a whole new Stats page with win rates and a top 10 of countries. Running games can only be resigned. No escaping the stats!
#10 entry (12.06.25)
Khianat learned to take it easy. Five difficulty levels now, from harmless to roughly 1700 Elo. The survey on the home page picks a matching level for you. And you can move pieces by clicking now. Much nicer on the phone.
#9 entry (26.05.25)
The About page is now a small tech documentation. It explains how the engine works, with hand-drawn diagrams: search tree, pruning, even a heatmap. Also new: a New game button, the last move gets highlighted, and the footer links to the code on GitHub.
#8 entry (04.05.25)
Emergency fix! After the opening book, pieces suddenly jumped around like crazy. At some point I was playing Black?! The cause: on timeout the search never took its trial moves back. Half a calculated line just stayed on the board. Fixed. Phew.
#7 entry (03.05.25)
The big one: Khianat is a real engine now! Until today it only looked a single move ahead and grabbed whatever it could. Now it searches several moves deep. Minimax with alpha-beta pruning, so hopeless branches get skipped early. About 3 seconds of thinking per move. A quiescence search calculates every capture sequence to the end, so it no longer falls for cheap traps. The piece square tables are finally in use, and the king even gets its own table for the endgame. Mate, stalemate and draws are scored correctly. The opening book stayed, of course. My guess: around 1500 Elo. I struggle against it myself, especially when I get impatient...
#6 entry (27.01.24)
Fresh paint! One central stylesheet and a card design. The site finally works on the phone. Also trimmed the endless copy-paste Impressum. And the bouncing balls are gone. RIP, little guys.
#5 entry (19.04.23)
Khianat can talk now! It says "Yes" when it checkmates you. If you win, you get a grumpy "No". The level survey counts for real too, thanks to a tiny PHP script. Be honest about your level ;)
#4 entry (08.10.22)
Big bugfix round. The site was loading chess.js from a folder that does not even exist. The board ignored every single move... embarrassing. Also fixed dead links, duplicate radio buttons and some broken HTML. Khianat is playable again!
#3 entry (26.05.22)
Khianat is not so very stupid anymore! Now it is maximizing the losses of the opponents, while completely ignoring the consequences. This is similar to a tree search algorithm with depth 1.
#2 entry (24.05.22)
I am failing to implement a working evaluation function for a given position on the chessboard. This evaluation function would be the basis of a Monte Carlo tree search algorithm. Nevertheless, I gave Khianat some rudimentary opening theory knowledge.
#1 entry (08.05.22)
Today is the day my first files get uploaded to the server and finally the first content is visible online! The implementation of the chess engine is sadly not yet done and there are some issues to fix. For now the computer just makes random legal moves. Should be not too hard to win ;)