Skip to content

Commit

Permalink
v1.1b
Browse files Browse the repository at this point in the history
  • Loading branch information
geko authored and geko committed May 14, 2015
1 parent 9fb8d0c commit c8edc6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/IterativeDeeping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ IterativeDeeping::run ( ) {
break;
}
//assert(pvv.length());
int sc = resultMove.score / 100;;
int sc = resultMove.score; /// 100;;
if ( resultMove.score > _INFINITE - 100 )
sc = 0x7fffffff;
#ifdef DEBUG_MODE
Expand Down Expand Up @@ -204,7 +204,10 @@ IterativeDeeping::run ( ) {
cout << "info string insufficientMaterial cut: " << nCutInsufficientMaterial << endl;
#endif

cout << "info score cp " << sc << " depth " << ( int ) mply << " nodes " << totMoves << " time " << TimeTaken << " pv " << pvv << endl;
if ( abs ( sc ) > _INFINITE )
cout << "info score mate 1 depth " << ( int ) mply << " nodes " << totMoves << " time " << TimeTaken << " pv " << pvv << endl;
else
cout << "info score cp " << sc << " depth " << ( int ) mply << " nodes " << totMoves << " time " << TimeTaken << " pv " << pvv << endl;
if ( mply >= maxDepth - 1 )
break;

Expand Down
2 changes: 1 addition & 1 deletion src/namespaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace _board {
using namespace std;

static const string NAME = "Cinnamon 1.1";
static const string NAME = "Cinnamon 1.1b";
static const string STARTPOS = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1";

typedef unsigned char uchar;
Expand Down

0 comments on commit c8edc6a

Please sign in to comment.