JPref

This program plays Russian Preferans, two bots against a human player. Honest game, no peeping or cheating. It is standalone, no need for network connection, except when the user decides to send me some feedback, as described below.
In spite of my best efforts, this version most probably has bugs, so your critical feedback is greatly appreciated.

Installation

The program can run on all OS that support standard Java, like Windows, macOS, Linux.
JRE 21 or later is needed to run JPref.
If you do not have JRE installed, you can find all the necessary instructions here: www.java.com/en/download/help/download_options.html. If you do not plan to build this project and just want to play with the program, JRE will be enough, JDK is not necessary. In this case you can get the pre-build program here.

Launch

Open Terminal window (cmd.exe on Windows) and type:
java -jar <path to jpref.jar> [list of deals]
If the list of deals is specified, it will be used for playing instead of random deals. This allows better program testing.
Log file that the program generates (see below) can be used as a list of deals, so the previous games can be replayed.

Running the program

Playing preferans with JPref is rather intuitive.
The button in the bottom-right corner invokes the program menu: Some options (Game Type, Pool Size, etc.) can be changed only at the beginning of the game, before the user makes the first selection.
Changing Maximum move time you control the bot skills level.
In addition to the settings that can be updated explicitly, the program window location and size are preserved, so JPref will open on the same spot the next time.
At the end of the round you'll see the scores. If you dismiss this pop-up window with Verify button, the program will replay the last round in the manual mode when all moves are to be done manually and all cards are visible. This feature allows the user to verify the program moves and find errors in the JPref logic.

The important program feature is logging. The program records there all the games. Logs are located in 'logs' directory, either next to jpref.jar file (macOS, Linux), or in <your home folder>\jpref (Windows). New log is opened every day and consecutive launches the same day continue the same log.
Menu item Submit Log invokes the comment window. It is important to record the program errors, stupid moves, etc.
The whole comment text will be written into the log that the user can submit to the developer:
Thank you for reading this whole text till the end.
Alexander Bootman.