* ----------------------------------------------------------------------
* Copyright (c) 1993, 1994, 1995 Matthias Mutz
* Copyright (c) 1999 Michael Vanier and the Free Software Foundation
+ * Copyright (c) 2008, 2013, 2014 Yann Dirson and the Free Software Foundation
*
* GNU SHOGI is based on GNU CHESS
*
case pawn :
if (color == black)
{
+#ifdef MINISHOGI
+ return ((t < 20)
+#else
return ((t < 72)
+#endif
? true
: (generate_move_flags ? ILLEGAL_TRAPPED : false));
}
else
{
+#ifdef MINISHOGI
+ return ((t > 4)
+#else
return ((t > 8)
+#endif
? true
: (generate_move_flags ? ILLEGAL_TRAPPED : false));
}