Add Sho Shogi variant.
commite11317b1369864c230c4c5008598b3a5edeacc6b
authorYann Dirson <ydirson@altern.org>
Mon, 6 Aug 2007 21:53:23 +0000 (6 23:53 +0200)
committerPaolo Capriotti <p.capriotti@gmail.com>
Sat, 3 Nov 2007 18:21:16 +0000 (3 19:21 +0100)
treec305355a2890d773779ca3aeb9fdbf153c905878
parent143a48d2be9d37d5f1cb1088ca261654fae58fe9
Add Sho Shogi variant.

Variant specificities are:
- no drops
- new piece Drunken Elephant, promoting to Crown Prince
- game is not mate as long as one of King and Crown Prince can still
  move
Signed-off-by: Yann Dirson <ydirson@altern.org>
Signed-off-by: Paolo Capriotti <p.capriotti@gmail.com>
Signed-off-by: Yann Dirson <ydirson@altern.org>
13 files changed:
data/scripts/shogi_themelib.lua
data/themes/pieces/ShogiTTF/theme.desktop
data/themes/pieces/ShogiTTF/theme.lua
data/themes/squares/Default/theme_shogi.desktop
src/CMakeLists.txt
src/hlvariant/sho-shogi/gamestate.h [new file with mode: 0644]
src/hlvariant/sho-shogi/legalitycheck.h [new file with mode: 0644]
src/hlvariant/sho-shogi/variant.cpp [new file with mode: 0644]
src/hlvariant/sho-shogi/variant.h [new file with mode: 0644]
src/hlvariant/shogi/legalitycheck.h
src/hlvariant/shogi/piece.cpp
src/hlvariant/shogi/piece.h
src/variants.cpp