]> git.sesse.net Git - stockfish/commitdiff
Stockfish 1.0
authorMarco Costalba <mcostalba@gmail.com>
Sun, 2 Nov 2008 14:35:32 +0000 (15:35 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 2 Nov 2008 14:35:32 +0000 (15:35 +0100)
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
Readme.txt
src/Makefile
src/misc.h
src/search.cpp

index 377d44aa8e15d1cc32d8b25a856b5946aaba7827..dc76d74227862c7bde9ddb643ad37775358568b6 100644 (file)
@@ -1,9 +1,9 @@
 1. Introduction\r
 ---------------\r
 \r
 1. Introduction\r
 ---------------\r
 \r
-Stockfish is a free UCI chess engine derived from Glaurung. It is not\r
-a complete chess program, but requires some UCI compatible GUI (like\r
-XBoard with PolyGlot, eboard, Jos�, Arena, Sigma Chess, Shredder,\r
+Stockfish is a free UCI chess engine derived from Glaurung 2.1. It is\r
+not a complete chess program, but requires some UCI compatible GUI\r
+(like XBoard with PolyGlot, eboard, Jos�, Arena, Sigma Chess, Shredder,\r
 Chess Partner, or Fritz) in order to be used comfortably.  Read the\r
 documentation for your GUI of choice for information about how to use\r
 Stockfish with your GUI.\r
 Chess Partner, or Fritz) in order to be used comfortably.  Read the\r
 documentation for your GUI of choice for information about how to use\r
 Stockfish with your GUI.\r
@@ -20,7 +20,7 @@ cores on your computer.
 2. Files\r
 --------\r
 \r
 2. Files\r
 --------\r
 \r
-This distribution of Glaurung consists of the following files:\r
+This distribution of Stockfish consists of the following files:\r
 \r
   * Readme.txt, the file you are currently reading.\r
 \r
 \r
   * Readme.txt, the file you are currently reading.\r
 \r
@@ -28,8 +28,8 @@ This distribution of Glaurung consists of the following files:
     License.\r
 \r
   * src/, a subdirectory containing the full source code, including a\r
     License.\r
 \r
   * src/, a subdirectory containing the full source code, including a\r
-    Makefile that can be used to compile Glaurung on Unix-like\r
-    systems.  For further information about how to compile Glaurung\r
+    Makefile that can be used to compile Stockfish on Unix-like\r
+    systems.  For further information about how to compile Stockfish\r
     yourself, read section 4 below.\r
 \r
   * polyglot.ini, for using Stockfish with Fabien Letouzey's PolyGlot\r
     yourself, read section 4 below.\r
 \r
   * polyglot.ini, for using Stockfish with Fabien Letouzey's PolyGlot\r
index b55ef7eab284e8f4ca19d05c1f4f36fb9fa77d6b..ec143d60a2848ae888edf5381bbe7c3258d38cfc 100644 (file)
@@ -1,14 +1,15 @@
-# Glaurung, a UCI chess playing engine.
+# Stockfish, a UCI chess playing engine derived from Glaurung 2.1
 # Copyright (C) 2004-2007 Tord Romstad
 # Copyright (C) 2004-2007 Tord Romstad
+# Copyright (C) 2008 Marco Costalba
 
 
-# This file is part of Glaurung.
+# This file is part of Stockfish.
 #
 #
-# Glaurung is free software: you can redistribute it and/or modify
+# Stockfish is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation, either version 3 of the License, or
 # (at your option) any later version.
 #
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation, either version 3 of the License, or
 # (at your option) any later version.
 #
-# Glaurung is distributed in the hope that it will be useful,
+# Stockfish is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
@@ -21,7 +22,7 @@
 ### Files
 ###
 
 ### Files
 ###
 
-EXE = glaurung
+EXE = stockfish
 
 OBJS = bitboard.o color.o pawns.o material.o endgame.o evaluate.o main.o \
        misc.o move.o movegen.o history.o movepick.o search.o piece.o \
 
 OBJS = bitboard.o color.o pawns.o material.o endgame.o evaluate.o main.o \
        misc.o move.o movegen.o history.o movepick.o search.o piece.o \
index 3b1419837889668ee6c89b495954b94afd7b7899..9b3f3f4088972440244d43a9c083d16c5cb37965 100644 (file)
@@ -37,7 +37,7 @@
 /// Version number.  If this is left empty, the current date (in the format
 /// YYMMDD) is used as a version number.
 
 /// Version number.  If this is left empty, the current date (in the format
 /// YYMMDD) is used as a version number.
 
-const std::string EngineVersion = "";
+const std::string EngineVersion = "1.0";
 
 
 ////
 
 
 ////
index 02907a80f9d63dcc883a508c6791f76fd7660bfa..cdc34ba6d3a74b03fe413446d140972629c99dfc 100644 (file)
@@ -960,11 +960,11 @@ namespace {
       movesSearched[moveCount++] = ss[ply].currentMove = move;
 
       if (moveIsCapture)
       movesSearched[moveCount++] = ss[ply].currentMove = move;
 
       if (moveIsCapture)
-          ss[ply].currentMoveCaptureValue =  pos.midgame_value_of_piece_on(move_to(move));
+          ss[ply].currentMoveCaptureValue = pos.midgame_value_of_piece_on(move_to(move));
       else if (move_is_ep(move))
       else if (move_is_ep(move))
-          ss[ply].currentMoveCaptureValue =  PawnValueMidgame;
+          ss[ply].currentMoveCaptureValue = PawnValueMidgame;
       else
       else
-          ss[ply].currentMoveCaptureValue =  Value(0);
+          ss[ply].currentMoveCaptureValue = Value(0);
 
       // Decide the new search depth
       Depth ext = extension(pos, move, true, moveIsCheck, singleReply, mateThreat);
 
       // Decide the new search depth
       Depth ext = extension(pos, move, true, moveIsCheck, singleReply, mateThreat);