Skip to content

Commit 3116668

Browse files
netcanozkriff
andauthored
Newsletter 11: AnimalChess (#185)
* AnimalChess * Newsletter 11: AnimalChess: Local img & style tweaks Co-authored-by: Andrey Lesnikov <ozkriff@gmail.com>
1 parent 73d26db commit 3116668

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
155 KB
Loading

content/posts/newsletter-011/index.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,36 @@ Web, Mac, Linux, Windows (untested) & possible even iOS & Android.
173173
[sdl2]: https://github.com/Rust-SDL2/rust-sdl2
174174
[quicksilver]: https://github.com/ryanisaacg/quicksilver
175175

176+
### [Animal Chess][AnimalChess]
177+
178+
![Part of the game map](animal-chess.jpeg)
179+
180+
^ _Part of the game map_
181+
182+
[Animal Fight Chess][AnimalChess] (斗兽棋, "Doe Show Chee") by [@netcan]
183+
is a Rust implementation of a popular Chinese game.
184+
185+
To win the game, one player must successfully move any animal into
186+
the Den(兽穴) of the opponent or eat all animals of the opponent.
187+
The basic move is just one space either forward, backward, left, or right.
188+
The pieces never move diagonally.
189+
Each player has eight pieces,
190+
[different animals with different degrees of power][animal-chess-pieces],
191+
a larger power piece can eat a little power piece, but rat can eat elephant.
192+
Here's a picture of the pieces, their English names,
193+
and relative powers indicated by a number.
194+
See full rules at [ancientchess.com][animal-chess-rules]
195+
or [Wikipedia][animal-chess-wiki].
196+
197+
The project uses alpha beta pruning algorithm for AI and provides
198+
a python module to use AlphaZero algorithm for training.
199+
200+
[AnimalChess]: https://github.com/netcan/AnimalChess
201+
[@netcan]: https://github.com/netcan
202+
[animal-chess-rules]: http://ancientchess.com/page/play-doushouqi.htm
203+
[animal-chess-wiki]: https://en.wikipedia.org/wiki/Jungle_(board_game)
204+
[animal-chess-pieces]: http://ancientchess.com/graphics-rules/dou_shou_qi_jungle_game-pieces-values.jpg
205+
176206
### [Guacamole Runner][guacamole]
177207

178208
![gif](guacamole.gif)

0 commit comments

Comments
 (0)