TurboWarp is very much recommended, otherwise you'll have to turn iterations and depth way down. https://turbowarp.org/1209449807 A very simple chess algorithm that works surprisingly well, but is still pretty bad. It plays a bunch of random games against itself (with some basic move ordering), then selects the move with the highest win rate. More specifically, at an aggressiveness of 1, it selects the move with the highest win rate, and at 0, the win with the lowest lose rate. It blends between the two on other values. Depth adjusts how long it plays before it's considered a draw, iterations is how many games it plays against itself per move it can make.
@coooolboy55 for the inspiration behind this. Decided to reshare while temporarily back on scratch.