|
Post by Rod on Dec 15, 2023 9:45:03 GMT -5
This is my final version of the mini max based chess program. It is a port of code first posted on Pete's quickbasic web site. Credits are in the header. I built a 3D,ish interface. Click on the checkerboard square to select your piece not the piece itself. The panel at the right hand side offers help and leaves an audit trail of the gameplay. What the chess AI does is play ahead, it plays all available moves on the board, it plays your next best move against each of those moves and repeats, up to several plays deep. It does this and values the outcome by the worth of the win or lose. Once it has played ahead it will play the original move that had the best win or least loss. It can take a little while to think if there are lots of moves and can be thinking through tens of thousands of moves. Of course it is NOT intelligent, but it plays well! This is the link to download the .zip
|
|
|
Post by Carl Gundel on Dec 16, 2023 10:59:32 GMT -5
Very exciting, but the download link doesn't work. A downloading tab opens in Chrome and then closes immediately.
|
|
|
Post by Brandon Parker on Dec 16, 2023 13:04:14 GMT -5
Very exciting, but the download link doesn't work. A downloading tab opens in Chrome and then closes immediately. This is a browser protection "thing" that started several years ago. If you right-click on the link and select "Copy link address", you can then paste that into a new browser tab and it should download the file. {:0) Brandon Parker
|
|
|
Post by tsh73 on Dec 16, 2023 15:27:52 GMT -5
|
|
|
Post by Rod on Dec 17, 2023 3:55:40 GMT -5
The link works directly in IE for me but even I get the nag routine saying the download was cancelled but you just click on more, the … and then keep anyway. I am so used to doing this these days I didn’t even think to explain.
Can we get other browser users to tell us how they get the down load to work? Chrome must surely have an option to continue.
|
|
|
Post by Brandon Parker on Dec 17, 2023 12:33:46 GMT -5
I use Chrome, so consider my response to be the action required I had to take to get the download started.
{:0)
Brandon Parker
|
|
|
Post by timfung5 on Dec 17, 2023 22:26:53 GMT -5
This is my final version of the mini max based chess program. Well done! Excellent! Hello, Rod, the midi music sequencer Jonori and Sprite Creator Version2 are interesting and very nice programs. Yeah. Suddenly, I have a special suggestion. Some teenagers may be interested in these two programs since they need to use these kinds of programs to make media files for game creation. The chess program is superior, too. Therefore, I suggest that you place these three programs on Itch. Your Itch pages will become an effective and attractive showcase for Liberty BASIC. Itch is free of charge and the process of registering is as easy as other social medias(eg., Youtube.). You will able to select a cool user name during the registering process. My suggestion: LibertyBasicRod, LBRod, LibertyBasicCoolRod or LibertyBasicRocks. Your Itch pages will be popular as well. The younger generation will like to visit your pages and LB can also be introduced to this younger generation.
|
|
|
Post by tsh73 on Dec 23, 2023 16:11:22 GMT -5
Just to say, it looks like to prevent situation "after I make a move, opponent makes a move allowing me to checkmate him next turn" program needs Maxlevel set to 4 (default value is 3) I wonder why it needs 4 half-moves to know about immediate checkmate next turn? Example position my move is pd3:pc4 and at Maxlevel=3 Black moves Bc8-g4 allowing me to checkmate Qd1-d8X savegame -1 255 124 BR1 500 A8 BN1 270 B8 BB1 300 C8 0 D8 BK17500 E8 0 F8 BN2 270 G8 BR2 500 H8 BP1 100 A7 BP2 100 B7 BP3 100 C7 0 D7 0 E7 BP6 100 F7 BP7 100 G7 BP8 100 H7 0 A6 0 B6 0 C6 0 D6 0 E6 0 F6 BQ1 900 G6 0 H6 0 A5 0 B5 0 C5 0 D5 BP5 100 E5 0 F5 WB1 300 G5 0 H5 0 A4 0 B4 BP4 100 C4 0 D4 WP5 100 E4 0 F4 0 G4 0 H4 0 A3 0 B3 WN1 270 C3 WP4 100 D3 0 E3 WN2 270 F3 0 G3 0 H3 WP1 100 A2 WP2 100 B2 0 C2 0 D2 0 E2 WP6 100 F2 WP7 100 G2 WP8 100 H2 WR1 500 A1 0 B1 0 C1 WQ1 900 D1 WK15000 E1 0 F1 0 G1 WR2 500 H1
WB2,WP3,BB2, 2 5 6 2
|
|