mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Stockfish 1.0
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
2fa9d25e82
commit
8097e99c69
4 changed files with 16 additions and 15 deletions
12
Readme.txt
12
Readme.txt
|
@ -1,9 +1,9 @@
|
|||
1. Introduction
|
||||
---------------
|
||||
|
||||
Stockfish is a free UCI chess engine derived from Glaurung. It is not
|
||||
a complete chess program, but requires some UCI compatible GUI (like
|
||||
XBoard with PolyGlot, eboard, Jos<6F>, Arena, Sigma Chess, Shredder,
|
||||
Stockfish is a free UCI chess engine derived from Glaurung 2.1. It is
|
||||
not a complete chess program, but requires some UCI compatible GUI
|
||||
(like XBoard with PolyGlot, eboard, Jos<6F>, Arena, Sigma Chess, Shredder,
|
||||
Chess Partner, or Fritz) in order to be used comfortably. Read the
|
||||
documentation for your GUI of choice for information about how to use
|
||||
Stockfish with your GUI.
|
||||
|
@ -20,7 +20,7 @@ cores on your computer.
|
|||
2. Files
|
||||
--------
|
||||
|
||||
This distribution of Glaurung consists of the following files:
|
||||
This distribution of Stockfish consists of the following files:
|
||||
|
||||
* Readme.txt, the file you are currently reading.
|
||||
|
||||
|
@ -28,8 +28,8 @@ This distribution of Glaurung consists of the following files:
|
|||
License.
|
||||
|
||||
* src/, a subdirectory containing the full source code, including a
|
||||
Makefile that can be used to compile Glaurung on Unix-like
|
||||
systems. For further information about how to compile Glaurung
|
||||
Makefile that can be used to compile Stockfish on Unix-like
|
||||
systems. For further information about how to compile Stockfish
|
||||
yourself, read section 4 below.
|
||||
|
||||
* polyglot.ini, for using Stockfish with Fabien Letouzey's PolyGlot
|
||||
|
|
11
src/Makefile
11
src/Makefile
|
@ -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) 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.
|
||||
#
|
||||
# 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.
|
||||
|
@ -21,7 +22,7 @@
|
|||
### 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 \
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
/// 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";
|
||||
|
||||
|
||||
////
|
||||
|
|
|
@ -960,11 +960,11 @@ namespace {
|
|||
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))
|
||||
ss[ply].currentMoveCaptureValue = PawnValueMidgame;
|
||||
ss[ply].currentMoveCaptureValue = PawnValueMidgame;
|
||||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue