Here is a game that was designed primarily to introduce Japanese children to the concepts of Shogi, which is a Chess-like game.
In this JB version, you must play both sides. The game board will be reversed after you decide to confirm your move. As far I know, it enforces the rules correctly.
The pieces can move to adjacent squares that are marked with a dot on the moving piece. When a piece is captured, the capturing player can later drop it onto any empty square. If the chick moves to the final row of the board, it is promoted to a chicken/hen. If the lion moves to the final row of the board that player wins. The other way to win is by checkmating the opposing lion.
Let's Catch the Lion - Animal Shogi
Let's Catch the Lion - Animal Shogi
- Attachments
-
lion.zip- (131.24 KiB) Downloaded 763 times
Now with an AI eval function!
Eval v.03
Eliminated a bug in the moves function that generated bad drops.
Added a bonus to capturing moves.
Added a penalty when evaluating unprotected moves, i.e. ones that can be captured by the human with no re-capture possible.
Eval v.03
Eliminated a bug in the moves function that generated bad drops.
Added a bonus to capturing moves.
Added a penalty when evaluating unprotected moves, i.e. ones that can be captured by the human with no re-capture possible.
- Attachments
-
lioneval03bx.bas.zip- (3.88 KiB) Downloaded 648 times
Improved eval() has more bug smashing and also "learns" as it plays. The learning consists of keeping a book of positions it has proven as losing. If a position appears in the lostpositions.dat file, eval() evaluates it the same as an immediate loss.
- Attachments
-
lion.zip- (6 KiB) Downloaded 686 times
Re: Let's Catch the Lion - Animal Shogi
Nice variant of Dōbutsu shōgi, thanks a lot!
Unfortunately all the pieces are upside down and identical — how to distinguish our pieces from opponent's pieces?
Unfortunately all the pieces are upside down and identical — how to distinguish our pieces from opponent's pieces?
Last edited by yevrowl on Thu Sep 11, 2025 9:42 am, edited 2 times in total.
÷)