Pennywise is a game by James Ernest and Crab Fragment Labs, used by permission. A link to the rules can be found here https://crabfragmentlabs.com/ready-room (direct link to rules implemented here).
By default you are player one and the computer is player two, but that can be swapped when starting a new game.
On your turn, you are presented with a list of legal moves to choose from. After you move, the computer will "think" and then make its move.
The computer uses JSMCTS, a javascript implementation of Monte Carlo Tree Search (MCTS) that runs in the browser, to select a move. It displays the moves it is evaluating and what percentage of the time those moves lead to a win. The number of trials it runs and the amount of time it has to run them can be controlled.
Have fun!
Copyright 2023 Greg Whitehead