diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..34ac67b --- /dev/null +++ b/.gitignore @@ -0,0 +1,66 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] + +# Distribution / packaging +.Python +venv/ +env/ +bin/ +src/ +develop-eggs/ +dist/ +eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg +include/ + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt +pip-selfcheck.json + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.cache +nosetests.xml +coverage.xml + +# Translations +*.mo + +# Mr Developer +.mr.developer.cfg +.project +.pydevproject + +# Rope +.ropeproject + +# Django stuff: +*.log +*.pot + +# Sphinx documentation +docs/_build/ + +# c9.io +.c9/ + +# PyCharm +.idea/ + +# PGN files +*.pgn + +# Config file +picochess.ini +picochess.uci diff --git a/.landscape.yaml b/.landscape.yaml new file mode 100644 index 0000000..8f761a0 --- /dev/null +++ b/.landscape.yaml @@ -0,0 +1,18 @@ +python-targets: + - 3 +doc-warnings: yes +test-warnings: no +strictness: veryhigh +max-line-length: 120 +ignore-paths: + - books + - docs + - engines + - etc + - games + - logs + - manual + - scripts + - tablebases + - test + - venv \ No newline at end of file diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..e611794 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,56 @@ +Picochess: +Jean-Francois Romang +Shivkumar Shivaji +Jürgen Précour + +DGTPi C-lib: +Lucas van der Ploeg + +Python chess lib: +Niklas Fiekas + +Chess engines: +Tord Romstad, Marco Costalba, Joona Kiiski and Gary Linscott +Peter Österlund +Jon Dart +PaweÅ‚ KozioÅ‚ +Alexandru MoÈ™oi +Manik Charan +Werner Taelemans +Hironori Ishibashi + +Opening books by Gabriel Leperlier: +fun.bin +anand.bin +korchnoi.bin +larsen.bin +pro.bin + +Opening book by Olivier Deville: +gm2001.bin + +Opening books by Marc Lacrosse: +performance.bin +varied.bin + +Opening book by Shivkumar Shivaji: +gm1950.bin + +Opening books by Dirk-Jan Dekker: +flank +semiopen +open +closed +indian + +Tablebases: +Ronald de Man +Miguel A. Ballicora + +Voices: +Alan Cooper +Christina ten Thij-Mucciaccio +Jan-Niclas Hartl +Luigi Vogliobene +Santiago Torres +DirkJan Dekker diff --git a/ChessboardLarge/Chessboard.fzz b/ChessboardLarge/Chessboard.fzz new file mode 100644 index 0000000..763f710 Binary files /dev/null and b/ChessboardLarge/Chessboard.fzz differ diff --git a/ChessboardLarge/ChessboardLarge.ino b/ChessboardLarge/ChessboardLarge.ino new file mode 100644 index 0000000..b4db3dd --- /dev/null +++ b/ChessboardLarge/ChessboardLarge.ino @@ -0,0 +1,392 @@ +//#include "ledmatrix.h" +#include "Switchmatrix.h" +#include +#include "Adafruit_LEDBackpack.h" +#include "Adafruit_GFX.h" +#include +//I2C pins declaration +LiquidCrystal_I2C lcd(0x3f, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); +SwitchMatrix sw; + +int White=0; +int Black=1; +int buttonsave; +int move_to, move_from; + +Adafruit_LEDBackpack matrix = Adafruit_LEDBackpack(); + +static long startTime = 0; // the last time the output pin was toggled +int speakerPin = 12; + +int numTones = 10; +int tones[] = {261, 277, 294, 311, 330, 349, 370, 392, 415, 440}; +// mid C C# D D# E F F# G G# A + +char * boardsquare[] = {"A1", "B1", "C1", "D1", "E1", "F1", "G1", "H1", + "A2", "B2", "C2", "D2", "E2", "F2", "G2", "H2", + "A3", "B3", "C3", "D3", "E3", "F3", "G3", "H3", + "A4", "B4", "C4", "D4", "E4", "F4", "G4", "H4", + "A5", "B5", "C5", "D5", "E5", "F5", "G5", "H5", + "A6", "B6", "C6", "D6", "E6", "F6", "G6", "H6", + "A7", "B7", "C7", "D7", "E7", "F7", "G7", "H7", + "A8", "B8", "C8", "D8", "E8", "F8", "G8", "H8" + }; +bool computermove = false; +void setup() +{ + + Serial.begin(115200); + Serial.setTimeout(50); + matrix.begin(0x70); // pass in the address + sw.fillMatrix(); + buttonsave=0; + newgame(White); + lcd.begin(20,4);//Defining 20 columns and 4 rows of lcd display + lcd.backlight();//To Power ON the back light +//lcd.backlight();// To Power OFF the back light + + lcd.setCursor(0,0); //Defining positon to write from first row,first column . + lcd.print("PicoChess"); + lcd.setCursor(0,1); + lcd.print("modified by Brian"); + lcd.setCursor(0,2); + lcd.print(""); + lcd.setCursor(0,3); + lcd.print(""); + +} + +void loop() +{ + static bool enablebuttons; + + FromPython(); + if(GetButtonMask()) + { + if(sw.buttonmask==0) + { + enablebuttons=true; + } + else if(enablebuttons) + { + enablebuttons=false; + switch (sw.buttonmask) + { + case 1: + ToPython("B:0"); + break; + case 2: + ToPython("B:1"); + break; + case 4: + ToPython("B:2"); + break; + case 8: + ToPython("B:3"); + break; + case 16: + ToPython("B:4"); + break; + case 32: + ToPython("B:5"); + //newgame(White); + break; + case 64: + ToPython("B:6"); + // newgame(Black); + break; + case 128: + ToPython("B:7"); + // ToPython("tb:"); + break; + } + } + } + if (sw.KeyChanged()) + { + int key = sw.keychanged; + bool lifted = sw.lifted; + FlashSquare(key, 100); + if (computermove) + { + MakeComputerMove(key); + } + else + { + MakeUserMove(key); + } + + if (!lifted) + { + CheckBoardPosition(); + } + + } +} +void MakeComputerMove(int square) +{ + if (sw.lifted) + { + if (square == move_from) + { + // beep(450, 100); + LightSquare(move_to); + matrix.writeDisplay(); + } + else if (square == move_to) //remove taken piece + { + //do nothing + } + else + { + //beep(550, 150); + //beep(450, 100); //wrong + } + } + + else //dropped + { + if (square == move_to) + { + // beep(350, 100); + matrix.clear(); + matrix.writeDisplay(); + computermove = false; + ToPython("Done"); + } + } +} +void MakeUserMove(int square) +{ + static bool startsquare; + if (sw.lifted) + { + if (!startsquare) + { + //beep(500, 100); + LightSquare(square); + matrix.writeDisplay(); + move_from = square; + startsquare = true; + } + else + { + // remove oppenents piece + } + } + else //dropped + { + if (move_from != square) //!put back on same square + { + matrix.clear(); + String move = boardsquare[move_from]; + ToPython(move + boardsquare[square]); + FlashSquare(square, 100); + //beep(400, 100); + } + else + { + FlashSquare(square, 100); //dropped on same square + //beep(300, 200); + } + startsquare = false; + } +} +void ToPython(String s) +{ + Serial.println(s);// write a string +} + +void FromPython() +{ + if (Serial.available() > 2) + { + //lcd.setCursor(0,3); + // lcd.print(Serial.available()); + char data = Serial.read(); +// if (data == 'F') //Flash +// { +// int sq = Serial.parseInt(); +// FlashSquare(sq, 50); +// } + if (data == 'L') //LED on + { + //beep(600,500); + int sq = Serial.parseInt(); + LightSquare(sq); + matrix.writeDisplay(); + } + if (data == 'C') //LED Off + { + int sq = Serial.parseInt(); + ClearLeds(); + } + if (data == 'B') //LED Off + { + int sq = Serial.parseInt(); + beep(sq); + } + if (data == 'D') //LCD Disply + { + int sq = Serial.parseInt(); + lcd.setCursor(0,sq); + String s = Serial.readString(); + lcd.print(s); + } + if (data == 'F') //from computer 'from square' + { + computermove = true; + move_from = Serial.parseInt(); + //beep(350, 50); + LightSquare(move_from); + matrix.writeDisplay(); + } + if (data == 'T') //from computer 'to square' + { + move_to = Serial.parseInt(); + computermove = true; + //LightSquare(sq,true); + // beep(450,50); + // matrix.writeDisplay(); + } + } +} + + +bool GetButtonMask(void) +{ + long debounceDelay = 200; + if (sw.buttonmask== buttonsave) + { + if((millis() - startTime) > debounceDelay ) + { + return true; + } + } + else + { + startTime = millis(); + buttonsave=sw.buttonmask; + } + return false; +} + + + +void newgame(int color) +{ + int brdsetup=0; + + while(brdsetup<32) + { + sw.fillMatrix(); //piece positions to matrix + ClearLeds(); + + brdsetup=32; + for(int i=0;i<16;i++) + { + if(!sw.GetKeyState(i)) + { + brdsetup--; + LightSquare(i); + } + } + for(int i=48;i<64;i++) + { + if(!sw.GetKeyState(i)) + + { + brdsetup--; + LightSquare(i); + } + } + matrix.writeDisplay(); + } + if(color) ToPython("newgame:b"); + else ToPython("newgame:w"); +} + + +void lightled(int row,int column) +{ + + if(column<8) + { + matrix.displaybuffer[column] |= (1<= 0; column--) + { + int data = digitalRead(SR_Sin); + if (data != boardmatrix[row][column]) + { + state = data; + key = (row * 8 + column); + return (true); + } + digitalWrite(SR_SCLK, HIGH); //next bit + digitalWrite(SR_SCLK, LOW); + } + } + buttonmask=0; + //last row for buttons + digitalWrite(Cntr_CLK, HIGH); //clock 4017 -use outputs 1-9 ; not 0 + digitalWrite(Cntr_CLK, LOW); + + digitalWrite(PSCont, HIGH); //latch paralel data + digitalWrite(PSCont, LOW); + for (column = 0; column < 8; column++) + { + int data = digitalRead(SR_Sin); + buttonmask = buttonmask | data<=0; r--) + { + int data = digitalRead(SR_Sin); + boardmatrix[c][r] = data; + + digitalWrite(SR_SCLK, HIGH); //next bit + digitalWrite(SR_SCLK, LOW); + } + } +} + + diff --git a/ChessboardLarge/Switchmatrix.h b/ChessboardLarge/Switchmatrix.h new file mode 100644 index 0000000..d915563 --- /dev/null +++ b/ChessboardLarge/Switchmatrix.h @@ -0,0 +1,41 @@ +#ifndef SwitchMatrix_h +#define SwitchMatrix_h + + +#include +#include + +#define SR_Sin 2 //4021 #3 +#define PSCont 3 //4021 #9 +#define SR_SCLK 4 //4021 #10 + +#define Cntr_CLK 5 //4017 #14 +#define Cntr_CLR 6 //4017 #15 //4017 #13 grnd + + +class SwitchMatrix +{ + public: + SwitchMatrix(); + void fillMatrix(); + bool KeyChanged(void); + bool GetKeyState(int key); + int keychanged; + int buttonmask; + bool lifted; + int boardmatrix[8][8]; //kb matrix + + private: + + long startTime = 0; // the last time the output pin was toggled + + long debounceDelay = 50; // the debounce time; + int key; + int row; + int column; + int state; + + bool checkmatrix(void); + +}; +#endif diff --git a/ChessboardTest/ChessboardTest.ino b/ChessboardTest/ChessboardTest.ino new file mode 100644 index 0000000..eb2b5b4 --- /dev/null +++ b/ChessboardTest/ChessboardTest.ino @@ -0,0 +1,395 @@ +//#include "ledmatrix.h" +#include "Switchmatrix.h" +#include +#include "Adafruit_LEDBackpack.h" +#include "Adafruit_GFX.h" +#include +//I2C pins declaration +LiquidCrystal_I2C lcd(0x3f, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); +SwitchMatrix sw; + +int White=0; +int Black=1; +int buttonsave; +int move_to, move_from; + +Adafruit_LEDBackpack matrix = Adafruit_LEDBackpack(); + +static long startTime = 0; // the last time the output pin was toggled +int speakerPin = 12; + +int numTones = 10; +int tones[] = {261, 277, 294, 311, 330, 349, 370, 392, 415, 440}; +// mid C C# D D# E F F# G G# A + +char * boardsquare[] = {"A1", "B1", "C1", "D1", "E1", "F1", "G1", "H1", + "A2", "B2", "C2", "D2", "E2", "F2", "G2", "H2", + "A3", "B3", "C3", "D3", "E3", "F3", "G3", "H3", + "A4", "B4", "C4", "D4", "E4", "F4", "G4", "H4", + "A5", "B5", "C5", "D5", "E5", "F5", "G5", "H5", + "A6", "B6", "C6", "D6", "E6", "F6", "G6", "H6", + "A7", "B7", "C7", "D7", "E7", "F7", "G7", "H7", + "A8", "B8", "C8", "D8", "E8", "F8", "G8", "H8" + }; +bool computermove = false; +void setup() +{ + + Serial.begin(115200); + Serial.setTimeout(50); + matrix.begin(0x70); // pass in the address + sw.fillMatrix(); + buttonsave=0; + //newgame(White); + lcd.begin(20,4);//Defining 20 columns and 4 rows of lcd display + lcd.backlight();//To Power ON the back light +//lcd.backlight();// To Power OFF the back light + + lcd.setCursor(0,0); //Defining positon to write from first row,first column . + lcd.print("PicoChess nN"); + lcd.setCursor(0,1); + lcd.print("Modified by BRL"); + lcd.setCursor(0,2); + lcd.print(""); + lcd.setCursor(0,3); + lcd.print(""); + +} + +void loop() +{ + static bool enablebuttons; + + FromPython(); + if(GetButtonMask()) + { + if(sw.buttonmask==0) + { + enablebuttons=true; + } + else if(enablebuttons) + { + enablebuttons=false; + switch (sw.buttonmask) + { + case 1: + ToPython("B:0"); + break; + case 2: + ToPython("B:1"); + break; + case 4: + ToPython("B:2"); + break; + case 8: + ToPython("B:3"); + break; + case 16: + ToPython("B:4"); + break; + case 32: + ToPython("B:5"); + //newgame(White); + break; + case 64: + ToPython("B:6"); + // newgame(Black); + break; + case 128: + //ToPython("B:7"); + ToPython("tb:"); + break; + } + } + } + if (sw.KeyChanged()) + { + int key = sw.keychanged; + Serial.println(key); + bool lifted = sw.lifted; + FlashSquare(key, 300); +// if (computermove) +// { +// MakeComputerMove(key); +// } +// else +// { +// MakeUserMove(key); +// } +// +// if (!lifted) +// { +// //CheckBoardPosition(); +// } + + } +} +void MakeComputerMove(int square) +{ + if (sw.lifted) + { + if (square == move_from) + { + // beep(450, 100); + LightSquare(move_to); + matrix.writeDisplay(); + } + else if (square == move_to) //remove taken piece + { + //do nothing + } + else + { + //beep(550, 150); + //beep(450, 100); //wrong + } + } + + else //dropped + { + if (square == move_to) + { + // beep(350, 100); + matrix.clear(); + matrix.writeDisplay(); + computermove = false; + ToPython("Done"); + } + } +} +void MakeUserMove(int square) +{ + static bool moveStarted; + if (sw.lifted) + { + if (!moveStarted) + { + //beep(500, 100); + ToPython("l:" + String(square)); + LightSquare(square); + matrix.writeDisplay(); + move_from = square; + moveStarted = true; + } + else + { + // another piece lifted after move started so must be + // remove oppenents piece + } + } + else //dropped + { + if (move_from != square) //!put back on same square + { + matrix.clear(); + String move = boardsquare[move_from]; + ToPython(move + boardsquare[square]); + FlashSquare(square, 100); + //beep(400, 100); + } + else + { + FlashSquare(square, 100); //dropped on same square + //beep(300, 200); + } + moveStarted = false; + } +} +void ToPython(String s) +{ + Serial.println(s);// write a string +} + +void FromPython() +{ + if (Serial.available() > 2) + { + //lcd.setCursor(0,3); + // lcd.print(Serial.available()); + char data = Serial.read(); +// if (data == 'F') //Flash +// { +// int sq = Serial.parseInt(); +// FlashSquare(sq, 50); +// } + if (data == 'L') //LED on + { + //beep(600,500); + int sq = Serial.parseInt(); + LightSquare(sq); + matrix.writeDisplay(); + } + if (data == 'C') //LED Off + { + int sq = Serial.parseInt(); + ClearLeds(); + } + if (data == 'B') //LED Off + { + int sq = Serial.parseInt(); + beep(sq); + } + if (data == 'D') //LCD Disply + { + int sq = Serial.parseInt(); + lcd.setCursor(0,sq); + String s = Serial.readString(); + lcd.print(s); + } + if (data == 'F') //from computer 'from square' + { + computermove = true; + move_from = Serial.parseInt(); + beep(350); + LightSquare(move_from); + matrix.writeDisplay(); + } + if (data == 'T') //from computer 'to square' + { + move_to = Serial.parseInt(); + computermove = true; + //LightSquare(sq,true); + // beep(450,50); + // matrix.writeDisplay(); + } + } +} + + +bool GetButtonMask(void) +{ + long debounceDelay = 200; + if (sw.buttonmask== buttonsave) + { + if((millis() - startTime) > debounceDelay ) + { + return true; + } + } + else + { + startTime = millis(); + buttonsave=sw.buttonmask; + } + return false; +} + + + +void newgame(int color) +{ + int brdsetup=0; + + while(brdsetup<32) + { + sw.fillMatrix(); //piece positions to matrix + ClearLeds(); + + brdsetup=32; + for(int i=0;i<16;i++) + { + if(!sw.GetKeyState(i)) + { + brdsetup--; + LightSquare(i); + } + } + for(int i=48;i<64;i++) + { + if(!sw.GetKeyState(i)) + + { + brdsetup--; + LightSquare(i); + } + } + matrix.writeDisplay(); + } + if(color) ToPython("newgame:b"); + else ToPython("newgame:w"); +} + + +void lightled(int row,int column) +{ + + if(column<8) + { + matrix.displaybuffer[column] |= (1<= 0; column--) + { + int data = digitalRead(SR_Sin); + if (data != boardmatrix[row][column]) + { + state = data; + key = (row * 8 + column); + return (true); + } + digitalWrite(SR_SCLK, HIGH); //next bit + digitalWrite(SR_SCLK, LOW); + } + } + buttonmask=0; + //last row for buttons + digitalWrite(Cntr_CLK, HIGH); //clock 4017 -use outputs 1-9 ; not 0 + digitalWrite(Cntr_CLK, LOW); + + digitalWrite(PSCont, HIGH); //latch paralel data + digitalWrite(PSCont, LOW); + for (column = 0; column < 8; column++) + { + int data = digitalRead(SR_Sin); + buttonmask = buttonmask | data<=0; r--) + { + int data = digitalRead(SR_Sin); + boardmatrix[c][r] = data; + + digitalWrite(SR_SCLK, HIGH); //next bit + digitalWrite(SR_SCLK, LOW); + } + } +} + + diff --git a/ChessboardTest/Switchmatrix.h b/ChessboardTest/Switchmatrix.h new file mode 100644 index 0000000..d915563 --- /dev/null +++ b/ChessboardTest/Switchmatrix.h @@ -0,0 +1,41 @@ +#ifndef SwitchMatrix_h +#define SwitchMatrix_h + + +#include +#include + +#define SR_Sin 2 //4021 #3 +#define PSCont 3 //4021 #9 +#define SR_SCLK 4 //4021 #10 + +#define Cntr_CLK 5 //4017 #14 +#define Cntr_CLR 6 //4017 #15 //4017 #13 grnd + + +class SwitchMatrix +{ + public: + SwitchMatrix(); + void fillMatrix(); + bool KeyChanged(void); + bool GetKeyState(int key); + int keychanged; + int buttonmask; + bool lifted; + int boardmatrix[8][8]; //kb matrix + + private: + + long startTime = 0; // the last time the output pin was toggled + + long debounceDelay = 50; // the debounce time; + int key; + int row; + int column; + int state; + + bool checkmatrix(void); + +}; +#endif diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ef7e7ef --- /dev/null +++ b/LICENSE @@ -0,0 +1,674 @@ +GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program 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. + + This program 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. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/README.md b/README.md new file mode 100644 index 0000000..0b444cb --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +PicoChess +========= + +Modified to work with non DGT boards +Should run on PC, to run on Raspberry pi modify the code in sensorboard.py for the serial port used. + +Recommend using Pycharm to debug and install requirments. \ No newline at end of file diff --git a/SensorBoard.py b/SensorBoard.py new file mode 100644 index 0000000..7a4b659 --- /dev/null +++ b/SensorBoard.py @@ -0,0 +1,264 @@ +___author__ = 'Brian' + + + +import threading +import chess +import time +import logging +import serial +import chess.uci +from utilities import * +from timecontrol import * +from picochess import * + +arduino = serial.Serial('COM4', 115200, timeout=.1) +time.sleep(2) +class SensorBoard(Observable, threading.Thread): + def __init__(self): + super(SensorBoard, self).__init__() + self.flip_board = False + #self.arduino = serial.Serial('COM3', 115200, timeout=.1) + + def Light_Square(self,sq,on): + if on: + sq = "L" + str(sq) + arduino.write(str.encode(sq)) + else: + sq = "C" + str(sq) + arduino.write(str.encode(sq)) + arduino.flush() + + + def run(self): + while True: + btxt = "" + if arduino.inWaiting()>0: + btxt = arduino.readline().strip() + arduino.flush() + if btxt: + print(btxt) + cmd = btxt.decode('utf-8').lower() + + #raw = input('PicoChess v' + version + ':>').strip() + #cmd = raw.lower() + print(cmd) + try: + # commands like "newgame:" or "setup:" + # or "print:" + # + # for simulating a dgt board use the following commands + # "fen:" or "button:<0-4>" + # + # everything else is regarded as a move string + if cmd.startswith('newgame:'): + side = cmd.split(':')[1] + if side == 'w': + #self.flip_board = False + #self.fire(Event.FEN(fen='rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR')) + self.fire(Event.NEW_GAME(pos960=518)) + elif side == 'b': + self.fire(Event.NEW_GAME) + #self.flip_board = True + #self.fire(Event.FEN(fen='RNBKQBNR/PPPPPPPP/8/8/8/8/pppppppp/rnbkqbnr')) + else: + raise ValueError(cmd) + else: + + if cmd.startswith('FEN:'): + fen = cmd.split(':')[1] + self.fire(Event.FEN(fen=fen.split(' ')[0])) + elif cmd.startswith('b:'): + button = int(cmd.split(':')[1]) + if button not in range(6): + raise ValueError(button) + if button==5: + button=0x40 + self.fire(Event.KEYBOARD_BUTTON(button=button, dev = 'ser')) + + elif cmd.startswith('l:'): + from_square = cmd.split(':')[1] + self.fire(Event.LIFT_PIECE(square=from_square)) + #elif cmd.startswith('d:'): + # to_square = cmd.split(':')[1] + # self.fire(Event.DROP_PIECE(square=to_square)) + # print("Drop Piece") + elif cmd.startswith("tb:"): + self.fire(Event.TAKE_BACK()) + elif cmd.startswith('shutdown'): + self.fire(Event.SHUTDOWN(dev='ser')) + elif cmd.startswith('reboot'): + self.fire(Event.REBOOT(dev='ser')) + elif cmd.startswith('done'): + print("ComputerMove done on board") + if keyboard_last_fen is not None: + self.fire(Event.KEYBOARD_FEN(fen=keyboard_last_fen)) + else: + move = chess.Move.from_uci(cmd) + self.fire(Event.KEYBOARD_MOVE(move=move)) + #print("command not recognised ", cmd) #bl + except ValueError as e: + logging.warning('Invalid user input [%s]', cmd) + time.sleep(.2) # sleep .2s + + + + + +class BoardDisplay(DisplayMsg, threading.Thread): + + def __init__(self): + super(BoardDisplay, self).__init__() + #arduino = serial.Serial('COM3', 115200, timeout=.1) + self.enginename = '' + self.time_left = (0, 0, 0) + self.time_right = (0, 0, 0) + self.color = 255 + self.level = '' + #self.timetext = "" + self.info = 'Picochess' + self.game = chess.Board() + + self.arduino = arduino + + def Light_Square(self,sq,on): + if on: + sq = "L" + str(sq) + self.arduino.write(str.encode(sq)) + else: + sq = "C" + str(sq) + self.arduino.write(str.encode(sq)) + self.arduino.flush() + + def SendMove(self, frm, to): + sq = "F" + str(frm) + self.arduino.write(str.encode(sq)) + time.sleep(.5) + self.arduino.flush() + sq = "T" + str(to) + self.arduino.write(str.encode(sq)) + + self.arduino.flush() + + def SendText(self, txt, row): + sq = "D" + row + txt + a = sq.ljust(20) + self.arduino.write(str.encode(a)) + time.sleep(.2) + self.arduino.flush() + + + def run(self): + global keyboard_last_fen + logging.info('msg_queue terminaldisplay ready') + while True: + # Check if we have something to display + try: + message = self.msg_queue.get() + + if not isinstance(message, Message.DGT_SERIAL_NR): + logging.debug('received message from msg_queue: %s', message) + #print(message) + if isinstance(message, Message.COMPUTER_MOVE): + game_copy = message.game.copy() + game_copy.push(message.move) + self.game = game_copy + keyboard_last_fen = game_copy.fen().split(' ')[0] + #Observable.fire(Event.KEYBOARD_FEN(fen=keyboard_last_fen)) + mov = message.move.from_square + to = message.move.to_square + #self.Light_Square(mov, True) + #self.Light_Square(to, True) + self.SendMove(mov,to) + + elif isinstance(message, Message.CLOCK_TIME): + time_u = message.time_white + time_c = message.time_black + l_hms = hms_time(time_u) + r_hms = hms_time(time_c) + self.time_left = '{}:{:02d}.{:02d}'.format(l_hms[0], l_hms[1], l_hms[2]) + self.time_right = '{}:{:02d}.{:02d}'.format(r_hms[0], r_hms[1], r_hms[2]) + clck = 'T{} - {}'.format(self.time_left,self.time_right) + print(clck) + self.SendText(clck,'2') + #self.lcd_string('{} - {}'.format(self.time_left,self.time_right), self.LCD_LINE_4) + + elif isinstance(message, Message.COMPUTER_MOVE_DONE): + print("ComputerMoveDone") + + elif isinstance(message, Message.ENGINE_STARTUP): + print("Level index ",message.level_index) + + + elif isinstance(message, Message.ENGINE_READY): + #print(message.engine_name) + self.enginename = message.engine_name + #self.lcd_string(self.enginename, self.LCD_LINE_1) + self.SendText(str(self.enginename), '1') + + elif isinstance(message, Message.SYSTEM_INFO): + engine_name = message.info['engine_name'] + + self.user_name = message.info['user_name'] + self.user_elo = message.info['user_elo'] + self.enginename = engine_name + #self.lcd_string(self.enginename, self.LCD_LINE_1) + self.SendText(str(self.enginename), '0') + + elif isinstance(message, Message.STARTUP_INFO): + level = message.info['level_text'].l + #self.lcd_string(level, self.LCD_LINE_2) + timetext = message.info['time_text'].s + #self.lcd_string(timetext, self.LCD_LINE_3) + self.SendText(timetext, '2') + self.SendText(level, '1') + + elif(isinstance(message, Message.START_NEW_GAME)): + #print(message.game) + self.game = message.game + + elif (isinstance(message, Message.USER_MOVE_DONE)): + self.game=message.game + print("User Move Done"); + + + elif isinstance(message, Message.LEVEL): + print(message.level_text.m) + level_text= message.level_text.l + #self.lcd_string(level_text, self.LCD_LINE_2) + self.SendText(level_text, '2') + print(message.level_text.m) + + elif isinstance(message, Message.TIME_CONTROL): + #print(message.level_text.m) + tcinit = message.tc_init + if tcinit['mode'] == TimeMode.BLITZ: + t = 'Blitz Game {:d} '.format(tcinit['blitz']) + elif tcinit['mode'] == TimeMode.FISCHER: + t= 'Fisher {:d} {:d}'.format(tcinit['blitz'], tcinit['fischer']) + elif tcinit['mode'] == TimeMode.FIXED: + t='Move Time {:d}'.format(tcinit['fixed']) + self.timetext= t + #self.lcd_string(self.timetext, self.LCD_LINE_3) + self.SendText(self.timetext, '2') + + elif isinstance(message, Message.DISPLAY_TEXT): + print(message.text['msg']) + self.info = message.text['msg'] + #self.lcd_string(self.info, self.LCD_LINE_4) + self.SendText(self.info, '3') + + elif isinstance(message, Message.GAME_ENDS): + print(message.result.name) + self.info = message.result.name + #self.lcd_string(self.info, self.LCD_LINE_4) + + elif isinstance(message, Message.EXIT_MENU): + self.info = '' + + + elif isinstance(message, Message.TAKE_BACK): + print(message.game) + + except queue.Empty: + pass diff --git a/books/a-nobook.bin b/books/a-nobook.bin new file mode 100644 index 0000000..e69de29 diff --git a/books/b-flank.bin b/books/b-flank.bin new file mode 100644 index 0000000..c757c32 Binary files /dev/null and b/books/b-flank.bin differ diff --git a/books/books.ini b/books/books.ini new file mode 100644 index 0000000..4b6761f --- /dev/null +++ b/books/books.ini @@ -0,0 +1,79 @@ +[a-nobook.bin] +small = nobook +medium = No book +large = No book + +[b-flank.bin] +small = flank +medium = Flank +large = Flank + +[c-semiopen.bin] +small = semiop +medium = Semiopen +large = Semi-open + +[d-open.bin] +small = open +medium = Open +large = Open + +[e-closed.bin] +small = closed +medium = Closed +large = Closed + +[f-indian.bin] +small = indian +medium = Indian +large = Indian + +[g-fun.bin] +small = fun +medium = Fun +large = Fun + +[h-varied.bin] +small = varied +medium = Varied +large = Varied + +[i-gm1950.bin] +small = gm1950 +medium = GM 1950 +large = GM 1950 + +[j-performance.bin] +small = perfor +medium = Performa +large = Performance + +[k-stfish.bin] +small = stfish +medium = Stckfish +large = Stockfish + +[l-anand.bin] +small = anand +medium = Anand +large = Anand + +[m-korchnoi.bin] +small = korchn +medium = Korchnoi +large = Korchnoi + +[n-larsen.bin] +small = larsen +medium = Larsen +large = Larsen + +[o-pro.bin] +small = pro +medium = Pro +large = Pro + +[p-gm2001.bin] +small = gm2001 +medium = GM 2001 +large = GM 2001 diff --git a/books/c-semiopen.bin b/books/c-semiopen.bin new file mode 100644 index 0000000..74740e4 Binary files /dev/null and b/books/c-semiopen.bin differ diff --git a/books/d-open.bin b/books/d-open.bin new file mode 100644 index 0000000..779a01e Binary files /dev/null and b/books/d-open.bin differ diff --git a/books/e-closed.bin b/books/e-closed.bin new file mode 100644 index 0000000..a22fb80 Binary files /dev/null and b/books/e-closed.bin differ diff --git a/books/f-indian.bin b/books/f-indian.bin new file mode 100644 index 0000000..51a715f Binary files /dev/null and b/books/f-indian.bin differ diff --git a/books/g-fun.bin b/books/g-fun.bin new file mode 100644 index 0000000..ae122fe Binary files /dev/null and b/books/g-fun.bin differ diff --git a/books/h-varied.bin b/books/h-varied.bin new file mode 100644 index 0000000..5c126b0 Binary files /dev/null and b/books/h-varied.bin differ diff --git a/books/i-gm1950.bin b/books/i-gm1950.bin new file mode 100644 index 0000000..641b1e5 Binary files /dev/null and b/books/i-gm1950.bin differ diff --git a/books/j-performance.bin b/books/j-performance.bin new file mode 100644 index 0000000..04eb6fb Binary files /dev/null and b/books/j-performance.bin differ diff --git a/books/k-stfish.bin b/books/k-stfish.bin new file mode 100644 index 0000000..2e63d99 Binary files /dev/null and b/books/k-stfish.bin differ diff --git a/books/l-anand.bin b/books/l-anand.bin new file mode 100644 index 0000000..0d12fd9 Binary files /dev/null and b/books/l-anand.bin differ diff --git a/books/m-korchnoi.bin b/books/m-korchnoi.bin new file mode 100644 index 0000000..a6f5709 Binary files /dev/null and b/books/m-korchnoi.bin differ diff --git a/books/n-larsen.bin b/books/n-larsen.bin new file mode 100644 index 0000000..7dfe1a2 Binary files /dev/null and b/books/n-larsen.bin differ diff --git a/books/o-pro.bin b/books/o-pro.bin new file mode 100644 index 0000000..a60088f Binary files /dev/null and b/books/o-pro.bin differ diff --git a/books/p-gm2001.bin b/books/p-gm2001.bin new file mode 100644 index 0000000..ac4e17f Binary files /dev/null and b/books/p-gm2001.bin differ diff --git a/build/books.py b/build/books.py new file mode 100644 index 0000000..3083afb --- /dev/null +++ b/build/books.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python3 + +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import os +import configparser + + +def write_book_ini(): + """Read the books folder and write the result to book.ini.""" + def is_book(fname): + """Check for a valid book file name.""" + return fname.endswith('.bin') + + program_path = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) + books_path = program_path + os.sep + 'books' + + book_list = sorted(os.listdir(books_path)) + config = configparser.ConfigParser() + config.optionxform = str + for book_file_name in book_list: + if is_book(book_file_name): + print(book_file_name) + book = book_file_name[2:-4] + config[book_file_name] = {} + config[book_file_name]['small'] = book[:6] + config[book_file_name]['medium'] = book[:8].title() + config[book_file_name]['large'] = book[:11].title() + with open(books_path + os.sep + 'books.ini', 'w') as configfile: + config.write(configfile) + + +write_book_ini() diff --git a/build/engines.py b/build/engines.py new file mode 100644 index 0000000..010445a --- /dev/null +++ b/build/engines.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python3 + +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import sys +import os +sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))) + +from uci.write import write_engine_ini + +write_engine_ini() diff --git a/build/voices.py b/build/voices.py new file mode 100644 index 0000000..5c195bb --- /dev/null +++ b/build/voices.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python3 + +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import os +from configobj import ConfigObj + + +def write_voice_ini(): + """Read the voices folder and write the result to voices.ini.""" + def get_immediate_subdirectories(a_dir): + """Return the immediate subdirs.""" + return [name for name in os.listdir(a_dir) + if os.path.isdir(os.path.join(a_dir, name))] + + program_path = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) + voices_path = program_path + os.sep + 'talker' + os.sep + 'voices' + config = ConfigObj(voices_path + os.sep + 'voices.ini', indent_type=' ') + + lang_list = get_immediate_subdirectories(voices_path) + for lang_dir_name in lang_list: + print(lang_dir_name) + config[lang_dir_name] = {} + speak_list = get_immediate_subdirectories(voices_path + os.sep + lang_dir_name) + for speak_dir_name in speak_list: + config[lang_dir_name][speak_dir_name] = {} + config[lang_dir_name][speak_dir_name]['small'] = speak_dir_name[:6] + config[lang_dir_name][speak_dir_name]['medium'] = speak_dir_name[:8].title() + config[lang_dir_name][speak_dir_name]['large'] = speak_dir_name[:11].title() + config.write() + + +write_voice_ini() diff --git a/dgt/__init__.py b/dgt/__init__.py new file mode 100644 index 0000000..1c62e98 --- /dev/null +++ b/dgt/__init__.py @@ -0,0 +1,23 @@ +#!/usr/bin/env python3 + +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +__all__ = ['api', 'board', 'display', 'hw', 'iface', 'menu', 'pi', 'translate', 'util'] +__author__ = 'Jürgen Précour' +__email__ = 'LocutusOfPenguin@posteo.de' +__version__ = '0.9m' diff --git a/dgt/api.py b/dgt/api.py new file mode 100644 index 0000000..2cbb52d --- /dev/null +++ b/dgt/api.py @@ -0,0 +1,281 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + + +class BaseClass(object): + + """Used for creating event, message, dgt classes.""" + + def __init__(self, classtype): + self._type = classtype + + def __repr__(self): + return self._type + + def __hash__(self): + return hash(str(self.__class__) + ": " + str(self.__dict__)) + + +def ClassFactory(name, argnames, BaseClass=BaseClass): + """Class factory for generating.""" + def __init__(self, **kwargs): + for key, value in kwargs.items(): + # here, the argnames variable is the one passed to the ClassFactory call + if key not in argnames: + raise TypeError("argument {} not valid for {}".format(key, self.__class__.__name__)) + setattr(self, key, value) + BaseClass.__init__(self, name) + + newclass = type(name, (BaseClass,), {"__init__": __init__}) + return newclass + + +class EventApi(): + + """The api for the events.""" + + # User events + FEN = 'EVT_FEN' # User has moved one or more pieces, and we have a new fen position + LEVEL = 'EVT_LEVEL' # User sets engine level + NEW_GAME = 'EVT_NEW_GAME' # User starts a new game + DRAWRESIGN = 'EVT_DRAWRESIGN' # User declares a resignation or draw + KEYBOARD_MOVE = 'EVT_KEYBOARD_MOVE' # Keyboard sends a move (to be transfered to a fen) + REMOTE_MOVE = 'EVT_REMOTE_MOVE' # Remote player move + SET_OPENING_BOOK = 'EVT_SET_OPENING_BOOK' # User chooses an opening book + NEW_ENGINE = 'EVT_NEW_ENGINE' # Change engine + SET_INTERACTION_MODE = 'EVT_SET_INTERACTION_MODE' # Change interaction mode + SETUP_POSITION = 'EVT_SETUP_POSITION' # Setup custom position + PAUSE_RESUME = 'EVT_PAUSE_RESUME' # Stops search or halt/resume running clock + SWITCH_SIDES = 'EVT_SWITCH_SIDES' # Switch the side + SET_TIME_CONTROL = 'EVT_SET_TIME_CONTROL' # User sets time control + SHUTDOWN = 'EVT_SHUTDOWN' # User wants to shutdown the machine + REBOOT = 'EVT_REBOOT' # User wants to reboot the machine + ALTERNATIVE_MOVE = 'EVT_ALTERNATIVE_MOVE' # User wants engine to recalculate the position + EMAIL_LOG = 'EVT_EMAIL_LOG' # User want to send the log file by eMail + SET_VOICE = 'EVT_SET_VOICE' # User sets a new voice + # Keyboard events + KEYBOARD_BUTTON = 'EVT_KEYBOARD_BUTTON' # User pressed a button at the virtual clock + KEYBOARD_FEN = 'EVT_KEYBOARD_FEN' # Virtual board sends a fen + # Engine events + BEST_MOVE = 'EVT_BEST_MOVE' # Engine has found a move + NEW_PV = 'EVT_NEW_PV' # Engine sends a new principal variation + NEW_SCORE = 'EVT_NEW_SCORE' # Engine sends a new score + NEW_DEPTH = 'EVT_NEW_DEPTH' # Engine sends a new depth + START_SEARCH = 'EVT_START_SEARCH' # Engine starts the search + STOP_SEARCH = 'EVT_STOP_SEARCH' # Engine stops the search + # Timecontrol events + OUT_OF_TIME = 'EVT_OUT_OF_TIME' # Clock flag fallen + CLOCK_TIME = 'EVT_CLOCK_TIME' # Clock sends its time + # Special events + EXIT_MENU = 'EVT_EXIT_MENU' # User exists the menu + UPDATE_PICO = 'EVT_UPDATE' # User wants to upgrade/downgrade picochess + REMOTE_ROOM = 'EVT_REMOTE_ROOM' # User enters/leaves the remote room + LIFT_PIECE = 'EVT_LIFT_PIECE' # piece lifted on board + TAKE_BACK = 'EVT_TAKE_BACK' #take back move + +class MessageApi(): + + """The api for message.""" + + # Messages to display devices + COMPUTER_MOVE = 'MSG_COMPUTER_MOVE' # Show computer move + BOOK_MOVE = 'MSG_BOOK_MOVE' # Show book move + NEW_PV = 'MSG_NEW_PV' # Show the new Principal Variation + REVIEW_MOVE_DONE = 'MSG_REVIEW_MOVE_DONE' # Player is reviewing a game (analysis, kibitz or observe modes) + ENGINE_READY = 'MSG_ENGINE_READY' + ENGINE_STARTUP = 'MSG_ENGINE_STARTUP' # first time a new engine is ready + ENGINE_FAIL = 'MSG_ENGINE_FAIL' # Engine startup fails + LEVEL = 'MSG_LEVEL' # User sets engine level + TIME_CONTROL = 'MSG_TIME_CONTROL' # New Timecontrol + OPENING_BOOK = 'MSG_OPENING_BOOK' # User chooses an opening book + + DGT_BUTTON = 'MSG_DGT_BUTTON' # Clock button pressed + DGT_FEN = 'MSG_DGT_FEN' # DGT Board sends a fen + DGT_CLOCK_VERSION = 'MSG_DGT_CLOCK_VERSION' # DGT Board sends the clock version + DGT_CLOCK_TIME = 'MSG_DGT_CLOCK_TIME' # DGT Clock time message + DGT_SERIAL_NR = 'MSG_DGT_SERIAL_NR' # DGT Clock serial_nr (used for watchdog only) + DGT_JACK_CONNECTED_ERROR = 'MSG_DGT_JACK_CONNECTED_ERROR' # User connected fully|partly the clock via jack + DGT_NO_CLOCK_ERROR = 'MSG_DGT_NO_CLOCK_ERROR' # User hasnt connected a clock + DGT_NO_EBOARD_ERROR = 'MSG_DGT_NO_EBOARD_ERROR' # User hasnt connected an E-Board + DGT_EBOARD_VERSION = 'MSG_DGT_EBOARD_VERSION' # Startup Message after a successful connection to an E-Board + + INTERACTION_MODE = 'MSG_INTERACTON_MODE' # Interaction mode + PLAY_MODE = 'MSG_PLAY_MODE' # Play mode + START_NEW_GAME = 'MSG_START_NEW_GAME' # User starts a new game + COMPUTER_MOVE_DONE = 'MSG_COMPUTER_MOVE_DONE' # User has done the computer move on board + SEARCH_STARTED = 'MSG_SEARCH_STARTED' # Engine has started to search + SEARCH_STOPPED = 'MSG_SEARCH_STOPPED' # Engine has stopped the search + TAKE_BACK = 'MSG_TACK_BACK' # User takes back move(s) + CLOCK_START = 'MSG_CLOCK_START' # Say to run autonomous clock, contains time_control + CLOCK_STOP = 'MSG_CLOCK_STOP' # Stops the clock + CLOCK_TIME = 'MSG_CLOCK_TIME' # Send the prio clock time + USER_MOVE_DONE = 'MSG_USER_MOVE_DONE' # Player has done a move on board + GAME_ENDS = 'MSG_GAME_ENDS' # The current game has ended, contains a 'result' (GameResult) and list of 'moves' + + SYSTEM_INFO = 'MSG_SYSTEM_INFO' # Information about picochess such as version etc + STARTUP_INFO = 'MSG_STARTUP_INFO' # Information about the startup options + IP_INFO = 'MSG_IP_INFO' # Information about the IP adr + NEW_SCORE = 'MSG_NEW_SCORE' # Shows a new score + NEW_DEPTH = 'MSG_NEW_DEPTH' # Shows a new depth + ALTERNATIVE_MOVE = 'MSG_ALTERNATIVE_MOVE' # User wants another move to be calculated + SWITCH_SIDES = 'MSG_SWITCH_SIDES' # Forget the engines move, and let it be user's turn + SYSTEM_SHUTDOWN = 'MSG_SYSTEM_SHUTDOWN' # Sends a Shutdown + SYSTEM_REBOOT = 'MSG_SYSTEM_REBOOT' # Sends a Reboot + SET_VOICE = 'MSG_SET_VOICE' # User chooses a new voice + + EXIT_MENU = 'MSG_EXIT_MENU' # User exits the menu + WRONG_FEN = 'MSG_WRONG_FEN' # User sends a wrong placement of pieces (timed) + BATTERY = 'MSG_BATTERY' # percent of BT battery + UPDATE_PICO = 'MSG_UPDATE' # User wants to update picochess + REMOTE_ROOM = 'MSG_REMOTE_ROOM' # User enters/leaves a remote room + DISPLAY_TEXT = 'MSG_DISPLAY_DGT_MESSAGE' + +class DgtApi(): + + """The api for the dgt.""" + + # Commands to the DgtHw/DgtPi/DgtVr + DISPLAY_MOVE = 'DGT_DISPLAY_MOVE' + DISPLAY_TEXT = 'DGT_DISPLAY_TEXT' + DISPLAY_TIME = 'DGT_DISPLAY_TIME' + LIGHT_CLEAR = 'DGT_LIGHT_CLEAR' + LIGHT_SQUARES = 'DGT_LIGHT_SQUARES' + CLOCK_SET = 'DGT_CLOCK_SET' + CLOCK_START = 'DGT_CLOCK_START' + CLOCK_STOP = 'DGT_CLOCK_STOP' + CLOCK_VERSION = 'DGT_CLOCK_VERSION' + SERIALNR = 'DGT_SERIALNR' + + +class Dgt(): + + """Used to define tasks for the communication towards the dgt hardware.""" + + DISPLAY_MOVE = ClassFactory(DgtApi.DISPLAY_MOVE, ['move', 'fen', 'uci960', 'side', 'lang', 'capital', 'long', + 'beep', 'maxtime', 'devs', 'wait', 'ld', 'rd']) + DISPLAY_TEXT = ClassFactory(DgtApi.DISPLAY_TEXT, ['l', 'm', 's', + 'beep', 'maxtime', 'devs', 'wait', 'ld', 'rd']) + DISPLAY_TIME = ClassFactory(DgtApi.DISPLAY_TIME, ['wait', 'force', 'devs']) + LIGHT_CLEAR = ClassFactory(DgtApi.LIGHT_CLEAR, ['devs']) + LIGHT_SQUARES = ClassFactory(DgtApi.LIGHT_SQUARES, ['uci_move', 'devs']) + CLOCK_SET = ClassFactory(DgtApi.CLOCK_SET, ['time_left', 'time_right', 'devs']) + CLOCK_START = ClassFactory(DgtApi.CLOCK_START, ['side', 'devs', 'wait']) + CLOCK_STOP = ClassFactory(DgtApi.CLOCK_STOP, ['devs', 'wait']) + CLOCK_VERSION = ClassFactory(DgtApi.CLOCK_VERSION, ['main', 'sub', 'devs']) + + +class Message(): + + """General class for transmitting messages between several parts of picochess.""" + + # Messages to display devices + COMPUTER_MOVE = ClassFactory(MessageApi.COMPUTER_MOVE, ['move', 'ponder', 'game', 'wait']) + BOOK_MOVE = ClassFactory(MessageApi.BOOK_MOVE, []) + NEW_PV = ClassFactory(MessageApi.NEW_PV, ['pv', 'mode', 'game']) + REVIEW_MOVE_DONE = ClassFactory(MessageApi.REVIEW_MOVE_DONE, ['move', 'fen', 'turn', 'game']) + ENGINE_READY = ClassFactory(MessageApi.ENGINE_READY, ['eng', 'eng_text', 'engine_name', 'has_levels', 'has_960', + 'has_ponder', 'show_ok']) + ENGINE_STARTUP = ClassFactory(MessageApi.ENGINE_STARTUP, ['installed_engines', 'file', 'level_index', 'has_960', + 'has_ponder']) + ENGINE_FAIL = ClassFactory(MessageApi.ENGINE_FAIL, []) + LEVEL = ClassFactory(MessageApi.LEVEL, ['level_text', 'level_name', 'do_speak']) + TIME_CONTROL = ClassFactory(MessageApi.TIME_CONTROL, ['time_text', 'show_ok', 'tc_init']) + OPENING_BOOK = ClassFactory(MessageApi.OPENING_BOOK, ['book_text', 'show_ok']) + + DGT_BUTTON = ClassFactory(MessageApi.DGT_BUTTON, ['button', 'dev']) + DGT_FEN = ClassFactory(MessageApi.DGT_FEN, ['fen', 'raw']) + DGT_CLOCK_VERSION = ClassFactory(MessageApi.DGT_CLOCK_VERSION, ['main', 'sub', 'dev', 'text']) + DGT_CLOCK_TIME = ClassFactory(MessageApi.DGT_CLOCK_TIME, ['time_left', 'time_right' , 'connect', 'dev']) + DGT_SERIAL_NR = ClassFactory(MessageApi.DGT_SERIAL_NR, ['number']) + DGT_JACK_CONNECTED_ERROR = ClassFactory(MessageApi.DGT_JACK_CONNECTED_ERROR, []) + DGT_NO_CLOCK_ERROR = ClassFactory(MessageApi.DGT_NO_CLOCK_ERROR, ['text']) + DGT_NO_EBOARD_ERROR = ClassFactory(MessageApi.DGT_NO_EBOARD_ERROR, ['text']) + DGT_EBOARD_VERSION = ClassFactory(MessageApi.DGT_EBOARD_VERSION, ['text', 'channel']) + + INTERACTION_MODE = ClassFactory(MessageApi.INTERACTION_MODE, ['mode', 'mode_text', 'show_ok']) + PLAY_MODE = ClassFactory(MessageApi.PLAY_MODE, ['play_mode', 'play_mode_text']) + START_NEW_GAME = ClassFactory(MessageApi.START_NEW_GAME, ['game', 'newgame']) + COMPUTER_MOVE_DONE = ClassFactory(MessageApi.COMPUTER_MOVE_DONE, []) + SEARCH_STARTED = ClassFactory(MessageApi.SEARCH_STARTED, []) + SEARCH_STOPPED = ClassFactory(MessageApi.SEARCH_STOPPED, []) + TAKE_BACK = ClassFactory(MessageApi.TAKE_BACK, ['game']) + CLOCK_START = ClassFactory(MessageApi.CLOCK_START, ['turn', 'tc_init', 'devs']) + CLOCK_STOP = ClassFactory(MessageApi.CLOCK_STOP, ['devs']) + CLOCK_TIME = ClassFactory(MessageApi.CLOCK_TIME, ['time_white', 'time_black', 'low_time']) + USER_MOVE_DONE = ClassFactory(MessageApi.USER_MOVE_DONE, ['move', 'fen', 'turn', 'game']) + GAME_ENDS = ClassFactory(MessageApi.GAME_ENDS, ['result', 'play_mode', 'game']) + + SYSTEM_INFO = ClassFactory(MessageApi.SYSTEM_INFO, ['info']) + STARTUP_INFO = ClassFactory(MessageApi.STARTUP_INFO, ['info']) + IP_INFO = ClassFactory(MessageApi.IP_INFO, ['info']) + NEW_SCORE = ClassFactory(MessageApi.NEW_SCORE, ['score', 'mate', 'mode', 'turn']) + NEW_DEPTH = ClassFactory(MessageApi.NEW_DEPTH, ['depth']) + ALTERNATIVE_MOVE = ClassFactory(MessageApi.ALTERNATIVE_MOVE, ['game', 'play_mode']) + SWITCH_SIDES = ClassFactory(MessageApi.SWITCH_SIDES, ['game', 'move']) + SYSTEM_SHUTDOWN = ClassFactory(MessageApi.SYSTEM_SHUTDOWN, []) + SYSTEM_REBOOT = ClassFactory(MessageApi.SYSTEM_REBOOT, []) + SET_VOICE = ClassFactory(MessageApi.SET_VOICE, ['type', 'lang', 'speaker', 'speed']) + + EXIT_MENU = ClassFactory(MessageApi.EXIT_MENU, []) + WRONG_FEN = ClassFactory(MessageApi.WRONG_FEN, []) + BATTERY = ClassFactory(MessageApi.BATTERY, ['percent']) + UPDATE_PICO = ClassFactory(MessageApi.UPDATE_PICO, []) + REMOTE_ROOM = ClassFactory(MessageApi.REMOTE_ROOM, ['inside']) + DISPLAY_TEXT = ClassFactory(MessageApi.DISPLAY_TEXT, ['text']) + +class Event(): + + """Event used to send towards picochess.""" + + # User events + FEN = ClassFactory(EventApi.FEN, ['fen']) + LEVEL = ClassFactory(EventApi.LEVEL, ['options', 'level_text', 'level_name']) + NEW_GAME = ClassFactory(EventApi.NEW_GAME, ['pos960']) + DRAWRESIGN = ClassFactory(EventApi.DRAWRESIGN, ['result']) + KEYBOARD_MOVE = ClassFactory(EventApi.KEYBOARD_MOVE, ['move']) + REMOTE_MOVE = ClassFactory(EventApi.REMOTE_MOVE, ['move', 'fen']) + SET_OPENING_BOOK = ClassFactory(EventApi.SET_OPENING_BOOK, ['book', 'book_text', 'show_ok']) + NEW_ENGINE = ClassFactory(EventApi.NEW_ENGINE, ['eng', 'eng_text', 'options', 'show_ok']) + SET_INTERACTION_MODE = ClassFactory(EventApi.SET_INTERACTION_MODE, ['mode', 'mode_text', 'show_ok']) + SETUP_POSITION = ClassFactory(EventApi.SETUP_POSITION, ['fen', 'uci960']) + PAUSE_RESUME = ClassFactory(EventApi.PAUSE_RESUME, []) + SWITCH_SIDES = ClassFactory(EventApi.SWITCH_SIDES, []) + SET_TIME_CONTROL = ClassFactory(EventApi.SET_TIME_CONTROL, ['tc_init', 'time_text', 'show_ok']) + SHUTDOWN = ClassFactory(EventApi.SHUTDOWN, ['dev']) + REBOOT = ClassFactory(EventApi.REBOOT, ['dev']) + ALTERNATIVE_MOVE = ClassFactory(EventApi.ALTERNATIVE_MOVE, []) + EMAIL_LOG = ClassFactory(EventApi.EMAIL_LOG, []) + SET_VOICE = ClassFactory(EventApi.SET_VOICE, ['type', 'lang', 'speaker', 'speed']) + # Keyboard events + KEYBOARD_BUTTON = ClassFactory(EventApi.KEYBOARD_BUTTON, ['button', 'dev']) + KEYBOARD_FEN = ClassFactory(EventApi.KEYBOARD_FEN, ['fen']) + # Engine events + BEST_MOVE = ClassFactory(EventApi.BEST_MOVE, ['move', 'ponder', 'inbook']) + NEW_PV = ClassFactory(EventApi.NEW_PV, ['pv']) + NEW_SCORE = ClassFactory(EventApi.NEW_SCORE, ['score', 'mate']) + NEW_DEPTH = ClassFactory(EventApi.NEW_DEPTH, ['depth']) + START_SEARCH = ClassFactory(EventApi.START_SEARCH, []) + STOP_SEARCH = ClassFactory(EventApi.STOP_SEARCH, []) + # Timecontrol events + OUT_OF_TIME = ClassFactory(EventApi.OUT_OF_TIME, ['color']) + CLOCK_TIME = ClassFactory(EventApi.CLOCK_TIME, ['time_white', 'time_black', 'connect', 'dev']) + # special events + EXIT_MENU = ClassFactory(EventApi.EXIT_MENU, []) + UPDATE_PICO = ClassFactory(EventApi.UPDATE_PICO, ['tag']) + REMOTE_ROOM = ClassFactory(EventApi.REMOTE_ROOM, ['inside']) + LIFT_PIECE = ClassFactory(EventApi.LIFT_PIECE, ['square']) + TAKE_BACK = ClassFactory(EventApi.TAKE_BACK, []) \ No newline at end of file diff --git a/dgt/board.py b/dgt/board.py new file mode 100644 index 0000000..32d5f80 --- /dev/null +++ b/dgt/board.py @@ -0,0 +1,782 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import struct +import logging +import subprocess +from threading import Timer, Lock +#from fcntl import fcntl, F_GETFL, F_SETFL +#from os import O_NONBLOCK, read, path, listdir +from serial import Serial, SerialException, STOPBITS_ONE, PARITY_NONE, EIGHTBITS +import time + +from dgt.util import DgtAck, DgtClk, DgtCmd, DgtMsg, ClockIcons, ClockSide, enum +from dgt.api import Message, Dgt +from utilities import RepeatedTimer, DisplayMsg, hms_time + + +class DgtBoard(object): + + """Handle the DGT board communication.""" + + def __init__(self, device: str, disable_revelation_leds: bool, is_pi: bool, disable_end: bool, field_factor=0): + super(DgtBoard, self).__init__() + self.given_device = device + self.device = device + # rev2 flags + self.disable_revelation_leds = disable_revelation_leds + self.enable_revelation_pi = False + self.is_revelation = False + + self.is_pi = is_pi + self.disable_end = disable_end # @todo for test - XL needs a "end_text" maybe! + self.field_factor = field_factor % 10 + + self.serial = None + self.lock = Lock() # lock the serial write + self.incoming_board_thread = None + self.lever_pos = None + # the next three are only used for "not dgtpi" mode + self.clock_lock = False # serial connected clock is locked + self.last_clock_command = [] # Used for resend last (failed) clock command + self.enable_ser_clock = None # None = "unknown status" False="only board found" True="clock also found" + self.watchdog_timer = RepeatedTimer(1, self._watchdog) + # bluetooth vars for Jessie upwards & autoconnect + self.btctl = None + self.bt_rfcomm = None + self.bt_state = -1 + self.bt_line = '' + self.bt_current_device = -1 + self.bt_mac_list = [] + self.bt_name_list = [] + self.bt_name = '' + self.wait_counter = 0 + # keep the last time to find out errorous DGT_MSG_BWTIME messages (error: current time > last time) + self.r_time = 3600 * 10 # max value cause 10h cant be reached by clock + self.l_time = 3600 * 10 # max value cause 10h cant be reached by clock + + self.bconn_text = None + # keep track of changed board positions + self.field_timer = None + self.field_timer_running = False + self.channel = None + + self.in_settime = False # this is true between set_clock and clock_start => use set values instead of clock + self.low_time = False # This is set from picochess.py and used to limit the field timer + + def expired_field_timer(self): + """Board position hasnt changed for some time.""" + logging.debug('board position now stable => ask for complete board') + self.field_timer_running = False + self.write_command([DgtCmd.DGT_SEND_BRD]) # Ask for the board when a piece moved + + def stop_field_timer(self): + """Stop the field timer cause another field change been send.""" + logging.debug('board position was unstable => ignore former field update') + self.field_timer.cancel() + self.field_timer.join() + self.field_timer_running = False + + def start_field_timer(self): + """Start the field timer waiting for a stable board position.""" + if self.low_time: + wait = (0.2 if self.channel == 'BT' else 0.10) + 0.06 * self.field_factor # bullet => allow more sliding + else: + wait = (0.5 if self.channel == 'BT' else 0.25) + 0.03 * self.field_factor # BT's scanning in half speed + logging.debug('board position changed => wait %.2fsecs for a stable result low_time: %s', wait, self.low_time) + self.field_timer = Timer(wait, self.expired_field_timer) + self.field_timer.start() + self.field_timer_running = True + + def write_command(self, message: list): + """Write the message list to the dgt board.""" + mes = message[3] if message[0].value == DgtCmd.DGT_CLOCK_MESSAGE.value else message[0] + if not mes == DgtCmd.DGT_RETURN_SERIALNR: + logging.debug('(ser) board put [%s] length: %i', mes, len(message)) + if mes.value == DgtClk.DGT_CMD_CLOCK_ASCII.value: + logging.debug('sending text [%s] to (ser) clock', ''.join([chr(elem) for elem in message[4:12]])) + if mes.value == DgtClk.DGT_CMD_REV2_ASCII.value: + logging.debug('sending text [%s] to (rev) clock', ''.join([chr(elem) for elem in message[4:15]])) + + array = [] + char_to_xl = { + '0': 0x3f, '1': 0x06, '2': 0x5b, '3': 0x4f, '4': 0x66, '5': 0x6d, '6': 0x7d, '7': 0x07, '8': 0x7f, + '9': 0x6f, 'a': 0x5f, 'b': 0x7c, 'c': 0x58, 'd': 0x5e, 'e': 0x7b, 'f': 0x71, 'g': 0x3d, 'h': 0x74, + 'i': 0x10, 'j': 0x1e, 'k': 0x75, 'l': 0x38, 'm': 0x55, 'n': 0x54, 'o': 0x5c, 'p': 0x73, 'q': 0x67, + 'r': 0x50, 's': 0x6d, 't': 0x78, 'u': 0x3e, 'v': 0x2a, 'w': 0x7e, 'x': 0x64, 'y': 0x6e, 'z': 0x5b, + ' ': 0x00, '-': 0x40, '/': 0x52, '|': 0x36, '\\': 0x64, '?': 0x53, '@': 0x65, '=': 0x48, '_': 0x08 + } + for item in message: + if isinstance(item, int): + array.append(item) + elif isinstance(item, enum.Enum): + array.append(item.value) + elif isinstance(item, str): + for character in item: + array.append(char_to_xl[character.lower()]) + else: + logging.error('type not supported [%s]', type(item)) + return False + + while True: + if self.serial: + with self.lock: + try: + self.serial.write(bytearray(array)) + break + except ValueError: + logging.error('invalid bytes sent %s', message) + return False + except SerialException as write_expection: + logging.error(write_expection) + self.serial.close() + self.serial = None + except IOError as write_expection: + logging.error(write_expection) + self.serial.close() + self.serial = None + if mes == DgtCmd.DGT_RETURN_SERIALNR: + break + time.sleep(0.1) + + if message[0] == DgtCmd.DGT_SET_LEDS: + logging.debug('(rev) leds turned %s', 'on' if message[2] else 'off') + if message[0] == DgtCmd.DGT_CLOCK_MESSAGE: + self.last_clock_command = message + if self.clock_lock: + logging.warning('(ser) clock is already locked. Maybe a "resend"?') + else: + logging.debug('(ser) clock is locked now') + self.clock_lock = time.time() + else: + time.sleep(0.1) # give the board some time to process the command + return True + + def _process_board_message(self, message_id: int, message: tuple, message_length: int): + if False: # switch-case + pass + elif message_id == DgtMsg.DGT_MSG_VERSION: + if message_length != 2: + logging.warning('illegal length in data') + board_version = str(message[0]) + '.' + str(message[1]) + logging.debug('(ser) board version %0.2f', float(board_version)) + self.write_command([DgtCmd.DGT_SEND_BRD]) # Update the board => get first FEN + if self.device.find('rfc') == -1: + text_l, text_m, text_s = 'USB e-Board', 'USBboard', 'ok usb' + self.channel = 'USB' + else: + btname5 = self.bt_name[-5:] + if 'REVII' in self.bt_name: + text_l, text_m, text_s = 'RevII ' + btname5, 'Rev' + btname5, 'b' + btname5 + self.is_revelation = True + self.write_command([DgtCmd.DGT_RETURN_LONG_SERIALNR]) + elif 'DGT_BT' in self.bt_name: + text_l, text_m, text_s = 'DGTBT ' + btname5, 'BT ' + btname5, 'b' + btname5 + else: + text_l, text_m, text_s = 'BT e-Board', 'BT board', 'ok bt' + self.channel = 'BT' + self.ask_battery_status() + self.bconn_text = Dgt.DISPLAY_TEXT(l=text_l, m=text_m, s=text_s, wait=True, beep=False, maxtime=1.1, + devs={'i2c', 'web'}) # serial clock lateron + DisplayMsg.show(Message.DGT_EBOARD_VERSION(text=self.bconn_text, channel=self.channel)) + self.startup_serial_clock() # now ask the serial clock to answer + if self.watchdog_timer.is_running(): + logging.warning('watchdog timer is already running') + else: + logging.debug('watchdog timer is started') + self.watchdog_timer.start() + + elif message_id == DgtMsg.DGT_MSG_BWTIME: + if message_length != 7: + logging.warning('illegal length in data') + if ((message[0] & 0x0f) == 0x0a) or ((message[3] & 0x0f) == 0x0a): # Clock ack message + # Construct the ack message + ack0 = ((message[1]) & 0x7f) | ((message[3] << 3) & 0x80) + ack1 = ((message[2]) & 0x7f) | ((message[3] << 2) & 0x80) + ack2 = ((message[4]) & 0x7f) | ((message[0] << 3) & 0x80) + ack3 = ((message[5]) & 0x7f) | ((message[0] << 2) & 0x80) + if ack0 != 0x10: + logging.warning('(ser) clock ACK error %s', (ack0, ack1, ack2, ack3)) + if self.last_clock_command: + logging.debug('(ser) clock resending failed message [%s]', self.last_clock_command) + self.write_command(self.last_clock_command) + self.last_clock_command = [] # only resend once + return + else: + logging.debug('(ser) clock ACK okay [%s]', DgtAck(ack1)) + if self.last_clock_command: + cmd = self.last_clock_command[3] # type: DgtClk + if cmd.value != ack1 and ack1 < 0x80: + logging.warning('(ser) clock ACK [%s] out of sync - last: [%s]', DgtAck(ack1), cmd) + # @todo these lines are better as what is done on DgtHw but it doesnt work + # if ack1 == DgtAck.DGT_ACK_CLOCK_SETNRUN.value: + # logging.info('(ser) clock out of set time now') + # self.in_settime = False + if ack1 == DgtAck.DGT_ACK_CLOCK_BUTTON.value: + # this are the other (ack2-ack3) codes + # 05-49 33-52 17-51 09-50 65-53 | button 0-4 (single) + # 37-52 21-51 13-50 69-53 | button 0 + 1-4 + # 49-51 41-50 97-53 | button 1 + 2-4 + # 25-50 81-53 | button 2 + 3-4 + # 73-53 | button 3 + 4 + if ack3 == 49: + logging.info('(ser) clock button 0 pressed - ack2: %i', ack2) + DisplayMsg.show(Message.DGT_BUTTON(button=0, dev='ser')) + if ack3 == 52: + logging.info('(ser) clock button 1 pressed - ack2: %i', ack2) + DisplayMsg.show(Message.DGT_BUTTON(button=1, dev='ser')) + if ack3 == 51: + logging.info('(ser) clock button 2 pressed - ack2: %i', ack2) + DisplayMsg.show(Message.DGT_BUTTON(button=2, dev='ser')) + if ack3 == 50: + logging.info('(ser) clock button 3 pressed - ack2: %i', ack2) + DisplayMsg.show(Message.DGT_BUTTON(button=3, dev='ser')) + if ack3 == 53: + if ack2 == 69: + logging.info('(ser) clock button 0+4 pressed - ack2: %i', ack2) + DisplayMsg.show(Message.DGT_BUTTON(button=0x11, dev='ser')) + else: + logging.info('(ser) clock button 4 pressed - ack2: %i', ack2) + DisplayMsg.show(Message.DGT_BUTTON(button=4, dev='ser')) + if ack1 == DgtAck.DGT_ACK_CLOCK_VERSION.value: + self.enable_ser_clock = True + main = ack2 >> 4 + sub = ack2 & 0x0f + logging.debug('(ser) clock version %0.2f', float(str(main) + '.' + str(sub))) + if self.bconn_text: + self.bconn_text.devs = {'ser'} # Now send the (delayed) message to serial clock + dev = 'ser' + else: + dev = 'err' + DisplayMsg.show(Message.DGT_CLOCK_VERSION(main=main, sub=sub, dev=dev, text=self.bconn_text)) + elif any(message[:7]): + r_hours = message[0] & 0x0f + r_mins = (message[1] >> 4) * 10 + (message[1] & 0x0f) + r_secs = (message[2] >> 4) * 10 + (message[2] & 0x0f) + l_hours = message[3] & 0x0f + l_mins = (message[4] >> 4) * 10 + (message[4] & 0x0f) + l_secs = (message[5] >> 4) * 10 + (message[5] & 0x0f) + r_time = r_hours * 3600 + r_mins * 60 + r_secs + l_time = l_hours * 3600 + l_mins * 60 + l_secs + errtim = r_hours > 9 or l_hours > 9 or r_mins > 59 or l_mins > 59 or r_secs > 59 or l_secs > 59 + if errtim: # complete illegal package received + logging.warning('(ser) clock illegal new time received %s', message) + elif r_time > self.r_time or l_time > self.l_time: # the new time is higher as the old => ignore + logging.warning('(ser) clock strange old time received %s l:%s r:%s', + message, hms_time(self.l_time), hms_time(self.r_time)) + if self.in_settime: + logging.info('(ser) clock still in set mode, ignore received time') + errtim = True + elif r_time - self.r_time > 3600 or l_time - self.l_time > 3600: + logging.info('(ser) clock new time over 1h difference, ignore received time') + errtim = True + else: + logging.info('(ser) clock new time received l:%s r:%s', hms_time(l_time), hms_time(r_time)) + status = message[6] & 0x3f + connect = not status & 0x20 + if connect: + right_side_down = -0x40 if status & 0x02 else 0x40 + if self.lever_pos != right_side_down: + logging.debug('(ser) clock button status: 0x%x old lever: %s', status, self.lever_pos) + if self.lever_pos is not None: + DisplayMsg.show(Message.DGT_BUTTON(button=right_side_down, dev='ser')) + self.lever_pos = right_side_down + else: + logging.info('(ser) clock not connected, sending old time l:%s r:%s', + hms_time(self.l_time), hms_time(self.r_time)) + l_time = self.l_time + r_time = self.r_time + if self.in_settime: + logging.info('(ser) clock still in set mode, sending old time l:%s r:%s', + hms_time(self.l_time), hms_time(self.r_time)) + l_time = self.l_time + r_time = self.r_time + DisplayMsg.show(Message.DGT_CLOCK_TIME(time_left=l_time, time_right=r_time, connect=connect, + dev='ser')) + if not self.enable_ser_clock: + dev = 'rev' if 'REVII' in self.bt_name else 'ser' + if self.watchdog_timer.is_running(): # a running watchdog means: board already found + logging.info('(%s) clock restarting setup', dev) + self.startup_serial_clock() + else: + logging.info('(%s) clock sends messages already but (%s) board still not found', dev, dev) + if not errtim: + self.r_time = r_time + self.l_time = l_time + else: + logging.debug('(ser) clock null message ignored') + if self.clock_lock: + logging.debug('(ser) clock unlocked after %.3f secs', time.time() - self.clock_lock) + self.clock_lock = False + + elif message_id == DgtMsg.DGT_MSG_BOARD_DUMP: + if message_length != 64: + logging.warning('illegal length in data') + piece_to_char = { + 0x01: 'P', 0x02: 'R', 0x03: 'N', 0x04: 'B', 0x05: 'K', 0x06: 'Q', + 0x07: 'p', 0x08: 'r', 0x09: 'n', 0x0a: 'b', 0x0b: 'k', 0x0c: 'q', + 0x0d: '$', 0x0e: '%', 0x0f: '&', 0x00: '.' + } + board = '' + for character in message: + board += piece_to_char[character & 0x0f] + logging.debug('\n' + '\n'.join(board[0 + i:8 + i] for i in range(0, len(board), 8))) # Show debug board + # Create fen from board + fen = '' + empty = 0 + for square in range(0, 64): + if message[square] != 0 and message[square] < 0x0d: # @todo for the moment ignore the special pieces + if empty > 0: + fen += str(empty) + empty = 0 + fen += piece_to_char[message[square] & 0x0f] + else: + empty += 1 + if (square + 1) % 8 == 0: + if empty > 0: + fen += str(empty) + empty = 0 + if square < 63: + fen += '/' + + # Attention! This fen is NOT flipped + logging.debug('raw fen [%s]', fen) + DisplayMsg.show(Message.DGT_FEN(fen=fen, raw=True)) + + elif message_id == DgtMsg.DGT_MSG_FIELD_UPDATE: + if message_length != 2: + logging.warning('illegal length in data') + if self.field_timer_running: + self.stop_field_timer() + self.start_field_timer() + + elif message_id == DgtMsg.DGT_MSG_SERIALNR: + if message_length != 5: + logging.warning('illegal length in data') + DisplayMsg.show(Message.DGT_SERIAL_NR(number=''.join([chr(elem) for elem in message]))) + + elif message_id == DgtMsg.DGT_MSG_LONG_SERIALNR: + if message_length != 10: + logging.warning('illegal length in data') + number = ''.join([chr(elem) for elem in message]) + self.enable_revelation_pi = float(number[:4]) >= 3.25 # "3.250010001"=yes "0000000001"=no + logging.info('(rev) clock in PiMode: %s - serial: %s', 'yes' if self.enable_revelation_pi else 'no', number) + + elif message_id == DgtMsg.DGT_MSG_BATTERY_STATUS: + if message_length != 9: + logging.warning('illegal length in data') + DisplayMsg.show(Message.BATTERY(percent=message[0])) + + else: # Default + logging.warning('message not handled [%s]', DgtMsg(message_id)) + + def _read_serial(self, bytes_toread=1): + try: + return self.serial.read(bytes_toread) + except SerialException: + pass + except AttributeError: # serial is None (race condition) + pass + return b'' + + def _read_board_message(self, head: bytes): + message = () + header_len = 3 + header = head + self._read_serial(header_len - 1) + try: + header = struct.unpack('>BBB', header) + except struct.error: + logging.warning('timeout in header reading') + return message + message_id = header[0] + message_length = counter = (header[1] << 7) + header[2] - header_len + if message_length <= 0 or message_length > 64: + if message_id == 0x8f and message_length == 0x1f00: # @todo find out why this can happen + logging.warning('falsely DGT_SEND_EE_MOVES send before => receive and ignore EE_MOVES result') + self.watchdog_timer.stop() # this serial read gonna take around 8secs + now = time.time() + while counter > 0: + ee_moves = self._read_serial(counter) + logging.info('EE_MOVES 0x%x bytes read - inWaiting: 0x%x', len(ee_moves), self.serial.inWaiting()) + counter -= len(ee_moves) + if time.time() - now > 15: + logging.warning('EE_MOVES needed over 15secs => ignore not readed 0x%x bytes now', counter) + break + self.watchdog_timer.start() + else: + logging.warning('illegal length in message header 0x%x length: %i', message_id, message_length) + return message + + try: + if not message_id == DgtMsg.DGT_MSG_SERIALNR: + logging.debug('(ser) board get [%s] length: %i', DgtMsg(message_id), message_length) + except ValueError: + logging.warning('illegal id in message header 0x%x length: %i', message_id, message_length) + return message + + while counter: + byte = self._read_serial() + try: + if byte: + data = struct.unpack('>B', byte) + counter -= 1 + if data[0] & 0x80: + logging.warning('illegal data in message 0x%x found', message_id) + logging.warning('ignore collected message data %s', message) + return self._read_board_message(byte) + message += data + else: + logging.warning('timeout in data reading') + except struct.error: + logging.warning('struct error => maybe a reconnected board?') + + self._process_board_message(message_id, message, message_length) + return message + + def _process_incoming_board_forever(self): + counter = 0 + logging.info('incoming_board ready') + while True: + byte = b'' + if self.serial: + byte = self._read_serial() + else: + self._setup_serial_port() + if self.serial: + logging.debug('sleeping for 0.5 secs. Afterwards startup the (ser) board') + time.sleep(0.5) + counter = 0 + self._startup_serial_board() + if byte and byte[0] & 0x80: + self._read_board_message(head=byte) + else: + counter = (counter + 1) % 10 + if counter == 0 and not self.watchdog_timer.is_running(): + self._watchdog() # issue 150 - check for alive connection, so write something to the board + time.sleep(0.1) + + def ask_battery_status(self): + """Ask the BT board for the battery status.""" + self.write_command([DgtCmd.DGT_SEND_BATTERY_STATUS]) # Get battery status + + def startup_serial_clock(self): + """Ask the clock for its version.""" + self.clock_lock = False + self.enable_ser_clock = False + command = [DgtCmd.DGT_CLOCK_MESSAGE, 0x03, DgtClk.DGT_CMD_CLOCK_START_MESSAGE, + DgtClk.DGT_CMD_CLOCK_VERSION, DgtClk.DGT_CMD_CLOCK_END_MESSAGE] + self.write_command(command) # Get clock version + + def _startup_serial_board(self): + self.write_command([DgtCmd.DGT_SEND_UPDATE_NICE]) # Set the board update mode + self.write_command([DgtCmd.DGT_SEND_VERSION]) # Get board version + + def _watchdog(self): + if self.clock_lock and not self.is_pi: + if time.time() - self.clock_lock > 2: + logging.warning('(ser) clock is locked over 2secs') + logging.debug('resending locked (ser) clock message [%s]', self.last_clock_command) + self.clock_lock = False + self.write_command(self.last_clock_command) + self.write_command([DgtCmd.DGT_RETURN_SERIALNR]) # ask for this AFTER cause of - maybe - old board hardware + + def _open_bluetooth(self): + # if self.bt_state == -1: + # # only for jessie upwards + # if path.exists('/usr/bin/bluetoothctl'): + # self.bt_state = 0 + # + # # get rid of old rfcomm + # if path.exists('/dev/rfcomm123'): + # logging.debug('BT releasing /dev/rfcomm123') + # subprocess.call(['rfcomm', 'release', '123']) + # subprocess.call(['cat', '/dev/rfcomm123']) # Lucas + # self.bt_current_device = -1 + # self.bt_mac_list = [] + # self.bt_name_list = [] + # + # logging.debug('BT starting bluetoothctl') + # self.btctl = subprocess.Popen('/usr/bin/bluetoothctl', + # stdin=subprocess.PIPE, + # stdout=subprocess.PIPE, + # stderr=subprocess.STDOUT, + # universal_newlines=True, + # shell=True) + # + # # set the O_NONBLOCK flag of file descriptor: + # flags = fcntl(self.btctl.stdout, F_GETFL) # get current flags + # fcntl(self.btctl.stdout, F_SETFL, flags | O_NONBLOCK) + # + # self.btctl.stdin.write("power on\n") + # self.btctl.stdin.flush() + # else: # state >= 0 so bluetoothctl is running + # try: # check for new data from bluetoothctl + # while True: + # bt_byte = read(self.btctl.stdout.fileno(), 1).decode(encoding='UTF-8', errors='ignore') + # self.bt_line += bt_byte + # if bt_byte == '' or bt_byte == '\n': + # break + # except OSError: + # time.sleep(0.1) + # + # # complete line + # if '\n' in self.bt_line: + # if False: # switch-case + # pass + # elif 'Changing power on succeeded' in self.bt_line: + # self.bt_state = 1 + # self.btctl.stdin.write("agent on\n") + # self.btctl.stdin.flush() + # elif 'Agent registered' in self.bt_line: + # self.bt_state = 2 + # self.btctl.stdin.write("default-agent\n") + # self.btctl.stdin.flush() + # elif 'Default agent request successful' in self.bt_line: + # self.bt_state = 3 + # self.btctl.stdin.write("scan on\n") + # self.btctl.stdin.flush() + # elif 'Discovering: yes' in self.bt_line: + # self.bt_state = 4 + # elif 'Pairing successful' in self.bt_line: + # self.bt_state = 6 + # logging.debug('BT pairing successful') + # elif 'Failed to pair: org.bluez.Error.AlreadyExists' in self.bt_line: + # self.bt_state = 6 + # logging.debug('BT already paired') + # elif 'Failed to pair' in self.bt_line: + # # try the next + # self.bt_state = 4 + # logging.debug('BT pairing failed') + # elif 'not available' in self.bt_line: + # # remove and try the next + # self.bt_state = 4 + # self.bt_mac_list.remove(self.bt_mac_list[self.bt_current_device]) + # self.bt_name_list.remove(self.bt_name_list[self.bt_current_device]) + # self.bt_current_device -= 1 + # logging.debug('BT pairing failed, unknown device') + # elif ('DGT_BT_' in self.bt_line or 'PCS-REVII' in self.bt_line) and \ + # ('NEW' in self.bt_line or 'CHG' in self.bt_line) and 'Device' in self.bt_line: + # # New e-Board found add to list + # try: + # if not self.bt_line.split()[3] in self.bt_mac_list: + # self.bt_mac_list.append(self.bt_line.split()[3]) + # self.bt_name_list.append(self.bt_line.split()[4]) + # logging.debug('BT found device: %s %s', self.bt_line.split()[3], self.bt_line.split()[4]) + # except IndexError: + # logging.error('BT wrong line [%s]', self.bt_line) + # # clear the line + # self.bt_line = '' + # + # # if 'Enter PIN code:' in self.bt_line: + # if 'PIN code' in self.bt_line: + # if 'DGT_BT_' in self.bt_name_list[self.bt_current_device]: + # self.btctl.stdin.write("0000\n") + # self.btctl.stdin.flush() + # if 'PCS-REVII' in self.bt_name_list[self.bt_current_device]: + # self.btctl.stdin.write("1234\n") + # self.btctl.stdin.flush() + # self.bt_line = '' + # + # if 'Confirm passkey' in self.bt_line: + # self.btctl.stdin.write("yes\n") + # self.btctl.stdin.flush() + # self.bt_line = '' + # + # # if there are devices in the list try one + # if self.bt_state == 4: + # if len(self.bt_mac_list) > 0: + # self.bt_state = 5 + # self.bt_current_device += 1 + # if self.bt_current_device >= len(self.bt_mac_list): + # self.bt_current_device = 0 + # logging.debug('BT pairing to: %s %s', + # self.bt_mac_list[self.bt_current_device], + # self.bt_name_list[self.bt_current_device]) + # self.btctl.stdin.write('pair ' + self.bt_mac_list[self.bt_current_device] + "\n") + # self.btctl.stdin.flush() + # + # # pair successful, try rfcomm + # if self.bt_state == 6: + # # now try rfcomm + # self.bt_state = 7 + # self.bt_rfcomm = subprocess.Popen('rfcomm connect 123 ' + self.bt_mac_list[self.bt_current_device], + # stdin=subprocess.PIPE, + # stdout=subprocess.PIPE, + # stderr=subprocess.PIPE, + # universal_newlines=True, + # shell=True) + # + # # wait for rfcomm to fail or succeed + # if self.bt_state == 7: + # # rfcomm succeeded + # if path.exists('/dev/rfcomm123'): + # logging.debug('BT connected to: %s', self.bt_name_list[self.bt_current_device]) + # if self._open_serial('/dev/rfcomm123'): + # self.btctl.stdin.write("quit\n") + # self.btctl.stdin.flush() + # self.bt_name = self.bt_name_list[self.bt_current_device] + # + # self.bt_state = -1 + # return True + # # rfcomm failed + # if self.bt_rfcomm.poll() is not None: + # logging.debug('BT rfcomm failed') + # self.btctl.stdin.write('remove ' + self.bt_mac_list[self.bt_current_device] + "\n") + # self.bt_mac_list.remove(self.bt_mac_list[self.bt_current_device]) + # self.bt_name_list.remove(self.bt_name_list[self.bt_current_device]) + # self.bt_current_device -= 1 + # self.btctl.stdin.flush() + # self.bt_state = 4 + return False + + def _open_serial(self, device: str): + assert not self.serial, 'serial connection still active: %s' % self.serial + try: + self.serial = Serial(device, stopbits=STOPBITS_ONE, parity=PARITY_NONE, bytesize=EIGHTBITS, timeout=0.5) + except SerialException: + return False + return True + + def _setup_serial_port(self): + # def _success(device: str): + # self.device = device + # logging.debug('(ser) board connected to %s', self.device) + # return True + # + # waitchars = ['/', '-', '\\', '|'] + # + # if self.watchdog_timer.is_running(): + # logging.debug('watchdog timer is stopped now') + # self.watchdog_timer.stop() + # if self.serial: + # return True + # with self.lock: + # if self.given_device: + # if self._open_serial(self.given_device): + # return _success(self.given_device) + # else: + # for file in listdir('/dev'): + # if file.startswith('ttyACM') or file.startswith('ttyUSB') or file == 'rfcomm0': + # dev = path.join('/dev', file) + # if self._open_serial(dev): + # return _success(dev) + # if self._open_bluetooth(): + # return _success('/dev/rfcomm123') + # + # # text = self.dgttranslate.text('N00_noboard', 'Board' + waitchars[self.wait_counter]) + # bwait = 'Board' + waitchars[self.wait_counter] + # text = Dgt.DISPLAY_TEXT(l='no e-' + bwait, m='no' + bwait, s=bwait, wait=True, beep=False, maxtime=0.1, + # devs={'i2c', 'web'}) + # DisplayMsg.show(Message.DGT_NO_EBOARD_ERROR(text=text)) + # self.wait_counter = (self.wait_counter + 1) % len(waitchars) + return False + + # dgtHw functions start + def _wait_for_clock(self, func: str): + has_to_wait = False + counter = 0 + while self.clock_lock: + if not has_to_wait: + has_to_wait = True + logging.debug('(ser) clock is locked => waiting to serve: %s', func) + time.sleep(0.1) + counter = (counter + 1) % 30 + if counter == 0: + logging.warning('(ser) clock is locked over 3secs') + if has_to_wait: + logging.debug('(ser) clock is released now') + + def set_text_rp(self, text: str, beep: int): + """Display a text on a Pi enabled Rev2.""" + self._wait_for_clock('SetTextRp()') + res = self.write_command([DgtCmd.DGT_CLOCK_MESSAGE, 0x0f, DgtClk.DGT_CMD_CLOCK_START_MESSAGE, + DgtClk.DGT_CMD_REV2_ASCII, + text[0], text[1], text[2], text[3], text[4], text[5], text[6], text[7], + text[8], text[9], text[10], beep, + DgtClk.DGT_CMD_CLOCK_END_MESSAGE]) + return res + + def set_text_3k(self, text: str, beep: int): + """Display a text on a 3000 Clock.""" + self._wait_for_clock('SetText3K()') + res = self.write_command([DgtCmd.DGT_CLOCK_MESSAGE, 0x0c, DgtClk.DGT_CMD_CLOCK_START_MESSAGE, + DgtClk.DGT_CMD_CLOCK_ASCII, + text[0], text[1], text[2], text[3], text[4], text[5], text[6], text[7], beep, + DgtClk.DGT_CMD_CLOCK_END_MESSAGE]) + return res + + def set_text_xl(self, text: str, beep: int, left_icons=ClockIcons.NONE, right_icons=ClockIcons.NONE): + """Display a text on a XL clock.""" + def _transfer(icons: ClockIcons): + result = 0 + if icons == ClockIcons.DOT: + result = 0x01 + if icons == ClockIcons.COLON: + result = 0x02 + return result + + self._wait_for_clock('SetTextXL()') + icn = (_transfer(right_icons) & 0x07) | (_transfer(left_icons) << 3) & 0x38 + res = self.write_command([DgtCmd.DGT_CLOCK_MESSAGE, 0x0b, DgtClk.DGT_CMD_CLOCK_START_MESSAGE, + DgtClk.DGT_CMD_CLOCK_DISPLAY, + text[2], text[1], text[0], text[5], text[4], text[3], icn, beep, + DgtClk.DGT_CMD_CLOCK_END_MESSAGE]) + return res + + def set_and_run(self, lr: int, lh: int, lm: int, ls: int, rr: int, rh: int, rm: int, rs: int): + """Set the clock with times and let it run.""" + self._wait_for_clock('SetAndRun()') + side = ClockSide.NONE + if lr == 1 and rr == 0: + side = ClockSide.LEFT + if lr == 0 and rr == 1: + side = ClockSide.RIGHT + res = self.write_command([DgtCmd.DGT_CLOCK_MESSAGE, 0x0a, DgtClk.DGT_CMD_CLOCK_START_MESSAGE, + DgtClk.DGT_CMD_CLOCK_SETNRUN, + lh, lm, ls, rh, rm, rs, side, + DgtClk.DGT_CMD_CLOCK_END_MESSAGE]) + return res + + def end_text(self): + """Return the clock display to time display.""" + self._wait_for_clock('EndText()') + res = self.write_command([DgtCmd.DGT_CLOCK_MESSAGE, 0x03, DgtClk.DGT_CMD_CLOCK_START_MESSAGE, + DgtClk.DGT_CMD_CLOCK_END, + DgtClk.DGT_CMD_CLOCK_END_MESSAGE]) + return res + + def light_squares_on_revelation(self, uci_move: str): + """Light the Rev2 leds.""" + if self.is_revelation and not self.disable_revelation_leds: + # self._wait_for_clock('LIGHTon') + logging.debug('(rev) leds turned on - move: %s', uci_move) + fr_s = (8 - int(uci_move[1])) * 8 + ord(uci_move[0]) - ord('a') + to_s = (8 - int(uci_move[3])) * 8 + ord(uci_move[2]) - ord('a') + self.write_command([DgtCmd.DGT_SET_LEDS, 0x04, 0x01, fr_s, to_s, DgtClk.DGT_CMD_CLOCK_END_MESSAGE]) + + def clear_light_on_revelation(self): + """Clear the Rev2 leds.""" + if self.is_revelation and not self.disable_revelation_leds: + # self._wait_for_clock('LIGHToff') + logging.debug('(rev) leds turned off') + self.write_command([DgtCmd.DGT_SET_LEDS, 0x04, 0x00, 0x40, 0x40, DgtClk.DGT_CMD_CLOCK_END_MESSAGE]) + # dgtHw functions end + + def run(self): + """NOT called from threading.Thread instead inside the __init__ function from hw.py.""" + self.incoming_board_thread = Timer(0, self._process_incoming_board_forever) + self.incoming_board_thread.start() diff --git a/dgt/display.py b/dgt/display.py new file mode 100644 index 0000000..12456ab --- /dev/null +++ b/dgt/display.py @@ -0,0 +1,878 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +from math import floor +import logging +import copy +import queue +import threading + +import chess +from utilities import DisplayMsg, Observable, DispatchDgt, write_picochess_ini +from dgt.translate import DgtTranslate +from dgt.menu import DgtMenu +from dgt.util import ClockSide, ClockIcons, BeepLevel, Mode, GameResult, TimeMode, PlayMode +from dgt.api import Dgt, Event, Message +from timecontrol import TimeControl + + +class DgtDisplay(DisplayMsg, threading.Thread): + + """Dispatcher for Messages towards DGT hardware or back to the event system (picochess).""" + + def __init__(self, dgttranslate: DgtTranslate, dgtmenu: DgtMenu, time_control: TimeControl): + super(DgtDisplay, self).__init__() + self.dgttranslate = dgttranslate + self.dgtmenu = dgtmenu + self.time_control = time_control + + self.drawresign_fen = None + self.show_move_or_value = 0 + self.leds_are_on = False + + self.play_move = self.hint_move = self.last_move = chess.Move.null() + self.play_fen = self.hint_fen = self.last_fen = None + self.play_turn = self.hint_turn = self.last_turn = None + self.score = self.dgttranslate.text('N10_score', None) + self.depth = None + self.uci960 = False + self.play_mode = PlayMode.USER_WHITE + self.low_time = False + + def _exit_menu(self): + if self.dgtmenu.exit_menu(): + DispatchDgt.fire(self.dgttranslate.text('K05_exitmenu')) + return True + return False + + def _power_off(self, dev='web'): + DispatchDgt.fire(self.dgttranslate.text('Y15_goodbye')) + self.dgtmenu.set_engine_restart(True) + Observable.fire(Event.SHUTDOWN(dev=dev)) + + def _reboot(self, dev='web'): + DispatchDgt.fire(self.dgttranslate.text('Y15_pleasewait')) + self.dgtmenu.set_engine_restart(True) + Observable.fire(Event.REBOOT(dev=dev)) + + def _reset_moves_and_score(self): + self.play_move = chess.Move.null() + self.play_fen = None + self.play_turn = None + self.hint_move = chess.Move.null() + self.hint_fen = None + self.hint_turn = None + self.last_move = chess.Move.null() + self.last_fen = None + self.last_turn = None + self.score = self.dgttranslate.text('N10_score', None) + self.depth = None + + def _combine_depth_and_score(self): + def _score_to_string(score_val, length): + if length == 's': + return '{:5.2f}'.format(int(score_val) / 100).replace('.', '') + if length == 'm': + return '{:7.2f}'.format(int(score_val) / 100).replace('.', '') + if length == 'l': + return '{:9.2f}'.format(int(score_val) / 100).replace('.', '') + + score = copy.copy(self.score) + try: + if int(score.s) <= -1000: + score.s = '-999' + if int(score.s) >= 1000: + score.s = '999' + score.l = '{:3d}{:s}'.format(self.depth, _score_to_string(score.l[-8:], 'l')) + score.m = '{:2d}{:s}'.format(self.depth % 100, _score_to_string(score.m[-6:], 'm')) + score.s = '{:2d}{:s}'.format(self.depth % 100, _score_to_string(score.s[-4:], 's')) + score.rd = ClockIcons.DOT + except ValueError: + pass + return score + + @classmethod + def _get_clock_side(cls, turn): + side = ClockSide.LEFT if turn == chess.WHITE else ClockSide.RIGHT + return side + + def _inside_main_menu(self): + return self.dgtmenu.inside_main_menu() + + def _inside_updt_menu(self): + return self.dgtmenu.inside_updt_menu() + + def _process_button0(self, dev): + logging.debug('(%s) clock handle button 0 press', dev) + if self._inside_main_menu(): + text = self.dgtmenu.main_up() # button0 can exit the menu, so check + if text: + DispatchDgt.fire(text) + else: + self._exit_display() + elif self._inside_updt_menu(): + self.dgtmenu.updt_up(dev) + self._exit_display() # button0 always exit the menu + else: + if self.last_move: + side = self._get_clock_side(self.last_turn) + beep = self.dgttranslate.bl(BeepLevel.BUTTON) + text = Dgt.DISPLAY_MOVE(move=self.last_move, fen=self.last_fen, side=side, wait=False, maxtime=1, + beep=beep, devs={'ser', 'i2c', 'web'}, uci960=self.uci960, + lang=self.dgttranslate.language, capital=self.dgttranslate.capital, + long=self.dgttranslate.notation) + else: + text = self.dgttranslate.text('B10_nomove') + DispatchDgt.fire(text) + self._exit_display() + + def _process_button1(self, dev): + logging.debug('(%s) clock handle button 1 press', dev) + if self._inside_main_menu(): + DispatchDgt.fire(self.dgtmenu.main_left()) # button1 cant exit the menu + elif self._inside_updt_menu(): + DispatchDgt.fire(self.dgtmenu.updt_left()) # button1 cant exit the menu + else: + text = self._combine_depth_and_score() + text.beep = self.dgttranslate.bl(BeepLevel.BUTTON) + # text.maxtime = 0 + DispatchDgt.fire(text) + self._exit_display() + + def _process_button2(self, dev): + logging.debug('(%s) clock handle button 2 press', dev) + if self._inside_main_menu() or self.dgtmenu.inside_picochess_time(dev): + text = self.dgtmenu.main_middle(dev) # button2 can exit the menu (if in "position"), so check + if text: + DispatchDgt.fire(text) + else: + Observable.fire(Event.EXIT_MENU()) + else: + if self.dgtmenu.get_mode() in (Mode.ANALYSIS, Mode.KIBITZ, Mode.PONDER): + DispatchDgt.fire(self.dgttranslate.text('B00_nofunction')) + else: + if self.play_move: + self.play_move = chess.Move.null() + self.play_fen = None + self.play_turn = None + Observable.fire(Event.ALTERNATIVE_MOVE()) + else: + Observable.fire(Event.PAUSE_RESUME()) + + def _process_button3(self, dev): + logging.debug('(%s) clock handle button 3 press', dev) + if self._inside_main_menu(): + DispatchDgt.fire(self.dgtmenu.main_right()) # button3 cant exit the menu + elif self._inside_updt_menu(): + DispatchDgt.fire(self.dgtmenu.updt_right()) # button3 cant exit the menu + else: + if self.hint_move: + side = self._get_clock_side(self.hint_turn) + beep = self.dgttranslate.bl(BeepLevel.BUTTON) + text = Dgt.DISPLAY_MOVE(move=self.hint_move, fen=self.hint_fen, side=side, wait=False, maxtime=1, + beep=beep, devs={'ser', 'i2c', 'web'}, uci960=self.uci960, + lang=self.dgttranslate.language, capital=self.dgttranslate.capital, + long=self.dgttranslate.notation) + else: + text = self.dgttranslate.text('B10_nomove') + DispatchDgt.fire(text) + self._exit_display() + + def _process_button4(self, dev): + logging.debug('(%s) clock handle button 4 press', dev) + if self._inside_updt_menu(): + tag = self.dgtmenu.updt_down(dev) + Observable.fire(Event.UPDATE_PICO(tag=tag)) + else: + text = self.dgtmenu.main_down() # button4 can exit the menu, so check + if text: + DispatchDgt.fire(text) + else: + Observable.fire(Event.EXIT_MENU()) + + def _process_lever(self, right_side_down, dev): + logging.debug('(%s) clock handle lever press - right_side_down: %s', dev, right_side_down) + if not self._inside_main_menu(): + self.play_move = chess.Move.null() + self.play_fen = None + self.play_turn = None + Observable.fire(Event.SWITCH_SIDES()) + + def _process_button(self, message): + button = int(message.button) + if not self.dgtmenu.get_engine_restart(): + if button == 0: + self._process_button0(message.dev) + elif button == 1: + self._process_button1(message.dev) + elif button == 2: + self._process_button2(message.dev) + elif button == 3: + self._process_button3(message.dev) + elif button == 4: + self._process_button4(message.dev) + elif button == 0x11: + self._power_off(message.dev) + elif button == 0x40: + self._process_lever(right_side_down=True, dev=message.dev) + elif button == -0x40: + self._process_lever(right_side_down=False, dev=message.dev) + + def _process_fen(self, fen, raw): + level_map = ('rnbqkbnr/pppppppp/8/q7/8/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/1q6/8/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/2q5/8/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/3q4/8/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/4q3/8/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/5q2/8/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/6q1/8/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/7q/8/8/PPPPPPPP/RNBQKBNR') + + book_map = ('rnbqkbnr/pppppppp/8/8/8/q7/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/8/8/1q6/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/8/8/2q5/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/8/8/3q4/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/8/8/4q3/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/8/8/5q2/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/8/8/6q1/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/8/8/7q/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/8/q7/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/8/1q6/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/8/2q5/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/8/3q4/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/8/4q3/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/8/5q2/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/8/6q1/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/8/8/7q/8/PPPPPPPP/RNBQKBNR') + + engine_map = ('rnbqkbnr/pppppppp/q7/8/8/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/1q6/8/8/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/2q5/8/8/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/3q4/8/8/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/4q3/8/8/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/5q2/8/8/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/6q1/8/8/8/PPPPPPPP/RNBQKBNR', + 'rnbqkbnr/pppppppp/7q/8/8/8/PPPPPPPP/RNBQKBNR') + + shutdown_map = ('rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQQBNR', + 'RNBQQBNR/PPPPPPPP/8/8/8/8/pppppppp/rnbkqbnr', + '8/8/8/8/8/8/8/3QQ3', + '3QQ3/8/8/8/8/8/8/8') + + reboot_map = ('rnbqqbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR', + 'RNBKQBNR/PPPPPPPP/8/8/8/8/pppppppp/rnbqqbnr', + '8/8/8/8/8/8/8/3qq3', + '3qq3/8/8/8/8/8/8/8') + + mode_map = {'rnbqkbnr/pppppppp/8/Q7/8/8/PPPPPPPP/RNBQKBNR': Mode.NORMAL, + 'rnbqkbnr/pppppppp/8/1Q6/8/8/PPPPPPPP/RNBQKBNR': Mode.BRAIN, + 'rnbqkbnr/pppppppp/8/2Q5/8/8/PPPPPPPP/RNBQKBNR': Mode.ANALYSIS, + 'rnbqkbnr/pppppppp/8/3Q4/8/8/PPPPPPPP/RNBQKBNR': Mode.KIBITZ, + 'rnbqkbnr/pppppppp/8/4Q3/8/8/PPPPPPPP/RNBQKBNR': Mode.OBSERVE, + 'rnbqkbnr/pppppppp/8/5Q2/8/8/PPPPPPPP/RNBQKBNR': Mode.PONDER, + 'rnbqkbnr/pppppppp/8/7Q/8/8/PPPPPPPP/RNBQKBNR': Mode.REMOTE} + + drawresign_map = {'8/8/8/3k4/4K3/8/8/8': GameResult.WIN_WHITE, + '8/8/8/3K4/4k3/8/8/8': GameResult.WIN_WHITE, + '8/8/8/4k3/3K4/8/8/8': GameResult.WIN_BLACK, + '8/8/8/4K3/3k4/8/8/8': GameResult.WIN_BLACK, + '8/8/8/3kK3/8/8/8/8': GameResult.DRAW, + '8/8/8/3Kk3/8/8/8/8': GameResult.DRAW, + '8/8/8/8/3kK3/8/8/8': GameResult.DRAW, + '8/8/8/8/3Kk3/8/8/8': GameResult.DRAW} + + bit_board = chess.Board(fen + ' w - - 0 1') # try a standard board and check for any starting pos + if bit_board.chess960_pos(ignore_castling=True): + logging.debug('flipping the board - W infront') + self.dgtmenu.set_position_reverse_flipboard(False) + bit_board = chess.Board(fen[::-1] + ' w - - 0 1') # try a revered board and check for any starting pos + if bit_board.chess960_pos(ignore_castling=True): + logging.debug('flipping the board - B infront') + self.dgtmenu.set_position_reverse_flipboard(True) + if self.dgtmenu.get_flip_board() and raw: # Flip the board if needed + fen = fen[::-1] + + logging.debug('DGT-Fen [%s]', fen) + if fen == self.dgtmenu.get_dgt_fen(): + logging.debug('ignore same fen') + return + self.dgtmenu.set_dgt_fen(fen) + self.drawresign_fen = self._drawresign() + # Fire the appropriate event + if fen in level_map: + eng = self.dgtmenu.get_engine() + level_dict = eng['level_dict'] + if level_dict: + inc = len(level_dict) / 7 + level = min(floor(inc * level_map.index(fen)), len(level_dict) - 1) # type: int + self.dgtmenu.set_engine_level(level) + msg = sorted(level_dict)[level] + text = self.dgttranslate.text('M10_level', msg) + text.wait = self._exit_menu() + logging.debug('map: New level %s', msg) + if not self.dgtmenu.remote_engine: + write_picochess_ini('engine-level', msg) + Observable.fire(Event.LEVEL(options=level_dict[msg], level_text=text, level_name=msg)) + else: + logging.debug('engine doesnt support levels') + elif fen in book_map: + book_index = book_map.index(fen) + try: + book = self.dgtmenu.all_books[book_index] + self.dgtmenu.set_book(book_index) + logging.debug('map: Opening book [%s]', book['file']) + text = book['text'] + text.beep = self.dgttranslate.bl(BeepLevel.MAP) + text.maxtime = 1 + text.wait = self._exit_menu() + Observable.fire(Event.SET_OPENING_BOOK(book=book, book_text=text, show_ok=False)) + except IndexError: + pass + elif fen in engine_map: + if self.dgtmenu.installed_engines: + try: + self.dgtmenu.set_engine_index(engine_map.index(fen)) + eng = self.dgtmenu.get_engine() + level_dict = eng['level_dict'] + logging.debug('map: Engine name [%s]', eng['name']) + eng_text = eng['text'] + eng_text.beep = self.dgttranslate.bl(BeepLevel.MAP) + eng_text.maxtime = 1 + eng_text.wait = self._exit_menu() + if level_dict: + len_level = len(level_dict) + if self.dgtmenu.get_engine_level() is None or len_level <= self.dgtmenu.get_engine_level(): + self.dgtmenu.set_engine_level(len_level - 1) + msg = sorted(level_dict)[self.dgtmenu.get_engine_level()] + options = level_dict[msg] # cause of "new-engine", send options lateron - now only {} + Observable.fire(Event.LEVEL(options={}, level_text=self.dgttranslate.text('M10_level', msg), + level_name=msg)) + else: + msg = None + options = {} + if not self.dgtmenu.remote_engine: + write_picochess_ini('engine-level', msg) + Observable.fire(Event.NEW_ENGINE(eng=eng, eng_text=eng_text, options=options, show_ok=False)) + self.dgtmenu.set_engine_restart(True) + except IndexError: + pass + else: + DispatchDgt.fire(self.dgttranslate.text('Y10_erroreng')) + elif fen in mode_map: + logging.debug('map: Interaction mode [%s]', mode_map[fen]) + if mode_map[fen] == Mode.REMOTE and not self.dgtmenu.inside_room: + DispatchDgt.fire(self.dgttranslate.text('Y10_errorroom')) + elif mode_map[fen] == Mode.BRAIN and not self.dgtmenu.get_engine_has_ponder(): + DispatchDgt.fire(self.dgttranslate.text('Y10_erroreng')) + else: + self.dgtmenu.set_mode(mode_map[fen]) + text = self.dgttranslate.text(mode_map[fen].value) + text.beep = self.dgttranslate.bl(BeepLevel.MAP) + text.maxtime = 1 # wait 1sec not forever + text.wait = self._exit_menu() + Observable.fire(Event.SET_INTERACTION_MODE(mode=mode_map[fen], mode_text=text, show_ok=False)) + + elif fen in self.dgtmenu.tc_fixed_map: + logging.debug('map: Time control fixed') + self.dgtmenu.set_time_mode(TimeMode.FIXED) + self.dgtmenu.set_time_fixed(list(self.dgtmenu.tc_fixed_map.keys()).index(fen)) + text = self.dgttranslate.text('M10_tc_fixed', self.dgtmenu.tc_fixed_list[self.dgtmenu.get_time_fixed()]) + text.wait = self._exit_menu() + timectrl = self.dgtmenu.tc_fixed_map[fen] # type: TimeControl + Observable.fire(Event.SET_TIME_CONTROL(tc_init=timectrl.get_parameters(), time_text=text, show_ok=False)) + elif fen in self.dgtmenu.tc_blitz_map: + logging.debug('map: Time control blitz') + self.dgtmenu.set_time_mode(TimeMode.BLITZ) + self.dgtmenu.set_time_blitz(list(self.dgtmenu.tc_blitz_map.keys()).index(fen)) + text = self.dgttranslate.text('M10_tc_blitz', self.dgtmenu.tc_blitz_list[self.dgtmenu.get_time_blitz()]) + text.wait = self._exit_menu() + timectrl = self.dgtmenu.tc_blitz_map[fen] # type: TimeControl + Observable.fire(Event.SET_TIME_CONTROL(tc_init=timectrl.get_parameters(), time_text=text, show_ok=False)) + elif fen in self.dgtmenu.tc_fisch_map: + logging.debug('map: Time control fischer') + self.dgtmenu.set_time_mode(TimeMode.FISCHER) + self.dgtmenu.set_time_fisch(list(self.dgtmenu.tc_fisch_map.keys()).index(fen)) + text = self.dgttranslate.text('M10_tc_fisch', self.dgtmenu.tc_fisch_list[self.dgtmenu.get_time_fisch()]) + text.wait = self._exit_menu() + timectrl = self.dgtmenu.tc_fisch_map[fen] # type: TimeControl + Observable.fire(Event.SET_TIME_CONTROL(tc_init=timectrl.get_parameters(), time_text=text, show_ok=False)) + elif fen in shutdown_map: + logging.debug('map: shutdown') + self._power_off() + elif fen in reboot_map: + logging.debug('map: reboot') + self._reboot() + elif self.drawresign_fen in drawresign_map: + if not self._inside_main_menu(): + logging.debug('map: drawresign') + Observable.fire(Event.DRAWRESIGN(result=drawresign_map[self.drawresign_fen])) + else: + bit_board = chess.Board(fen + ' w - - 0 1') + pos960 = bit_board.chess960_pos(ignore_castling=True) + if pos960 is not None: + if pos960 == 518 or self.dgtmenu.get_engine_has_960(): + logging.debug('map: New game') + Observable.fire(Event.NEW_GAME(pos960=pos960)) + else: + # self._reset_moves_and_score() + DispatchDgt.fire(self.dgttranslate.text('Y10_error960')) + else: + Observable.fire(Event.FEN(fen=fen)) + + def _process_engine_ready(self, message): + for index in range(0, len(self.dgtmenu.installed_engines)): + if self.dgtmenu.installed_engines[index]['file'] == message.eng['file']: + self.dgtmenu.set_engine_index(index) + self.dgtmenu.set_engine_has_960(message.has_960) + self.dgtmenu.set_engine_has_ponder(message.has_ponder) + if not self.dgtmenu.get_confirm() or not message.show_ok: + DispatchDgt.fire(message.eng_text) + self.dgtmenu.set_engine_restart(False) + + def _process_engine_startup(self, message): + self.dgtmenu.installed_engines = message.installed_engines + for index in range(0, len(self.dgtmenu.installed_engines)): + eng = self.dgtmenu.installed_engines[index] + if eng['file'] == message.file: + self.dgtmenu.set_engine_index(index) + self.dgtmenu.set_engine_has_960(message.has_960) + self.dgtmenu.set_engine_has_ponder(message.has_ponder) + self.dgtmenu.set_engine_level(message.level_index) + + def force_leds_off(self, log=False): + """Clear the rev2 lights if they still on.""" + if self.leds_are_on: + if log: + logging.warning('(rev) leds still on') + DispatchDgt.fire(Dgt.LIGHT_CLEAR(devs={'ser', 'web'})) + self.leds_are_on = False + + def _process_start_new_game(self, message): + self.force_leds_off() + self._reset_moves_and_score() + self.time_control.reset() + if message.newgame: + pos960 = message.game.chess960_pos() + self.uci960 = pos960 is not None and pos960 != 518 + DispatchDgt.fire(self.dgttranslate.text('C10_ucigame' if self.uci960 else 'C10_newgame', str(pos960))) + if self.dgtmenu.get_mode() in (Mode.NORMAL, Mode.BRAIN, Mode.OBSERVE, Mode.REMOTE): + self._set_clock() + + def _process_computer_move(self, message): + self.force_leds_off(log=True) # can happen in case of a book move + move = message.move + ponder = message.ponder + self.play_move = move + self.play_fen = message.game.fen() + self.play_turn = message.game.turn + if ponder: + game_copy = message.game.copy() + game_copy.push(move) + self.hint_move = ponder + self.hint_fen = game_copy.fen() + self.hint_turn = game_copy.turn + else: + self.hint_move = chess.Move.null() + self.hint_fen = None + self.hint_turn = None + # Display the move + side = self._get_clock_side(message.game.turn) + beep = self.dgttranslate.bl(BeepLevel.CONFIG) + disp = Dgt.DISPLAY_MOVE(move=move, fen=message.game.fen(), side=side, wait=message.wait, maxtime=0, + beep=beep, devs={'ser', 'i2c', 'web'}, uci960=self.uci960, + lang=self.dgttranslate.language, capital=self.dgttranslate.capital, + long=self.dgttranslate.notation) + DispatchDgt.fire(disp) + DispatchDgt.fire(Dgt.LIGHT_SQUARES(uci_move=move.uci(), devs={'ser', 'web'})) + self.leds_are_on = True + + def _set_clock(self, side=ClockSide.NONE, devs=None): + if devs is None: # prevent W0102 error + devs = {'ser', 'i2c', 'web'} + time_left, time_right = self.time_control.get_internal_time(flip_board=self.dgtmenu.get_flip_board()) + DispatchDgt.fire(Dgt.CLOCK_SET(time_left=time_left, time_right=time_right, devs=devs)) + DispatchDgt.fire(Dgt.CLOCK_START(side=side, wait=True, devs=devs)) + + def _display_confirm(self, text_key): + if not self.low_time and not self.dgtmenu.get_confirm(): # only display if the user has >60sec on his clock + DispatchDgt.fire(self.dgttranslate.text(text_key)) + + def _process_computer_move_done(self): + self.force_leds_off() + self.last_move = self.play_move + self.last_fen = self.play_fen + self.last_turn = self.play_turn + self.play_move = chess.Move.null() + self.play_fen = None + self.play_turn = None + self._exit_menu() + self._display_confirm('K05_okpico') + if self.dgtmenu.get_time_mode() == TimeMode.FIXED: # go back to a stopped time display and reset times + self.time_control.reset() + self._set_clock() + + def _process_user_move_done(self, message): + self.force_leds_off(log=True) # can happen in case of a sliding move + self.last_move = message.move + self.last_fen = message.fen + self.last_turn = message.turn + self.play_move = chess.Move.null() + self.play_fen = None + self.play_turn = None + self._exit_menu() + self._display_confirm('K05_okuser') + + def _process_review_move_done(self, message): + self.force_leds_off(log=True) # can happen in case of a sliding move + self.last_move = message.move + self.last_fen = message.fen + self.last_turn = message.turn + self._exit_menu() + self._display_confirm('K05_okmove') + + def _process_time_control(self, message): + wait = not self.dgtmenu.get_confirm() or not message.show_ok + if wait: + DispatchDgt.fire(message.time_text) + self.time_control = TimeControl(**message.tc_init) + self._set_clock() + + def _process_new_score(self, message): + if message.mate is None: + score = int(message.score) + if message.turn == chess.BLACK: + score *= -1 + text = self.dgttranslate.text('N10_score', score) + else: + text = self.dgttranslate.text('N10_mate', str(message.mate)) + self.score = text + if message.mode == Mode.KIBITZ and not self._inside_main_menu(): + text = self._combine_depth_and_score() + text.wait = True + DispatchDgt.fire(text) + + def _process_new_pv(self, message): + self.hint_move = message.pv[0] + self.hint_fen = message.game.fen() + self.hint_turn = message.game.turn + if message.mode == Mode.ANALYSIS and not self._inside_main_menu(): + side = self._get_clock_side(self.hint_turn) + beep = self.dgttranslate.bl(BeepLevel.NO) + disp = Dgt.DISPLAY_MOVE(move=self.hint_move, fen=self.hint_fen, side=side, wait=True, maxtime=0, + beep=beep, devs={'ser', 'i2c', 'web'}, uci960=self.uci960, + lang=self.dgttranslate.language, capital=self.dgttranslate.capital, + long=self.dgttranslate.notation) + DispatchDgt.fire(disp) + + def _process_startup_info(self, message): + self.play_mode = message.info['play_mode'] + self.dgtmenu.set_mode(message.info['interaction_mode']) + self.dgtmenu.set_book(message.info['book_index']) + self.dgtmenu.all_books = message.info['books'] + tc_init = message.info['tc_init'] + timectrl = self.time_control = TimeControl(**tc_init) + self.dgtmenu.set_time_mode(timectrl.mode) + # try to find the index from the given time_control (timectrl) + # if user gave a non-existent timectrl value update map & list + index = 0 + isnew = True + if timectrl.mode == TimeMode.FIXED: + for val in self.dgtmenu.tc_fixed_map.values(): + if val == timectrl: + self.dgtmenu.set_time_fixed(index) + isnew = False + break + index += 1 + if isnew: + self.dgtmenu.tc_fixed_map.update({('', timectrl)}) + self.dgtmenu.tc_fixed_list.append(timectrl.get_list_text()) + self.dgtmenu.set_time_fixed(index) + elif timectrl.mode == TimeMode.BLITZ: + for val in self.dgtmenu.tc_blitz_map.values(): + if val == timectrl: + self.dgtmenu.set_time_blitz(index) + isnew = False + break + index += 1 + if isnew: + self.dgtmenu.tc_blitz_map.update({('', timectrl)}) + self.dgtmenu.tc_blitz_list.append(timectrl.get_list_text()) + self.dgtmenu.set_time_blitz(index) + elif timectrl.mode == TimeMode.FISCHER: + for val in self.dgtmenu.tc_fisch_map.values(): + if val == timectrl: + self.dgtmenu.set_time_fisch(index) + isnew = False + break + index += 1 + if isnew: + self.dgtmenu.tc_fisch_map.update({('', timectrl)}) + self.dgtmenu.tc_fisch_list.append(timectrl.get_list_text()) + self.dgtmenu.set_time_fisch(index) + + def _process_clock_start(self, message): + self.time_control = TimeControl(**message.tc_init) + side = ClockSide.LEFT if (message.turn == chess.WHITE) != self.dgtmenu.get_flip_board() else ClockSide.RIGHT + self._set_clock(side=side, devs=message.devs) + + def _process_dgt_serial_nr(self): + # logging.debug('Serial number {}'.format(message.number)) # actually used for watchdog (once a second) + if self.dgtmenu.get_mode() == Mode.PONDER and not self._inside_main_menu(): + if self.show_move_or_value >= self.dgtmenu.get_ponderinterval(): + if self.hint_move: + side = self._get_clock_side(self.hint_turn) + beep = self.dgttranslate.bl(BeepLevel.NO) + text = Dgt.DISPLAY_MOVE(move=self.hint_move, fen=self.hint_fen, side=side, wait=True, maxtime=1, + beep=beep, devs={'ser', 'i2c', 'web'}, uci960=self.uci960, + lang=self.dgttranslate.language, capital=self.dgttranslate.capital, + long=self.dgttranslate.notation) + else: + text = self.dgttranslate.text('N10_nomove') + else: + text = self._combine_depth_and_score() + text.wait = True + DispatchDgt.fire(text) + self.show_move_or_value = (self.show_move_or_value + 1) % (self.dgtmenu.get_ponderinterval() * 2) + + def _drawresign(self): + _, _, _, rnk_5, rnk_4, _, _, _ = self.dgtmenu.get_dgt_fen().split('/') + return '8/8/8/' + rnk_5 + '/' + rnk_4 + '/8/8/8' + + def _exit_display(self, devs=None): + if devs is None: # prevent W0102 error + devs = {'ser', 'i2c', 'web'} + if self.play_move and self.dgtmenu.get_mode() in (Mode.NORMAL, Mode.BRAIN, Mode.REMOTE): + side = self._get_clock_side(self.play_turn) + beep = self.dgttranslate.bl(BeepLevel.BUTTON) + text = Dgt.DISPLAY_MOVE(move=self.play_move, fen=self.play_fen, side=side, wait=True, maxtime=1, + beep=beep, devs=devs, uci960=self.uci960, lang=self.dgttranslate.language, + capital=self.dgttranslate.capital, long=self.dgttranslate.notation) + else: + text = None + if self._inside_main_menu(): + text = self.dgtmenu.get_current_text() + if text: + text.wait = True # in case of "bad pos" message send before + else: + text = Dgt.DISPLAY_TIME(force=True, wait=True, devs=devs) + DispatchDgt.fire(text) + + def _process_message(self, message): + if False: # switch-case + pass + + elif isinstance(message, Message.ENGINE_READY): + self._process_engine_ready(message) + + elif isinstance(message, Message.ENGINE_STARTUP): + self._process_engine_startup(message) + + elif isinstance(message, Message.ENGINE_FAIL): + DispatchDgt.fire(self.dgttranslate.text('Y10_erroreng')) + self.dgtmenu.set_engine_restart(False) + + elif isinstance(message, Message.COMPUTER_MOVE): + self._process_computer_move(message) + + elif isinstance(message, Message.START_NEW_GAME): + self._process_start_new_game(message) + + elif isinstance(message, Message.COMPUTER_MOVE_DONE): + self._process_computer_move_done() + + elif isinstance(message, Message.USER_MOVE_DONE): + self._process_user_move_done(message) + + elif isinstance(message, Message.REVIEW_MOVE_DONE): + self._process_review_move_done(message) + + elif isinstance(message, Message.ALTERNATIVE_MOVE): + self.force_leds_off() + self.play_mode = message.play_mode + DispatchDgt.fire(self.dgttranslate.text('B05_altmove')) + + elif isinstance(message, Message.LEVEL): + if not self.dgtmenu.get_engine_restart(): + DispatchDgt.fire(message.level_text) + + elif isinstance(message, Message.TIME_CONTROL): + self._process_time_control(message) + + elif isinstance(message, Message.OPENING_BOOK): + if not self.dgtmenu.get_confirm() or not message.show_ok: + DispatchDgt.fire(message.book_text) + + elif isinstance(message, Message.TAKE_BACK): + self.force_leds_off() + self._reset_moves_and_score() + DispatchDgt.fire(self.dgttranslate.text('C10_takeback')) + DispatchDgt.fire(Dgt.DISPLAY_TIME(force=True, wait=True, devs={'ser', 'i2c', 'web'})) + + elif isinstance(message, Message.GAME_ENDS): + if not self.dgtmenu.get_engine_restart(): # filter out the shutdown/reboot process + text = self.dgttranslate.text(message.result.value) + text.beep = self.dgttranslate.bl(BeepLevel.CONFIG) + text.maxtime = 0.5 + DispatchDgt.fire(text) + if self.dgtmenu.get_mode() == Mode.PONDER: + self._reset_moves_and_score() + text.beep = False + text.maxtime = 1 + self.score = text + + elif isinstance(message, Message.INTERACTION_MODE): + if not self.dgtmenu.get_confirm() or not message.show_ok: + DispatchDgt.fire(message.mode_text) + + elif isinstance(message, Message.PLAY_MODE): + self.play_mode = message.play_mode + DispatchDgt.fire(message.play_mode_text) + + elif isinstance(message, Message.NEW_SCORE): + self._process_new_score(message) + + elif isinstance(message, Message.BOOK_MOVE): + self.score = self.dgttranslate.text('N10_score', None) + DispatchDgt.fire(self.dgttranslate.text('N10_bookmove')) + + elif isinstance(message, Message.NEW_PV): + self._process_new_pv(message) + + elif isinstance(message, Message.NEW_DEPTH): + self.depth = message.depth + + elif isinstance(message, Message.IP_INFO): + self.dgtmenu.int_ip = message.info['int_ip'] + self.dgtmenu.ext_ip = message.info['ext_ip'] + + elif isinstance(message, Message.STARTUP_INFO): + self._process_startup_info(message) + + elif isinstance(message, Message.SEARCH_STARTED): + logging.debug('search started') + + elif isinstance(message, Message.SEARCH_STOPPED): + logging.debug('search stopped') + + elif isinstance(message, Message.CLOCK_START): + self._process_clock_start(message) + + elif isinstance(message, Message.CLOCK_STOP): + DispatchDgt.fire(Dgt.CLOCK_STOP(devs=message.devs, wait=True)) + + elif isinstance(message, Message.DGT_BUTTON): + self._process_button(message) + + elif isinstance(message, Message.DGT_FEN): + if self.dgtmenu.inside_updt_menu(): + logging.debug('inside update menu => ignore fen %s', message.fen) + else: + self._process_fen(message.fen, message.raw) + + elif isinstance(message, Message.DGT_CLOCK_VERSION): + DispatchDgt.fire(Dgt.CLOCK_VERSION(main=message.main, sub=message.sub, devs={message.dev})) + text = self.dgttranslate.text('Y21_picochess', devs={message.dev}) + text.rd = ClockIcons.DOT + DispatchDgt.fire(text) + + if message.dev == 'ser': # send the "board connected message" to serial clock + DispatchDgt.fire(message.text) + self._set_clock(devs={message.dev}) + self._exit_display(devs={message.dev}) + + elif isinstance(message, Message.DGT_CLOCK_TIME): + time_white = message.time_left + time_black = message.time_right + if self.dgtmenu.get_flip_board(): + time_white, time_black = time_black, time_white + Observable.fire(Event.CLOCK_TIME(time_white=time_white, time_black=time_black, connect=message.connect, + dev=message.dev)) + + elif isinstance(message, Message.CLOCK_TIME): + self.low_time = message.low_time + if self.low_time: + logging.debug('time too low, disable confirm - w: %i, b: %i', message.time_white, message.time_black) + + elif isinstance(message, Message.DGT_SERIAL_NR): + self._process_dgt_serial_nr() + + elif isinstance(message, Message.DGT_JACK_CONNECTED_ERROR): # only working in case of 2 clocks connected! + DispatchDgt.fire(self.dgttranslate.text('Y00_errorjack')) + + elif isinstance(message, Message.DGT_EBOARD_VERSION): + if self.dgtmenu.inside_updt_menu(): + logging.debug('inside update menu => board channel not displayed') + else: + DispatchDgt.fire(message.text) + self._exit_display(devs={'i2c', 'web'}) # ser is done, when clock found + + elif isinstance(message, Message.DGT_NO_EBOARD_ERROR): + if self.dgtmenu.inside_updt_menu() or self.dgtmenu.inside_main_menu(): + logging.debug('inside menu => board error not displayed') + else: + DispatchDgt.fire(message.text) + + elif isinstance(message, Message.DGT_NO_CLOCK_ERROR): + pass + + elif isinstance(message, Message.SWITCH_SIDES): + self.play_move = chess.Move.null() + self.play_fen = None + self.play_turn = None + + self.hint_move = chess.Move.null() + self.hint_fen = None + self.hint_turn = None + self.force_leds_off() + logging.debug('user ignored move %s', message.move) + + elif isinstance(message, Message.EXIT_MENU): + self._exit_display() + + elif isinstance(message, Message.WRONG_FEN): + DispatchDgt.fire(self.dgttranslate.text('C10_setpieces')) + + elif isinstance(message, Message.UPDATE_PICO): + DispatchDgt.fire(self.dgttranslate.text('Y00_update')) + + elif isinstance(message, Message.BATTERY): + if message.percent == 0x7f: + percent = ' NA' + elif message.percent > 99: + percent = ' 99' + else: + percent = str(message.percent) + self.dgtmenu.battery = percent + + elif isinstance(message, Message.REMOTE_ROOM): + self.dgtmenu.inside_room = message.inside + + else: # Default + pass + + def run(self): + """Call by threading.Thread start() function.""" + logging.info('msg_queue ready') + while True: + # Check if we have something to display + try: + message = self.msg_queue.get() + if not isinstance(message, Message.DGT_SERIAL_NR): + logging.debug('received message from msg_queue: %s', message) + self._process_message(message) + except queue.Empty: + pass diff --git a/dgt/hw.py b/dgt/hw.py new file mode 100644 index 0000000..010191b --- /dev/null +++ b/dgt/hw.py @@ -0,0 +1,206 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import logging +from threading import Lock + +from utilities import hms_time +from dgt.iface import DgtIface +from dgt.util import ClockIcons, ClockSide, DgtClk, DgtCmd +from dgt.translate import DgtTranslate +from dgt.board import DgtBoard + + +class DgtHw(DgtIface): + + """Handle the DgtXL/3000 communication.""" + + def __init__(self, dgtboard: DgtBoard): + super(DgtHw, self).__init__(dgtboard) + + self.lib_lock = Lock() + + def _display_on_dgt_xl(self, text: str, beep=False, left_icons=ClockIcons.NONE, right_icons=ClockIcons.NONE): + text = text.ljust(6) + if len(text) > 6: + logging.warning('(ser) clock message too long [%s]', text) + logging.debug('[%s]', text) + with self.lib_lock: + res = self.dgtboard.set_text_xl(text, 0x03 if beep else 0x00, left_icons, right_icons) + if not res: + logging.warning('SetText() returned error %i', res) + return res + + def _display_on_dgt_3000(self, text: str, beep=False): + text = text.ljust(8) + if len(text) > 8: + logging.warning('(ser) clock message too long [%s]', text) + logging.debug('[%s]', text) + text = bytes(text, 'utf-8') + with self.lib_lock: + res = self.dgtboard.set_text_3k(text, 0x03 if beep else 0x00) + if not res: + logging.warning('SetText() returned error %i', res) + return res + + def _display_on_rev2_pi(self, text: str, beep=False): + text = text.ljust(11) + if len(text) > 11: + logging.warning('(rev) clock message too long [%s]', text) + logging.debug('[%s]', text) + text = bytes(text, 'utf-8') + with self.lib_lock: + res = self.dgtboard.set_text_rp(text, 0x03 if beep else 0x00) + if not res: + logging.warning('SetText() returned error %i', res) + return res + + def display_text_on_clock(self, message): + """Display a text on the dgtxl/3k/rev2.""" + is_new_rev2 = self.dgtboard.is_revelation and self.dgtboard.enable_revelation_pi + if is_new_rev2: + text = message.l + else: + text = message.m if self.enable_dgt3000 else message.s + if self.get_name() not in message.devs: + logging.debug('ignored %s - devs: %s', text, message.devs) + return True + + if is_new_rev2: + return self._display_on_rev2_pi(text, message.beep) + else: + if self.enable_dgt3000: + return self._display_on_dgt_3000(text, message.beep) + else: + left_icons = message.ld if hasattr(message, 'ld') else ClockIcons.NONE + right_icons = message.rd if hasattr(message, 'rd') else ClockIcons.NONE + return self._display_on_dgt_xl(text, message.beep, left_icons, right_icons) + + def display_move_on_clock(self, message): + """Display a move on the dgtxl/3k/rev2.""" + is_new_rev2 = self.dgtboard.is_revelation and self.dgtboard.enable_revelation_pi + if self.enable_dgt3000 or is_new_rev2: + bit_board, text = self.get_san(message) + if is_new_rev2: + text = '{:3d}{:s}'.format(bit_board.fullmove_number, text) + else: + text = message.move.uci() + if message.side == ClockSide.RIGHT: + text = text[:2].rjust(3) + text[2:].rjust(3) + else: + text = text[:2].ljust(3) + text[2:].ljust(3) + if self.get_name() not in message.devs: + logging.debug('ignored %s - devs: %s', text, message.devs) + return True + if is_new_rev2: + return self._display_on_rev2_pi(text, message.beep) + else: + if self.enable_dgt3000: + return self._display_on_dgt_3000(text, message.beep) + else: + left_icons = message.ld if hasattr(message, 'ld') else ClockIcons.NONE + right_icons = message.rd if hasattr(message, 'rd') else ClockIcons.NONE + return self._display_on_dgt_xl(text, message.beep, left_icons, right_icons) + + def display_time_on_clock(self, message): + """Display the time on the dgtxl/3k/rev2.""" + if self.get_name() not in message.devs: + logging.debug('ignored endText - devs: %s', message.devs) + return True + if self.side_running != ClockSide.NONE or message.force: + with self.lib_lock: + if self.dgtboard.l_time >= 3600 * 10 or self.dgtboard.r_time >= 3600 * 10: + logging.debug('time values not set - abort function') + return False + else: + if self.dgtboard.in_settime: + logging.debug('(ser) clock still in set mode - abort function') + return False + return self.dgtboard.end_text() + else: + logging.debug('(ser) clock isnt running - no need for endText') + return True + + def light_squares_on_revelation(self, uci_move: str): + """Light the Rev2 leds.""" + self.dgtboard.light_squares_on_revelation(uci_move) + return True + + def clear_light_on_revelation(self): + """Clear the Rev2 leds.""" + self.dgtboard.clear_light_on_revelation() + return True + + def stop_clock(self, devs: set): + """Stop the dgtxl/3k.""" + if self.get_name() not in devs: + logging.debug('ignored stopClock - devs: %s', devs) + return True + logging.debug('(%s) clock sending stop time to clock l:%s r:%s', ','.join(devs), + hms_time(self.dgtboard.l_time), hms_time(self.dgtboard.r_time)) + return self._resume_clock(ClockSide.NONE) + + def _resume_clock(self, side: ClockSide): + if self.dgtboard.l_time >= 3600 * 10 or self.dgtboard.r_time >= 3600 * 10: + logging.debug('time values not set - abort function') + return False + + l_run = r_run = 0 + if side == ClockSide.LEFT: + l_run = 1 + if side == ClockSide.RIGHT: + r_run = 1 + with self.lib_lock: + l_hms = hms_time(self.dgtboard.l_time) + r_hms = hms_time(self.dgtboard.r_time) + res = self.dgtboard.set_and_run(l_run, l_hms[0], l_hms[1], l_hms[2], r_run, r_hms[0], r_hms[1], r_hms[2]) + if not res: + logging.warning('finally failed %i', res) + return False + else: + self.side_running = side + if not self.dgtboard.disable_end: + res = self.dgtboard.end_text() # this is needed for some(!) clocks + self.dgtboard.in_settime = False # @todo should be set on ACK (see: DgtBoard) not here + return res + + def start_clock(self, side: ClockSide, devs: set): + """Start the dgtxl/3k.""" + if self.get_name() not in devs: + logging.debug('ignored startClock - devs: %s', devs) + return True + logging.debug('(%s) clock sending start time to clock l:%s r:%s', ','.join(devs), + hms_time(self.dgtboard.l_time), hms_time(self.dgtboard.r_time)) + return self._resume_clock(side) + + def set_clock(self, time_left: int, time_right: int, devs: set): + """Start the dgtxl/3k.""" + if self.get_name() not in devs: + logging.debug('ignored setClock - devs: %s', devs) + return True + logging.debug('(%s) clock received last time from clock l:%s r:%s [ign]', ','.join(devs), + hms_time(self.dgtboard.l_time), hms_time(self.dgtboard.r_time)) + logging.debug('(%s) clock sending set time to clock l:%s r:%s [use]', ','.join(devs), + hms_time(time_left), hms_time(time_right)) + self.dgtboard.in_settime = True # it will return to false as soon SetAndRun ack received + self.dgtboard.l_time = time_left + self.dgtboard.r_time = time_right + return True + + def get_name(self): + """Get name.""" + return 'ser' diff --git a/dgt/iface.py b/dgt/iface.py new file mode 100644 index 0000000..5070d0e --- /dev/null +++ b/dgt/iface.py @@ -0,0 +1,178 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import logging +import queue +from threading import Thread + +from chess import Board +from utilities import hms_time, DisplayDgt, DispatchDgt +from dgt.util import ClockIcons, ClockSide +from dgt.api import Dgt +from dgt.translate import DgtTranslate +from dgt.board import DgtBoard + + +class DgtIface(DisplayDgt, Thread): + + """An Interface class for DgtHw, DgtPi, DgtVr.""" + + def __init__(self, dgtboard: DgtBoard): + super(DgtIface, self).__init__() + + self.dgtboard = dgtboard + + self.side_running = ClockSide.NONE + self.enable_dgt3000 = False + self.case_res = True + + def display_text_on_clock(self, message): + """Override this function.""" + raise NotImplementedError() + + def display_move_on_clock(self, message): + """Override this function.""" + raise NotImplementedError() + + def display_time_on_clock(self, message): + """Override this function.""" + raise NotImplementedError() + + def light_squares_on_revelation(self, uci_move): + """Override this function.""" + raise NotImplementedError() + + def clear_light_on_revelation(self): + """Override this function.""" + raise NotImplementedError() + + def _resume_clock(self, side): + """Override this function.""" + raise NotImplementedError() + + def start_clock(self, side, devs): + """Override this function.""" + raise NotImplementedError() + + def set_clock(self, time_left, time_right, devs): + """Override this function.""" + raise NotImplementedError() + + def stop_clock(self, devs): + """Override this function.""" + raise NotImplementedError() + + def get_name(self): + """Override this function.""" + raise NotImplementedError() + + def get_san(self, message, is_xl=False): + """Create a chess.board plus a text ready to display on clock.""" + + def move(text: str, language: str, capital: bool, short: bool): + """Return move text for clock display.""" + if short: + directory = {} + if language == 'de': + directory = {'R': 'T', 'N': 'S', 'B': 'L', 'Q': 'D'} + if language == 'nl': + directory = {'R': 'T', 'N': 'P', 'B': 'L', 'Q': 'D'} + if language == 'fr': + directory = {'R': 'T', 'N': 'C', 'B': 'F', 'Q': 'D', 'K': '@'} + if language == 'es': + directory = {'R': 'T', 'N': 'C', 'B': 'A', 'Q': 'D', 'K': '@'} + if language == 'it': + directory = {'R': 'T', 'N': 'C', 'B': 'A', 'Q': 'D', 'K': '@'} + for i, j in directory.items(): + text = text.replace(i, j) + text = text.replace('@', 'R') # replace the King "@" from fr, es, it languages + if capital: + return text.upper() + else: + return text + + bit_board = Board(message.fen, message.uci960) + if bit_board.is_legal(message.move): + if message.long: + move_text = message.move.uci() + else: + move_text = bit_board.san(message.move) + else: + logging.warning('[%s] illegal move %s found - uci960: %s fen: %s', self.get_name(), message.move, + message.uci960, message.fen) + move_text = 'er{}' if is_xl else 'err {}' + move_text = move_text.format(message.move.uci()[:4]) + + if message.side == ClockSide.RIGHT: + move_text = move_text.rjust(6 if is_xl else 8) + return bit_board, move(move_text, message.lang, message.capital and not is_xl, not message.long) + + def _process_message(self, message): + if self.get_name() not in message.devs: + return True + + logging.debug('(%s) handle DgtApi: %s started', ','.join(message.devs), message) + self.case_res = True + + if False: # switch-case + pass + elif isinstance(message, Dgt.DISPLAY_MOVE): + self.case_res = self.display_move_on_clock(message) + elif isinstance(message, Dgt.DISPLAY_TEXT): + self.case_res = self.display_text_on_clock(message) + elif isinstance(message, Dgt.DISPLAY_TIME): + self.case_res = self.display_time_on_clock(message) + elif isinstance(message, Dgt.LIGHT_CLEAR): + self.case_res = self.clear_light_on_revelation() + elif isinstance(message, Dgt.LIGHT_SQUARES): + self.case_res = self.light_squares_on_revelation(message.uci_move) + elif isinstance(message, Dgt.CLOCK_SET): + self.case_res = self.set_clock(message.time_left, message.time_right, message.devs) + elif isinstance(message, Dgt.CLOCK_START): + self.case_res = self.start_clock(message.side, message.devs) + elif isinstance(message, Dgt.CLOCK_STOP): + if self.side_running != ClockSide.NONE: + self.case_res = self.stop_clock(message.devs) + else: + logging.debug('(%s) clock is already stopped', ','.join(message.devs)) + elif isinstance(message, Dgt.CLOCK_VERSION): + if 'i2c' in message.devs: + logging.debug('(i2c) clock found => starting the board connection') + self.dgtboard.run() # finally start the serial board connection - see picochess.py + else: + if message.main == 2: + self.enable_dgt3000 = True + else: # switch-default + pass + logging.debug('(%s) handle DgtApi: %s ended', ','.join(message.devs), message) + return self.case_res + + def _create_task(self, msg): + res = self._process_message(msg) + if not res: + logging.warning('DgtApi command %s failed result: %s', msg, res) + + def run(self): + """Call by threading.Thread start() function.""" + logging.info('[%s] dgt_queue ready', self.get_name()) + while True: + # Check if we have something to display + try: + message = self.dgt_queue.get() + self._create_task(message) + except queue.Empty: + pass diff --git a/dgt/menu.py b/dgt/menu.py new file mode 100644 index 0000000..dc5cdca --- /dev/null +++ b/dgt/menu.py @@ -0,0 +1,1832 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import os +import logging +from configobj import ConfigObj +from collections import OrderedDict + +import chess +from timecontrol import TimeControl +from utilities import Observable, DispatchDgt, get_tags, version, write_picochess_ini +from dgt.util import TimeMode, TimeModeLoop, Top, TopLoop, Mode, ModeLoop, Language, LanguageLoop, BeepLevel, BeepLoop +from dgt.util import System, SystemLoop, Display, DisplayLoop, ClockIcons, Voice, VoiceLoop, Info, InfoLoop +from dgt.api import Dgt, Event +from dgt.translate import DgtTranslate + + +class MenuState(object): + + """Keep the current DgtMenu State.""" + + TOP = 100000 + + MODE = 200000 + MODE_TYPE = 210000 # normal, observe, ... + + POS = 300000 + POS_COL = 310000 + POS_REV = 311000 + POS_UCI = 311100 + POS_READ = 311110 + + TIME = 400000 + TIME_BLITZ = 410000 # blitz, fischer, fixed + TIME_BLITZ_CTRL = 411000 # time_control objs + TIME_FISCH = 420000 + TIME_FISCH_CTRL = 421000 + TIME_FIXED = 430000 + TIME_FIXED_CTRL = 431000 + + BOOK = 500000 + BOOK_NAME = 510000 + + ENG = 600000 + ENG_NAME = 610000 + ENG_NAME_LEVEL = 611000 + + SYS = 700000 + SYS_INFO = 710000 + SYS_INFO_VERS = 711000 + SYS_INFO_IP = 712000 + SYS_INFO_BATTERY = 713000 + SYS_SOUND = 720000 + SYS_SOUND_BEEP = 721000 # never, always, some + SYS_LANG = 730000 + SYS_LANG_NAME = 731000 # de, en, ... + SYS_LOG = 740000 + SYS_VOICE = 750000 + SYS_VOICE_USER = 751000 # user + SYS_VOICE_USER_MUTE = 751100 # on, off + SYS_VOICE_USER_MUTE_LANG = 751110 # de, en, ... + SYS_VOICE_USER_MUTE_LANG_SPEAK = 751111 # al, christina, ... + SYS_VOICE_COMP = 752000 # computer + SYS_VOICE_COMP_MUTE = 752100 # on, off + SYS_VOICE_COMP_MUTE_LANG = 752110 # de, en, ... + SYS_VOICE_COMP_MUTE_LANG_SPEAK = 752111 # al, christina, ... + SYS_VOICE_SPEED = 753000 # vspeed + SYS_VOICE_SPEED_FACTOR = 753100 # 0-7 + SYS_DISP = 760000 + SYS_DISP_CONFIRM = 761000 + SYS_DISP_CONFIRM_YESNO = 761100 # yes,no + SYS_DISP_PONDER = 762000 + SYS_DISP_PONDER_INTERVAL = 762100 # 1-8 + SYS_DISP_CAPITAL = 763000 + SYS_DISP_CAPTIAL_YESNO = 763100 # yes, no + SYS_DISP_NOTATION = 764000 + SYS_DISP_NOTATION_MOVE = 764100 # short, long + + +class DgtMenu(object): + + """Handle the Dgt Menu.""" + + def __init__(self, disable_confirm: bool, ponder_interval: int, + user_voice: str, comp_voice: str, speed_voice: int, enable_capital_letters: bool, + disable_short_move: bool, log_file, engine_server, dgttranslate: DgtTranslate): + super(DgtMenu, self).__init__() + + self.current_text = None # save the current text + self.menu_system_display_confirm = disable_confirm + self.menu_system_display_ponderinterval = ponder_interval + self.menu_system_display_capital = enable_capital_letters + self.menu_system_display_notation = disable_short_move # True = disable short move display => long display + self.log_file = log_file + self.remote_engine = bool(engine_server) + self.dgttranslate = dgttranslate + self.state = MenuState.TOP + + self.dgt_fen = '8/8/8/8/8/8/8/8' + self.int_ip = None + self.ext_ip = None + self.flip_board = False + + self.menu_position_whitetomove = True + self.menu_position_reverse = False + self.menu_position_uci960 = False + + self.menu_top = Top.MODE + self.menu_mode = Mode.NORMAL + + self.menu_engine_level = None + self.engine_has_960 = False + self.engine_has_ponder = False + self.engine_restart = False + self.menu_engine_name = 0 + self.installed_engines = [] + + self.menu_book = 0 + self.all_books = [] + + self.menu_system = System.INFO + self.menu_system_sound = self.dgttranslate.beep + + langs = {'en': Language.EN, 'de': Language.DE, 'nl': Language.NL, + 'fr': Language.FR, 'es': Language.ES, 'it': Language.IT} + self.menu_system_language = langs[self.dgttranslate.language] + + self.voices_conf = ConfigObj('talker' + os.sep + 'voices' + os.sep + 'voices.ini') + self.menu_system_voice = Voice.COMP + self.menu_system_voice_user_active = bool(user_voice) + self.menu_system_voice_comp_active = bool(comp_voice) + try: + (user_language_name, user_speaker_name) = user_voice.split(':') + self.menu_system_voice_user_lang = self.voices_conf.keys().index(user_language_name) + self.menu_system_voice_user_speak = self.voices_conf[user_language_name].keys().index(user_speaker_name) + except (AttributeError, ValueError): # None = "not set" throws an AttributeError + self.menu_system_voice_user_lang = 0 + self.menu_system_voice_user_speak = 0 + try: + (comp_language_name, comp_speaker_name) = comp_voice.split(':') + self.menu_system_voice_comp_lang = self.voices_conf.keys().index(comp_language_name) + self.menu_system_voice_comp_speak = self.voices_conf[comp_language_name].keys().index(comp_speaker_name) + except (AttributeError, ValueError): # None = "not set" throws an AttributeError + self.menu_system_voice_comp_lang = 0 + self.menu_system_voice_comp_speak = 0 + + self.menu_system_voice_speedfactor = speed_voice + + self.menu_system_display = Display.PONDER + self.menu_system_info = Info.VERSION + + self.menu_time_mode = TimeMode.BLITZ + + self.menu_time_fixed = 0 + self.menu_time_blitz = 2 # Default time control: Blitz, 5min + self.menu_time_fisch = 0 + self.tc_fixed_list = [' 1', ' 3', ' 5', '10', '15', '30', '60', '90'] + self.tc_blitz_list = [' 1', ' 3', ' 5', '10', '15', '30', '60', '90'] + self.tc_fisch_list = [' 1 1', ' 3 2', ' 5 3', '10 5', '15 10', '30 15', '60 20', '90 30'] + self.tc_fixed_map = OrderedDict([ + ('rnbqkbnr/pppppppp/Q7/8/8/8/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.FIXED, fixed=1)), + ('rnbqkbnr/pppppppp/1Q6/8/8/8/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.FIXED, fixed=3)), + ('rnbqkbnr/pppppppp/2Q5/8/8/8/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.FIXED, fixed=5)), + ('rnbqkbnr/pppppppp/3Q4/8/8/8/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.FIXED, fixed=10)), + ('rnbqkbnr/pppppppp/4Q3/8/8/8/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.FIXED, fixed=15)), + ('rnbqkbnr/pppppppp/5Q2/8/8/8/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.FIXED, fixed=30)), + ('rnbqkbnr/pppppppp/6Q1/8/8/8/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.FIXED, fixed=60)), + ('rnbqkbnr/pppppppp/7Q/8/8/8/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.FIXED, fixed=90))]) + self.tc_blitz_map = OrderedDict([ + ('rnbqkbnr/pppppppp/8/8/Q7/8/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.BLITZ, blitz=1)), + ('rnbqkbnr/pppppppp/8/8/1Q6/8/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.BLITZ, blitz=3)), + ('rnbqkbnr/pppppppp/8/8/2Q5/8/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.BLITZ, blitz=5)), + ('rnbqkbnr/pppppppp/8/8/3Q4/8/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.BLITZ, blitz=10)), + ('rnbqkbnr/pppppppp/8/8/4Q3/8/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.BLITZ, blitz=15)), + ('rnbqkbnr/pppppppp/8/8/5Q2/8/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.BLITZ, blitz=30)), + ('rnbqkbnr/pppppppp/8/8/6Q1/8/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.BLITZ, blitz=60)), + ('rnbqkbnr/pppppppp/8/8/7Q/8/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.BLITZ, blitz=90))]) + self.tc_fisch_map = OrderedDict([ + ('rnbqkbnr/pppppppp/8/8/8/Q7/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.FISCHER, blitz=1, fischer=1)), + ('rnbqkbnr/pppppppp/8/8/8/1Q6/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.FISCHER, blitz=3, fischer=2)), + ('rnbqkbnr/pppppppp/8/8/8/2Q5/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.FISCHER, blitz=5, fischer=3)), + ('rnbqkbnr/pppppppp/8/8/8/3Q4/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.FISCHER, blitz=10, fischer=5)), + ('rnbqkbnr/pppppppp/8/8/8/4Q3/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.FISCHER, blitz=15, fischer=10)), + ('rnbqkbnr/pppppppp/8/8/8/5Q2/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.FISCHER, blitz=30, fischer=15)), + ('rnbqkbnr/pppppppp/8/8/8/6Q1/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.FISCHER, blitz=60, fischer=20)), + ('rnbqkbnr/pppppppp/8/8/8/7Q/PPPPPPPP/RNBQKBNR', TimeControl(TimeMode.FISCHER, blitz=90, fischer=30))]) + # setup the result vars for api (dgtdisplay) + self.save_choices() + # During "picochess" is displayed, some special actions allowed + self.picochess_displayed = set() + self.updt_top = False # inside the update-menu? + self.updt_devs = set() # list of devices which are inside the update-menu + self.updt_tags = [] + self.updt_version = 0 # index to current version + + self.battery = '-NA' # standard value: NotAvailable (discharging) + self.inside_room = False + + def inside_updt_menu(self): + """Inside update menu.""" + return self.updt_top + + def disable_picochess_displayed(self, dev): + """Disable picochess display.""" + self.picochess_displayed.discard(dev) + + def enable_picochess_displayed(self, dev): + """Enable picochess display.""" + self.picochess_displayed.add(dev) + self.updt_tags = get_tags() + try: + self.updt_version = [item[1] for item in self.updt_tags].index(version) + except ValueError: + self.updt_version = len(self.updt_tags) - 1 + + def inside_picochess_time(self, dev): + """Picochess displayed on clock.""" + return dev in self.picochess_displayed + + def save_choices(self): + """Save the user choices to the result vars.""" + self.state = MenuState.TOP + + self.res_mode = self.menu_mode + + self.res_position_whitetomove = self.menu_position_whitetomove + self.res_position_reverse = self.menu_position_reverse + self.res_position_uci960 = self.menu_position_uci960 + + self.res_time_mode = self.menu_time_mode + self.res_time_fixed = self.menu_time_fixed + self.res_time_blitz = self.menu_time_blitz + self.res_time_fisch = self.menu_time_fisch + + self.res_book_name = self.menu_book + + self.res_engine_name = self.menu_engine_name + self.res_engine_level = self.menu_engine_level + + self.res_system_display_confirm = self.menu_system_display_confirm + self.res_system_display_ponderinterval = self.menu_system_display_ponderinterval + self.dgttranslate.set_capital(self.menu_system_display_capital) + self.dgttranslate.set_notation(self.menu_system_display_notation) + return False + + def set_engine_restart(self, flag: bool): + """Set the flag.""" + self.engine_restart = flag + + def get_engine_restart(self): + """Get the flag.""" + return self.engine_restart + + def get_flip_board(self): + """Get the flag.""" + return self.flip_board + + def get_engine_has_960(self): + """Get the flag.""" + return self.engine_has_960 + + def set_engine_has_960(self, flag: bool): + """Set the flag.""" + self.engine_has_960 = flag + + def get_engine_has_ponder(self): + """Get the flag.""" + return self.engine_has_ponder + + def set_engine_has_ponder(self, flag: bool): + """Set the flag.""" + self.engine_has_ponder = flag + + def get_dgt_fen(self): + """Get the flag.""" + return self.dgt_fen + + def set_dgt_fen(self, fen: str): + """Set the flag.""" + self.dgt_fen = fen + + def get_mode(self): + """Get the flag.""" + return self.res_mode + + def set_mode(self, mode: Mode): + """Set the flag.""" + self.res_mode = self.menu_mode = mode + + def get_engine(self): + """Get the flag.""" + return self.installed_engines[self.res_engine_name] + + def set_engine_index(self, index: int): + """Set the flag.""" + self.res_engine_name = self.menu_engine_name = index + + def get_engine_level(self): + """Get the flag.""" + return self.res_engine_level + + def set_engine_level(self, level: int): + """Set the flag.""" + self.res_engine_level = self.menu_engine_level = level + + def get_confirm(self): + """Get the flag.""" + return self.res_system_display_confirm + + def set_book(self, index: int): + """Set the flag.""" + self.res_book_name = self.menu_book = index + + def set_time_mode(self, mode: TimeMode): + """Set the flag.""" + self.res_time_mode = self.menu_time_mode = mode + + def get_time_mode(self): + """Get the flag.""" + return self.res_time_mode + + def set_time_fixed(self, index: int): + """Set the flag.""" + self.res_time_fixed = self.menu_time_fixed = index + + def get_time_fixed(self): + """Get the flag.""" + return self.res_time_fixed + + def set_time_blitz(self, index: int): + """Set the flag.""" + self.res_time_blitz = self.menu_time_blitz = index + + def get_time_blitz(self): + """Get the flag.""" + return self.res_time_blitz + + def set_time_fisch(self, index: int): + """Set the flag.""" + self.res_time_fisch = self.menu_time_fisch = index + + def get_time_fisch(self): + """Get the flag.""" + return self.res_time_fisch + + def set_position_reverse_flipboard(self, flip_board): + """Set the flag.""" + self.res_position_reverse = self.flip_board = flip_board + + def get_ponderinterval(self): + """Get the flag.""" + return self.res_system_display_ponderinterval + + def get(self): + """Get the current state.""" + return self.state + + def enter_top_menu(self): + """Set the menu state.""" + self.state = MenuState.TOP + self.current_text = None + return False + + def enter_mode_menu(self): + """Set the menu state.""" + self.state = MenuState.MODE + text = self.dgttranslate.text(Top.MODE.value) + return text + + def enter_mode_type_menu(self): + """Set the menu state.""" + self.state = MenuState.MODE_TYPE + text = self.dgttranslate.text(self.menu_mode.value) + return text + + def enter_pos_menu(self): + """Set the menu state.""" + self.state = MenuState.POS + text = self.dgttranslate.text(Top.POSITION.value) + return text + + def enter_pos_color_menu(self): + """Set the menu state.""" + self.state = MenuState.POS_COL + text = self.dgttranslate.text('B00_sidewhite' if self.menu_position_whitetomove else 'B00_sideblack') + return text + + def enter_pos_rev_menu(self): + """Set the menu state.""" + self.state = MenuState.POS_REV + text = self.dgttranslate.text('B00_bw' if self.menu_position_reverse else 'B00_wb') + return text + + def enter_pos_uci_menu(self): + """Set the menu state.""" + self.state = MenuState.POS_UCI + text = self.dgttranslate.text('B00_960yes' if self.menu_position_uci960 else 'B00_960no') + return text + + def enter_pos_read_menu(self): + """Set the menu state.""" + self.state = MenuState.POS_READ + text = self.dgttranslate.text('B00_scanboard') + return text + + def enter_time_menu(self): + """Set the menu state.""" + self.state = MenuState.TIME + text = self.dgttranslate.text(Top.TIME.value) + return text + + def enter_time_blitz_menu(self): + """Set the menu state.""" + self.state = MenuState.TIME_BLITZ + text = self.dgttranslate.text(self.menu_time_mode.value) + return text + + def enter_time_blitz_ctrl_menu(self): + """Set the menu state.""" + self.state = MenuState.TIME_BLITZ_CTRL + text = self.dgttranslate.text('B00_tc_blitz', self.tc_blitz_list[self.menu_time_blitz]) + return text + + def enter_time_fisch_menu(self): + """Set the menu state.""" + self.state = MenuState.TIME_FISCH + text = self.dgttranslate.text(self.menu_time_mode.value) + return text + + def enter_time_fisch_ctrl_menu(self): + """Set the menu state.""" + self.state = MenuState.TIME_FISCH_CTRL + text = self.dgttranslate.text('B00_tc_fisch', self.tc_fisch_list[self.menu_time_fisch]) + return text + + def enter_time_fixed_menu(self): + """Set the menu state.""" + self.state = MenuState.TIME_FIXED + text = self.dgttranslate.text(self.menu_time_mode.value) + return text + + def enter_time_fixed_ctrl_menu(self): + """Set the menu state.""" + self.state = MenuState.TIME_FIXED_CTRL + text = self.dgttranslate.text('B00_tc_fixed', self.tc_fixed_list[self.menu_time_fixed]) + return text + + def enter_book_menu(self): + """Set the menu state.""" + self.state = MenuState.BOOK + text = self.dgttranslate.text(Top.BOOK.value) + return text + + def _get_current_book_name(self): + text = self.all_books[self.menu_book]['text'] + text.beep = self.dgttranslate.bl(BeepLevel.BUTTON) + return text + + def enter_book_name_menu(self): + """Set the menu state.""" + self.state = MenuState.BOOK_NAME + return self._get_current_book_name() + + def enter_eng_menu(self): + """Set the menu state.""" + self.state = MenuState.ENG + text = self.dgttranslate.text(Top.ENGINE.value) + return text + + def _get_current_engine_name(self): + text = self.installed_engines[self.menu_engine_name]['text'] + text.beep = self.dgttranslate.bl(BeepLevel.BUTTON) + return text + + def enter_eng_name_menu(self): + """Set the menu state.""" + self.state = MenuState.ENG_NAME + return self._get_current_engine_name() + + def enter_eng_name_level_menu(self): + """Set the menu state.""" + self.state = MenuState.ENG_NAME_LEVEL + eng = self.installed_engines[self.menu_engine_name] + level_dict = eng['level_dict'] + if level_dict: + if self.menu_engine_level is None or len(level_dict) <= self.menu_engine_level: + self.menu_engine_level = len(level_dict) - 1 + msg = sorted(level_dict)[self.menu_engine_level] + text = self.dgttranslate.text('B00_level', msg) + else: + text = self.save_choices() + return text + + def enter_sys_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS + text = self.dgttranslate.text(Top.SYSTEM.value) + return text + + def enter_sys_info_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_INFO + text = self.dgttranslate.text(self.menu_system.value) + return text + + def enter_sys_info_vers_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_INFO_VERS + text = self.dgttranslate.text(self.menu_system_info.value) + return text + + def enter_sys_info_ip_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_INFO_IP + text = self.dgttranslate.text(self.menu_system_info.value) + return text + + def enter_sys_info_battery_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_INFO_BATTERY + text = self.dgttranslate.text(self.menu_system_info.value) + return text + + def enter_sys_sound_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_SOUND + text = self.dgttranslate.text(self.menu_system.value) + return text + + def enter_sys_sound_beep_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_SOUND_BEEP + text = self.dgttranslate.text(self.menu_system_sound.value) + return text + + def enter_sys_lang_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_LANG + text = self.dgttranslate.text(self.menu_system.value) + return text + + def enter_sys_lang_name_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_LANG_NAME + text = self.dgttranslate.text(self.menu_system_language.value) + return text + + def enter_sys_log_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_LOG + text = self.dgttranslate.text(self.menu_system.value) + return text + + def enter_sys_voice_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_VOICE + text = self.dgttranslate.text(self.menu_system.value) + return text + + def enter_sys_voice_user_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_VOICE_USER + text = self.dgttranslate.text(Voice.USER.value) + return text + + def enter_sys_voice_user_mute_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_VOICE_USER_MUTE + msg = 'on' if self.menu_system_voice_user_active else 'off' + text = self.dgttranslate.text('B00_voice_' + msg) + return text + + def enter_sys_voice_user_mute_lang_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_VOICE_USER_MUTE_LANG + vkey = self.voices_conf.keys()[self.menu_system_voice_user_lang] + text = self.dgttranslate.text('B00_language_' + vkey + '_menu') + return text + + def enter_sys_voice_comp_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_VOICE_COMP + text = self.dgttranslate.text(Voice.COMP.value) + return text + + def enter_sys_voice_comp_mute_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_VOICE_COMP_MUTE + msg = 'on' if self.menu_system_voice_comp_active else 'off' + text = self.dgttranslate.text('B00_voice_' + msg) + return text + + def enter_sys_voice_comp_mute_lang_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_VOICE_COMP_MUTE_LANG + vkey = self.voices_conf.keys()[self.menu_system_voice_comp_lang] + text = self.dgttranslate.text('B00_language_' + vkey + '_menu') + return text + + def _get_current_speaker(self, speakers, index:int): + speaker = speakers[list(speakers)[index]] + text = Dgt.DISPLAY_TEXT(l=speaker['large'], m=speaker['medium'], s=speaker['small']) + text.beep = self.dgttranslate.bl(BeepLevel.BUTTON) + text.wait = False + text.maxtime = 0 + text.devs = {'ser', 'i2c', 'web'} + return text + + def enter_sys_voice_user_mute_lang_speak_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_VOICE_USER_MUTE_LANG_SPEAK + vkey = self.voices_conf.keys()[self.menu_system_voice_user_lang] + self.menu_system_voice_user_speak %= len(self.voices_conf[vkey]) # in case: change from higher=>lower speakerNo + return self._get_current_speaker(self.voices_conf[vkey], self.menu_system_voice_user_speak) + + def enter_sys_voice_comp_mute_lang_speak_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_VOICE_COMP_MUTE_LANG_SPEAK + vkey = self.voices_conf.keys()[self.menu_system_voice_comp_lang] + self.menu_system_voice_comp_speak %= len(self.voices_conf[vkey]) # in case: change from higher=>lower speakerNo + return self._get_current_speaker(self.voices_conf[vkey], self.menu_system_voice_comp_speak) + + def enter_sys_voice_speed_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_VOICE_SPEED + text = self.dgttranslate.text(Voice.SPEED.value) + return text + + def enter_sys_voice_speed_factor_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_VOICE_SPEED_FACTOR + text = self.dgttranslate.text('B00_voice_speed', str(self.menu_system_voice_speedfactor)) + return text + + def enter_sys_disp_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_DISP + text = self.dgttranslate.text(self.menu_system.value) + return text + + def enter_sys_disp_confirm_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_DISP_CONFIRM + text = self.dgttranslate.text(Display.CONFIRM.value) + return text + + def enter_sys_disp_confirm_yesno_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_DISP_CONFIRM_YESNO + msg = 'off' if self.menu_system_display_confirm else 'on' + text = self.dgttranslate.text('B00_confirm_' + msg) + return text + + def enter_sys_disp_ponder_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_DISP_PONDER + text = self.dgttranslate.text(Display.PONDER.value) + return text + + def enter_sys_disp_ponder_interval_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_DISP_PONDER_INTERVAL + text = self.dgttranslate.text('B00_ponder_interval', str(self.menu_system_display_ponderinterval)) + return text + + def enter_sys_disp_capital_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_DISP_CAPITAL + text = self.dgttranslate.text(Display.CAPITAL.value) + return text + + def enter_sys_disp_capital_yesno_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_DISP_CAPTIAL_YESNO + msg = 'on' if self.menu_system_display_capital else 'off' + text = self.dgttranslate.text('B00_capital_' + msg) + return text + + def enter_sys_disp_notation_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_DISP_NOTATION + text = self.dgttranslate.text(Display.NOTATION.value) + return text + + def enter_sys_disp_notation_move_menu(self): + """Set the menu state.""" + self.state = MenuState.SYS_DISP_NOTATION_MOVE + msg = 'long' if self.menu_system_display_notation else 'short' + text = self.dgttranslate.text('B00_notation_' + msg) + return text + + def _fire_event(self, event: Event): + Observable.fire(event) + return self.save_choices() + + def _fire_dispatchdgt(self, text): + DispatchDgt.fire(text) + return self.save_choices() + + def _fire_timectrl(self, timectrl: TimeControl): + time_text = self.dgttranslate.text('B10_oktime') + event = Event.SET_TIME_CONTROL(tc_init=timectrl.get_parameters(), time_text=time_text, show_ok=True) + return self._fire_event(event) + + def exit_menu(self): + """Exit the menu.""" + if self.inside_main_menu(): + self.enter_top_menu() + if not self.get_confirm(): + return True + return False + + def main_up(self): + """Change the menu state after UP action.""" + text = self.dgttranslate.text('Y00_errormenu') + if False: # switch-case + pass + elif self.state == MenuState.TOP: + pass + elif self.state == MenuState.MODE: + text = self.enter_top_menu() + + elif self.state == MenuState.MODE_TYPE: + text = self.enter_mode_menu() + + elif self.state == MenuState.POS: + text = self.enter_top_menu() + + elif self.state == MenuState.POS_COL: + text = self.enter_pos_menu() + + elif self.state == MenuState.POS_REV: + text = self.enter_pos_color_menu() + + elif self.state == MenuState.POS_UCI: + text = self.enter_pos_rev_menu() + + elif self.state == MenuState.POS_READ: + text = self.enter_pos_uci_menu() + + elif self.state == MenuState.TIME: + text = self.enter_top_menu() + + elif self.state == MenuState.TIME_BLITZ: + text = self.enter_time_menu() + + elif self.state == MenuState.TIME_BLITZ_CTRL: + text = self.enter_time_blitz_menu() + + elif self.state == MenuState.TIME_FISCH: + text = self.enter_time_menu() + + elif self.state == MenuState.TIME_FISCH_CTRL: + text = self.enter_time_fisch_menu() + + elif self.state == MenuState.TIME_FIXED: + text = self.enter_time_menu() + + elif self.state == MenuState.TIME_FIXED_CTRL: + text = self.enter_time_fixed_menu() + + elif self.state == MenuState.BOOK: + text = self.enter_top_menu() + + elif self.state == MenuState.BOOK_NAME: + text = self.enter_book_menu() + + elif self.state == MenuState.ENG: + text = self.enter_top_menu() + + elif self.state == MenuState.ENG_NAME: + text = self.enter_eng_menu() + + elif self.state == MenuState.ENG_NAME_LEVEL: + text = self.enter_eng_name_menu() + + elif self.state == MenuState.SYS: + text = self.enter_top_menu() + + elif self.state == MenuState.SYS_INFO: + text = self.enter_sys_menu() + + elif self.state == MenuState.SYS_INFO_VERS: + text = self.enter_sys_info_menu() + + elif self.state == MenuState.SYS_INFO_IP: + text = self.enter_sys_info_menu() + + elif self.state == MenuState.SYS_INFO_BATTERY: + text = self.enter_sys_info_menu() + + elif self.state == MenuState.SYS_SOUND: + text = self.enter_sys_menu() + + elif self.state == MenuState.SYS_SOUND_BEEP: + text = self.enter_sys_sound_menu() + + elif self.state == MenuState.SYS_LANG: + text = self.enter_sys_menu() + + elif self.state == MenuState.SYS_LANG_NAME: + text = self.enter_sys_lang_menu() + + elif self.state == MenuState.SYS_LOG: + text = self.enter_sys_menu() + + elif self.state == MenuState.SYS_VOICE: + text = self.enter_sys_menu() + + elif self.state == MenuState.SYS_VOICE_USER: + text = self.enter_sys_voice_menu() + + elif self.state == MenuState.SYS_VOICE_USER_MUTE: + text = self.enter_sys_voice_user_menu() + + elif self.state == MenuState.SYS_VOICE_USER_MUTE_LANG: + text = self.enter_sys_voice_user_mute_menu() + + elif self.state == MenuState.SYS_VOICE_USER_MUTE_LANG_SPEAK: + text = self.enter_sys_voice_user_mute_lang_menu() + + elif self.state == MenuState.SYS_VOICE_COMP: + text = self.enter_sys_voice_menu() + + elif self.state == MenuState.SYS_VOICE_COMP_MUTE: + text = self.enter_sys_voice_comp_menu() + + elif self.state == MenuState.SYS_VOICE_COMP_MUTE_LANG: + text = self.enter_sys_voice_comp_mute_menu() + + elif self.state == MenuState.SYS_VOICE_COMP_MUTE_LANG_SPEAK: + text = self.enter_sys_voice_comp_mute_lang_menu() + + elif self.state == MenuState.SYS_VOICE_SPEED: + text = self.enter_sys_voice_menu() + + elif self.state == MenuState.SYS_VOICE_SPEED_FACTOR: + text = self.enter_sys_voice_speed_menu() + + elif self.state == MenuState.SYS_DISP: + text = self.enter_sys_menu() + + elif self.state == MenuState.SYS_DISP_CONFIRM: + text = self.enter_sys_disp_menu() + + elif self.state == MenuState.SYS_DISP_CONFIRM_YESNO: + text = self.enter_sys_disp_confirm_menu() + + elif self.state == MenuState.SYS_DISP_PONDER: + text = self.enter_sys_disp_menu() + + elif self.state == MenuState.SYS_DISP_PONDER_INTERVAL: + text = self.enter_sys_disp_ponder_menu() + + elif self.state == MenuState.SYS_DISP_CAPITAL: + text = self.enter_sys_disp_menu() + + elif self.state == MenuState.SYS_DISP_CAPTIAL_YESNO: + text = self.enter_sys_disp_capital_menu() + + elif self.state == MenuState.SYS_DISP_NOTATION: + text = self.enter_sys_disp_menu() + + elif self.state == MenuState.SYS_DISP_NOTATION_MOVE: + text = self.enter_sys_disp_notation_menu() + + else: # Default + pass + self.current_text = text + return text + + def main_down(self): + """Change the menu state after DOWN action.""" + text = self.dgttranslate.text('Y00_errormenu') + if False: # switch-case + pass + elif self.state == MenuState.TOP: + if self.menu_top == Top.MODE: + text = self.enter_mode_menu() + if self.menu_top == Top.POSITION: + text = self.enter_pos_menu() + if self.menu_top == Top.TIME: + text = self.enter_time_menu() + if self.menu_top == Top.BOOK: + text = self.enter_book_menu() + if self.menu_top == Top.ENGINE: + text = self.enter_eng_menu() + if self.menu_top == Top.SYSTEM: + text = self.enter_sys_menu() + + elif self.state == MenuState.MODE: + text = self.enter_mode_type_menu() + + elif self.state == MenuState.MODE_TYPE: + # maybe do action! + if self.menu_mode == Mode.REMOTE and not self.inside_room: + text = self.dgttranslate.text('Y10_errorroom') + elif self.menu_mode == Mode.BRAIN and not self.get_engine_has_ponder(): + DispatchDgt.fire(self.dgttranslate.text('Y10_erroreng')) + text = Dgt.DISPLAY_TIME(force=True, wait=True, devs={'ser', 'i2c', 'web'}) + else: + mode_text = self.dgttranslate.text('B10_okmode') + event = Event.SET_INTERACTION_MODE(mode=self.menu_mode, mode_text=mode_text, show_ok=True) + text = self._fire_event(event) + + elif self.state == MenuState.POS: + text = self.enter_pos_color_menu() + + elif self.state == MenuState.POS_COL: + text = self.enter_pos_rev_menu() + + elif self.state == MenuState.POS_REV: + text = self.enter_pos_uci_menu() + + elif self.state == MenuState.POS_UCI: + text = self.enter_pos_read_menu() + + elif self.state == MenuState.POS_READ: + # do action! + fen = self.dgt_fen + if self.flip_board != self.menu_position_reverse: + logging.debug('flipping the board - %s infront now', 'B' if self.menu_position_reverse else 'W') + fen = fen[::-1] + fen += ' {0} KQkq - 0 1'.format('w' if self.menu_position_whitetomove else 'b') + # ask python-chess to correct the castling string + bit_board = chess.Board(fen, self.menu_position_uci960) + bit_board.set_fen(bit_board.fen()) + if bit_board.is_valid(): + self.flip_board = self.menu_position_reverse + event = Event.SETUP_POSITION(fen=bit_board.fen(), uci960=self.menu_position_uci960) + Observable.fire(event) + # self._reset_moves_and_score() done in "START_NEW_GAME" + text = self.save_choices() + else: + logging.debug('illegal fen %s', fen) + DispatchDgt.fire(self.dgttranslate.text('Y10_illegalpos')) + text = self.dgttranslate.text('B00_scanboard') + text.wait = True + + elif self.state == MenuState.TIME: + if self.menu_time_mode == TimeMode.BLITZ: + text = self.enter_time_blitz_menu() + if self.menu_time_mode == TimeMode.FISCHER: + text = self.enter_time_fisch_menu() + if self.menu_time_mode == TimeMode.FIXED: + text = self.enter_time_fixed_menu() + + elif self.state == MenuState.TIME_BLITZ: + text = self.enter_time_blitz_ctrl_menu() + + elif self.state == MenuState.TIME_BLITZ_CTRL: + # do action! + text = self._fire_timectrl(self.tc_blitz_map[list(self.tc_blitz_map)[self.menu_time_blitz]]) + + elif self.state == MenuState.TIME_FISCH: + text = self.enter_time_fisch_ctrl_menu() + + elif self.state == MenuState.TIME_FISCH_CTRL: + # do action! + text = self._fire_timectrl(self.tc_fisch_map[list(self.tc_fisch_map)[self.menu_time_fisch]]) + + elif self.state == MenuState.TIME_FIXED: + text = self.enter_time_fixed_ctrl_menu() + + elif self.state == MenuState.TIME_FIXED_CTRL: + # do action! + text = self._fire_timectrl(self.tc_fixed_map[list(self.tc_fixed_map)[self.menu_time_fixed]]) + + elif self.state == MenuState.BOOK: + text = self.enter_book_name_menu() + + elif self.state == MenuState.BOOK_NAME: + # do action! + book_text = self.dgttranslate.text('B10_okbook') + event = Event.SET_OPENING_BOOK(book=self.all_books[self.menu_book], book_text=book_text, show_ok=True) + text = self._fire_event(event) + + elif self.state == MenuState.ENG: + text = self.enter_eng_name_menu() + + elif self.state == MenuState.ENG_NAME: + # maybe do action! + text = self.enter_eng_name_level_menu() + if not text: + if not self.remote_engine: + write_picochess_ini('engine-level', None) + eng = self.installed_engines[self.menu_engine_name] + eng_text = self.dgttranslate.text('B10_okengine') + event = Event.NEW_ENGINE(eng=eng, eng_text=eng_text, options={}, show_ok=True) + Observable.fire(event) + self.engine_restart = True + + elif self.state == MenuState.ENG_NAME_LEVEL: + # do action! + eng = self.installed_engines[self.menu_engine_name] + level_dict = eng['level_dict'] + if level_dict: + msg = sorted(level_dict)[self.menu_engine_level] + options = level_dict[msg] + if not self.remote_engine: + write_picochess_ini('engine-level', msg) + event = Event.LEVEL(options={}, level_text=self.dgttranslate.text('B10_level', msg), level_name=msg) + Observable.fire(event) + else: + options = {} + eng_text = self.dgttranslate.text('B10_okengine') + event = Event.NEW_ENGINE(eng=eng, eng_text=eng_text, options=options, show_ok=True) + text = self._fire_event(event) + self.engine_restart = True + + elif self.state == MenuState.SYS: + if self.menu_system == System.INFO: + text = self.enter_sys_info_menu() + if self.menu_system == System.SOUND: + text = self.enter_sys_sound_menu() + if self.menu_system == System.LANGUAGE: + text = self.enter_sys_lang_menu() + if self.menu_system == System.LOGFILE: + text = self.enter_sys_log_menu() + if self.menu_system == System.VOICE: + text = self.enter_sys_voice_menu() + if self.menu_system == System.DISPLAY: + text = self.enter_sys_disp_menu() + + elif self.state == MenuState.SYS_INFO: + if self.menu_system_info == Info.VERSION: + text = self.enter_sys_info_vers_menu() + if self.menu_system_info == Info.IPADR: + text = self.enter_sys_info_ip_menu() + if self.menu_system_info == Info.BATTERY: + text = self.enter_sys_info_battery_menu() + + elif self.state == MenuState.SYS_INFO_VERS: + # do action! + text = self.dgttranslate.text('B10_picochess') + text.rd = ClockIcons.DOT + text.wait = False + text = self._fire_dispatchdgt(text) + + elif self.state == MenuState.SYS_INFO_IP: + # do action! + if self.int_ip: + msg = ' '.join(self.int_ip.split('.')[:2]) + text = self.dgttranslate.text('B07_default', msg) + if len(msg) == 7: # delete the " " for XL incase its "123 456" + text.s = msg[:3] + msg[4:] + DispatchDgt.fire(text) + msg = ' '.join(self.int_ip.split('.')[2:]) + text = self.dgttranslate.text('N07_default', msg) + if len(msg) == 7: # delete the " " for XL incase its "123 456" + text.s = msg[:3] + msg[4:] + text.wait = True + else: + text = self.dgttranslate.text('B10_noipadr') + text = self._fire_dispatchdgt(text) + + elif self.state == MenuState.SYS_INFO_BATTERY: + # do action! + text = self._fire_dispatchdgt(self.dgttranslate.text('B10_bat_percent', self.battery)) + + elif self.state == MenuState.SYS_SOUND: + text = self.enter_sys_sound_beep_menu() + + elif self.state == MenuState.SYS_SOUND_BEEP: + # do action! + self.dgttranslate.set_beep(self.menu_system_sound) + write_picochess_ini('beep-config', self.dgttranslate.beep_to_config(self.menu_system_sound)) + text = self._fire_dispatchdgt(self.dgttranslate.text('B10_okbeep')) + + elif self.state == MenuState.SYS_LANG: + text = self.enter_sys_lang_name_menu() + + elif self.state == MenuState.SYS_LANG_NAME: + # do action! + langs = {Language.EN: 'en', Language.DE: 'de', Language.NL: 'nl', + Language.FR: 'fr', Language.ES: 'es', Language.IT: 'it'} + language = langs[self.menu_system_language] + self.dgttranslate.set_language(language) + write_picochess_ini('language', language) + text = self._fire_dispatchdgt(self.dgttranslate.text('B10_oklang')) + + elif self.state == MenuState.SYS_LOG: + # do action! + if self.log_file: + Observable.fire(Event.EMAIL_LOG()) + text = self._fire_dispatchdgt(self.dgttranslate.text('B10_oklogfile')) + else: + text = self._fire_dispatchdgt(self.dgttranslate.text('B10_nofunction')) + + elif self.state == MenuState.SYS_VOICE: + if self.menu_system_voice == Voice.USER: + text = self.enter_sys_voice_user_menu() + if self.menu_system_voice == Voice.COMP: + text = self.enter_sys_voice_comp_menu() + if self.menu_system_voice == Voice.SPEED: + text = self.enter_sys_voice_speed_menu() + + elif self.state == MenuState.SYS_VOICE_USER: + self.menu_system_voice = Voice.USER + text = self.enter_sys_voice_user_mute_menu() + + elif self.state == MenuState.SYS_VOICE_COMP: + self.menu_system_voice = Voice.COMP + text = self.enter_sys_voice_comp_mute_menu() + + elif self.state == MenuState.SYS_VOICE_USER_MUTE: + # maybe do action! + if self.menu_system_voice_user_active: + text = self.enter_sys_voice_user_mute_lang_menu() + else: + config = ConfigObj('picochess.ini') + if 'user-voice' in config: + del config['user-voice'] + config.write() + event = Event.SET_VOICE(type=self.menu_system_voice, lang='en', speaker='mute', speed=2) + Observable.fire(event) + text = self._fire_dispatchdgt(self.dgttranslate.text('B10_okvoice')) + + elif self.state == MenuState.SYS_VOICE_USER_MUTE_LANG: + text = self.enter_sys_voice_user_mute_lang_speak_menu() + + elif self.state == MenuState.SYS_VOICE_USER_MUTE_LANG_SPEAK: + # do action! + vkey = self.voices_conf.keys()[self.menu_system_voice_user_lang] + speakers = self.voices_conf[vkey].keys() + config = ConfigObj('picochess.ini') + skey = speakers[self.menu_system_voice_user_speak] + config['user-voice'] = vkey + ':' + skey + config.write() + event = Event.SET_VOICE(type=self.menu_system_voice, lang=vkey, speaker=skey, + speed=self.menu_system_voice_speedfactor) + Observable.fire(event) + text = self._fire_dispatchdgt(self.dgttranslate.text('B10_okvoice')) + + elif self.state == MenuState.SYS_VOICE_COMP_MUTE: + # maybe do action! + if self.menu_system_voice_comp_active: + text = self.enter_sys_voice_comp_mute_lang_menu() + else: + config = ConfigObj('picochess.ini') + if 'computer-voice' in config: + del config['computer-voice'] + config.write() + event = Event.SET_VOICE(type=self.menu_system_voice, lang='en', speaker='mute', speed=2) + Observable.fire(event) + text = self._fire_dispatchdgt(self.dgttranslate.text('B10_okvoice')) + + elif self.state == MenuState.SYS_VOICE_COMP_MUTE_LANG: + text = self.enter_sys_voice_comp_mute_lang_speak_menu() + + elif self.state == MenuState.SYS_VOICE_COMP_MUTE_LANG_SPEAK: + # do action! + vkey = self.voices_conf.keys()[self.menu_system_voice_comp_lang] + speakers = self.voices_conf[vkey].keys() + config = ConfigObj('picochess.ini') + skey = speakers[self.menu_system_voice_comp_speak] + config['computer-voice'] = vkey + ':' + skey + config.write() + event = Event.SET_VOICE(type=self.menu_system_voice, lang=vkey, speaker=skey, + speed=self.menu_system_voice_speedfactor) + Observable.fire(event) + text = self._fire_dispatchdgt(self.dgttranslate.text('B10_okvoice')) + + elif self.state == MenuState.SYS_VOICE_SPEED: + self.menu_system_voice = Voice.SPEED + text = self.enter_sys_voice_speed_factor_menu() + + elif self.state == MenuState.SYS_VOICE_SPEED_FACTOR: + # do action! + assert self.menu_system_voice == Voice.SPEED, 'menu item is not Voice.SPEED: %s' % self.menu_system_voice + write_picochess_ini('speed-voice', self.menu_system_voice_speedfactor) + event = Event.SET_VOICE(type=self.menu_system_voice, lang='en', speaker='mute', # lang & speaker ignored + speed=self.menu_system_voice_speedfactor) + Observable.fire(event) + text = self._fire_dispatchdgt(self.dgttranslate.text('B10_okspeed')) + + elif self.state == MenuState.SYS_DISP: + if self.menu_system_display == Display.PONDER: + text = self.enter_sys_disp_ponder_menu() + if self.menu_system_display == Display.CONFIRM: + text = self.enter_sys_disp_confirm_menu() + if self.menu_system_display == Display.CAPITAL: + text = self.enter_sys_disp_capital_menu() + if self.menu_system_display == Display.NOTATION: + text = self.enter_sys_disp_notation_menu() + + elif self.state == MenuState.SYS_DISP_CONFIRM: + text = self.enter_sys_disp_confirm_yesno_menu() + + elif self.state == MenuState.SYS_DISP_CONFIRM_YESNO: + # do action! + config = ConfigObj('picochess.ini') + if self.menu_system_display_confirm: + config['disable-confirm-message'] = self.menu_system_display_confirm + elif 'disable-confirm-message' in config: + del config['disable-confirm-message'] + config.write() + text = self._fire_dispatchdgt(self.dgttranslate.text('B10_okconfirm')) + + elif self.state == MenuState.SYS_DISP_PONDER: + text = self.enter_sys_disp_ponder_interval_menu() + + elif self.state == MenuState.SYS_DISP_PONDER_INTERVAL: + # do action! + write_picochess_ini('ponder-interval', self.menu_system_display_ponderinterval) + text = self._fire_dispatchdgt(self.dgttranslate.text('B10_okponder')) + + elif self.state == MenuState.SYS_DISP_CAPITAL: + text = self.enter_sys_disp_capital_yesno_menu() + + elif self.state == MenuState.SYS_DISP_CAPTIAL_YESNO: + # do action! + config = ConfigObj('picochess.ini') + if self.menu_system_display_capital: + config['enable-capital-letters'] = self.menu_system_display_capital + elif 'enable-capital-letters' in config: + del config['enable-capital-letters'] + config.write() + text = self._fire_dispatchdgt(self.dgttranslate.text('B10_okcapital')) + + elif self.state == MenuState.SYS_DISP_NOTATION: + text = self.enter_sys_disp_notation_move_menu() + + elif self.state == MenuState.SYS_DISP_NOTATION_MOVE: + # do-action! + config = ConfigObj('picochess.ini') + if self.menu_system_display_notation: + config['disable-short-notation'] = self.menu_system_display_notation + elif 'disable-short-notation' in config: + del config['disable-short-notation'] + config.write() + text = self._fire_dispatchdgt(self.dgttranslate.text('B10_oknotation')) + + else: # Default + pass + self.current_text = text + return text + + def main_left(self): + """Change the menu state after LEFT action.""" + text = self.dgttranslate.text('Y00_errormenu') + if False: # switch-case + pass + elif self.state == MenuState.TOP: + pass + + elif self.state == MenuState.MODE: + self.state = MenuState.SYS + self.menu_top = TopLoop.prev(self.menu_top) + text = self.dgttranslate.text(self.menu_top.value) + + elif self.state == MenuState.MODE_TYPE: + self.menu_mode = ModeLoop.prev(self.menu_mode) + text = self.dgttranslate.text(self.menu_mode.value) + + elif self.state == MenuState.POS: + self.state = MenuState.MODE + self.menu_top = TopLoop.prev(self.menu_top) + text = self.dgttranslate.text(self.menu_top.value) + + elif self.state == MenuState.POS_COL: + self.menu_position_whitetomove = not self.menu_position_whitetomove + text = self.dgttranslate.text('B00_sidewhite' if self.menu_position_whitetomove else 'B00_sideblack') + + elif self.state == MenuState.POS_REV: + self.menu_position_reverse = not self.menu_position_reverse + text = self.dgttranslate.text('B00_bw' if self.menu_position_reverse else 'B00_wb') + + elif self.state == MenuState.POS_UCI: + if self.engine_has_960: + self.menu_position_uci960 = not self.menu_position_uci960 + text = self.dgttranslate.text('B00_960yes' if self.menu_position_uci960 else 'B00_960no') + else: + text = self.dgttranslate.text('Y10_error960') + + elif self.state == MenuState.POS_READ: + text = self.dgttranslate.text('B00_nofunction') + + elif self.state == MenuState.TIME: + self.state = MenuState.POS + self.menu_top = TopLoop.prev(self.menu_top) + text = self.dgttranslate.text(self.menu_top.value) + + elif self.state == MenuState.TIME_BLITZ: + self.state = MenuState.TIME_FIXED + self.menu_time_mode = TimeModeLoop.prev(self.menu_time_mode) + text = self.dgttranslate.text(self.menu_time_mode.value) + + elif self.state == MenuState.TIME_BLITZ_CTRL: + self.menu_time_blitz = (self.menu_time_blitz - 1) % len(self.tc_blitz_map) + text = self.dgttranslate.text('B00_tc_blitz', self.tc_blitz_list[self.menu_time_blitz]) + + elif self.state == MenuState.TIME_FISCH: + self.state = MenuState.TIME_BLITZ + self.menu_time_mode = TimeModeLoop.prev(self.menu_time_mode) + text = self.dgttranslate.text(self.menu_time_mode.value) + + elif self.state == MenuState.TIME_FISCH_CTRL: + self.menu_time_fisch = (self.menu_time_fisch - 1) % len(self.tc_fisch_map) + text = self.dgttranslate.text('B00_tc_fisch', self.tc_fisch_list[self.menu_time_fisch]) + + elif self.state == MenuState.TIME_FIXED: + self.state = MenuState.TIME_FISCH + self.menu_time_mode = TimeModeLoop.prev(self.menu_time_mode) + text = self.dgttranslate.text(self.menu_time_mode.value) + + elif self.state == MenuState.TIME_FIXED_CTRL: + self.menu_time_fixed = (self.menu_time_fixed - 1) % len(self.tc_fixed_map) + text = self.dgttranslate.text('B00_tc_fixed', self.tc_fixed_list[self.menu_time_fixed]) + + elif self.state == MenuState.BOOK: + self.state = MenuState.TIME + self.menu_top = TopLoop.prev(self.menu_top) + text = self.dgttranslate.text(self.menu_top.value) + + elif self.state == MenuState.BOOK_NAME: + self.menu_book = (self.menu_book - 1) % len(self.all_books) + text = self._get_current_book_name() + + elif self.state == MenuState.ENG: + self.state = MenuState.BOOK + self.menu_top = TopLoop.prev(self.menu_top) + text = self.dgttranslate.text(self.menu_top.value) + + elif self.state == MenuState.ENG_NAME: + self.menu_engine_name = (self.menu_engine_name - 1) % len(self.installed_engines) + text = self._get_current_engine_name() + + elif self.state == MenuState.ENG_NAME_LEVEL: + level_dict = self.installed_engines[self.menu_engine_name]['level_dict'] + self.menu_engine_level = (self.menu_engine_level - 1) % len(level_dict) + msg = sorted(level_dict)[self.menu_engine_level] + text = self.dgttranslate.text('B00_level', msg) + + elif self.state == MenuState.SYS: + self.state = MenuState.ENG + self.menu_top = TopLoop.prev(self.menu_top) + text = self.dgttranslate.text(self.menu_top.value) + + elif self.state == MenuState.SYS_INFO: + self.state = MenuState.SYS_DISP + self.menu_system = SystemLoop.prev(self.menu_system) + text = self.dgttranslate.text(self.menu_system.value) + + elif self.state == MenuState.SYS_INFO_VERS: + self.state = MenuState.SYS_INFO_BATTERY + self.menu_system_info = InfoLoop.prev(self.menu_system_info) + text = self.dgttranslate.text(self.menu_system_info.value) + + elif self.state == MenuState.SYS_INFO_IP: + self.state = MenuState.SYS_INFO_VERS + self.menu_system_info = InfoLoop.prev(self.menu_system_info) + text = self.dgttranslate.text(self.menu_system_info.value) + + elif self.state == MenuState.SYS_INFO_BATTERY: + self.state = MenuState.SYS_INFO_IP + self.menu_system_info = InfoLoop.prev(self.menu_system_info) + text = self.dgttranslate.text(self.menu_system_info.value) + + elif self.state == MenuState.SYS_SOUND: + self.state = MenuState.SYS_INFO + self.menu_system = SystemLoop.prev(self.menu_system) + text = self.dgttranslate.text(self.menu_system.value) + + elif self.state == MenuState.SYS_SOUND_BEEP: + self.menu_system_sound = BeepLoop.prev(self.menu_system_sound) + text = self.dgttranslate.text(self.menu_system_sound.value) + + elif self.state == MenuState.SYS_LANG: + self.state = MenuState.SYS_SOUND + self.menu_system = SystemLoop.prev(self.menu_system) + text = self.dgttranslate.text(self.menu_system.value) + + elif self.state == MenuState.SYS_LANG_NAME: + self.menu_system_language = LanguageLoop.prev(self.menu_system_language) + text = self.dgttranslate.text(self.menu_system_language.value) + + elif self.state == MenuState.SYS_LOG: + self.state = MenuState.SYS_LANG + self.menu_system = SystemLoop.prev(self.menu_system) + text = self.dgttranslate.text(self.menu_system.value) + + elif self.state == MenuState.SYS_VOICE: + self.state = MenuState.SYS_LOG + self.menu_system = SystemLoop.prev(self.menu_system) + text = self.dgttranslate.text(self.menu_system.value) + + elif self.state == MenuState.SYS_VOICE_USER: + self.state = MenuState.SYS_VOICE_COMP + self.menu_system_voice = VoiceLoop.prev(self.menu_system_voice) + text = self.dgttranslate.text(self.menu_system_voice.value) + + elif self.state == MenuState.SYS_VOICE_USER_MUTE: + self.menu_system_voice_user_active = not self.menu_system_voice_user_active + msg = 'on' if self.menu_system_voice_user_active else 'off' + text = self.dgttranslate.text('B00_voice_' + msg) + + elif self.state == MenuState.SYS_VOICE_USER_MUTE_LANG: + self.menu_system_voice_user_lang = (self.menu_system_voice_user_lang - 1) % len(self.voices_conf) + vkey = self.voices_conf.keys()[self.menu_system_voice_user_lang] + text = self.dgttranslate.text('B00_language_' + vkey + '_menu') # voice using same as language + + elif self.state == MenuState.SYS_VOICE_USER_MUTE_LANG_SPEAK: + vkey = self.voices_conf.keys()[self.menu_system_voice_user_lang] + speakers = self.voices_conf[vkey] + self.menu_system_voice_user_speak = (self.menu_system_voice_user_speak - 1) % len(speakers) + text = self._get_current_speaker(speakers, self.menu_system_voice_user_speak) + + elif self.state == MenuState.SYS_VOICE_COMP: + self.state = MenuState.SYS_VOICE_SPEED + self.menu_system_voice = VoiceLoop.prev(self.menu_system_voice) + text = self.dgttranslate.text(self.menu_system_voice.value) + + elif self.state == MenuState.SYS_VOICE_COMP_MUTE: + self.menu_system_voice_comp_active = not self.menu_system_voice_comp_active + msg = 'on' if self.menu_system_voice_comp_active else 'off' + text = self.dgttranslate.text('B00_voice_' + msg) + + elif self.state == MenuState.SYS_VOICE_COMP_MUTE_LANG: + self.menu_system_voice_comp_lang = (self.menu_system_voice_comp_lang - 1) % len(self.voices_conf) + vkey = self.voices_conf.keys()[self.menu_system_voice_comp_lang] + text = self.dgttranslate.text('B00_language_' + vkey + '_menu') # voice using same as language + + elif self.state == MenuState.SYS_VOICE_COMP_MUTE_LANG_SPEAK: + vkey = self.voices_conf.keys()[self.menu_system_voice_comp_lang] + speakers = self.voices_conf[vkey] + self.menu_system_voice_comp_speak = (self.menu_system_voice_comp_speak - 1) % len(speakers) + text = self._get_current_speaker(speakers, self.menu_system_voice_comp_speak) + + elif self.state == MenuState.SYS_VOICE_SPEED: + self.state = MenuState.SYS_VOICE_USER + self.menu_system_voice = VoiceLoop.prev(self.menu_system_voice) + text = self.dgttranslate.text(self.menu_system_voice.value) + + elif self.state == MenuState.SYS_VOICE_SPEED_FACTOR: + self.menu_system_voice_speedfactor = (self.menu_system_voice_speedfactor - 1) % 10 + text = self.dgttranslate.text('B00_voice_speed', str(self.menu_system_voice_speedfactor)) + + elif self.state == MenuState.SYS_DISP: + self.state = MenuState.SYS_VOICE + self.menu_system = SystemLoop.prev(self.menu_system) + text = self.dgttranslate.text(self.menu_system.value) + + elif self.state == MenuState.SYS_DISP_PONDER: + self.state = MenuState.SYS_DISP_NOTATION + self.menu_system_display = DisplayLoop.prev(self.menu_system_display) + text = self.dgttranslate.text(self.menu_system_display.value) + + elif self.state == MenuState.SYS_DISP_PONDER_INTERVAL: + self.menu_system_display_ponderinterval -= 1 + if self.menu_system_display_ponderinterval < 1: + self.menu_system_display_ponderinterval = 8 + text = self.dgttranslate.text('B00_ponder_interval', str(self.menu_system_display_ponderinterval)) + + elif self.state == MenuState.SYS_DISP_CONFIRM: + self.state = MenuState.SYS_DISP_PONDER + self.menu_system_display = DisplayLoop.prev(self.menu_system_display) + text = self.dgttranslate.text(self.menu_system_display.value) + + elif self.state == MenuState.SYS_DISP_CONFIRM_YESNO: + self.menu_system_display_confirm = not self.menu_system_display_confirm + msg = 'off' if self.menu_system_display_confirm else 'on' + text = self.dgttranslate.text('B00_confirm_' + msg) + + elif self.state == MenuState.SYS_DISP_CAPITAL: + self.state = MenuState.SYS_DISP_CONFIRM + self.menu_system_display = DisplayLoop.prev(self.menu_system_display) + text = self.dgttranslate.text(self.menu_system_display.value) + + elif self.state == MenuState.SYS_DISP_CAPTIAL_YESNO: + self.menu_system_display_capital = not self.menu_system_display_capital + msg = 'on' if self.menu_system_display_capital else 'off' + text = self.dgttranslate.text('B00_capital_' + msg) + + elif self.state == MenuState.SYS_DISP_NOTATION: + self.state = MenuState.SYS_DISP_CAPITAL + self.menu_system_display = DisplayLoop.prev(self.menu_system_display) + text = self.dgttranslate.text(self.menu_system_display.value) + + elif self.state == MenuState.SYS_DISP_NOTATION_MOVE: + self.menu_system_display_notation = not self.menu_system_display_notation + msg = 'long' if self.menu_system_display_notation else 'short' + text = self.dgttranslate.text('B00_notation_' + msg) + + else: # Default + pass + self.current_text = text + return text + + def main_right(self): + """Change the menu state after RIGHT action.""" + text = self.dgttranslate.text('Y00_errormenu') + if False: # switch-case + pass + elif self.state == MenuState.TOP: + pass + + elif self.state == MenuState.MODE: + self.state = MenuState.POS + self.menu_top = TopLoop.next(self.menu_top) + text = self.dgttranslate.text(self.menu_top.value) + + elif self.state == MenuState.MODE_TYPE: + self.menu_mode = ModeLoop.next(self.menu_mode) + text = self.dgttranslate.text(self.menu_mode.value) + + elif self.state == MenuState.POS: + self.state = MenuState.TIME + self.menu_top = TopLoop.next(self.menu_top) + text = self.dgttranslate.text(self.menu_top.value) + + elif self.state == MenuState.POS_COL: + self.menu_position_whitetomove = not self.menu_position_whitetomove + text = self.dgttranslate.text('B00_sidewhite' if self.menu_position_whitetomove else 'B00_sideblack') + + elif self.state == MenuState.POS_REV: + self.menu_position_reverse = not self.menu_position_reverse + text = self.dgttranslate.text('B00_bw' if self.menu_position_reverse else 'B00_wb') + + elif self.state == MenuState.POS_UCI: + if self.engine_has_960: + self.menu_position_uci960 = not self.menu_position_uci960 + text = self.dgttranslate.text('B00_960yes' if self.menu_position_uci960 else 'B00_960no') + else: + text = self.dgttranslate.text('Y10_error960') + + elif self.state == MenuState.POS_READ: + text = self.dgttranslate.text('B10_nofunction') + + elif self.state == MenuState.TIME: + self.state = MenuState.BOOK + self.menu_top = TopLoop.next(self.menu_top) + text = self.dgttranslate.text(self.menu_top.value) + + elif self.state == MenuState.TIME_BLITZ: + self.state = MenuState.TIME_FISCH + self.menu_time_mode = TimeModeLoop.next(self.menu_time_mode) + text = self.dgttranslate.text(self.menu_time_mode.value) + + elif self.state == MenuState.TIME_BLITZ_CTRL: + self.menu_time_blitz = (self.menu_time_blitz + 1) % len(self.tc_blitz_map) + text = self.dgttranslate.text('B00_tc_blitz', self.tc_blitz_list[self.menu_time_blitz]) + + elif self.state == MenuState.TIME_FISCH: + self.state = MenuState.TIME_FIXED + self.menu_time_mode = TimeModeLoop.next(self.menu_time_mode) + text = self.dgttranslate.text(self.menu_time_mode.value) + + elif self.state == MenuState.TIME_FISCH_CTRL: + self.menu_time_fisch = (self.menu_time_fisch + 1) % len(self.tc_fisch_map) + text = self.dgttranslate.text('B00_tc_fisch', self.tc_fisch_list[self.menu_time_fisch]) + + elif self.state == MenuState.TIME_FIXED: + self.state = MenuState.TIME_BLITZ + self.menu_time_mode = TimeModeLoop.next(self.menu_time_mode) + text = self.dgttranslate.text(self.menu_time_mode.value) + + elif self.state == MenuState.TIME_FIXED_CTRL: + self.menu_time_fixed = (self.menu_time_fixed + 1) % len(self.tc_fixed_map) + text = self.dgttranslate.text('B00_tc_fixed', self.tc_fixed_list[self.menu_time_fixed]) + + elif self.state == MenuState.BOOK: + self.state = MenuState.ENG + self.menu_top = TopLoop.next(self.menu_top) + text = self.dgttranslate.text(self.menu_top.value) + + elif self.state == MenuState.BOOK_NAME: + self.menu_book = (self.menu_book + 1) % len(self.all_books) + text = self._get_current_book_name() + + elif self.state == MenuState.ENG: + self.state = MenuState.SYS + self.menu_top = TopLoop.next(self.menu_top) + text = self.dgttranslate.text(self.menu_top.value) + + elif self.state == MenuState.ENG_NAME: + self.menu_engine_name = (self.menu_engine_name + 1) % len(self.installed_engines) + text = self._get_current_engine_name() + + elif self.state == MenuState.ENG_NAME_LEVEL: + level_dict = self.installed_engines[self.menu_engine_name]['level_dict'] + self.menu_engine_level = (self.menu_engine_level + 1) % len(level_dict) + msg = sorted(level_dict)[self.menu_engine_level] + text = self.dgttranslate.text('B00_level', msg) + + elif self.state == MenuState.SYS: + self.state = MenuState.MODE + self.menu_top = TopLoop.next(self.menu_top) + text = self.dgttranslate.text(self.menu_top.value) + + elif self.state == MenuState.SYS_INFO: + self.state = MenuState.SYS_SOUND + self.menu_system = SystemLoop.next(self.menu_system) + text = self.dgttranslate.text(self.menu_system.value) + + elif self.state == MenuState.SYS_INFO_VERS: + self.state = MenuState.SYS_INFO_IP + self.menu_system_info = InfoLoop.next(self.menu_system_info) + text = self.dgttranslate.text(self.menu_system_info.value) + + elif self.state == MenuState.SYS_INFO_IP: + self.state = MenuState.SYS_INFO_BATTERY + self.menu_system_info = InfoLoop.next(self.menu_system_info) + text = self.dgttranslate.text(self.menu_system_info.value) + + elif self.state == MenuState.SYS_INFO_BATTERY: + self.state = MenuState.SYS_INFO_VERS + self.menu_system_info = InfoLoop.next(self.menu_system_info) + text = self.dgttranslate.text(self.menu_system_info.value) + + elif self.state == MenuState.SYS_SOUND: + self.state = MenuState.SYS_LANG + self.menu_system = SystemLoop.next(self.menu_system) + text = self.dgttranslate.text(self.menu_system.value) + + elif self.state == MenuState.SYS_SOUND_BEEP: + self.menu_system_sound = BeepLoop.next(self.menu_system_sound) + text = self.dgttranslate.text(self.menu_system_sound.value) + + elif self.state == MenuState.SYS_LANG: + self.state = MenuState.SYS_LOG + self.menu_system = SystemLoop.next(self.menu_system) + text = self.dgttranslate.text(self.menu_system.value) + + elif self.state == MenuState.SYS_LANG_NAME: + self.menu_system_language = LanguageLoop.next(self.menu_system_language) + text = self.dgttranslate.text(self.menu_system_language.value) + + elif self.state == MenuState.SYS_LOG: + self.state = MenuState.SYS_VOICE + self.menu_system = SystemLoop.next(self.menu_system) + text = self.dgttranslate.text(self.menu_system.value) + + elif self.state == MenuState.SYS_VOICE: + self.state = MenuState.SYS_DISP + self.menu_system = SystemLoop.next(self.menu_system) + text = self.dgttranslate.text(self.menu_system.value) + + elif self.state == MenuState.SYS_VOICE_USER: + self.state = MenuState.SYS_VOICE_SPEED + self.menu_system_voice = VoiceLoop.next(self.menu_system_voice) + text = self.dgttranslate.text(self.menu_system_voice.value) + + elif self.state == MenuState.SYS_VOICE_USER_MUTE: + self.menu_system_voice_user_active = not self.menu_system_voice_user_active + msg = 'on' if self.menu_system_voice_user_active else 'off' + text = self.dgttranslate.text('B00_voice_' + msg) + + elif self.state == MenuState.SYS_VOICE_USER_MUTE_LANG: + self.menu_system_voice_user_lang = (self.menu_system_voice_user_lang + 1) % len(self.voices_conf) + vkey = self.voices_conf.keys()[self.menu_system_voice_user_lang] + text = self.dgttranslate.text('B00_language_' + vkey + '_menu') # voice using same as language + + elif self.state == MenuState.SYS_VOICE_USER_MUTE_LANG_SPEAK: + vkey = self.voices_conf.keys()[self.menu_system_voice_user_lang] + speakers = self.voices_conf[vkey] + self.menu_system_voice_user_speak = (self.menu_system_voice_user_speak + 1) % len(speakers) + text = self._get_current_speaker(speakers, self.menu_system_voice_user_speak) + + elif self.state == MenuState.SYS_VOICE_COMP: + self.state = MenuState.SYS_VOICE_USER + self.menu_system_voice = VoiceLoop.next(self.menu_system_voice) + text = self.dgttranslate.text(self.menu_system_voice.value) + + elif self.state == MenuState.SYS_VOICE_COMP_MUTE: + self.menu_system_voice_comp_active = not self.menu_system_voice_comp_active + msg = 'on' if self.menu_system_voice_comp_active else 'off' + text = self.dgttranslate.text('B00_voice_' + msg) + + elif self.state == MenuState.SYS_VOICE_COMP_MUTE_LANG: + self.menu_system_voice_comp_lang = (self.menu_system_voice_comp_lang + 1) % len(self.voices_conf) + vkey = self.voices_conf.keys()[self.menu_system_voice_comp_lang] + text = self.dgttranslate.text('B00_language_' + vkey + '_menu') # voice using same as language + + elif self.state == MenuState.SYS_VOICE_COMP_MUTE_LANG_SPEAK: + vkey = self.voices_conf.keys()[self.menu_system_voice_comp_lang] + speakers = self.voices_conf[vkey] + self.menu_system_voice_comp_speak = (self.menu_system_voice_comp_speak + 1) % len(speakers) + text = self._get_current_speaker(speakers, self.menu_system_voice_comp_speak) + + elif self.state == MenuState.SYS_VOICE_SPEED: + self.state = MenuState.SYS_VOICE_COMP + self.menu_system_voice = VoiceLoop.next(self.menu_system_voice) + text = self.dgttranslate.text(self.menu_system_voice.value) + + elif self.state == MenuState.SYS_VOICE_SPEED_FACTOR: + self.menu_system_voice_speedfactor = (self.menu_system_voice_speedfactor + 1) % 10 + text = self.dgttranslate.text('B00_voice_speed', str(self.menu_system_voice_speedfactor)) + + elif self.state == MenuState.SYS_DISP: + self.state = MenuState.SYS_INFO + self.menu_system = SystemLoop.next(self.menu_system) + text = self.dgttranslate.text(self.menu_system.value) + + elif self.state == MenuState.SYS_DISP_PONDER: + self.state = MenuState.SYS_DISP_CONFIRM + self.menu_system_display = DisplayLoop.next(self.menu_system_display) + text = self.dgttranslate.text(self.menu_system_display.value) + + elif self.state == MenuState.SYS_DISP_PONDER_INTERVAL: + self.menu_system_display_ponderinterval += 1 + if self.menu_system_display_ponderinterval > 8: + self.menu_system_display_ponderinterval = 1 + text = self.dgttranslate.text('B00_ponder_interval', str(self.menu_system_display_ponderinterval)) + + elif self.state == MenuState.SYS_DISP_CONFIRM: + self.state = MenuState.SYS_DISP_CAPITAL + self.menu_system_display = DisplayLoop.next(self.menu_system_display) + text = self.dgttranslate.text(self.menu_system_display.value) + + elif self.state == MenuState.SYS_DISP_CONFIRM_YESNO: + self.menu_system_display_confirm = not self.menu_system_display_confirm + msg = 'off' if self.menu_system_display_confirm else 'on' + text = self.dgttranslate.text('B00_confirm_' + msg) + + elif self.state == MenuState.SYS_DISP_CAPITAL: + self.state = MenuState.SYS_DISP_NOTATION + self.menu_system_display = DisplayLoop.next(self.menu_system_display) + text = self.dgttranslate.text(self.menu_system_display.value) + + elif self.state == MenuState.SYS_DISP_CAPTIAL_YESNO: + self.menu_system_display_capital = not self.menu_system_display_capital + msg = 'on' if self.menu_system_display_capital else 'off' + text = self.dgttranslate.text('B00_capital_' + msg) + + elif self.state == MenuState.SYS_DISP_NOTATION: + self.state = MenuState.SYS_DISP_PONDER + self.menu_system_display = DisplayLoop.next(self.menu_system_display) + text = self.dgttranslate.text(self.menu_system_display.value) + + elif self.state == MenuState.SYS_DISP_NOTATION_MOVE: + self.menu_system_display_notation = not self.menu_system_display_notation + msg = 'long' if self.menu_system_display_notation else 'short' + text = self.dgttranslate.text('B00_notation_' + msg) + + else: # Default + pass + self.current_text = text + return text + + def main_middle(self, dev): + """Change the menu state after MIDDLE action.""" + def _exit_position(): + self.state = MenuState.POS_READ + return self.main_down() + + if self.inside_picochess_time(dev): + text = self.updt_middle(dev) + else: + text = self.dgttranslate.text('B00_nofunction') + if False: # switch-case + pass + elif self.state == MenuState.POS: + text = _exit_position() + + elif self.state == MenuState.POS_COL: + text = _exit_position() + + elif self.state == MenuState.POS_REV: + text = _exit_position() + + elif self.state == MenuState.POS_UCI: + text = _exit_position() + + elif self.state == MenuState.POS_READ: + text = _exit_position() + + else: # Default + pass + self.current_text = text + return text + + def updt_middle(self, dev): + """Change the menu state after MIDDLE action.""" + self.updt_devs.add(dev) + text = self.dgttranslate.text('B00_updt_version', self.updt_tags[self.updt_version][1], devs=self.updt_devs) + text.rd = ClockIcons.DOT + logging.debug('enter update menu dev: %s', dev) + self.updt_top = True + return text + + def updt_right(self): + """Change the menu state after RIGHT action.""" + self.updt_version = (self.updt_version + 1) % len(self.updt_tags) + text = self.dgttranslate.text('B00_updt_version', self.updt_tags[self.updt_version][1], devs=self.updt_devs) + text.rd = ClockIcons.DOT + return text + + def updt_left(self): + """Change the menu state after LEFT action.""" + self.updt_version = (self.updt_version - 1) % len(self.updt_tags) + text = self.dgttranslate.text('B00_updt_version', self.updt_tags[self.updt_version][1], devs=self.updt_devs) + text.rd = ClockIcons.DOT + return text + + def updt_down(self, dev): + """Change the menu state after DOWN action.""" + logging.debug('leave update menu dev: %s', dev) + self.updt_top = False + self.updt_devs.discard(dev) + self.enter_top_menu() + return self.updt_tags[self.updt_version][0] + + def updt_up(self, dev): + """Change the menu state after UP action.""" + logging.debug('leave update menu dev: %s', dev) + self.updt_top = False + self.updt_devs.discard(dev) + text = self.enter_top_menu() + return text + + def inside_main_menu(self): + """Check if currently inside the menu.""" + return self.state != MenuState.TOP + + def get_current_text(self): + """Return the current text.""" + return self.current_text diff --git a/dgt/pi.py b/dgt/pi.py new file mode 100644 index 0000000..5a87c59 --- /dev/null +++ b/dgt/pi.py @@ -0,0 +1,285 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import logging +import time +from threading import Lock, Timer +from ctypes import cdll, c_byte, create_string_buffer, pointer +from platform import machine + +from utilities import DisplayMsg, hms_time +from dgt.api import Message +from dgt.util import ClockIcons, ClockSide +from dgt.translate import DgtTranslate +from dgt.board import DgtBoard +from dgt.iface import DgtIface + + +class DgtPi(DgtIface): + + """Handle the DgtPi communication.""" + + def __init__(self, dgtboard: DgtBoard): + super(DgtPi, self).__init__(dgtboard) + + self.lib_lock = Lock() + self.lib = cdll.LoadLibrary('etc/dgtpicom.x86.so' if machine() == 'x86_64' else 'etc/dgtpicom.so') + + # keep the last time to find out errorous DGT_MSG_BWTIME messages (error: current time > last time) + self.r_time = 3600 * 10 # max value cause 10h cant be reached by clock + self.l_time = 3600 * 10 # max value cause 10h cant be reached by clock + + self.in_settime = False # this is true between set_clock and clock_start => use set values instead of clock + + self._startup_i2c_clock() + incoming_clock_thread = Timer(0, self._process_incoming_clock_forever) + incoming_clock_thread.start() + + def _startup_i2c_clock(self): + while self.lib.dgtpicom_init() < 0: + logging.warning('Init() failed - Jack half connected?') + DisplayMsg.show(Message.DGT_JACK_CONNECTED_ERROR()) + time.sleep(0.5) # dont flood the log + if self.lib.dgtpicom_configure() < 0: + logging.warning('Configure() failed - Jack connected back?') + DisplayMsg.show(Message.DGT_JACK_CONNECTED_ERROR()) + DisplayMsg.show(Message.DGT_CLOCK_VERSION(main=2, sub=2, dev='i2c', text=None)) + + def _process_incoming_clock_forever(self): + but = c_byte(0) + buttime = c_byte(0) + clktime = create_string_buffer(6) + counter = 0 + logging.info('incoming_clock ready') + while True: + with self.lib_lock: + # get button events + res = self.lib.dgtpicom_get_button_message(pointer(but), pointer(buttime)) + if res > 0: + ack3 = but.value + if ack3 == 0x01: + logging.info('(i2c) clock button 0 pressed') + DisplayMsg.show(Message.DGT_BUTTON(button=0, dev='i2c')) + if ack3 == 0x02: + logging.info('(i2c) clock button 1 pressed') + DisplayMsg.show(Message.DGT_BUTTON(button=1, dev='i2c')) + if ack3 == 0x04: + logging.info('(i2c) clock button 2 pressed') + DisplayMsg.show(Message.DGT_BUTTON(button=2, dev='i2c')) + if ack3 == 0x08: + logging.info('(i2c) clock button 3 pressed') + DisplayMsg.show(Message.DGT_BUTTON(button=3, dev='i2c')) + if ack3 == 0x10: + logging.info('(i2c) clock button 4 pressed') + DisplayMsg.show(Message.DGT_BUTTON(button=4, dev='i2c')) + if ack3 == 0x20: + logging.info('(i2c) clock button on/off pressed') + self.lib.dgtpicom_configure() # restart the clock - cause its OFF + DisplayMsg.show(Message.DGT_BUTTON(button=0x11, dev='i2c')) + if ack3 == 0x11: + logging.info('(i2c) clock button 0+4 pressed') + DisplayMsg.show(Message.DGT_BUTTON(button=0x11, dev='i2c')) + if ack3 == 0x40: + logging.info('(i2c) clock lever pressed > right side down') + DisplayMsg.show(Message.DGT_BUTTON(button=0x40, dev='i2c')) + if ack3 == -0x40: + logging.info('(i2c) clock lever pressed > left side down') + DisplayMsg.show(Message.DGT_BUTTON(button=-0x40, dev='i2c')) + if res < 0: + logging.warning('GetButtonMessage returned error %i', res) + + # get time events + self.lib.dgtpicom_get_time(clktime) + + times = list(clktime.raw) + counter = (counter + 1) % 10 + if counter == 0: + l_hms = times[:3] + r_hms = times[3:] + logging.info('(i2c) clock new time received l:%s r:%s', l_hms, r_hms) + if self.in_settime: + logging.info('(i2c) clock still not finished set time, sending old time') + else: + # DgtPi needs 2secs for a stopped clock to return the correct(!) time + # we make it easy here and just set the time from the side counting down + if self.side_running == ClockSide.LEFT: + self.l_time = l_hms[0] * 3600 + l_hms[1] * 60 + l_hms[2] + if self.side_running == ClockSide.RIGHT: + self.r_time = r_hms[0] * 3600 + r_hms[1] * 60 + r_hms[2] + text = Message.DGT_CLOCK_TIME(time_left=self.l_time, time_right=self.r_time, connect=True, dev='i2c') + DisplayMsg.show(text) + time.sleep(0.1) + + def _run_configure(self): + res = self.lib.dgtpicom_configure() + if res < 0: + logging.warning('Configure() also failed %i, resetting the dgtpi clock', res) + self.lib.dgtpicom_stop() + self.lib.dgtpicom_init() + + def _display_on_dgt_pi(self, text: str, beep=False, left_icons=ClockIcons.NONE, right_icons=ClockIcons.NONE): + if len(text) > 11: + logging.warning('(i2c) clock message too long [%s]', text) + logging.debug('[%s]', text) + text = bytes(text, 'utf-8') + with self.lib_lock: + res = self.lib.dgtpicom_set_text(text, 0x03 if beep else 0x00, left_icons.value, right_icons.value) + if res < 0: + logging.warning('SetText() returned error %i, running configure', res) + self._run_configure() + res = self.lib.dgtpicom_set_text(text, 0x03 if beep else 0x00, left_icons.value, right_icons.value) + if res < 0: + logging.warning('finally failed %i', res) + return False + else: + return True + + def display_text_on_clock(self, message): + """Display a text on the dgtpi.""" + text = message.l + if text is None: + text = message.m + if self.get_name() not in message.devs: + logging.debug('ignored %s - devs: %s', text, message.devs) + return + left_icons = message.ld if hasattr(message, 'ld') else ClockIcons.NONE + right_icons = message.rd if hasattr(message, 'rd') else ClockIcons.NONE + return self._display_on_dgt_pi(text, message.beep, left_icons, right_icons) + + def display_move_on_clock(self, message): + """Display a move on the dgtpi.""" + bit_board, text = self.get_san(message) + text = '{:3d}{:s}'.format(bit_board.fullmove_number, text) + if self.get_name() not in message.devs: + logging.debug('ignored %s - devs: %s', text, message.devs) + return True + left_icons = message.ld if hasattr(message, 'ld') else ClockIcons.DOT + right_icons = message.rd if hasattr(message, 'rd') else ClockIcons.NONE + return self._display_on_dgt_pi(text, message.beep, left_icons, right_icons) + + def display_time_on_clock(self, message): + """Display the time on the dgtpi.""" + if self.get_name() not in message.devs: + logging.debug('ignored endText - devs: %s', message.devs) + return True + if self.side_running != ClockSide.NONE or message.force: + with self.lib_lock: + res = self.lib.dgtpicom_end_text() + if res < 0: + logging.warning('EndText() returned error %i, running configure', res) + self._run_configure() + res = self.lib.dgtpicom_end_text() + if res < 0: + logging.warning('finally failed %i', res) + return False + else: + logging.debug('(i2c) clock isnt running - no need for endText') + return True + + def light_squares_on_revelation(self, uci_move: str): + """Handle this by hw.py.""" + return True + + def clear_light_on_revelation(self): + """Handle this by hw.py.""" + return True + + def stop_clock(self, devs: set): + """Stop the dgtpi.""" + if self.get_name() not in devs: + logging.debug('ignored stopClock - devs: %s', devs) + return True + logging.debug('(%s) clock sending stop time to clock l:%s r:%s', ','.join(devs), + hms_time(self.l_time), hms_time(self.r_time)) + return self._resume_clock(ClockSide.NONE) + + def _resume_clock(self, side: ClockSide): + if self.l_time >= 3600 * 10 or self.r_time >= 3600 * 10: + logging.warning('time values not set - abort function') + return False + + l_run = r_run = 0 + if side == ClockSide.LEFT: + l_run = 1 + if side == ClockSide.RIGHT: + r_run = 1 + with self.lib_lock: + res = self.lib.dgtpicom_run(l_run, r_run) + if res < 0: + logging.warning('Run() returned error %i, running configure', res) + self._run_configure() + res = self.lib.dgtpicom_run(l_run, r_run) + if res < 0: + logging.warning('finally failed %i', res) + return False + else: + self.side_running = side + return True + + def start_clock(self, side: ClockSide, devs: set): + """Start the dgtpi.""" + if self.get_name() not in devs: + logging.debug('ignored startClock - devs: %s', devs) + return True + l_hms = hms_time(self.l_time) + r_hms = hms_time(self.r_time) + logging.debug('(%s) clock sending start time to clock l:%s r:%s', ','.join(devs), l_hms, r_hms) + + l_run = r_run = 0 + if side == ClockSide.LEFT: + l_run = 1 + if side == ClockSide.RIGHT: + r_run = 1 + with self.lib_lock: + res = self.lib.dgtpicom_set_and_run(l_run, l_hms[0], l_hms[1], l_hms[2], + r_run, r_hms[0], r_hms[1], r_hms[2]) + if res < 0: + logging.warning('SetAndRun() returned error %i, running configure', res) + self._run_configure() + res = self.lib.dgtpicom_set_and_run(l_run, l_hms[0], l_hms[1], l_hms[2], + r_run, r_hms[0], r_hms[1], r_hms[2]) + if res < 0: + logging.warning('finally failed %i', res) + return False + else: + self.side_running = side + Timer(0.9, self.out_settime).start() # delay abit cause the clock needs time to update its time result + return True + + def out_settime(self): + self.in_settime = False + + def set_clock(self, time_left: int, time_right: int, devs: set): + """Set the dgtpi.""" + if self.get_name() not in devs: + logging.debug('ignored setClock - devs: %s', devs) + return True + + l_hms = hms_time(time_left) + r_hms = hms_time(time_right) + logging.debug('(%s) clock received last time from clock l:%s r:%s [ign]', ','.join(devs), + hms_time(self.l_time), hms_time(self.r_time)) + logging.debug('(%s) clock sending set time to clock l:%s r:%s [use]', ','.join(devs), l_hms, r_hms) + + self.in_settime = True + self.l_time = time_left + self.r_time = time_right + return True + + def get_name(self): + """Get name.""" + return 'i2c' diff --git a/dgt/translate.py b/dgt/translate.py new file mode 100644 index 0000000..f2f17db --- /dev/null +++ b/dgt/translate.py @@ -0,0 +1,985 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import logging +from dgt.util import Beep, BeepLevel +from dgt.api import Dgt + + +class DgtTranslate(object): + + """Handle translations for clock texts or moves.""" + + def __init__(self, beep_config: str, beep_level: int, language: str, picochess_version: str): + self.ConfigToBeep = {'all': Beep.ON, 'none': Beep.OFF, 'some': Beep.SOME} + self.beep = self.ConfigToBeep[beep_config] + self.beep_level = beep_level + self.language = language + self.version = picochess_version + self.capital = False # Set from dgt.menu lateron + self.notation = False # Set from dgt.menu lateron + + def beep_to_config(self, beep: Beep): + """Transfer beep to dict.""" + return dict(zip(self.ConfigToBeep.values(), self.ConfigToBeep.keys()))[beep] + + def bl(self, beeplevel: BeepLevel): + """Transfer beeplevel to bool.""" + if self.beep == Beep.ON: + return True + if self.beep == Beep.OFF: + return False + return bool(self.beep_level & beeplevel.value) + + def set_beep(self, beep: Beep): + """Set beep.""" + self.beep = beep + + def set_language(self, language: str): + """Set language.""" + self.language = language + + def set_capital(self, capital: bool): + """Set capital letters.""" + self.capital = capital + + def capital_text(self, text, is_obj=True): + """Transfer text to capital text or not.""" + if self.capital: + if is_obj: + text.m = text.m.upper() + text.l = text.l.upper() + else: + return text.upper() + return text + + def set_notation(self, notation: bool): + """Set notation.""" + self.notation = notation + + def text(self, str_code: str, msg='', devs=None): + """Return standard text for clock display.""" + if devs is None: # prevent W0102 error + devs = {'ser', 'i2c', 'web'} + + entxt = detxt = nltxt = frtxt = estxt = ittxt = None # error case + + (code, text_id) = str_code.split('_', 1) + if code[0] == 'B': + beep = self.bl(BeepLevel.BUTTON) + elif code[0] == 'N': + beep = self.bl(BeepLevel.NO) + elif code[0] == 'Y': + beep = self.bl(BeepLevel.YES) + elif code[0] == 'K': + beep = self.bl(BeepLevel.OKAY) + elif code[0] == 'C': + beep = self.bl(BeepLevel.CONFIG) + elif code[0] == 'M': + beep = self.bl(BeepLevel.MAP) + else: + beep = False + maxtime = int(code[1:]) / 10 + wait = False + + if text_id == 'default': + entxt = Dgt.DISPLAY_TEXT(l=msg, m=msg[:8], s=msg[:6]) + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'goodbye': + entxt = Dgt.DISPLAY_TEXT(l='Good bye ', m='Good bye', s='bye ') + detxt = Dgt.DISPLAY_TEXT(l='Tschuess ', m='Tschuess', s='tschau') + nltxt = Dgt.DISPLAY_TEXT(l='tot ziens ', m='totziens', s='dag ') + frtxt = Dgt.DISPLAY_TEXT(l='au revoir ', m='a plus ', s='bye ') + estxt = Dgt.DISPLAY_TEXT(l='adios ', m='adios ', s='adios ') + ittxt = Dgt.DISPLAY_TEXT(l='arrivederci', m='a presto', s='ciao ') + if text_id == 'pleasewait': + entxt = Dgt.DISPLAY_TEXT(l='please wait', m='pls wait', s='wait ') + detxt = Dgt.DISPLAY_TEXT(l='bitteWarten', m='warten ', s='warten') + nltxt = Dgt.DISPLAY_TEXT(l='wacht even ', m='wachten ', s='wacht ') + frtxt = Dgt.DISPLAY_TEXT(l='patientez ', m='patience', s='patien') + estxt = Dgt.DISPLAY_TEXT(l='espere ', m='espere ', s='espere') + ittxt = Dgt.DISPLAY_TEXT(l='un momento ', m='attendi ', s='attesa') + if text_id == 'nomove': + entxt = Dgt.DISPLAY_TEXT(l='no move ', m='no move ', s='nomove') + detxt = Dgt.DISPLAY_TEXT(l='Kein Zug ', m='Kein Zug', s='kn zug') + nltxt = Dgt.DISPLAY_TEXT(l='Geen zet ', m='Geen zet', s='gn zet') + frtxt = Dgt.DISPLAY_TEXT(l='pas de mouv', m='pas mvt ', s='pasmvt') + estxt = Dgt.DISPLAY_TEXT(l='sin mov ', m='sin mov ', s='no mov') + ittxt = Dgt.DISPLAY_TEXT(l='no mossa ', m='no mossa', s='nmossa') + if text_id == 'wb': + entxt = Dgt.DISPLAY_TEXT(l=' W B ', m=' W B', s='wh bl') + detxt = Dgt.DISPLAY_TEXT(l=' W S ', m=' W S', s='we sc') + nltxt = Dgt.DISPLAY_TEXT(l=' W Z ', m=' W Z', s='wi zw') + frtxt = Dgt.DISPLAY_TEXT(l=' B N ', m=' B N', s='bl no') + estxt = Dgt.DISPLAY_TEXT(l=' B N ', m=' B N', s='bl ne') + ittxt = Dgt.DISPLAY_TEXT(l=' B N ', m=' B N', s='bi ne') + if text_id == 'bw': + entxt = Dgt.DISPLAY_TEXT(l=' B W ', m=' B W', s='bl wh') + detxt = Dgt.DISPLAY_TEXT(l=' S W ', m=' S W', s='sc we') + nltxt = Dgt.DISPLAY_TEXT(l=' Z W ', m=' Z W', s='zw wi') + frtxt = Dgt.DISPLAY_TEXT(l=' N B ', m=' N B', s='no bl') + estxt = Dgt.DISPLAY_TEXT(l=' N B ', m=' N B', s='ne bl') + ittxt = Dgt.DISPLAY_TEXT(l=' N B ', m=' N B', s='ne bi') + if text_id == '960no': + entxt = Dgt.DISPLAY_TEXT(l='uci960 no ', m='960 no ', s='960 no') + detxt = Dgt.DISPLAY_TEXT(l='uci960 nein', m='960 nein', s='960 nn') + nltxt = Dgt.DISPLAY_TEXT(l='uci960 nee ', m='960 nee ', s='960nee') + frtxt = Dgt.DISPLAY_TEXT(l='uci960 non ', m='960 non ', s='960non') + estxt = Dgt.DISPLAY_TEXT(l='uci960 no ', m='960 no ', s='960 no') + ittxt = Dgt.DISPLAY_TEXT(l='uci960 no ', m='960 no ', s='960 no') + if text_id == '960yes': + entxt = Dgt.DISPLAY_TEXT(l='uci960 yes ', m='960 yes ', s='960yes') + detxt = Dgt.DISPLAY_TEXT(l='uci960 ja ', m='960 ja ', s='960 ja') + nltxt = Dgt.DISPLAY_TEXT(l='uci960 ja ', m='960 ja ', s='960 ja') + frtxt = Dgt.DISPLAY_TEXT(l='uci960 oui ', m='960 oui ', s='960oui') + estxt = Dgt.DISPLAY_TEXT(l='uci960 si ', m='960 si ', s='960 si') + ittxt = Dgt.DISPLAY_TEXT(l='uci960 si ', m='960 si ', s='960 si') + if text_id == 'picochess': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='PicoChs ' + self.version, m='pico ' + self.version, s='pic' + self.version) + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'nofunction': + entxt = Dgt.DISPLAY_TEXT(l='no function', m='no funct', s='nofunc') + detxt = Dgt.DISPLAY_TEXT(l='Keine Funkt', m='KeineFkt', s='kn fkt') + nltxt = Dgt.DISPLAY_TEXT(l='Geenfunctie', m='Geen fnc', s='gn fnc') + frtxt = Dgt.DISPLAY_TEXT(l='no fonction', m='no fonct', s='nofonc') + estxt = Dgt.DISPLAY_TEXT(l='sin funcion', m='sin func', s='nofunc') + ittxt = Dgt.DISPLAY_TEXT(l='no funzione', m='no funz ', s='nofunz') + if text_id == 'erroreng': + entxt = Dgt.DISPLAY_TEXT(l='err engine ', m='err engn', s='erreng') + detxt = Dgt.DISPLAY_TEXT(l='err engine ', m='err engn', s='erreng') + nltxt = Dgt.DISPLAY_TEXT(l='fout engine', m='fout eng', s='e fout') + frtxt = Dgt.DISPLAY_TEXT(l='err moteur ', m='err mot ', s='errmot') + estxt = Dgt.DISPLAY_TEXT(l='error motor', m='err mot ', s='errmot') + ittxt = Dgt.DISPLAY_TEXT(l='err motore ', m='err moto', s='errmot') + if text_id == 'okengine': + entxt = Dgt.DISPLAY_TEXT(l='ok engine ', m='okengine', s='ok eng') + detxt = Dgt.DISPLAY_TEXT(l='ok engine ', m='okengine', s='ok eng') + nltxt = Dgt.DISPLAY_TEXT(l='ok engine ', m='okengine', s='ok eng') + frtxt = Dgt.DISPLAY_TEXT(l='ok moteur ', m='ok mot ', s='ok mot') + estxt = Dgt.DISPLAY_TEXT(l='ok motor ', m='ok motor', s='ok mot') + ittxt = Dgt.DISPLAY_TEXT(l='ok motore ', m='ok motor', s='ok mot') + if text_id == 'okmode': + entxt = Dgt.DISPLAY_TEXT(l='ok mode ', m='ok mode ', s='okmode') + detxt = Dgt.DISPLAY_TEXT(l='ok Modus ', m='ok Modus', s='okmode') + nltxt = Dgt.DISPLAY_TEXT(l='ok modus ', m='ok modus', s='okmode') + frtxt = Dgt.DISPLAY_TEXT(l='ok mode ', m='ok mode ', s='okmode') + estxt = Dgt.DISPLAY_TEXT(l='ok modo ', m='ok modo ', s='okmodo') + ittxt = Dgt.DISPLAY_TEXT(l='ok modo ', m='ok modo ', s='okmodo') + if text_id == 'okbook': + entxt = Dgt.DISPLAY_TEXT(l='ok book ', m='ok book ', s='okbook') + detxt = Dgt.DISPLAY_TEXT(l='ok Buch ', m='ok Buch ', s='okbuch') + nltxt = Dgt.DISPLAY_TEXT(l='ok boek ', m='ok boek ', s='okboek') + frtxt = Dgt.DISPLAY_TEXT(l='ok livre ', m='ok livre', s='ok liv') + estxt = Dgt.DISPLAY_TEXT(l='ok libro ', m='ok libro', s='oklibr') + ittxt = Dgt.DISPLAY_TEXT(l='ok libroape', m='ok libro', s='oklibr') + if text_id == 'noipadr': + entxt = Dgt.DISPLAY_TEXT(l='no IP addr ', m='no IPadr', s='no ip ') + detxt = Dgt.DISPLAY_TEXT(l='Keine IPadr', m='Keine IP', s='kn ip ') + nltxt = Dgt.DISPLAY_TEXT(l='Geen IPadr ', m='Geen IP ', s='gn ip ') + frtxt = Dgt.DISPLAY_TEXT(l='pas d IP ', m='pas d IP', s='pd ip ') + estxt = Dgt.DISPLAY_TEXT(l='no IP dir ', m='no IP ', s='no ip ') + ittxt = Dgt.DISPLAY_TEXT(l='no indir ip', m='no ip ', s='no ip ') + if text_id == 'exitmenu': + entxt = Dgt.DISPLAY_TEXT(l='exit menu ', m='exitmenu', s='exit m') + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'errormenu': + entxt = Dgt.DISPLAY_TEXT(l='error menu ', m='err menu', s='errmen') + detxt = Dgt.DISPLAY_TEXT(l='error Menu ', m='err Menu', s='errmen') + nltxt = Dgt.DISPLAY_TEXT(l='fout menu ', m='foutmenu', s='fout m') + frtxt = Dgt.DISPLAY_TEXT(l='error menu ', m='err menu', s='pd men') + estxt = Dgt.DISPLAY_TEXT(l='error menu ', m='err menu', s='errmen') + ittxt = Dgt.DISPLAY_TEXT(l='errore menu', m='err menu', s='errmen') + if text_id == 'sidewhite': + entxt = Dgt.DISPLAY_TEXT(l='side move W', m='side W ', s='side w') + detxt = Dgt.DISPLAY_TEXT(l='W am Zug ', m='W am Zug', s=' w zug') + nltxt = Dgt.DISPLAY_TEXT(l='wit aan zet', m='wit zet ', s=' w zet') + frtxt = Dgt.DISPLAY_TEXT(l='aux blancs ', m='mvt bl ', s='mvt bl') + estxt = Dgt.DISPLAY_TEXT(l='lado blanco', m='lado W ', s='lado w') + ittxt = Dgt.DISPLAY_TEXT(l='lato bianco', m='lato b ', s='lato b') + if text_id == 'sideblack': + entxt = Dgt.DISPLAY_TEXT(l='side move B', m='side B ', s='side b') + detxt = Dgt.DISPLAY_TEXT(l='S am Zug ', m='S am Zug', s=' s zug') + nltxt = Dgt.DISPLAY_TEXT(l='zw aan zet ', m='zw zet ', s=' z zet') + frtxt = Dgt.DISPLAY_TEXT(l='aux noirs ', m='mvt n ', s='mvt n ') + estxt = Dgt.DISPLAY_TEXT(l='lado negro ', m='lado B ', s='lado b') + ittxt = Dgt.DISPLAY_TEXT(l='lato nero ', m='lato n ', s='lato n') + if text_id == 'scanboard': + entxt = Dgt.DISPLAY_TEXT(l='scan board ', m='scan ', s='scan ') + detxt = Dgt.DISPLAY_TEXT(l='lese Stellg', m='lese Stl', s='lese s') + nltxt = Dgt.DISPLAY_TEXT(l='scan bord ', m='scan ', s='scan ') + frtxt = Dgt.DISPLAY_TEXT(l='scan echiq ', m='scan ', s='scan ') + estxt = Dgt.DISPLAY_TEXT(l='escan tabl ', m='escan ', s='escan ') + ittxt = Dgt.DISPLAY_TEXT(l='scan scacch', m='scan ', s='scan ') + if text_id == 'illegalpos': + entxt = Dgt.DISPLAY_TEXT(l='invalid pos', m='invalid ', s='badpos') + detxt = Dgt.DISPLAY_TEXT(l='illegalePos', m='illegal ', s='errpos') + nltxt = Dgt.DISPLAY_TEXT(l='ongeldig ', m='ongeldig', s='ongeld') + frtxt = Dgt.DISPLAY_TEXT(l='illegale ', m='illegale', s='pos il') + estxt = Dgt.DISPLAY_TEXT(l='illegal pos', m='ileg pos', s='errpos') + ittxt = Dgt.DISPLAY_TEXT(l='pos illegal', m='illegale', s='errpos') + if text_id == 'error960': + entxt = Dgt.DISPLAY_TEXT(l='err uci960 ', m='err 960 ', s='err960') + detxt = Dgt.DISPLAY_TEXT(l='err uci960 ', m='err 960 ', s='err960') + nltxt = Dgt.DISPLAY_TEXT(l='fout uci960', m='fout 960', s='err960') + frtxt = Dgt.DISPLAY_TEXT(l='err uci960 ', m='err 960 ', s='err960') + estxt = Dgt.DISPLAY_TEXT(l='err uci960 ', m='err 960 ', s='err960') + ittxt = Dgt.DISPLAY_TEXT(l='errore 960 ', m='erro 960', s='err960') + if text_id == 'oktime': + entxt = Dgt.DISPLAY_TEXT(l='ok time ', m='ok time ', s='ok tim') + detxt = Dgt.DISPLAY_TEXT(l='ok Zeit ', m='ok Zeit ', s='okzeit') + nltxt = Dgt.DISPLAY_TEXT(l='ok tyd ', m='ok tyd ', s='ok tyd') + frtxt = Dgt.DISPLAY_TEXT(l='ok temps ', m='ok temps', s='ok tps') + estxt = Dgt.DISPLAY_TEXT(l='ok tiempo ', m='okTiempo', s='ok tpo') + ittxt = Dgt.DISPLAY_TEXT(l='ok tempo ', m='ok tempo', s='oktemp') + if text_id == 'okbeep': + entxt = Dgt.DISPLAY_TEXT(l='ok beep ', m='ok beep ', s='okbeep') + detxt = Dgt.DISPLAY_TEXT(l='ok Toene ', m='ok Toene', s='ok ton') + nltxt = Dgt.DISPLAY_TEXT(l='ok piep ', m='ok piep ', s='okpiep') + frtxt = Dgt.DISPLAY_TEXT(l='ok sons ', m='ok sons ', s='oksons') + estxt = Dgt.DISPLAY_TEXT(l='ok beep ', m='ok beep ', s='okbeep') + ittxt = Dgt.DISPLAY_TEXT(l='ok beep ', m='ok beep ', s='okbeep') + if text_id == 'okpico': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='ok pico ', m='ok pico ', s='okpico') + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'okuser': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='ok player ', m='okplayer', s='okplay') + detxt = Dgt.DISPLAY_TEXT(l='ok Spieler ', m='ok Splr ', s='oksplr') + nltxt = Dgt.DISPLAY_TEXT(l='ok Speler ', m='okSpeler', s='oksplr') + frtxt = Dgt.DISPLAY_TEXT(l='ok joueur ', m='okjoueur', s='ok jr ') + estxt = Dgt.DISPLAY_TEXT(l='ok usuario ', m='okusuari', s='okuser') + ittxt = Dgt.DISPLAY_TEXT(l='ok utente ', m='ok utent', s='okuten') + if text_id == 'okmove': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='ok move ', m='ok move ', s='okmove') + detxt = Dgt.DISPLAY_TEXT(l='ok Zug ', m='ok Zug ', s='ok zug') + nltxt = Dgt.DISPLAY_TEXT(l='ok zet ', m='ok zet ', s='ok zet') + frtxt = Dgt.DISPLAY_TEXT(l='ok mouv ', m='ok mouv ', s='ok mvt') + estxt = Dgt.DISPLAY_TEXT(l='ok jugada ', m='okjugada', s='ok jug') + ittxt = Dgt.DISPLAY_TEXT(l='mossa ok ', m='mossa ok', s='ok mos') + if text_id == 'altmove': + entxt = Dgt.DISPLAY_TEXT(l='altn move ', m='alt move', s='altmov') + detxt = Dgt.DISPLAY_TEXT(l='altnatv Zug', m='alt Zug ', s='altzug') + nltxt = Dgt.DISPLAY_TEXT(l='andere zet ', m='alt zet ', s='altzet') + frtxt = Dgt.DISPLAY_TEXT(l='autre mouv ', m='alt move', s='altmov') + estxt = Dgt.DISPLAY_TEXT(l='altn jugada', m='altjugad', s='altjug') + ittxt = Dgt.DISPLAY_TEXT(l='mossa alter', m='mossa al', s='mosalt') + if text_id == 'newgame': + wait = True # in case of GAME_ENDS before, wait for "abort" + entxt = Dgt.DISPLAY_TEXT(l='new Game ', m='new Game', s='newgam') + detxt = Dgt.DISPLAY_TEXT(l='neues Spiel', m='neuesSpl', s='neuspl') + nltxt = Dgt.DISPLAY_TEXT(l='nieuw party', m='nw party', s='nwpart') + frtxt = Dgt.DISPLAY_TEXT(l='nvl partie ', m='nvl part', s='newgam') + estxt = Dgt.DISPLAY_TEXT(l='nuev partid', m='nuevpart', s='nuepar') + ittxt = Dgt.DISPLAY_TEXT(l='nuova parti', m='nuo part', s='nuopar') + if text_id == 'ucigame': + wait = True + msg = msg.rjust(3) + entxt = Dgt.DISPLAY_TEXT(l='new Game' + msg, m='Game ' + msg, s='gam' + msg) + detxt = Dgt.DISPLAY_TEXT(l='neuSpiel' + msg, m='Spiel' + msg, s='spl' + msg) + nltxt = Dgt.DISPLAY_TEXT(l='nw party' + msg, m='party' + msg, s='par' + msg) + frtxt = Dgt.DISPLAY_TEXT(l='nvl part' + msg, m='part ' + msg, s='gam' + msg) + estxt = Dgt.DISPLAY_TEXT(l='partid ' + msg, m='part ' + msg, s='par' + msg) + ittxt = Dgt.DISPLAY_TEXT(l='nuo part' + msg, m='part ' + msg, s='par' + msg) + if text_id == 'takeback': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='takeback ', m='takeback', s='takbak') + detxt = Dgt.DISPLAY_TEXT(l='Ruecknahme ', m='Rcknahme', s='rueckn') + nltxt = Dgt.DISPLAY_TEXT(l='zet terug ', m='zetterug', s='terug ') + frtxt = Dgt.DISPLAY_TEXT(l='retour ', m='retour ', s='retour') + estxt = Dgt.DISPLAY_TEXT(l='retrocede ', m='atras ', s='atras ') + ittxt = Dgt.DISPLAY_TEXT(l='ritorna ', m='ritorna ', s='ritorn') + if text_id == 'bookmove': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='book ', m='book ', s='book ') + detxt = Dgt.DISPLAY_TEXT(l='Buch ', m='Buch ', s='buch ') + nltxt = Dgt.DISPLAY_TEXT(l='boek ', m='boek ', s='boek ') + frtxt = Dgt.DISPLAY_TEXT(l='livre ', m='livre ', s='livre ') + estxt = Dgt.DISPLAY_TEXT(l='libro ', m='libro ', s='libro ') + ittxt = Dgt.DISPLAY_TEXT(l='libro ', m='libro ', s='libro ') + if text_id == 'setpieces': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='set pieces ', m='set pcs ', s='setpcs') + detxt = Dgt.DISPLAY_TEXT(l='St aufbauen', m='aufbauen', s='aufbau') + nltxt = Dgt.DISPLAY_TEXT(l='zet stukken', m='zet stkn', s='zet st') + frtxt = Dgt.DISPLAY_TEXT(l='placer pcs ', m='set pcs ', s='setpcs') + estxt = Dgt.DISPLAY_TEXT(l='hasta piez ', m='hasta pz', s='hastap') + ittxt = Dgt.DISPLAY_TEXT(l='sistema pez', m='sistpezz', s='sispez') + if text_id == 'errorjack': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='error jack ', m='err jack', s='jack ') + detxt = Dgt.DISPLAY_TEXT(l='err Kabel ', m='errKabel', s='errkab') + nltxt = Dgt.DISPLAY_TEXT(l='fout Kabel ', m='errKabel', s='errkab') + frtxt = Dgt.DISPLAY_TEXT(l='jack error ', m='jack err', s='jack ') + estxt = Dgt.DISPLAY_TEXT(l='jack error ', m='jack err', s='jack ') + ittxt = Dgt.DISPLAY_TEXT(l='errore jack', m='err jack', s='jack ') + if text_id == 'errorroom': + entxt = Dgt.DISPLAY_TEXT(l='error room ', m='err room', s='noroom') + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'errormode': + entxt = Dgt.DISPLAY_TEXT(l='error mode ', m='err mode', s='errmod') + detxt = Dgt.DISPLAY_TEXT(l='error Modus', m='errModus', s='errmod') + nltxt = Dgt.DISPLAY_TEXT(l='fout modus ', m='fout mod', s='errmod') + frtxt = Dgt.DISPLAY_TEXT(l='error mode ', m='err mode', s='errmod') + estxt = Dgt.DISPLAY_TEXT(l='error modo ', m='err modo', s='errmod') + ittxt = Dgt.DISPLAY_TEXT(l='errore modo', m='err modo', s='errmod') + if text_id == 'level': + if msg.startswith('Elo@'): + msg = str(int(msg[4:])).rjust(4) + entxt = Dgt.DISPLAY_TEXT(l='Elo ' + msg, m='Elo ' + msg, s='el' + msg) + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + elif msg.startswith('Level@'): + msg = str(int(msg[6:])).rjust(2) + entxt = Dgt.DISPLAY_TEXT(l='level ' + msg, m='level ' + msg, s='lvl ' + msg) + detxt = Dgt.DISPLAY_TEXT(l='SpielSt ' + msg, m='Stufe ' + msg, s='stf ' + msg) + nltxt = entxt + frtxt = Dgt.DISPLAY_TEXT(l='niveau ' + msg, m='niveau' + msg, s='niv ' + msg) + estxt = Dgt.DISPLAY_TEXT(l='nivel ' + msg, m='nivel ' + msg, s='nvl ' + msg) + ittxt = Dgt.DISPLAY_TEXT(l='livello ' + msg, m='livel ' + msg, s='liv ' + msg) + else: + entxt = Dgt.DISPLAY_TEXT(l=msg, m=msg[:8], s=msg[:6]) + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'mate': + entxt = Dgt.DISPLAY_TEXT(l='mate in ' + msg, m='mate ' + msg, s='mat' + msg) + detxt = Dgt.DISPLAY_TEXT(l='Matt in ' + msg, m='Matt ' + msg, s='mat' + msg) + nltxt = Dgt.DISPLAY_TEXT(l='mat in ' + msg, m='mat ' + msg, s='mat' + msg) + frtxt = Dgt.DISPLAY_TEXT(l='mat en ' + msg, m='mat ' + msg, s='mat' + msg) + estxt = Dgt.DISPLAY_TEXT(l='mate en ' + msg, m='mate ' + msg, s='mat' + msg) + ittxt = Dgt.DISPLAY_TEXT(l='matto in' + msg, m='matto' + msg, s='mat' + msg) + if text_id == 'score': + text_s = 'no scr' if msg is None else str(msg).rjust(6) + text_m = 'no score' if msg is None else str(msg).rjust(8) + entxt = Dgt.DISPLAY_TEXT(l=text_m.rjust(11), m=text_m, s=text_s) + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'top_mode_menu': + entxt = Dgt.DISPLAY_TEXT(l='Mode ', m='Mode ', s='mode ') + detxt = Dgt.DISPLAY_TEXT(l='Modus ', m='Modus ', s='modus ') + nltxt = Dgt.DISPLAY_TEXT(l='Modus ', m='Modus ', s='modus ') + frtxt = Dgt.DISPLAY_TEXT(l='Mode ', m='Mode ', s='mode ') + estxt = Dgt.DISPLAY_TEXT(l='Modo ', m='Modo ', s='modo ') + ittxt = Dgt.DISPLAY_TEXT(l='Modo ', m='Modo ', s='modo ') + if text_id == 'top_position_menu': + entxt = Dgt.DISPLAY_TEXT(l='Position ', m='Position', s='posit ') + detxt = Dgt.DISPLAY_TEXT(l='Position ', m='Position', s='positn') + nltxt = Dgt.DISPLAY_TEXT(l='Stelling ', m='Stelling', s='stelng') + frtxt = Dgt.DISPLAY_TEXT(l='Position ', m='Position', s='posit ') + estxt = Dgt.DISPLAY_TEXT(l='Posicion ', m='Posicion', s='posic ') + ittxt = Dgt.DISPLAY_TEXT(l='Posizione ', m='Posizion', s='posizi') + if text_id == 'top_time_menu': + entxt = Dgt.DISPLAY_TEXT(l='Time ', m='Time ', s='time ') + detxt = Dgt.DISPLAY_TEXT(l='Zeit ', m='Zeit ', s='zeit ') + nltxt = Dgt.DISPLAY_TEXT(l='Tyd ', m='Tyd ', s='tyd ') + frtxt = Dgt.DISPLAY_TEXT(l='Temps ', m='Temps ', s='temps ') + estxt = Dgt.DISPLAY_TEXT(l='Tiempo ', m='Tiempo ', s='tiempo') + ittxt = Dgt.DISPLAY_TEXT(l='Tempo ', m='Tempo ', s='tempo ') + if text_id == 'top_book_menu': + entxt = Dgt.DISPLAY_TEXT(l='Book ', m='Book ', s='book ') + detxt = Dgt.DISPLAY_TEXT(l='Buch ', m='Buch ', s='buch ') + nltxt = Dgt.DISPLAY_TEXT(l='Boek ', m='Boek ', s='boek ') + frtxt = Dgt.DISPLAY_TEXT(l='Livre ', m='Livre ', s='livre ') + estxt = Dgt.DISPLAY_TEXT(l='Libro ', m='Libro ', s='libro ') + ittxt = Dgt.DISPLAY_TEXT(l='Libro ', m='Libro ', s='libro ') + if text_id == 'top_engine_menu': + entxt = Dgt.DISPLAY_TEXT(l='Engine ', m='Engine ', s='engine') + detxt = Dgt.DISPLAY_TEXT(l='Engine ', m='Engine ', s='engine') + nltxt = Dgt.DISPLAY_TEXT(l='Engine ', m='Engine ', s='engine') + frtxt = Dgt.DISPLAY_TEXT(l='Moteur ', m='Moteur ', s='moteur') + estxt = Dgt.DISPLAY_TEXT(l='Motor ', m='Motor ', s='motor ') + ittxt = Dgt.DISPLAY_TEXT(l='Motore ', m='Motore ', s='motore') + if text_id == 'top_system_menu': + entxt = Dgt.DISPLAY_TEXT(l='System ', m='System ', s='system') + detxt = Dgt.DISPLAY_TEXT(l='System ', m='System ', s='system') + nltxt = Dgt.DISPLAY_TEXT(l='Systeem ', m='Systeem ', s='system') + frtxt = Dgt.DISPLAY_TEXT(l='Systeme ', m='Systeme ', s='system') + estxt = Dgt.DISPLAY_TEXT(l='Sistema ', m='Sistema ', s='sistem') + ittxt = Dgt.DISPLAY_TEXT(l='Sistema ', m='Sistema ', s='sistem') + if text_id == 'mode_normal_menu': + entxt = Dgt.DISPLAY_TEXT(l='Normal ', m='Normal ', s='normal') + detxt = Dgt.DISPLAY_TEXT(l='Normal ', m='Normal ', s='normal') + nltxt = Dgt.DISPLAY_TEXT(l='Normaal ', m='Normaal ', s='normal') + frtxt = Dgt.DISPLAY_TEXT(l='Normal ', m='Normal ', s='normal') + estxt = Dgt.DISPLAY_TEXT(l='Normal ', m='Normal ', s='normal') + ittxt = Dgt.DISPLAY_TEXT(l='Normale ', m='Normale ', s='normal') + if text_id == 'mode_brain_menu': + entxt = Dgt.DISPLAY_TEXT(l='Brain ', m='Brain ', s='brain ') + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'mode_analysis_menu': + entxt = Dgt.DISPLAY_TEXT(l='Analysis ', m='Analysis', s='analys') + detxt = Dgt.DISPLAY_TEXT(l='Analyse ', m='Analyse ', s='analys') + nltxt = Dgt.DISPLAY_TEXT(l='Analyseren ', m='Analyse ', s='analys') + frtxt = Dgt.DISPLAY_TEXT(l='Analyser ', m='Analyser', s='analys') + estxt = Dgt.DISPLAY_TEXT(l='Analisis ', m='Analisis', s='analis') + ittxt = Dgt.DISPLAY_TEXT(l='Analisi ', m='Analisi ', s='Analis') + if text_id == 'mode_kibitz_menu': + entxt = Dgt.DISPLAY_TEXT(l='Kibitz ', m='Kibitz ', s='kibitz') + detxt = Dgt.DISPLAY_TEXT(l='Kibitz ', m='Kibitz ', s='kibitz') + nltxt = Dgt.DISPLAY_TEXT(l='Kibitz ', m='Kibitz ', s='kibitz') + frtxt = Dgt.DISPLAY_TEXT(l='Evaluer ', m='Evaluer ', s='evalue') + estxt = Dgt.DISPLAY_TEXT(l='Kibitz ', m='Kibitz ', s='kibitz') + ittxt = Dgt.DISPLAY_TEXT(l='Kibitz ', m='Kibitz ', s='kibitz') + if text_id == 'mode_observe_menu': + entxt = Dgt.DISPLAY_TEXT(l='Observe ', m='Observe ', s='observ') + detxt = Dgt.DISPLAY_TEXT(l='Observe ', m='Observe ', s='observ') + nltxt = Dgt.DISPLAY_TEXT(l='Observeren ', m='Observr ', s='observ') + frtxt = Dgt.DISPLAY_TEXT(l='Observer ', m='Observer', s='observ') + estxt = Dgt.DISPLAY_TEXT(l='Observa ', m='Observa ', s='observ') + ittxt = Dgt.DISPLAY_TEXT(l='Osserva ', m='Osserva ', s='osserv') + if text_id == 'mode_remote_menu': + entxt = Dgt.DISPLAY_TEXT(l='Remote ', m='Remote ', s='remote') + detxt = Dgt.DISPLAY_TEXT(l='Remote ', m='Remote ', s='remote') + nltxt = Dgt.DISPLAY_TEXT(l='Remote ', m='Remote ', s='remote') + frtxt = Dgt.DISPLAY_TEXT(l='Remote ', m='Remote ', s='remote') + estxt = Dgt.DISPLAY_TEXT(l='Remoto ', m='Remoto ', s='remoto') + ittxt = Dgt.DISPLAY_TEXT(l='Remoto ', m='Remoto ', s='remoto') + if text_id == 'mode_ponder_menu': + entxt = Dgt.DISPLAY_TEXT(l='Ponder ', m='Ponder ', s='ponder') + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'timemode_fixed_menu': + entxt = Dgt.DISPLAY_TEXT(l='Move time ', m='Movetime', s='move t') + detxt = Dgt.DISPLAY_TEXT(l='Zugzeit ', m='Zugzeit ', s='zug z ') + nltxt = Dgt.DISPLAY_TEXT(l='Zet tyd ', m='Zet tyd ', s='zet ') + frtxt = Dgt.DISPLAY_TEXT(l='Mouv temps ', m='Mouv tem', s='mouv ') + estxt = Dgt.DISPLAY_TEXT(l='Mov tiempo ', m='mov tiem', s='mov ') + ittxt = Dgt.DISPLAY_TEXT(l='Mossa tempo', m='Mosstemp', s='mostem') + if text_id == 'timemode_blitz_menu': + entxt = Dgt.DISPLAY_TEXT(l='Game time ', m='Gametime', s='game t') + detxt = Dgt.DISPLAY_TEXT(l='Spielzeit ', m='Spielz ', s='spielz') + nltxt = Dgt.DISPLAY_TEXT(l='Spel tyd ', m='Spel tyd', s='spel ') + frtxt = Dgt.DISPLAY_TEXT(l='Partie temp', m='Partie ', s='partie') + estxt = Dgt.DISPLAY_TEXT(l='Partid ', m='Partid ', s='partid') + ittxt = Dgt.DISPLAY_TEXT(l='Game tempo ', m='Gametemp', s='gamtem') + if text_id == 'timemode_fischer_menu': + entxt = Dgt.DISPLAY_TEXT(l='Fischer ', m='Fischer ', s='fischr') + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'info_version_menu': + entxt = Dgt.DISPLAY_TEXT(l='Version ', m='Version ', s='vers ') + detxt = Dgt.DISPLAY_TEXT(l='Version ', m='Version ', s='vers ') + nltxt = Dgt.DISPLAY_TEXT(l='Versie ', m='Versie ', s='versie') + frtxt = Dgt.DISPLAY_TEXT(l='Version ', m='Version ', s='vers ') + estxt = Dgt.DISPLAY_TEXT(l='Version ', m='Version ', s='vers ') + ittxt = Dgt.DISPLAY_TEXT(l='Versione ', m='Versione', s='versio') + if text_id == 'info_ipadr_menu': + entxt = Dgt.DISPLAY_TEXT(l='IP adr ', m='IP adr ', s='ip adr') + detxt = Dgt.DISPLAY_TEXT(l='IP adr ', m='IP adr ', s='ip adr') + nltxt = Dgt.DISPLAY_TEXT(l='IP address ', m='IP adr ', s='ip adr') + frtxt = Dgt.DISPLAY_TEXT(l='Adr IP ', m='Adr IP ', s='adr ip') + estxt = Dgt.DISPLAY_TEXT(l='IP dir ', m='IP dir ', s='ip dir') + ittxt = Dgt.DISPLAY_TEXT(l='ind IP ', m='ind IP ', s='ind ip') + if text_id == 'info_battery_menu': + entxt = Dgt.DISPLAY_TEXT(l='BT battery ', m='Battery ', s='bt bat') + detxt = Dgt.DISPLAY_TEXT(l='BT Batterie', m='Batterie', s='bt bat') + nltxt = Dgt.DISPLAY_TEXT(l='BT batterij', m='batterij', s='bt bat') + frtxt = Dgt.DISPLAY_TEXT(l='BT batterie', m='batterie', s='bt bat') + estxt = Dgt.DISPLAY_TEXT(l='BT bateria ', m='bateria ', s='bt bat') + ittxt = Dgt.DISPLAY_TEXT(l='BT batteria', m='batteria', s='bt bat') + if text_id == 'system_sound_menu': + entxt = Dgt.DISPLAY_TEXT(l='Sound ', m='Sound ', s='sound ') + detxt = Dgt.DISPLAY_TEXT(l='Toene ', m='Toene ', s='toene ') + nltxt = Dgt.DISPLAY_TEXT(l='Geluid ', m='Geluid ', s='geluid') + frtxt = Dgt.DISPLAY_TEXT(l='Sons ', m='Sons ', s='sons ') + estxt = Dgt.DISPLAY_TEXT(l='Sonido ', m='Sonido ', s='sonido') + ittxt = Dgt.DISPLAY_TEXT(l='Suoni ', m='Suoni ', s='suoni ') + if text_id == 'system_language_menu': + entxt = Dgt.DISPLAY_TEXT(l='Language ', m='Language', s='lang ') + detxt = Dgt.DISPLAY_TEXT(l='Sprache ', m='Sprache ', s='sprach') + nltxt = Dgt.DISPLAY_TEXT(l='Taal ', m='Taal ', s='taal ') + frtxt = Dgt.DISPLAY_TEXT(l='Langue ', m='Langue ', s='langue') + estxt = Dgt.DISPLAY_TEXT(l='Idioma ', m='Idioma ', s='idioma') + ittxt = Dgt.DISPLAY_TEXT(l='Lingua ', m='Lingua ', s='lingua') + if text_id == 'system_logfile_menu': + entxt = Dgt.DISPLAY_TEXT(l='Log file ', m='Log file', s='logfil') + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'system_info_menu': + entxt = Dgt.DISPLAY_TEXT(l='Information', m='Informat', s='inform') + detxt = Dgt.DISPLAY_TEXT(l='Information', m='Informat', s='inform') + nltxt = Dgt.DISPLAY_TEXT(l='Informatie ', m='Informat', s='inform') + frtxt = Dgt.DISPLAY_TEXT(l='Information', m='Informat', s='inform') + estxt = Dgt.DISPLAY_TEXT(l='Informacion', m='Informac', s='inform') + ittxt = Dgt.DISPLAY_TEXT(l='Informazion', m='Informaz', s='inform') + if text_id == 'system_voice_menu': + entxt = Dgt.DISPLAY_TEXT(l='Voice ', m='Voice ', s='voice ') + detxt = Dgt.DISPLAY_TEXT(l='Stimme ', m='Stimme ', s='stimme') + nltxt = Dgt.DISPLAY_TEXT(l='Stem ', m='Stem ', s='stem ') + frtxt = Dgt.DISPLAY_TEXT(l='Voix ', m='Voix ', s='voix ') + estxt = Dgt.DISPLAY_TEXT(l='Voz ', m='Voz ', s='voz ') + ittxt = Dgt.DISPLAY_TEXT(l='Voce ', m='Voce ', s='voce ') + if text_id == 'system_display_menu': + entxt = Dgt.DISPLAY_TEXT(l='Display ', m='Display ', s='dsplay') + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'gameresult_mate': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='mate ', m='mate ', s='mate ') + detxt = Dgt.DISPLAY_TEXT(l='Matt ', m='Matt ', s='matt ') + nltxt = Dgt.DISPLAY_TEXT(l='mat ', m='mat ', s='mat ') + frtxt = Dgt.DISPLAY_TEXT(l='mat ', m='mat ', s='mat ') + estxt = Dgt.DISPLAY_TEXT(l='mate ', m='mate ', s='mate ') + ittxt = Dgt.DISPLAY_TEXT(l='matto ', m='matto ', s='matto ') + if text_id == 'gameresult_stalemate': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='stalemate ', m='stalemat', s='stale ') + detxt = Dgt.DISPLAY_TEXT(l='Patt ', m='Patt ', s='patt ') + nltxt = Dgt.DISPLAY_TEXT(l='patstelling', m='pat ', s='pat ') + frtxt = Dgt.DISPLAY_TEXT(l='pat ', m='pat ', s='pat ') + estxt = Dgt.DISPLAY_TEXT(l='ahogado ', m='ahogado ', s='ahogad') + ittxt = Dgt.DISPLAY_TEXT(l='stallo ', m='stallo ', s='stallo') + if text_id == 'gameresult_time': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='time ', m='time ', s='time ') + detxt = Dgt.DISPLAY_TEXT(l='Zeit ', m='Zeit ', s='zeit ') + nltxt = Dgt.DISPLAY_TEXT(l='tyd ', m='tyd ', s='tyd ') + frtxt = Dgt.DISPLAY_TEXT(l='tombe ', m='tombe ', s='tombe ') + estxt = Dgt.DISPLAY_TEXT(l='tiempo ', m='tiempo ', s='tiempo') + ittxt = Dgt.DISPLAY_TEXT(l='tempo ', m='tempo ', s='tempo ') + if text_id == 'gameresult_material': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='material ', m='material', s='materi') + detxt = Dgt.DISPLAY_TEXT(l='Material ', m='Material', s='materi') + nltxt = Dgt.DISPLAY_TEXT(l='materiaal ', m='material', s='materi') + frtxt = Dgt.DISPLAY_TEXT(l='materiel ', m='materiel', s='materl') + estxt = Dgt.DISPLAY_TEXT(l='material ', m='material', s='mater ') + ittxt = Dgt.DISPLAY_TEXT(l='materiale ', m='material', s='materi') + if text_id == 'gameresult_moves': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='75 moves ', m='75 moves', s='75 mov') + detxt = Dgt.DISPLAY_TEXT(l='75 Zuege ', m='75 Zuege', s='75 zug') + nltxt = Dgt.DISPLAY_TEXT(l='75 zetten ', m='75zetten', s='75 zet') + frtxt = Dgt.DISPLAY_TEXT(l='75 mouv ', m='75 mouv ', s='75 mvt') + estxt = Dgt.DISPLAY_TEXT(l='75 mov ', m='75 mov ', s='75 mov') + ittxt = Dgt.DISPLAY_TEXT(l='75 mosse ', m='75 mosse', s='75 mos') + if text_id == 'gameresult_repetition': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='repetition ', m='rep pos ', s='reppos') + detxt = Dgt.DISPLAY_TEXT(l='Wiederholg ', m='Wiederhg', s='wdrhlg') + nltxt = Dgt.DISPLAY_TEXT(l='zetherhalin', m='herhalin', s='herhal') + frtxt = Dgt.DISPLAY_TEXT(l='3ieme rep ', m='3iem rep', s=' 3 rep') + estxt = Dgt.DISPLAY_TEXT(l='repeticion ', m='repite 3', s='rep 3 ') + ittxt = Dgt.DISPLAY_TEXT(l='3 ripetiz ', m='3 ripeti', s='3 ripe') + if text_id == 'gameresult_abort': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='abort game ', m='abort ', s='abort ') + detxt = Dgt.DISPLAY_TEXT(l='Spl Abbruch', m='Abbruch ', s='abbrch') + nltxt = Dgt.DISPLAY_TEXT(l='afbreken ', m='afbreken', s='afbrek') + frtxt = Dgt.DISPLAY_TEXT(l='sortir ', m='sortir ', s='sortir') + estxt = Dgt.DISPLAY_TEXT(l='abortar ', m='abortar ', s='abort ') + ittxt = Dgt.DISPLAY_TEXT(l='interrompi ', m='interrom', s='interr') + if text_id == 'gameresult_white': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='W wins ', m='W wins ', s='w wins') + detxt = Dgt.DISPLAY_TEXT(l='W gewinnt ', m='W Gewinn', s=' w gew') + nltxt = Dgt.DISPLAY_TEXT(l='wit wint ', m='wit wint', s='w wint') + frtxt = Dgt.DISPLAY_TEXT(l='B gagne ', m='B gagne ', s='b gagn') + estxt = Dgt.DISPLAY_TEXT(l='B ganan ', m='B ganan ', s='b gana') + ittxt = Dgt.DISPLAY_TEXT(l='B vince ', m='B vince ', s='b vinc') + if text_id == 'gameresult_black': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='B wins ', m='B wins ', s='b wins') + detxt = Dgt.DISPLAY_TEXT(l='S gewinnt ', m='S Gewinn', s=' s gew') + nltxt = Dgt.DISPLAY_TEXT(l='zwart wint ', m='zw wint ', s='z wint') + frtxt = Dgt.DISPLAY_TEXT(l='N gagne ', m='N gagne ', s='n gagn') + estxt = Dgt.DISPLAY_TEXT(l='N ganan ', m='N ganan ', s='n gana') + ittxt = Dgt.DISPLAY_TEXT(l='N vince ', m='N vince ', s='n vinc') + if text_id == 'gameresult_draw': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='draw ', m='draw ', s='draw ') + detxt = Dgt.DISPLAY_TEXT(l='Remis ', m='Remis ', s='remis ') + nltxt = Dgt.DISPLAY_TEXT(l='remise ', m='remise ', s='remise') + frtxt = Dgt.DISPLAY_TEXT(l='nulle ', m='nulle ', s='nulle ') + estxt = Dgt.DISPLAY_TEXT(l='tablas ', m='tablas ', s='tablas') + ittxt = Dgt.DISPLAY_TEXT(l='patta ', m='patta ', s='patta ') + if text_id == 'playmode_white_user': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='player W ', m='player W', s='white ') + detxt = Dgt.DISPLAY_TEXT(l='Spieler W ', m='SpielerW', s='splr w') + nltxt = Dgt.DISPLAY_TEXT(l='speler wit ', m='speler W', s='splr w') + frtxt = Dgt.DISPLAY_TEXT(l='joueur B ', m='joueur B', s='blancs') + estxt = Dgt.DISPLAY_TEXT(l='jugador B ', m='jugad B ', s='juga b') + ittxt = Dgt.DISPLAY_TEXT(l='gioc bianco', m='gi bianc', s='gioc b') + if text_id == 'playmode_black_user': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='player B ', m='player B', s='black ') + detxt = Dgt.DISPLAY_TEXT(l='Spieler S ', m='SpielerS', s='splr s') + nltxt = Dgt.DISPLAY_TEXT(l='speler zw ', m='speler z', s='splr z') + frtxt = Dgt.DISPLAY_TEXT(l='joueur n ', m='joueur n', s='noirs ') + estxt = Dgt.DISPLAY_TEXT(l='jugador n ', m='jugad n ', s='juga n') + ittxt = Dgt.DISPLAY_TEXT(l='gioc nero ', m='gi nero ', s='gioc n') + if text_id == 'language_en_menu': + entxt = Dgt.DISPLAY_TEXT(l='English ', m='English ', s='englsh') + detxt = Dgt.DISPLAY_TEXT(l='Englisch ', m='Englisch', s='en ') + nltxt = Dgt.DISPLAY_TEXT(l='Engels ', m='Engels ', s='engels') + frtxt = Dgt.DISPLAY_TEXT(l='Anglais ', m='Anglais ', s='anglai') + estxt = Dgt.DISPLAY_TEXT(l='Ingles ', m='Ingles ', s='ingles') + ittxt = Dgt.DISPLAY_TEXT(l='Inglese ', m='Inglese ', s='ingles') + if text_id == 'language_de_menu': + entxt = Dgt.DISPLAY_TEXT(l='German ', m='German ', s='german') + detxt = Dgt.DISPLAY_TEXT(l='Deutsch ', m='Deutsch ', s='de ') + nltxt = Dgt.DISPLAY_TEXT(l='Duits ', m='Duits ', s='duits ') + frtxt = Dgt.DISPLAY_TEXT(l='Allemand ', m='Allemand', s='allema') + estxt = Dgt.DISPLAY_TEXT(l='Aleman ', m='Aleman ', s='aleman') + ittxt = Dgt.DISPLAY_TEXT(l='Tedesco ', m='Tedesco ', s='tedesc') + if text_id == 'language_nl_menu': + entxt = Dgt.DISPLAY_TEXT(l='Dutch ', m='Dutch ', s='dutch ') + detxt = Dgt.DISPLAY_TEXT(l='Niederldsch', m='Niederl ', s='nl ') + nltxt = Dgt.DISPLAY_TEXT(l='Nederlands ', m='Nederl ', s='nederl') + frtxt = Dgt.DISPLAY_TEXT(l='Neerlandais', m='Neerlnd ', s='neer ') + estxt = Dgt.DISPLAY_TEXT(l='Holandes ', m='Holandes', s='holand') + ittxt = Dgt.DISPLAY_TEXT(l='Olandese ', m='Olandese', s='olande') + if text_id == 'language_fr_menu': + entxt = Dgt.DISPLAY_TEXT(l='French ', m='French ', s='french') + detxt = Dgt.DISPLAY_TEXT(l='Franzosisch', m='Franzsch', s='fr ') + nltxt = Dgt.DISPLAY_TEXT(l='Frans ', m='Frans ', s='frans ') + frtxt = Dgt.DISPLAY_TEXT(l='Francais ', m='Francais', s='france') + estxt = Dgt.DISPLAY_TEXT(l='Frances ', m='Frances ', s='franc ') + ittxt = Dgt.DISPLAY_TEXT(l='Francese ', m='Francese', s='france') + if text_id == 'language_es_menu': + entxt = Dgt.DISPLAY_TEXT(l='Spanish ', m='Spanish ', s='spanis') + detxt = Dgt.DISPLAY_TEXT(l='Spanisch ', m='Spanisch', s='es ') + nltxt = Dgt.DISPLAY_TEXT(l='Spaans ', m='Spaans ', s='spaans') + frtxt = Dgt.DISPLAY_TEXT(l='Espagnol ', m='Espagnol', s='espag ') + estxt = Dgt.DISPLAY_TEXT(l='Espanol ', m='Espanol ', s='esp ') + ittxt = Dgt.DISPLAY_TEXT(l='Spagnolo ', m='Spagnolo', s='spagno') + if text_id == 'language_it_menu': + entxt = Dgt.DISPLAY_TEXT(l='Italian ', m='Italian ', s='italia') + detxt = Dgt.DISPLAY_TEXT(l='Italienisch', m='Italisch', s='it ') + nltxt = Dgt.DISPLAY_TEXT(l='Italiaans ', m='Italiaan', s='italia') + frtxt = Dgt.DISPLAY_TEXT(l='Italien ', m='Italien ', s='ital ') + estxt = Dgt.DISPLAY_TEXT(l='Italiano ', m='Italiano', s='italia') + ittxt = Dgt.DISPLAY_TEXT(l='Italiano ', m='Italiano', s='italia') + if text_id == 'beep_off_menu': + entxt = Dgt.DISPLAY_TEXT(l='Never ', m='Never ', s='never ') + detxt = Dgt.DISPLAY_TEXT(l='Nie ', m='Nie ', s='nie ') + nltxt = Dgt.DISPLAY_TEXT(l='Nooit ', m='Nooit ', s='nooit ') + frtxt = Dgt.DISPLAY_TEXT(l='Jamais ', m='Jamais ', s='jamais') + estxt = Dgt.DISPLAY_TEXT(l='Nunca ', m='Nunca ', s='nunca ') + ittxt = Dgt.DISPLAY_TEXT(l='Mai ', m='Mai ', s='mai ') + if text_id == 'beep_some_menu': + entxt = Dgt.DISPLAY_TEXT(l='Sometimes ', m='Some ', s='sonne ') + detxt = Dgt.DISPLAY_TEXT(l='Manchmal ', m='Manchmal', s='manch ') + nltxt = Dgt.DISPLAY_TEXT(l='Soms ', m='Soms ', s='sons ') + frtxt = Dgt.DISPLAY_TEXT(l='Parfois ', m='Parfois ', s='parfoi') + estxt = Dgt.DISPLAY_TEXT(l='A veces ', m='A veces ', s='aveces') + ittxt = Dgt.DISPLAY_TEXT(l='a volte ', m='a volte ', s='avolte') + if text_id == 'beep_on_menu': + entxt = Dgt.DISPLAY_TEXT(l='Always ', m='Always ', s='always') + detxt = Dgt.DISPLAY_TEXT(l='Immer ', m='Immer ', s='immer ') + nltxt = Dgt.DISPLAY_TEXT(l='Altyd ', m='Altyd ', s='altyd ') + frtxt = Dgt.DISPLAY_TEXT(l='Toujours ', m='Toujours', s='toujou') + estxt = Dgt.DISPLAY_TEXT(l='Siempre ', m='Siempre ', s='siempr') + ittxt = Dgt.DISPLAY_TEXT(l='Sempre ', m='Sempre ', s='sempre') + if text_id == 'oklang': + entxt = Dgt.DISPLAY_TEXT(l='ok language', m='ok lang ', s='oklang') + detxt = Dgt.DISPLAY_TEXT(l='ok Sprache ', m='okSprach', s='ok spr') + nltxt = Dgt.DISPLAY_TEXT(l='ok taal ', m='ok taal ', s='oktaal') + frtxt = Dgt.DISPLAY_TEXT(l='ok langue ', m='okLangue', s='oklang') + estxt = Dgt.DISPLAY_TEXT(l='ok idioma ', m='okIdioma', s='oklang') + ittxt = Dgt.DISPLAY_TEXT(l='lingua ok ', m='okLingua', s='okling') + if text_id == 'oklogfile': + entxt = Dgt.DISPLAY_TEXT(l='ok log file', m='oklogfil', s='ok log') + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'voice_speed_menu': + entxt = Dgt.DISPLAY_TEXT(l='Voice speed', m='Vc speed', s='vspeed') + detxt = Dgt.DISPLAY_TEXT(l='StimmGeschw', m='StmGesch', s='stmges') + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'voice_speed': + entxt = Dgt.DISPLAY_TEXT(l='VoiceSpeed' + msg, m='Vspeed ' + msg, s='v spe' + msg) + detxt = Dgt.DISPLAY_TEXT(l='StmGeschw ' + msg, m='StmGes ' + msg, s='stm g' + msg) + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'okspeed': + entxt = Dgt.DISPLAY_TEXT(l='ok voice sp', m='ok speed', s='ok spe') + detxt = Dgt.DISPLAY_TEXT(l='ok StmGesch', m='okStmGes', s='okstmg') + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'voice_user_menu': + entxt = Dgt.DISPLAY_TEXT(l='User voice ', m='UserVoic', s='user v') + detxt = Dgt.DISPLAY_TEXT(l='Spieler Stm', m='Splr Stm', s='splr s') + nltxt = Dgt.DISPLAY_TEXT(l='Speler Stem', m='SplrStem', s='splr s') + frtxt = Dgt.DISPLAY_TEXT(l='Joueur Voix', m='JourVoix', s='jour v') + estxt = Dgt.DISPLAY_TEXT(l='Jugador Voz', m='JugadVoz', s='juga v') + ittxt = Dgt.DISPLAY_TEXT(l='Giocat Voce', m='GiocVoce', s='gioc v') + if text_id == 'voice_comp_menu': + entxt = Dgt.DISPLAY_TEXT(l='Pico voice ', m='PicoVoic', s='pico v') + detxt = Dgt.DISPLAY_TEXT(l='PicoChs Stm', m='Pico Stm', s='pico v') + nltxt = Dgt.DISPLAY_TEXT(l='PicoChsStem', m='PicoStem', s='pico s') + frtxt = Dgt.DISPLAY_TEXT(l='PicoChsVoix', m='PicoVoix', s='pico v') + estxt = Dgt.DISPLAY_TEXT(l='PicoChs Voz', m='Pico Voz', s='pico v') + ittxt = Dgt.DISPLAY_TEXT(l='PicoChsVoce', m='PicoVoce', s='pico v') + if text_id == 'okvoice': + # wait = True + entxt = Dgt.DISPLAY_TEXT(l='ok Voice ', m='ok Voice', s='ok voc') + detxt = Dgt.DISPLAY_TEXT(l='ok Stimme ', m='okStimme', s='ok stm') + nltxt = Dgt.DISPLAY_TEXT(l='ok Stem ', m='ok Stem ', s='okstem') + frtxt = Dgt.DISPLAY_TEXT(l='ok Voix ', m='ok Voix ', s='okvoix') + estxt = Dgt.DISPLAY_TEXT(l='ok Voz ', m='ok Voz ', s='ok voz') + ittxt = Dgt.DISPLAY_TEXT(l='ok Voce ', m='ok Voce ', s='okvoce') + if text_id == 'voice_on': + entxt = Dgt.DISPLAY_TEXT(l='Voice on ', m='Voice on', s='vc on') + detxt = Dgt.DISPLAY_TEXT(l='Stimme ein ', m='Stim ein', s='st ein') + nltxt = Dgt.DISPLAY_TEXT(l='Stem aan ', m='Stem aan', s='st aan') + frtxt = Dgt.DISPLAY_TEXT(l='Voix allume', m='Voix ete', s='vo ete') + estxt = Dgt.DISPLAY_TEXT(l='Voz encend ', m='Voz ence', s='vz enc') + ittxt = Dgt.DISPLAY_TEXT(l='Voce attiva', m='Voce att', s='vc att') + if text_id == 'voice_off': + entxt = Dgt.DISPLAY_TEXT(l='Voice off ', m='Voiceoff', s='vc off') + detxt = Dgt.DISPLAY_TEXT(l='Stimme aus ', m='Stim aus', s='st aus') + nltxt = Dgt.DISPLAY_TEXT(l='Stem uit ', m='Stem uit', s='st uit') + frtxt = Dgt.DISPLAY_TEXT(l='Voix eteint', m='Voix ete', s='vo ete') + estxt = Dgt.DISPLAY_TEXT(l='Voz apagada', m='Voz apag', s='vz apa') + ittxt = Dgt.DISPLAY_TEXT(l='Voce spenta', m='Voce spe', s='vc spe') + if text_id == 'display_ponder_menu': + entxt = Dgt.DISPLAY_TEXT(l='Ponder intv', m='PondIntv', s='ponint') + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'okponder': + entxt = Dgt.DISPLAY_TEXT(l='ok pondIntv', m='okPondIv', s='ok int') + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'ponder_interval': + entxt = Dgt.DISPLAY_TEXT(l='Pondr intv' + msg, m='PondrIv' + msg, s='p int' + msg) + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'display_confirm_menu': + entxt = Dgt.DISPLAY_TEXT(l='Confirm msg', m='Confirm ', s='confrm') + detxt = Dgt.DISPLAY_TEXT(l='Zugbestaetg', m='Zugbestg', s='zugbes') + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'display_capital_menu': + entxt = Dgt.DISPLAY_TEXT(l='Cap Letters', m='Capital ', s='captal') + detxt = Dgt.DISPLAY_TEXT(l='Buchstaben ', m='Buchstab', s='buchst') + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'display_notation_menu': + entxt = Dgt.DISPLAY_TEXT(l='Mv Notation', m='Notation', s='notati') + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'okconfirm': + entxt = Dgt.DISPLAY_TEXT(l='ok confirm ', m='okConfrm', s='okconf') + detxt = Dgt.DISPLAY_TEXT(l='ok Zugbest ', m='okZugbes', s='ok bes') + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'confirm_on': + entxt = Dgt.DISPLAY_TEXT(l='Confirm on', m='Conf on', s='cnf on') + detxt = Dgt.DISPLAY_TEXT(l='Zugbest ein', m='Best ein', s='besein') + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'confirm_off': + entxt = Dgt.DISPLAY_TEXT(l='Confirm off', m='Conf off', s='cnfoff') + detxt = Dgt.DISPLAY_TEXT(l='Zugbest aus', m='Best aus', s='besaus') + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'okcapital': + entxt = Dgt.DISPLAY_TEXT(l='ok Capital ', m='ok Capt ', s='ok cap') + detxt = Dgt.DISPLAY_TEXT(l='ok Buchstab', m='ok Bstab', s='ok bst') + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'capital_on': + entxt = Dgt.DISPLAY_TEXT(l='Capital on', m='Capt on', s='cap on') + detxt = Dgt.DISPLAY_TEXT(l='Buchstb ein', m='Bstb ein', s='bstein') + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'capital_off': + entxt = Dgt.DISPLAY_TEXT(l='Capital off', m='Capt off', s='capoff') + detxt = Dgt.DISPLAY_TEXT(l='Buchstb aus', m='Bstb aus', s='bstaus') + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'oknotation': + entxt = Dgt.DISPLAY_TEXT(l='ok Notation', m='ok Notat', s='ok nt') + detxt = Dgt.DISPLAY_TEXT(l='ok Notation', m='ok Notat', s='ok nt') + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'notation_short': + entxt = Dgt.DISPLAY_TEXT(l='Notat short', m='Nt short', s='short ') + detxt = Dgt.DISPLAY_TEXT(l='Notatn kurz', m='Ntn kurz', s='ntkurz') + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'notation_long': + entxt = Dgt.DISPLAY_TEXT(l='Notat long', m='Nt long', s=' long') + detxt = Dgt.DISPLAY_TEXT(l='Notatn lang', m='Ntn lang', s='ntlang') + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'tc_fixed': + entxt = Dgt.DISPLAY_TEXT(l='Move time' + msg, m='Move t' + msg, s='mov ' + msg) + detxt = Dgt.DISPLAY_TEXT(l='Zugzeit ' + msg, m='Zug z ' + msg, s='zug ' + msg) + nltxt = Dgt.DISPLAY_TEXT(l='Zet tyd ' + msg, m='Zet t ' + msg, s='zet ' + msg) + frtxt = Dgt.DISPLAY_TEXT(l='Mouv ' + msg, m='Mouv ' + msg, s='mouv' + msg) + estxt = Dgt.DISPLAY_TEXT(l='Mov ' + msg, m='Mov ' + msg, s='mov ' + msg) + ittxt = Dgt.DISPLAY_TEXT(l='Moss temp' + msg, m='Moss t' + msg, s='mos ' + msg) + if text_id == 'tc_blitz': + entxt = Dgt.DISPLAY_TEXT(l='Game time' + msg, m='Game t' + msg, s='game' + msg) + detxt = Dgt.DISPLAY_TEXT(l='Spielzeit' + msg, m='Spielz' + msg, s='spl ' + msg) + nltxt = Dgt.DISPLAY_TEXT(l='Spel tyd ' + msg, m='Spel t' + msg, s='spel' + msg) + frtxt = Dgt.DISPLAY_TEXT(l='Partie ' + msg, m='Partie' + msg, s='part' + msg) + estxt = Dgt.DISPLAY_TEXT(l='Partid ' + msg, m='Partid' + msg, s='part' + msg) + ittxt = Dgt.DISPLAY_TEXT(l='Game temp' + msg, m='Game t' + msg, s='game' + msg) + if text_id == 'tc_fisch': + entxt = Dgt.DISPLAY_TEXT(l='Fischr' + msg, m='Fsh' + msg, s='f' + msg) + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'noboard': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='no e-' + msg, m='no' + msg, s=msg) + detxt = entxt + nltxt = entxt + frtxt = entxt + estxt = entxt + ittxt = entxt + if text_id == 'update': + entxt = Dgt.DISPLAY_TEXT(l='updating pc', m='updating', s='update') + detxt = entxt + nltxt = entxt + frtxt = Dgt.DISPLAY_TEXT(l='actualisePc', m='actualis', s='actual') + estxt = Dgt.DISPLAY_TEXT(l='actualizoPc', m='actualiz', s='actual') + ittxt = Dgt.DISPLAY_TEXT(l='aggiornare ', m='aggiorPc', s='aggior') + if text_id == 'updt_version': + wait = True + entxt = Dgt.DISPLAY_TEXT(l='Version ' + msg, m='Vers ' + msg, s='ver' + msg) + detxt = Dgt.DISPLAY_TEXT(l='Version ' + msg, m='Vers ' + msg, s='ver' + msg) + nltxt = Dgt.DISPLAY_TEXT(l='Versie ' + msg, m='Vers ' + msg, s='ver' + msg) + frtxt = Dgt.DISPLAY_TEXT(l='Version ' + msg, m='Vers ' + msg, s='ver' + msg) + estxt = Dgt.DISPLAY_TEXT(l='Version ' + msg, m='Vers ' + msg, s='ver' + msg) + ittxt = Dgt.DISPLAY_TEXT(l='Versione' + msg, m='Vers ' + msg, s='ver' + msg) + if text_id == 'bat_percent': + entxt = Dgt.DISPLAY_TEXT(l='battery ' + msg, m='battr' + msg, s='bat' + msg) + detxt = Dgt.DISPLAY_TEXT(l='Batterie' + msg, m='Battr' + msg, s='bat' + msg) + nltxt = Dgt.DISPLAY_TEXT(l='batterij' + msg, m='battr' + msg, s='bat' + msg) + frtxt = Dgt.DISPLAY_TEXT(l='batterie' + msg, m='battr' + msg, s='bat' + msg) + estxt = Dgt.DISPLAY_TEXT(l='bateria ' + msg, m='battr' + msg, s='bat' + msg) + ittxt = Dgt.DISPLAY_TEXT(l='batteria' + msg, m='battr' + msg, s='bat' + msg) + + for txt in [entxt, detxt, nltxt, frtxt, estxt, ittxt]: + if txt: + txt.wait = wait + txt.beep = beep + txt.maxtime = maxtime + txt.devs = devs + + if entxt is None: + beep = self.bl(BeepLevel.YES) + entxt = Dgt.DISPLAY_TEXT(l=text_id, m=text_id, s=text_id, wait=False, beep=beep, maxtime=0, devs=devs) + logging.warning('unknown text_id %s', text_id) + if self.language == 'de' and detxt is not None: + return self.capital_text(detxt) + if self.language == 'nl' and nltxt is not None: + return self.capital_text(nltxt) + if self.language == 'fr' and frtxt is not None: + return self.capital_text(frtxt) + if self.language == 'es' and estxt is not None: + return self.capital_text(estxt) + if self.language == 'it' and ittxt is not None: + return self.capital_text(ittxt) + return self.capital_text(entxt) diff --git a/dgt/util.py b/dgt/util.py new file mode 100644 index 0000000..801d3fd --- /dev/null +++ b/dgt/util.py @@ -0,0 +1,645 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +try: + import enum +except ImportError: + import enum34 as enum + + +class MyEnum(enum.Enum): + + """Prevent __init__ problem Class.""" + + def __init__(self, *args): + pass + + +@enum.unique +class Top(MyEnum): + + """Top Class.""" + + MODE = 'B00_top_mode_menu' # Mode Menu + POSITION = 'B00_top_position_menu' # Setup position menu + TIME = 'B00_top_time_menu' # Time controls menu + BOOK = 'B00_top_book_menu' # Book menu + ENGINE = 'B00_top_engine_menu' # Engine menu + SYSTEM = 'B00_top_system_menu' # Settings menu + + +class TopLoop(object): + + """TopLoop Class.""" + + def __init__(self): + super(TopLoop, self).__init__() + + @staticmethod + def next(item: Top): + """Get next item.""" + if item == Top.MODE: + return Top.POSITION + elif item == Top.POSITION: + return Top.TIME + elif item == Top.TIME: + return Top.BOOK + elif item == Top.BOOK: + return Top.ENGINE + elif item == Top.ENGINE: + return Top.SYSTEM + elif item == Top.SYSTEM: + return Top.MODE + return 'errMenuNext' + + @staticmethod + def prev(item: Top): + """Get previous item.""" + if item == Top.MODE: + return Top.SYSTEM + elif item == Top.POSITION: + return Top.MODE + elif item == Top.TIME: + return Top.POSITION + elif item == Top.BOOK: + return Top.TIME + elif item == Top.ENGINE: + return Top.BOOK + elif item == Top.SYSTEM: + return Top.ENGINE + return 'errMenuPrev' + + +@enum.unique +class Mode(MyEnum): + + """Mode Class.""" + + NORMAL = 'B00_mode_normal_menu' + BRAIN = 'B00_mode_brain_menu' + ANALYSIS = 'B00_mode_analysis_menu' + KIBITZ = 'B00_mode_kibitz_menu' + OBSERVE = 'B00_mode_observe_menu' + REMOTE = 'B00_mode_remote_menu' + PONDER = 'B00_mode_ponder_menu' + + +class ModeLoop(object): + + """ModeLoop Class.""" + + def __init__(self): + super(ModeLoop, self).__init__() + + @staticmethod + def next(item: Mode): + """Get next item.""" + if item == Mode.NORMAL: + return Mode.BRAIN + if item == Mode.BRAIN: + return Mode.ANALYSIS + elif item == Mode.ANALYSIS: + return Mode.KIBITZ + elif item == Mode.KIBITZ: + return Mode.OBSERVE + elif item == Mode.OBSERVE: + return Mode.PONDER + elif item == Mode.PONDER: + return Mode.REMOTE + elif item == Mode.REMOTE: + return Mode.NORMAL + return 'errModeNext' + + @staticmethod + def prev(item: Mode): + """Get previous item.""" + if item == Mode.NORMAL: + return Mode.REMOTE + if item == Mode.BRAIN: + return Mode.NORMAL + elif item == Mode.ANALYSIS: + return Mode.BRAIN + elif item == Mode.KIBITZ: + return Mode.ANALYSIS + elif item == Mode.OBSERVE: + return Mode.KIBITZ + elif item == Mode.PONDER: + return Mode.OBSERVE + elif item == Mode.REMOTE: + return Mode.PONDER + return 'errModePrev' + + +@enum.unique +class PlayMode(MyEnum): + + """PlayMode Class.""" + + USER_WHITE = 'B10_playmode_white_user' + USER_BLACK = 'B10_playmode_black_user' + + +class TimeMode(MyEnum): + + """TimeMode Class.""" + + FIXED = 'B00_timemode_fixed_menu' # Fixed seconds per move + BLITZ = 'B00_timemode_blitz_menu' # Fixed time per game + FISCHER = 'B00_timemode_fischer_menu' # Fischer increment + + +class TimeModeLoop(object): + + """TimeModeLoop Class.""" + + def __init__(self): + super(TimeModeLoop, self).__init__() + + @staticmethod + def next(item: TimeMode): + """Get next item.""" + if item == TimeMode.FIXED: + return TimeMode.BLITZ + elif item == TimeMode.BLITZ: + return TimeMode.FISCHER + elif item == TimeMode.FISCHER: + return TimeMode.FIXED + return 'errTiMoNext' + + @staticmethod + def prev(item: TimeMode): + """Get previous item.""" + if item == TimeMode.FIXED: + return TimeMode.FISCHER + elif item == TimeMode.BLITZ: + return TimeMode.FIXED + elif item == TimeMode.FISCHER: + return TimeMode.BLITZ + return 'errTiMoPrev' + + +class System(MyEnum): + + """System Class.""" + + INFO = 'B00_system_info_menu' + SOUND = 'B00_system_sound_menu' + LANGUAGE = 'B00_system_language_menu' + LOGFILE = 'B00_system_logfile_menu' + VOICE = 'B00_system_voice_menu' + DISPLAY = 'B00_system_display_menu' + + +class SystemLoop(object): + + """SystemLoop Class.""" + + def __init__(self): + super(SystemLoop, self).__init__() + + @staticmethod + def next(item: System): + """Get next item.""" + if item == System.INFO: + return System.SOUND + elif item == System.SOUND: + return System.LANGUAGE + elif item == System.LANGUAGE: + return System.LOGFILE + elif item == System.LOGFILE: + return System.VOICE + elif item == System.VOICE: + return System.DISPLAY + elif item == System.DISPLAY: + return System.INFO + return 'errSystNext' + + @staticmethod + def prev(item: System): + """Get previous item.""" + if item == System.INFO: + return System.DISPLAY + if item == System.DISPLAY: + return System.VOICE + if item == System.VOICE: + return System.LOGFILE + if item == System.LOGFILE: + return System.LANGUAGE + if item == System.LANGUAGE: + return System.SOUND + elif item == System.SOUND: + return System.INFO + return 'errSystPrev' + + +class Info(MyEnum): + + """Info Class.""" + + VERSION = 'B00_info_version_menu' + IPADR = 'B00_info_ipadr_menu' + BATTERY = 'B00_info_battery_menu' + + +class InfoLoop(object): + + """InfoLoop Class.""" + + def __init__(self): + super(InfoLoop, self).__init__() + + @staticmethod + def next(item: Info): + """Get next item.""" + if item == Info.VERSION: + return Info.IPADR + elif item == Info.IPADR: + return Info.BATTERY + elif item == Info.BATTERY: + return Info.VERSION + return 'errInfoNext' + + @staticmethod + def prev(item: Info): + """Get previous item.""" + if item == Info.VERSION: + return Info.BATTERY + if item == Info.BATTERY: + return Info.IPADR + if item == Info.IPADR: + return Info.VERSION + return 'errInfoPrev' + + +class Language(MyEnum): + + """Language Class.""" + + EN = 'B00_language_en_menu' + DE = 'B00_language_de_menu' + NL = 'B00_language_nl_menu' + FR = 'B00_language_fr_menu' + ES = 'B00_language_es_menu' + IT = 'B00_language_it_menu' + + +class LanguageLoop(object): + + """LanguageLoop Class.""" + + def __init__(self): + super(LanguageLoop, self).__init__() + + @staticmethod + def next(item: Language): + """Get next item.""" + if item == Language.EN: + return Language.DE + elif item == Language.DE: + return Language.NL + elif item == Language.NL: + return Language.FR + elif item == Language.FR: + return Language.ES + elif item == Language.ES: + return Language.IT + elif item == Language.IT: + return Language.EN + return 'errLangNext' + + @staticmethod + def prev(item: Language): + """Get previous item.""" + if item == Language.EN: + return Language.IT + if item == Language.IT: + return Language.ES + if item == Language.ES: + return Language.FR + if item == Language.FR: + return Language.NL + elif item == Language.NL: + return Language.DE + elif item == Language.DE: + return Language.EN + return 'errLangPrev' + + +class Beep(MyEnum): + + """Beep Class.""" + + OFF = 'B00_beep_off_menu' + SOME = 'B00_beep_some_menu' + ON = 'B00_beep_on_menu' + + +class BeepLoop(object): + + """BeepLoop Class.""" + + def __init__(self): + super(BeepLoop, self).__init__() + + @staticmethod + def next(item: Beep): + """Get next item.""" + if item == Beep.OFF: + return Beep.SOME + elif item == Beep.SOME: + return Beep.ON + elif item == Beep.ON: + return Beep.OFF + return 'errBeepNext' + + @staticmethod + def prev(item: Beep): + if item == Beep.OFF: + return Beep.ON + if item == Beep.ON: + return Beep.SOME + if item == Beep.SOME: + return Beep.OFF + return 'errBeepPrev' + + +class Voice(MyEnum): + + """Voice Class.""" + + SPEED = 'B00_voice_speed_menu' + USER = 'B00_voice_user_menu' + COMP = 'B00_voice_comp_menu' + + +class VoiceLoop(object): + + """VoiceLoop Class.""" + + def __init__(self): + super(VoiceLoop, self).__init__() + + @staticmethod + def next(item: Voice): + """Get next item.""" + if item == Voice.SPEED: + return Voice.COMP + elif item == Voice.COMP: + return Voice.USER + elif item == Voice.USER: + return Voice.SPEED + return 'errVoicNext' + + @staticmethod + def prev(item: Voice): + """Get previous item.""" + if item == Voice.SPEED: + return Voice.USER + elif item == Voice.USER: + return Voice.COMP + elif item == Voice.COMP: + return Voice.SPEED + return 'errVoicPrev' + + +@enum.unique +class Display(MyEnum): + + """Display Class.""" + + PONDER = 'B00_display_ponder_menu' + CONFIRM = 'B00_display_confirm_menu' + CAPITAL = 'B00_display_capital_menu' + NOTATION = 'B00_display_notation_menu' + + +class DisplayLoop(object): + + """DisplayLoop Class.""" + + def __init__(self): + super(DisplayLoop, self).__init__() + + @staticmethod + def next(item: Display): + """Get next item.""" + if item == Display.PONDER: + return Display.CONFIRM + elif item == Display.CONFIRM: + return Display.CAPITAL + elif item == Display.CAPITAL: + return Display.NOTATION + elif item == Display.NOTATION: + return Display.PONDER + return 'errDispNext' + + @staticmethod + def prev(item: Display): + """Get previous item.""" + if item == Display.NOTATION: + return Display.CAPITAL + elif item == Display.CAPITAL: + return Display.CONFIRM + elif item == Display.CONFIRM: + return Display.PONDER + elif item == Display.PONDER: + return Display.NOTATION + return 'errDispPrev' + + +@enum.unique +class GameResult(MyEnum): + + """Game end result.""" + + MATE = 'B00_gameresult_mate' + STALEMATE = 'B00_gameresult_stalemate' + OUT_OF_TIME = 'B00_gameresult_time' + INSUFFICIENT_MATERIAL = 'B00_gameresult_material' + SEVENTYFIVE_MOVES = 'B00_gameresult_moves' + FIVEFOLD_REPETITION = 'B00_gameresult_repetition' + ABORT = 'B00_gameresult_abort' + WIN_WHITE = 'B00_gameresult_white' + WIN_BLACK = 'B00_gameresult_black' + DRAW = 'B00_gameresult_draw' + + +@enum.unique +class BeepLevel(MyEnum): + + """Define the beep level for each beep event.""" + + YES = 0x0f # Always ON + NO = 0x00 # Always OFF + CONFIG = 0x01 # Takeback, GameEnd, NewGame, ComputerMove and SetPieces + BUTTON = 0x02 # All Events coming from button press + MAP = 0x04 # All Events coming from Queen placing at start pos (line3-6) + OKAY = 0x08 # All Events from "ok" (confirm) messages + + +@enum.unique +class ClockSide(MyEnum): + + """Side to display the message.""" + + LEFT = 0x01 + RIGHT = 0x02 + NONE = 0x04 + + +@enum.unique +class ClockIcons(MyEnum): + + """DGT clock icons.""" + + NONE = 0x00 + COLON = 0x08 + DOT = 0x10 + + +@enum.unique +class DgtCmd(MyEnum): + + """COMMAND CODES FROM PC TO BOARD.""" + + # Commands not resulting in returning messages: + DGT_SEND_RESET = 0x40 # Puts the board in IDLE mode, cancelling any UPDATE mode + DGT_STARTBOOTLOADER = 0x4e # Makes a long jump to the FC00 boot loader code. Start FLIP now + # Commands resulting in returning message(s): + DGT_SEND_CLK = 0x41 # Results in a DGT_MSG_BWTIME message + DGT_SEND_BRD = 0x42 # Results in a DGT_MSG_BOARD_DUMP message + DGT_SEND_UPDATE = 0x43 # Results in DGT_MSG_FIELD_UPDATE messages and DGT_MSG_BWTIME messages + # as long as the board is in UPDATE mode + DGT_SEND_UPDATE_BRD = 0x44 # Results in DGT_MSG_FIELD_UPDATE messages as long as the board is in UPDATE_BOARD mode + DGT_RETURN_SERIALNR = 0x45 # Results in a DGT_MSG_SERIALNR message + DGT_RETURN_BUSADRES = 0x46 # Results in a DGT_MSG_BUSADRES message + DGT_SEND_TRADEMARK = 0x47 # Results in a DGT_MSG_TRADEMARK message + DGT_SEND_EE_MOVES = 0x49 # Results in a DGT_MSG_EE_MOVES message + DGT_SEND_UPDATE_NICE = 0x4b # Results in DGT_MSG_FIELD_UPDATE messages and DGT_MSG_BWTIME messages, + # the latter only at time changes, as long as the board is in UPDATE_NICE mode + DGT_SEND_BATTERY_STATUS = 0x4c # New command for bluetooth board. Requests the battery status from the board. + DGT_SEND_VERSION = 0x4d # Results in a DGT_MSG_VERSION message + DGT_SEND_BRD_50B = 0x50 # Results in a DGT_MSG_BOARD_DUMP_50 message: only the black squares + DGT_SCAN_50B = 0x51 # Sets the board in scanning only the black squares. This is written in EEPROM + DGT_SEND_BRD_50W = 0x52 # Results in a DGT_MSG_BOARD_DUMP_50 message: only the black squares + DGT_SCAN_50W = 0x53 # Sets the board in scanning only the black squares. This is written in EEPROM. + DGT_SCAN_100 = 0x54 # Sets the board in scanning all squares. This is written in EEPROM + DGT_RETURN_LONG_SERIALNR = 0x55 # Results in a DGT_LONG_SERIALNR message + DGT_SET_LEDS = 0x60 # Only for the Revelation II to switch a LED pattern on. This is a command that + # has three extra bytes with data. + # Clock commands, returns ACK message if mode is in UPDATE or UPDATE_NICE + DGT_CLOCK_MESSAGE = 0x2b # This message contains a command for the clock. + + +class DgtClk(MyEnum): + + """DESCRIPTION OF THE COMMANDS FROM BOARD TO PC.""" + + DGT_CMD_CLOCK_DISPLAY = 0x01 # This command can control the segments of six 7-segment characters, + # two dots, two semicolons and the two '1' symbols. + DGT_CMD_CLOCK_ICONS = 0x02 # Used to control the clock icons like flags etc. + DGT_CMD_CLOCK_END = 0x03 # This command clears the message and brings the clock back to the + # normal display (showing clock times). + DGT_CMD_CLOCK_BUTTON = 0x08 # Requests the current button pressed (if any). + DGT_CMD_CLOCK_VERSION = 0x09 # This commands requests the clock version. + DGT_CMD_CLOCK_SETNRUN = 0x0a # This commands controls the clock times and counting direction, when + # the clock is in mode 23. A clock can be paused or counting down. But + # counting up isn't supported on current DGT XL's (1.14 and lower) yet. + DGT_CMD_CLOCK_BEEP = 0x0b # This clock command turns the beep on, for a specified time (64ms * byte 5) + DGT_CMD_CLOCK_ASCII = 0x0c # This clock command sends a ASCII message to the clock that + # can be displayed only by the DGT3000 clock. + DGT_CMD_REV2_ASCII = 0x0d # This rev2 command sends a ASCII message to the clock that + # can be displayed only by the Revelation 2 with firmware >=3.24H. + DGT_CMD_CLOCK_START_MESSAGE = 0x03 + DGT_CMD_CLOCK_END_MESSAGE = 0x00 + + +class DgtAck(MyEnum): + + """DESCRIPTION OF THE ACKNOWLEDGMENTS FROM BOARD TO PC.""" + + DGT_ACK_CLOCK_DISPLAY = 0x01 # Display ack + DGT_ACK_CLOCK_ICON = 0x02 + DGT_ACK_CLOCK_END = 0x03 + DGT_ACK_CLOCK_BUTTON_NONE = 0x08 # Buttons ack, but no button information is returned though + DGT_ACK_CLOCK_VERSION = 0x09 # Version ack. ack2>>4 is main version, ack2&0x0f is sub version + DGT_ACK_CLOCK_SETNRUN = 0x0a # SetNRun ack + DGT_ACK_CLOCK_BEEP = 0x0b # Beep ack + DGT_ACK_CLOCK_ASCII = 0x0c + DGT_ACK_CLOCK_READY = 0x81 + DGT_ACK_CLOCK_BUTTON = 0x88 # Ack of a clock button + DGT_ACK_CLOCK_MODE = 0x8a + DGT_ACK_CLOCK_NOT_IN_MODE = 0x90 + + +class DgtMsg(enum.IntEnum): + + """DESCRIPTION OF THE MESSAGES FROM BOARD TO PC.""" + + MESSAGE_BIT = 0x80 # The Message ID is the logical OR of MESSAGE_BIT and ID code + # ID codes + DGT_NONE = 0x00 + DGT_BOARD_DUMP = 0x06 + DGT_BWTIME = 0x0d + DGT_FIELD_UPDATE = 0x0e + DGT_EE_MOVES = 0x0f + DGT_BUSADRES = 0x10 + DGT_SERIALNR = 0x11 + DGT_TRADEMARK = 0x12 + DGT_VERSION = 0x13 + DGT_BOARD_DUMP_50B = 0x14 # Added for Draughts board + DGT_BOARD_DUMP_50W = 0x15 # Added for Draughts board + DGT_BATTERY_STATUS = 0x20 # Added for Bluetooth board + DGT_LONG_SERIALNR = 0x22 # Added for Bluetooth board + # DGT_MSG_BOARD_DUMP is the message that follows on a DGT_SEND_BOARD command + DGT_MSG_BOARD_DUMP = (MESSAGE_BIT | DGT_BOARD_DUMP) + DGT_SIZE_BOARD_DUMP = 67 + DGT_SIZE_BOARD_DUMP_DRAUGHTS = 103 + DGT_MSG_BOARD_DUMP_50B = (MESSAGE_BIT | DGT_BOARD_DUMP_50B) + DGT_SIZE_BOARD_DUMP_50B = 53 + DGT_MSG_BOARD_DUMP_50W = (MESSAGE_BIT | DGT_BOARD_DUMP_50W) + DGT_SIZE_BOARD_DUMP_50W = 53 + DGT_MSG_BWTIME = (MESSAGE_BIT | DGT_BWTIME) + DGT_SIZE_BWTIME = 10 + DGT_MSG_FIELD_UPDATE = (MESSAGE_BIT | DGT_FIELD_UPDATE) + DGT_SIZE_FIELD_UPDATE = 5 + DGT_MSG_TRADEMARK = (MESSAGE_BIT | DGT_TRADEMARK) + DGT_MSG_BUSADRES = (MESSAGE_BIT | DGT_BUSADRES) + DGT_SIZE_BUSADRES = 5 + DGT_MSG_SERIALNR = (MESSAGE_BIT | DGT_SERIALNR) + DGT_SIZE_SERIALNR = 8 + DGT_MSG_LONG_SERIALNR = (MESSAGE_BIT | DGT_LONG_SERIALNR) + DGT_SIZE_LONG_SERIALNR = 13 + DGT_MSG_VERSION = (MESSAGE_BIT | DGT_VERSION) + DGT_SIZE_VERSION = 5 + DGT_MSG_BATTERY_STATUS = (MESSAGE_BIT | DGT_BATTERY_STATUS) + DGT_SIZE_BATTERY_STATUS = 7 + DGT_MSG_EE_MOVES = (MESSAGE_BIT | DGT_EE_MOVES) + # Definition of the one-byte EEPROM message codes + EE_POWERUP = 0x6a + EE_EOF = 0x6b + EE_FOURROWS = 0x6c + EE_EMPTYBOARD = 0x6d + EE_DOWNLOADED = 0x6e + EE_BEGINPOS = 0x6f + EE_BEGINPOS_ROT = 0x7a + EE_START_TAG = 0x7b + EE_WATCHDOG_ACTION = 0x7c + EE_FUTURE_1 = 0x7d + EE_FUTURE_2 = 0x7e + EE_NOP = 0x7f + EE_NOP2 = 0x00 diff --git a/dispatcher.py b/dispatcher.py new file mode 100644 index 0000000..4647ec4 --- /dev/null +++ b/dispatcher.py @@ -0,0 +1,189 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import logging +import queue +from threading import Timer, Thread, Lock +from copy import deepcopy + +from utilities import DisplayDgt, DispatchDgt, dispatch_queue +from dgt.api import Dgt, DgtApi +from dgt.menu import DgtMenu + + +class Dispatcher(DispatchDgt, Thread): + + """A dispatcher taking the dispatch_queue and fill dgt_queue with the commands in time.""" + + def __init__(self, dgtmenu: DgtMenu): + super(Dispatcher, self).__init__() + + self.dgtmenu = dgtmenu + self.devices = set() + self.maxtimer = {} + self.maxtimer_running = {} + self.clock_connected = {} + self.time_factor = 1 # This is for testing the duration - remove it lateron! + self.tasks = {} # delayed task array + + self.display_hash = {} # Hash value of clock's display + self.process_lock = {} + + def register(self, device: str): + """Register new device to send DgtApi messsages.""" + logging.debug('device %s registered', device) + self.devices.add(device) + self.maxtimer[device] = None + self.maxtimer_running[device] = False + self.clock_connected[device] = False + self.process_lock[device] = Lock() + self.tasks[device] = [] + self.display_hash[device] = None + + def is_prio_device(self, dev, connect): + """Return the most prio registered device.""" + logging.debug('(%s) clock connected: %s', dev, connect) + if not connect: + return False + if 'i2c' in self.devices: + return 'i2c' == dev + if 'ser' in self.devices: + return 'ser' == dev + return 'web' == dev + + def _stopped_maxtimer(self, dev: str): + self.maxtimer_running[dev] = False + self.dgtmenu.disable_picochess_displayed(dev) + + if dev not in self.devices: + logging.debug('delete not registered (%s) tasks', dev) + self.tasks[dev] = [] + return + if self.tasks[dev]: + logging.debug('processing delayed (%s) tasks: %s', dev, self.tasks[dev]) + else: + logging.debug('(%s) max timer finished - returning to time display', dev) + DisplayDgt.show(Dgt.DISPLAY_TIME(force=False, wait=True, devs={dev})) + while self.tasks[dev]: + logging.debug('(%s) tasks has %i members', dev, len(self.tasks[dev])) + try: + message = self.tasks[dev].pop(0) + except IndexError: + break + with self.process_lock[dev]: + self._process_message(message, dev) + if self.maxtimer_running[dev]: # run over the task list until a maxtime command was processed + remaining = len(self.tasks[dev]) + if remaining: + logging.debug('(%s) tasks stopped on %i remaining members', dev, remaining) + else: + logging.debug('(%s) tasks completed', dev) + break + + def _process_message(self, message, dev: str): + do_handle = True + if repr(message) in (DgtApi.CLOCK_START, DgtApi.CLOCK_STOP, DgtApi.DISPLAY_TIME): + self.display_hash[dev] = None # Cant know the clock display if command changing the running status + else: + if repr(message) in (DgtApi.DISPLAY_MOVE, DgtApi.DISPLAY_TEXT): + if self.display_hash[dev] == hash(message) and not message.beep: + do_handle = False + else: + self.display_hash[dev] = hash(message) + + if do_handle: + logging.debug('(%s) handle DgtApi: %s', dev, message) + if repr(message) == DgtApi.CLOCK_VERSION: + logging.debug('(%s) clock registered', dev) + self.clock_connected[dev] = True + + clk = (DgtApi.DISPLAY_MOVE, DgtApi.DISPLAY_TEXT, DgtApi.DISPLAY_TIME, + DgtApi.CLOCK_SET, DgtApi.CLOCK_START, DgtApi.CLOCK_STOP) + if repr(message) in clk and not self.clock_connected[dev]: + logging.debug('(%s) clock still not registered => ignore %s', dev, message) + return + if hasattr(message, 'maxtime'): + if repr(message) == DgtApi.DISPLAY_TEXT: + #if message.maxtime == 2.1: # 2.1=picochess message + # self.dgtmenu.enable_picochess_displayed(dev) + if self.dgtmenu.inside_updt_menu(): + if message.maxtime == 0.1: # 0.1=eBoard error + logging.debug('(%s) inside update menu => board errors not displayed', dev) + return + if message.maxtime == 1.1: # 1.1=eBoard connect + logging.debug('(%s) inside update menu => board connect not displayed', dev) + return + if message.maxtime > 0.1: # filter out "all the time" show and "eBoard error" messages + self.maxtimer[dev] = Timer(message.maxtime * self.time_factor, self._stopped_maxtimer, [dev]) + self.maxtimer[dev].start() + logging.debug('(%s) showing %s for %.1f secs', dev, message, message.maxtime * self.time_factor) + self.maxtimer_running[dev] = True + if repr(message) == DgtApi.CLOCK_START and self.dgtmenu.inside_updt_menu(): + logging.debug('(%s) inside update menu => clock not started', dev) + return + message.devs = {dev} # on new system, we only have ONE device each message - force this! + DisplayDgt.show(message) + else: + logging.debug('(%s) hash ignore DgtApi: %s', dev, message) + + def stop_maxtimer(self, dev): + """Stop the maxtimer.""" + if self.maxtimer_running[dev]: + self.maxtimer[dev].cancel() + self.maxtimer[dev].join() + self.maxtimer_running[dev] = False + self.dgtmenu.disable_picochess_displayed(dev) + + def run(self): + """Call by threading.Thread start() function.""" + logging.info('dispatch_queue ready') + while True: + # Check if we have something to display + try: + msg = dispatch_queue.get() + logging.debug('received command from dispatch_queue: %s devs: %s', msg, ','.join(msg.devs)) + + for dev in msg.devs & self.devices: + message = deepcopy(msg) + if self.maxtimer_running[dev]: + if hasattr(message, 'wait'): + if message.wait: + self.tasks[dev].append(message) + logging.debug('(%s) tasks delayed: %s', dev, self.tasks[dev]) + continue + else: + logging.debug('ignore former maxtime - dev: %s', dev) + self.stop_maxtimer(dev) + if self.tasks[dev]: + logging.debug('delete following (%s) tasks: %s', dev, self.tasks[dev]) + while self.tasks[dev]: # but do the last CLOCK_START() + command = self.tasks[dev].pop() + if repr(command) == DgtApi.CLOCK_START: # clock might be in set mode + logging.debug('processing (last) delayed clock start command') + with self.process_lock[dev]: + self._process_message(command, dev) + break + self.tasks[dev] = [] + else: + logging.debug('command doesnt change the clock display => (%s) max timer ignored', dev) + else: + logging.debug('(%s) max timer not running => processing command: %s', dev, message) + + with self.process_lock[dev]: + self._process_message(message, dev) + except queue.Empty: + pass diff --git a/docs/community.rst b/docs/community.rst new file mode 100644 index 0000000..0b0e57c --- /dev/null +++ b/docs/community.rst @@ -0,0 +1,19 @@ +Community +========= + +Forum +----- + +You are encouraged to join the `PicoChess group `_. + + +Issues and bugs +--------------- + +If you find an issue or bug, please report it `here `_. + +Help needed +----------- + +If you would like to be part of this great project feel free to join. We are always looking for people who test our software or help to develop it further. +The code is mainly in python3 (with some javascript). You might also help with testing or on the documention ;-) diff --git a/docs/conf.py b/docs/conf.py new file mode 100644 index 0000000..6bcbc79 --- /dev/null +++ b/docs/conf.py @@ -0,0 +1,262 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# PicoChess documentation build configuration file, created by +# sphinx-quickstart on Mon Aug 11 20:28:47 2014. +# +# This file is execfile()d with the current directory set to its +# containing dir. +# +# Note that not all possible configuration values are present in this +# autogenerated file. +# +# All configuration values have a default; values that are commented out +# serve to show the default. + +import sys +import os + +# If extensions (or modules to document with autodoc) are in another directory, +# add these directories to sys.path here. If the directory is relative to the +# documentation root, use os.path.abspath to make it absolute, like shown here. +# sys.path.insert(0, os.path.abspath('.')) + +# -- General configuration ------------------------------------------------ + +# If your documentation needs a minimal Sphinx version, state it here. +# needs_sphinx = '1.0' + +# Add any Sphinx extension module names here, as strings. They can be +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom +# ones. +extensions = [ + 'sphinx.ext.todo', + 'sphinx.ext.viewcode', +] + +# Add any paths that contain templates here, relative to this directory. +templates_path = ['_templates'] + +# The suffix of source filenames. +source_suffix = '.rst' + +# The encoding of source files. +# source_encoding = 'utf-8-sig' + +# The master toctree document. +master_doc = 'index' + +# General information about the project. +project = 'PicoChess' +copyright = u'2014-2017, Jean-Francois Romang, Shivkumar Shivaji, Jürgen Précour' + +# The version info for the project you're documenting, acts as replacement for +# |version| and |release|, also used in various other places throughout the +# built documents. +# +# The short X.Y version. +version = '0.9' +# The full version, including alpha/beta/rc tags. +release = '0.9' + +# The language for content autogenerated by Sphinx. Refer to documentation +# for a list of supported languages. +# language = None + +# There are two options for replacing |today|: either, you set today to some +# non-false value, then it is used: +# today = '' +# Else, today_fmt is used as the format for a strftime call. +# today_fmt = '%B %d, %Y' + +# List of patterns, relative to source directory, that match files and +# directories to ignore when looking for source files. +exclude_patterns = ['_build'] + +# The reST default role (used for this markup: `text`) to use for all +# documents. +# default_role = None + +# If true, '()' will be appended to :func: etc. cross-reference text. +# add_function_parentheses = True + +# If true, the current module name will be prepended to all description +# unit titles (such as .. function::). +# add_module_names = True + +# If true, sectionauthor and moduleauthor directives will be shown in the +# output. They are ignored by default. +# show_authors = False + +# The name of the Pygments (syntax highlighting) style to use. +pygments_style = 'sphinx' + +# A list of ignored prefixes for module index sorting. +# modindex_common_prefix = [] + +# If true, keep warnings as "system message" paragraphs in the built documents. +# keep_warnings = False + + +# -- Options for HTML output ---------------------------------------------- + +# The theme to use for HTML and HTML Help pages. See the documentation for +# a list of builtin themes. +html_theme = 'default' + +# Theme options are theme-specific and customize the look and feel of a theme +# further. For a list of options available for each theme, see the +# documentation. +# html_theme_options = {} + +# Add any paths that contain custom themes here, relative to this directory. +# html_theme_path = [] + +# The name for this set of Sphinx documents. If None, it defaults to +# " v documentation". +# html_title = None + +# A shorter title for the navigation bar. Default is the same as html_title. +# html_short_title = None + +# The name of an image file (relative to this directory) to place at the top +# of the sidebar. +# html_logo = None + +# The name of an image file (within the static path) to use as favicon of the +# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 +# pixels large. +# html_favicon = None + +# Add any paths that contain custom static files (such as style sheets) here, +# relative to this directory. They are copied after the builtin static files, +# so a file named "default.css" will overwrite the builtin "default.css". +html_static_path = ['_static'] + +# Add any extra paths that contain custom files (such as robots.txt or +# .htaccess) here, relative to this directory. These files are copied +# directly to the root of the documentation. +# html_extra_path = [] + +# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, +# using the given strftime format. +# html_last_updated_fmt = '%b %d, %Y' + +# If true, SmartyPants will be used to convert quotes and dashes to +# typographically correct entities. +# html_use_smartypants = True + +# Custom sidebar templates, maps document names to template names. +# html_sidebars = {} + +# Additional templates that should be rendered to pages, maps page names to +# template names. +# html_additional_pages = {} + +# If false, no module index is generated. +# html_domain_indices = True + +# If false, no index is generated. +# html_use_index = True + +# If true, the index is split into individual pages for each letter. +# html_split_index = False + +# If true, links to the reST sources are added to the pages. +# html_show_sourcelink = True + +# If true, "Created using Sphinx" is shown in the HTML footer. Default is True. +# html_show_sphinx = True + +# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. +# html_show_copyright = True + +# If true, an OpenSearch description file will be output, and all pages will +# contain a tag referring to it. The value of this option must be the +# base URL from which the finished HTML is served. +# html_use_opensearch = '' + +# This is the file name suffix for HTML files (e.g. ".xhtml"). +# html_file_suffix = None + +# Output file base name for HTML help builder. +htmlhelp_basename = 'PicoChessdoc' + + +# -- Options for LaTeX output --------------------------------------------- + +latex_elements = { + # The paper size ('letterpaper' or 'a4paper'). + # 'papersize': 'letterpaper', + + # The font size ('10pt', '11pt' or '12pt'). + # 'pointsize': '10pt', + + # Additional stuff for the LaTeX preamble. + # 'preamble': '', +} + +# Grouping the document tree into LaTeX files. List of tuples +# (source start file, target name, title, +# author, documentclass [howto, manual, or own class]). +latex_documents = [ + ('index', 'PicoChess.tex', 'PicoChess Documentation', + 'Jean-Francois Romang, Shivkumar Shivaji', 'Jürgen Précour', 'manual'), +] + +# The name of an image file (relative to this directory) to place at the top of +# the title page. +# latex_logo = None + +# For "manual" documents, if this is true, then toplevel headings are parts, +# not chapters. +# latex_use_parts = False + +# If true, show page references after internal links. +# latex_show_pagerefs = False + +# If true, show URL addresses after external links. +# latex_show_urls = False + +# Documents to append as an appendix to all manuals. +# latex_appendices = [] + +# If false, no module index is generated. +# latex_domain_indices = True + + +# -- Options for manual page output --------------------------------------- + +# One entry per manual page. List of tuples +# (source start file, name, description, authors, manual section). +man_pages = [ + ('index', 'picochess', 'PicoChess Documentation', + ['Jean-Francois Romang, Shivkumar Shivaji', 'Jürgen Précour'], 1) +] + +# If true, show URL addresses after external links. +# man_show_urls = False + + +# -- Options for Texinfo output ------------------------------------------- + +# Grouping the document tree into Texinfo files. List of tuples +# (source start file, target name, title, author, +# dir menu entry, description, category) +texinfo_documents = [ + ('index', 'PicoChess', 'PicoChess Documentation', + 'Jean-Francois Romang, Shivkumar Shivaji', 'Jürgen Précour', 'PicoChess', + 'Stand alone chess computer based on Raspberry Pi and DGT electronic chess board.', 'Miscellaneous'), +] + +# Documents to append as an appendix to all manuals. +# texinfo_appendices = [] + +# If false, no module index is generated. +# texinfo_domain_indices = True + +# How to display URL addresses: 'footnote', 'no', or 'inline'. +# texinfo_show_urls = 'footnote' + +# If true, do not generate a @detailmenu in the "Top" node's menu. +# texinfo_no_detailmenu = False diff --git a/docs/index.rst b/docs/index.rst new file mode 100644 index 0000000..6f58d9d --- /dev/null +++ b/docs/index.rst @@ -0,0 +1,22 @@ +.. PicoChess documentation master file, created by + sphinx-quickstart on Mon Aug 11 20:28:47 2014. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + +Welcome to PicoChess's documentation ! +====================================== +Stand alone chess computer based on Stockfish and DGT board + +.. image :: https://dl.dropboxusercontent.com/u/3042900/IMGP0232_r.png + +Contents +-------- + +.. toctree:: + :maxdepth: 2 + + introduction + installation + usage + community + source diff --git a/docs/installation.rst b/docs/installation.rst new file mode 100644 index 0000000..2af489f --- /dev/null +++ b/docs/installation.rst @@ -0,0 +1,281 @@ +Installation +============ + +Easy method : using image files +------------------------------- + +This is the easiest installation method, supported on the `Raspberry Pi `_. +Many other ARM boards can run picochess (like the powerful `Odroid-XU4 `_), +but you will need to do a `manual-install-label`_. + +You will have to download and install the latest PicoChess image file from the `PicoChess downloads `_ and write it +to an SD card or to a micro SD card. + +You will need to unzip the image with `7zip `_ and write it to a suitable SD card +using the UNIX tool `dd `_. +Windows users should use `Win32DiskImager `_. Mac OS X users should use `ApplePi-Baker `_. Do not try to drag and drop or otherwise copy over the image +without using dd or Win32DiskImager or ApplePi-Baker – it won’t work. + +After booting from the new image, you might want to tinker with the machine (i.e. set defaults in the picochess.ini file or install alternative engines). This is done by connecting via ssh: + +1. On Raspberry Pi, the hostname on local network is 'raspberrypi.local', username:pi, pass:picochess. + +2. On Odroid, the hostname on local network is 'odroid.local', username:odroid, pass:odroid. + + +Copying the image to an SD Card on Windows +------------------------------------------ + +1. Insert the SD card into your SD card reader and check what drive letter it was assigned. You can easily see the drive letter (for example G:) by looking in the left column of Windows Explorer. If the card is not new, you should format it; otherwise Win32DiskImager may hang. + +2. Download the `Win32DiskImager utility `_. + +3. Extract the Win32DiskImager executable from the zip file. Note: the PicoChess file after extraction should end in .img. Prior to extraction, it ends in .xz. + +4. Run the Win32DiskImager utility. You may need to run the utility as Administrator. + +5. Select the Picochess-RaspberryPix-vx.xx.img image file you extracted earlier. + +6. Select the drive letter of the SD card in the device box. Be careful to select the correct drive; if you get the wrong one you can destroy your computer's hard disk! + +7. Click Write and wait for the write to complete. + +8. Exit the imager and eject the SD card. + +Copying the image to an SD Card on Linux +---------------------------------------- + +1. The following commands should be executed as root. It's popular to prefix the commands with 'sudo', but you can also become root apriori by using the command (may vary depending on distribution): sudo su + +2. Plug in your SD card and then use the following command to see which /dev/ node it's located on (be sure of this!): fdisk -l + +3. Unmount the disk (using /dev/sba as example, verify with step 2): umount /dev/sba* + +4. Use the 'dd' command to copy the image file to the entire disk: dd if=picochess-MK802II-vx.x.img of=/dev/sba bs=16M + +5. After the previous step is complete, execute "sudo sync" to ensure that the data is fully written before you eject. + +6. Eject the card. + +Copying the image to an SD Card on Mac OS X +------------------------------------------- + +1. Insert the SD card into your SD card reader. + +2. Download the `ApplePi-Baker utility `_. + +3. Start the ApplePi-Baker utility. You will be asked for your administrator password. + +4. Under "Pi-Crust", select the SD card. + +5. Under "Pi-Ingredients", select the Picochess-RaspberryPix-vx.xx.img file you extracted earlier (press the "..." button to locate the image file). + +6. Press "Restore Backup" to start writing the PicoChess image file to the SD card. Wait for the write to complete. + +7. Exit ApplePi-Baker and eject the SD-card. + +Alternatively, if you prefer working with Terminal commands, you can follow the following procedure. + +1. The following commands should be executed as root. It's popular to prefix the commands with 'sudo', but you can also become root apriori by using the command: sudo su + +2. Plug in your SD card and then use the following command to see which /dev/ node it's located on (be sure of this!): diskutil list + +3. Unmount the disk where "N" is the number of the disk taken from the above command: diskutil unmountDisk /dev/diskN If the above command was successful, you will see: Unmount of all volumes on diskN was successful + +4. Use the 'dd' command to copy the image file to the entire disk: dd if=picochess-MK802II-vx.x.img of=/dev/rdiskN bs=16m Note: rdiskN (raw disk) is far faster than diskN on Mac OS X. Alternatively pv picochess-MK802II-vx.x.img | dd of=/dev/rdiskN bs=100m allows one to see progress during the write. + +5. After the previous step is complete, execute "sudo sync" to ensure that the data is fully written before you eject. + +6. Eject the card. + + +.. _manual-install-label: + +Manual installation +------------------- + +1. **Prerequisites** + + PicoChess is mainly targetted for small devices like the `Raspberry Pi `_, + however it also runs on a desktop computer (Linux, Mac OS X, Windows). You will need to install this first: + + * `Python 3.4 or newer (also comes with pip) `_ + (on Mac OS X, ``brew install python3``) + + * `git `_ (``sudo apt-get install git``, git executable has to be in the system PATH) + + * zeroconf (``sudo apt-get install avahi-daemon avahi-discover libnss-mdns``, included on Mac OS X) + + * espeak and festival (``sudo apt-get install espeak festival``) to enable voice for versions < 0.79 + + * vorbis-tools (``sudo apt-get install vorbis-tools``) to enable voice for versions >= 0.79 + + * sox (``sudo apt-get install sox``) to enable voice speed for versions >= 0.88 + + * develop libraries (``sudo apt-get install python3-dev libffi-dev libssl-dev``) + +2. **Get a copy of the source code** + + ``cd /opt`` + + ``sudo git clone --branch master https://github.com/jromang/picochess.git`` + + ``cd picochess`` + +3. **Recommended step for developers: Install virtualenv** + + Virtualenv provides clean and isolated development environments for your + Python projects (``pip3 install virtualenv`` or + ``apt-get install virtualenv``). + + Initialize a new environment: ``virtualenv -p python3 venv`` + + Activate the environment: ``source venv/bin/activate`` + + No need to use sudo to install Python packages now. + + See `The Hitchhiker's Guide to Python `_ + for more information about virtual environments. + +4. **Install dependencies** + + To install the dependencies, you need to use pip3. If you are using Raspbian Jessie, your pip3 installation is + probably outdated, resulting in IncompleteRead errors. You can update pip3 as follows: + + ``cd`` + + ``curl -O https://bootstrap.pypa.io/get-pip.py`` + + ``sudo python3 get-pip.py`` + + ``rm get-pip.py`` + + Once you have an up-to-date version of pip3 installed, you can continue to install the PicoChess dependencies: + + ``cd /opt/picochess`` + + ``sudo pip3 install --upgrade -r requirements.txt`` + +5. **Build config files** + + Initialize the config files: + + ``sudo python3 ./build/engines.py`` + ``sudo python3 ./build/books.py`` + ``sudo python3 ./build/voices.py`` + +6. **Copy the dgtpi services into the correct place (ONLY needed if you have a DGTPi chess computer)** + + ``cd /opt/picochess/etc`` + + ``sudo cp dgtpi.service /etc/systemd/system`` + + ``sudo chmod a+x /etc/systemd/system/dgtpi.service`` + + ``sudo systemctl enable dgtpi`` + + ``sudo cp dgtpistandby.service /etc/systemd/system`` + + ``sudo cp dgtpistandby.target /etc/systemd/system`` + + ``sudo chmod a+x /etc/systemd/system/dgtpistandby.service`` + + ``sudo systemctl enable dgtpistandby`` + +7. **Copy the picochess services into the correct place (ONLY needed if you want picochess to startup automatically)** + + ``cd /opt/picochess/etc`` + + ``sudo cp picochess.service /etc/systemd/system`` + + ``sudo chmod a+x /etc/systemd/system/picochess.service`` + + ``sudo systemctl enable picochess`` + + ``sudo cp hciuart.service /lib/systemd/system`` + + ``sudo reboot`` + +8. **Run PicoChess: automatically or from the command line** + + If installed correctly, PicoChess will start automatically at boot (as a service see 6+7). + You can also start PicoChess from the command line in standard mode or in console mode (use "console" flag for this). + + PicoChess has a lot of options. Type ``sudo python3 /opt/picochess/picochess.py -h`` for a list. + +Make picochess sound better +--------------------------- +If your output from the RPi audio jack socket is quite low and buzzes a lot add the following line to /boot/config.txt +``audio_pwm_mode=2`` +Afterwards type ``sudo reboot``. + +To make the volume instantly louder (it will also be kept after the reboot) type ``amixer sset PCM,0 90%`` +Obviously the percentage can be set to any number, but 100% is too loud. + +Bluetooth Connection +-------------------- + +Bluetooth connection should work out of the box. If it does not, then you can try the following troubleshooting steps: + +1. Install Bluetooth utilities and Bluetooth Manager (in Raspbian Wheezy: sudo apt-get install bluez-utils blueman). + +2. Connect the Bluetooth dongle and restart the Pi. + +3. Start the GUI: + + startx + +4. Go to Preferences/Bluetooth Manager. + +5. Click Search to find your device, right click and connect. + +6. For Revelation II use the prepared pin 1234, for DGT bluetooth eboard 0000. + +7. Then click to connect as a serial device. + +8. Back on the Bluetooth Manager right click on the device again and click trusted. Job done! + +9. Open Terminal app and shut down the machine: + + sudo shutdown -h -P now + +10. Restart the Pi without the keyboard and monitor and tada! the connection should work. + +For more information check this `forum post `_. + +Initial Settings +---------------- + +At start PicoChess looks at the file + +/opt/picochess/picochess.ini + +... and sets itself up accordingly. Here is a list of some available options: + +* disable-revelation-leds = true +* log-level = debug +* log-file = /opt/picochess/picochess.log +* user-voice = en:al +* computer-voice = en:christina +* disable-confirm-message + +To set a particular setting, simply include the appropriate line in the picochess.ini file. +For example, to the disable default confirmation message, include this line in picochess.ini: + +disable-confirm-message + +To remove a setting, delete the appropriate line or comment it out using the hash character (#) or set the option to false. +For example, to turn OFF the LED's on the Revelation II chessbot, this line will do: + +disable-revelation-leds = true + +UCI engine options can be set in the engines.uci configuration file which you will find in the +/opt/picochess/engines/ folder. To set the option, use the uci-option flag. + +An example .ini file can be found at /opt/picochess/picochess.ini.example. +Uncomment the appropriate options and rename the file to picochess.ini. + +Please keep in mind that your picochess.ini file must suit the version of picochess. +Old picochess.ini versions might not work with newer versions of picochess (picochess.ini.example is always valid). +If you update picochess by hand or by providing the "enable-update" flag please take a look for changed settings and +update picochess.ini accordingly. diff --git a/docs/introduction.rst b/docs/introduction.rst new file mode 100644 index 0000000..da46a0a --- /dev/null +++ b/docs/introduction.rst @@ -0,0 +1,36 @@ +Introduction +============ + +.. image :: https://lh5.googleusercontent.com/-uw57fAjEjDs/UHTKNhEuIVI/AAAAAAAAABQ/WT_rY9-uNss/ + +Presentation +------------ + +The goal the this project is to create a dedicated chess computer based on tiny ARM computers with the `DGT eboard `_ and `DGT XL Clock `_ or `DGT 3000 Clock `_ +We are proud to say that this sourcecode is now also part of the new `DGT-Pi `_ + +Finally picohess can also interact with a `Revelation II `_ +Even our focus is on an ARM system like a `RaspberryPi `_ you can also run the software on a normal desktop computer nomatter what operation system you prefer. + +Features +-------- + +Multiple chess engines are included that run on your ARM computer. Many different game settings and playing levels can be selected. +The display guides you through the menu settings and informs you during the game, showing clock times, game moves and hints. +Despite the DGT Clocks we also offer a dedicated web-server where you can see the game, analyse openings or master games (we provide a database with over 1.4 million games) just at your fingertips. + +Picochess offers many different playing modes. Play against an engine or analyse your games. You can also play against a remote friend/tutor. +Fischer Random Chess (Chess960) is also supported (only for the stockfish engine). +If you want your games can also be eMailed to your postbox in pgn format. + +Performance +----------- + +The provided chess engines offers a wide range for playing styles and strengths. The strongest chess engine Stockfish can be set from 1000ELO to 2500ELO. So, we think you can have fun with PicoChess no matter what playing strength you have. +We also provide an engine called Rodent II where y can setup different chess personalities like Attacker, Drunk, Capablanca and many more. + +Status +------ + +Here are some videos from our beginning :-) Nowadays Picochess is alot more matured. Give it a try. +You can see a video of `PicoChess running on a standard PC `_, and `running on a MK802 II ARM key `_ :-) Also, here is a video of PicoChess `running on MK802 II and a bluetooth DGT eboard `_. diff --git a/docs/source.rst b/docs/source.rst new file mode 100644 index 0000000..493c788 --- /dev/null +++ b/docs/source.rst @@ -0,0 +1,24 @@ +Free Software +============= + +Project licence and philosophy +------------------------------ + +This project is `Free Software `_ (`GPLv3 `_), it means that is if free and that source code is available for modification or enhancement by anyone. +PicoChess is and will always remain Free Software. We are working on this program because we like doing so, because we enjoy seeing people use the program. + +More than just a toy or an experimental sandbox, we want to create a robust and high-end dedicated chess computer, directly usable by chess players, with the tools and features they need. +We hope PicoChess will be more than just a piece of software, but also a human adventure in creating positive chess and friendship exchanges. + + +Thanks to other projects +------------------------ + +* PicoChess uses `python-chess `_ to handle chess rules, opening books, and PGN files. + +* Without a chess engine, PicoChess would be useless : thanks to the `Stockfish `_ team ! + +Get the sources +--------------- + +You can get the `sources on Github `_. diff --git a/docs/usage.rst b/docs/usage.rst new file mode 100644 index 0000000..2dac03c --- /dev/null +++ b/docs/usage.rst @@ -0,0 +1,233 @@ +Usage +===== + +Setup the starting position +--------------------------- +Place the pieces in starting position. It doesn't matter if you have the white or black pieces in front of you. Both ways will work. Keep in mind that with black pieces in front of you the (printed) coordinates of your dgt-board also reversed. +You can now start a game by moving a piece or press the lever to let picochess start as white. + +Its also possible to play a chess960 (Fischer Random Chess) game. Just set up your chess960 position. Please choose "Stockfish", "Galjoen" or "WyldChess" as your engine, cause the other engines dont support chess960 mode. +Before or during your game you can also change your settings like book, time, engine, and many more (see details below). These settings are safed and reloaded, so you start with your old settings first. +Settings can be changed by placing the white & black queen at the fields a4-h6 (you must be in the starting position) or by using the clock buttons (no matter the board position). +With the queen placing you can change some default values, whereas the clock buttons offers the complete options. + +Playing/Training Modes +---------------------- + +When using these modes, please be patient and don't rush moves. Allow a few seconds for the scores and moves to appear. If you see any bug when rushing moves, let us know on the mailing list. + +* Game mode (enabled by **white** queen on **A5**). This is the default mode. You can play against the computer. The clock displays the remaining thinking time for both sides. +* Brain mode (enabled by **white** queen on **B5**). This is same as Game mode but the computer is using the permanent brain to think ahead on your thinking time. +* Analysis mode (enabled by **white** queen on **C5**): the computer is watching the game, it does not play itself. The clock continually displays the best move for the side to play. +* Kibitz mode (enabled by **white** queen on **D5**): the computer is watching the game, it does not play itself. The clock continually displays the position score (right aligned) with the search depth (left aligned). +* Observe mode (enabled by **white** queen on **E5**): the computer is watching the game, it does not play itself. The clock displays the remaining thinking time for both sides. The computer is thinking silently ahead. You can see the results by pressing the clock buttons (see below) +* Ponder mode (enabled by **white** queen on **F5**): the computer is watching the game, it does not play itself. The clock displays the best move for the side to play in a 2 secs rotation with the position score together with the depth. So, this mode is a combination of "Analysis" & "Kibitz" +* Remote mode (enabled by **white** queen on **H5**): this mode will allow you to play against someone over internet. The remote player using the webserver whereas the other player using the pieces as normal to enter moves. A detailed documentation will be provided lateron. + +Game mode is the regular mode. If you used one of the other modes, you can return back to game mode by putting the extra **white** queen on **A5**. +You can also press the fourth button to enter the menu (afterwards choose the Mode submenu) to toggle over the modes (Qa5-Qf5,Qh5 only working in the starting position) see below. + +The position score will always be displayed in centipawns from White's perspective. A negative score means black is ahead. If you have a DGT XL clock (or a Revelation II) the maximum score displayed it +/- 9.99 + +Choosing skill level +-------------------- + +Put the extra **black** queen on the 5th rank of your DGT board to select skill level. The skill range of ​​the currently selected engine is devided by 8 meaning a5 (easiest level) towards h5 (strongest level). Some engines support ELO level or even personalities instead of skill levels. If no skill level is selected, PicoChess uses the highest level if nothing choosen before or your last selected level by default. +(Remove the extra white queen if it is still on the board). Please notice that not all chess engines support levels. + +In case of "Stockfish 8" engine: + +* Level 3 estimates about 1000 Elo (Absolute beginner) +* Level 9 estimates about 1750 Elo (Mediate club player ) +* Level 20 estimates about 3100 Elo (Advanced tournament player) + +Another way to choose the skill level is by entering the "Engine" menu with the clock buttons. + +Choosing opening books +---------------------- + +Opening books are set with the extra **black** queen. +(Remove the extra white queen if it is still on the board) + +* **A3** - No book +* **B3** - ECO A - Flank +* **C3** - ECO B - Semiopen +* **D3** - ECO C - Open +* **E3** - ECO D - Closed +* **F3** - ECO E - Indian +* **G3** - Fun +* **H3** - Varied (Default) +* **A4** - GM_1950 (> 2500 ELO GM games from 1950 till 2013) +* **B4** - Performance +* **C4** - Stockfish optimized book v 2.11 by Salvo Spitaleri +* **D4** - Anand +* **E4** - Korchnoi +* **F4** - Larsen +* **G4** - Pro +* **H4** - GM 2001 + +Another way to choose the opening book is by entering the "Book" menu with the clock buttons. Detailed explanation is below. + +Choosing the engine +------------------- + +engines are set with the extra **black** queen. +(Remove the extra white queen if it is still on the board) + +* **A6** - Stockfish 8 +* **B6** - Texel 1.07 +* **C6** - Arasan 20.3 +* **D6** - Rodent III +* **E6** - Zurichess neuchatel +* **F6** - WyldChess 10062017 +* **G6** - Galjoen 0.37.2 +* **H6** - Sayuri 2017.12.16 + +Another way to choose the engine is by entering the "Engine" menu with the clock buttons. + +Setting up time controls +------------------------ + +Picochess supports 3 variants of different time controls (Move, Game, Fischer). You can choose them by placing the extra **white** queen. +(Remove the extra black queen if it is still on the board). +Another way to choose the time control is by entering the "Time" menu with the clock buttons. Detailed explanation is below. + +Move Time +--------- + +Fixed time controls are set with the extra **white** queen. Especially in brain mode the engine might move quicker. +(Remove the extra black queen if it is still on the board) + +* **A6** - 1 second per move +* **B6** - 3 seconds per move +* **C6** - 5 seconds per move +* **D6** - 10 seconds per move +* **E6** - 15 seconds per move +* **F6** - 30 seconds per move +* **G6** - 60 seconds per move +* **H6** - 90 seconds per move + +Game Time +--------- + +Blitz time controls are set with the extra **white** queen. +(Remove the extra black queen if it is still on the board) + +* **A4** - 1 minute game +* **B4** - 3 minute game +* **C4** - 5 minute game (Default) +* **D4** - 10 minute game +* **E4** - 15 minute game +* **F4** - 30 minute game +* **G4** - 60 minute game +* **H4** - 90 minute game + +Fischer Time +------------ + +Fischer time controls are set with the extra **white** queen. +(Remove the extra black queen if it is still on the board) + +* **A3** - 1 minute game with 1 second Fischer increment +* **B3** - 3 minute game with 2 second Fischer increment +* **C3** - 5 minute game with 3 second Fischer increment +* **D3** - 10 minute game with 5 second Fischer increment +* **E3** - 15 minute game with 10 second Fischer increment +* **F3** - 30 minute game with 15 second Fischer increment +* **G3** - 60 minute game with 20 second Fischer increment +* **H3** - 90 minute game with 30 second Fischer increment + +Clock button support (general) +------------------------------ + +There are now 2 states (one is the "game-playing" state, where you see the clock time or a move) and the other is the "menu" state. +Entering the menu state can be done by pressing ">". Leaving it with "<". Entering the menu offers the last choosen top-level in menu (for example "Mode") + +If you are not inside the menu (clock showing moves, times), the function is as follows: + +* **(<) button** - showing the last move +* **(-) button** - showing the last score (right aligned) together with the search depth (left aligned) +* **(=) button** - start/stop the clock (user turn) or abort the search (engine thinking) or calculate an alternative move (engine showing its move) +* **(+) button** - showing a hint move (user turn) or the current best move (engine thinking) +* **(>) button** - Entering the menu +* **lever** - switch sides If its users turn the engine will begin to calculate its move, otherwise the search is aborted (engine calculating) or the shown move is canceled (engine shows its move). In these cases its your turn. + +If you already inside the menu (clock showing you menu or value items) the function is as follows: + +* **(<) button** - moving up a level inside the menu tree. If you already at top exists the menu +* **(-) button** - showing the previous value inside the menu tree +* **(=) button** - no function (in position submenu: use last choosen values for the remaining questions) +* **(+) button** - showing the next value inside the menu tree +* **(>) button** - moving down a level inside the menu tree. If there is none, it accepts the choosen value and exists the menu + +The next chapters decribe each top-level menu items in greater detail. + +Mode Menu +--------- + +See above at "Playing/Training Modes". You can cycle the modes by pressing the "-" & "+" buttons like always inside the menu. +Choose the mode setting by pressing ">" or exit menu again with "<" (without choosing something) + +Postition Menu +-------------- + +Here you can setup a position. To enter this, picochess will answer you some questions. You can setup the position before you enter this menu or before you press >" at last step (=scan). +With the "=" button you can shortcut the 4 levels (useful for similar positions). Here are the list of questions to be answered: + +* **side** - decides with side to move first +* **origin** - is the board flipped (which side of board is white which is black) +* **chess960** - is this a fischer random position (used for castling) Please make sure your choose engine support 960 mode (right now only stockfish, galjoe, wyldchess) +* **scan** - after accepting with ">" picochess will scan in the position (last chance to setup your pieces) and a new game will start + +Time Menu +--------- + +See above at "Setting up time controls". First you have to choose between the 3 variants of different time controls (Move, Game, Fischer). +Accept it with ">" then choose your time by cyling with "-" & "+" accept with ">" or go back to the time variants with "<" + +Book Menu +--------- + +See above at "Choosing opening books". Cyle with "-" & "+" accept with ">" or go back with "<" + +Engine Menu +----------- + +Similarly to above you can cyle with "-" & "+" accept with ">" or go back to the time variants with "<". You can choose alot more engines as with the queen. +If the engine supports levels after accepting the engine you can select its level. Some engines have standard levels (for example from 0-20), and some engines support ELO rankings. +The provided "rodent III" engine even support personalities. But the system is always the same. Cyle thrue the options and select with ">" or go back to former step with "<". + +System Menu +----------- + +Here you choose between the following: + +* **information** - in this submenu you see various informations like the current picochess version, your internal ip-adr (useful for the webserver) and your battery status (only useful if you have a BT board). +* **sound** - controls the beeps of your dgt clock. You can change between "never", "sometimes", or "always" +* **language** - sets the language of clock messages. You can choose between english, german, french, dutch and spanish +* **logfile** - sends a debug log file to your eMail box. Thats for us developers to have a clue what is going on at picochess. Please use this only if you asked for it. +* **voice** - selects the voice for the computer and user. Also you can change the voice speed factor. +* **display** - selects various clock display options like ponder interval, confirmation messages, capital letters and short/long notation (useful if you have a DGT3000 or DGTPi) + +System shutdown +--------------- + +From the start position, replace the white king with the extra white queen; this will shut down the machine (takes a few seconds until the light turns off). You can also do it with only the two white queens on the board (on e1,d1). + +System reboot +------------- + +From the start position, replace the black king with the extra black queen; this will reboot the machine (takes a few seconds until the light turns off). You can also do it with only the two black queens on the board (on e8,d8). + +PGN file support +---------------- + +All moves of the played game along with engine are stored at the end of the game. +Every game played with picochess is stored in the /opt/picochess/games folder as "games.pgn" (name can be changed by ini). +If you want to end it before and write out the pgn file including the correct result, you can do as following: +Placing the two kings on opposite centre squares will signal a resignation: +- If both kings on white, the result is white wins and the game recorded 1-0 +- If both kings on black, the result is black wins and the game recorded 0-1 + +Placing the kings on adjacent centre squares on the same rank signals a draw and the game recorded 1/2-1/2. +The 4 and 5 rank must be clear of other pieces - only kings. diff --git a/engines/AMD64/.gitignore b/engines/AMD64/.gitignore new file mode 100644 index 0000000..c288670 --- /dev/null +++ b/engines/AMD64/.gitignore @@ -0,0 +1,4 @@ +# Ignore any engines out of the first 8 [a-h] ones +[i-z]-* +engines.ini +games.pgn \ No newline at end of file diff --git a/engines/AMD64/Rodent III/LICENSE b/engines/AMD64/Rodent III/LICENSE new file mode 100644 index 0000000..8cdb845 --- /dev/null +++ b/engines/AMD64/Rodent III/LICENSE @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {description} + Copyright (C) {year} {fullname} + + This program 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 2 of the License, or + (at your option) any later version. + + This program 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. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + {signature of Ty Coon}, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. + diff --git a/engines/AMD64/Rodent III/README.windows.txt b/engines/AMD64/Rodent III/README.windows.txt new file mode 100644 index 0000000..56d42da --- /dev/null +++ b/engines/AMD64/Rodent III/README.windows.txt @@ -0,0 +1,28 @@ +Rodent III is an open source chess engine by Pawel Koziol, licensed under GPL 3.0. +It is based on a much weaker engine Sungorus 1.4 by Pablo Vazquez. It is designed +to allow the user to vary its playing strength and characteristics by seting a wide +variety of variables affecting the engine's play. These can also be pre-set by the +user through the use of a number of personality files. + +Rodent III is a UCI protocol compliant chess engine. It is operated through a command +line interface. If the user wants to have a graphical user interface, Rodent III can be +used with chess GUI programs such as Arena, ChessGUI, TarraschGUI, Winboard (which also +has excellent UCI support) or other UCI compliant chess GUI program. + +For the further information Rodent III playing styles see the rodent documents. + +Before installing Rodent III in Your favourite graphical user interface, please unzip +files from the distrib package to the directory of Your choice. You should get +the following: + +- Rodent_III_x64.exe (pgo-profiled exe file for the 64-bit Windows) +- Rodent_III_x64_plain.exe (exe file for older 64-bit Windows architectures) +- Rodent_III_x32.exe (exe file for 32-bit Windows, including windows XP) +- msvcr120.dll (Microsoft library needed to run the exe files) +- basic.ini (a file controlling what options are displayed to the user) +- rodent.txt (default Rodent personality) +- LICENSE (GPL 3.0 text) +- "books" folder (with the opening books) +- "docs" folder (containing some information about Rodent usage) +- "personalities" folder (with several subfolders containing Rodent III personalities) +- "src" folder (source code, as required by GPL 3.0 license) \ No newline at end of file diff --git a/engines/AMD64/Rodent III/Rodent_III_x32.exe b/engines/AMD64/Rodent III/Rodent_III_x32.exe new file mode 100644 index 0000000..52de784 Binary files /dev/null and b/engines/AMD64/Rodent III/Rodent_III_x32.exe differ diff --git a/engines/AMD64/Rodent III/basic.ini b/engines/AMD64/Rodent III/basic.ini new file mode 100644 index 0000000..7968e15 --- /dev/null +++ b/engines/AMD64/Rodent III/basic.ini @@ -0,0 +1,3 @@ +HIDE_OPTIONS +PERSONALITY_BOOKS +NPS_BLUR \ No newline at end of file diff --git a/engines/AMD64/Rodent III/books/guide/active.bin b/engines/AMD64/Rodent III/books/guide/active.bin new file mode 100644 index 0000000..7ec5155 Binary files /dev/null and b/engines/AMD64/Rodent III/books/guide/active.bin differ diff --git a/engines/AMD64/Rodent III/books/guide/flank.bin b/engines/AMD64/Rodent III/books/guide/flank.bin new file mode 100644 index 0000000..761b8ed Binary files /dev/null and b/engines/AMD64/Rodent III/books/guide/flank.bin differ diff --git a/engines/AMD64/Rodent III/books/guide/low.bin b/engines/AMD64/Rodent III/books/guide/low.bin new file mode 100644 index 0000000..579bf93 Binary files /dev/null and b/engines/AMD64/Rodent III/books/guide/low.bin differ diff --git a/engines/AMD64/Rodent III/books/guide/readme.txt b/engines/AMD64/Rodent III/books/guide/readme.txt new file mode 100644 index 0000000..773892e --- /dev/null +++ b/engines/AMD64/Rodent III/books/guide/readme.txt @@ -0,0 +1,15 @@ +These are guide books intended for use with Rodent II chess engine. +They should be used in conjunction with a main book (rodent.bin) +and are meant to guide the game stylistically. + +flank.bin - plays flank openings, likes fianchettoing bishops; +based on games by Tomasz Markowski with some lines added by hand. + +low.bin - minimal book which tries to start with a couple of moves that +do not reach the 4th or the 5th rank. + +nimzowitsch.bin - Nimzowitsch's games form PgnMentor collection as the first layer ++ pre-1930 games from Norm Pollock's collection as the second layer + +petrosian.bin - Petrosian's games form PgnMentor collection as the first layer ++ 1931 to 1980 games from Norm Pollock's collection as the second layer \ No newline at end of file diff --git a/engines/AMD64/Rodent III/books/guide/solid.bin b/engines/AMD64/Rodent III/books/guide/solid.bin new file mode 100644 index 0000000..dc407b6 Binary files /dev/null and b/engines/AMD64/Rodent III/books/guide/solid.bin differ diff --git a/engines/AMD64/Rodent III/books/guide/steinitz.bin b/engines/AMD64/Rodent III/books/guide/steinitz.bin new file mode 100644 index 0000000..e7d5736 Binary files /dev/null and b/engines/AMD64/Rodent III/books/guide/steinitz.bin differ diff --git a/engines/AMD64/Rodent III/books/hist/#readme.txt b/engines/AMD64/Rodent III/books/hist/#readme.txt new file mode 100644 index 0000000..9d2f28e --- /dev/null +++ b/engines/AMD64/Rodent III/books/hist/#readme.txt @@ -0,0 +1,6 @@ +These books were made using pgn files by Norm Pollock, +downloaded from http://www.hoflink.com/~npollock/40H.html + +They are meant to be used in Rodent II chess engine +as main books accompanying player books, so that for example +pre-1930 players don't play openings that look too modern. \ No newline at end of file diff --git a/engines/AMD64/Rodent III/books/hist/_31to80.bin b/engines/AMD64/Rodent III/books/hist/_31to80.bin new file mode 100644 index 0000000..31f418c Binary files /dev/null and b/engines/AMD64/Rodent III/books/hist/_31to80.bin differ diff --git a/engines/AMD64/Rodent III/books/hist/_81to06.bin b/engines/AMD64/Rodent III/books/hist/_81to06.bin new file mode 100644 index 0000000..fa6ed1a Binary files /dev/null and b/engines/AMD64/Rodent III/books/hist/_81to06.bin differ diff --git a/engines/AMD64/Rodent III/books/hist/_post06.bin b/engines/AMD64/Rodent III/books/hist/_post06.bin new file mode 100644 index 0000000..8e821e3 Binary files /dev/null and b/engines/AMD64/Rodent III/books/hist/_post06.bin differ diff --git a/engines/AMD64/Rodent III/books/hist/_pre30.bin b/engines/AMD64/Rodent III/books/hist/_pre30.bin new file mode 100644 index 0000000..6f54617 Binary files /dev/null and b/engines/AMD64/Rodent III/books/hist/_pre30.bin differ diff --git a/engines/AMD64/Rodent III/books/micro.bin b/engines/AMD64/Rodent III/books/micro.bin new file mode 100644 index 0000000..616de02 Binary files /dev/null and b/engines/AMD64/Rodent III/books/micro.bin differ diff --git a/engines/AMD64/Rodent III/books/mini.bin b/engines/AMD64/Rodent III/books/mini.bin new file mode 100644 index 0000000..45d9824 Binary files /dev/null and b/engines/AMD64/Rodent III/books/mini.bin differ diff --git a/engines/AMD64/Rodent III/books/ph-exoticbook.bin b/engines/AMD64/Rodent III/books/ph-exoticbook.bin new file mode 100644 index 0000000..b7f9c4f Binary files /dev/null and b/engines/AMD64/Rodent III/books/ph-exoticbook.bin differ diff --git a/engines/AMD64/Rodent III/books/ph-gambitbook.bin b/engines/AMD64/Rodent III/books/ph-gambitbook.bin new file mode 100644 index 0000000..62dd883 Binary files /dev/null and b/engines/AMD64/Rodent III/books/ph-gambitbook.bin differ diff --git a/engines/AMD64/Rodent III/books/players/#readme.txt b/engines/AMD64/Rodent III/books/players/#readme.txt new file mode 100644 index 0000000..7b52649 --- /dev/null +++ b/engines/AMD64/Rodent III/books/players/#readme.txt @@ -0,0 +1,4 @@ +Books with names starting with ph- were made by Pawel Hase +and downloaded from http://www.chesspraga.cz/spikebook.htm + +Books without such prefix were made by Pawel Koziol. \ No newline at end of file diff --git a/engines/AMD64/Rodent III/books/players/alekhine.bin b/engines/AMD64/Rodent III/books/players/alekhine.bin new file mode 100644 index 0000000..ef1f7c5 Binary files /dev/null and b/engines/AMD64/Rodent III/books/players/alekhine.bin differ diff --git a/engines/AMD64/Rodent III/books/players/kasparov.bin b/engines/AMD64/Rodent III/books/players/kasparov.bin new file mode 100644 index 0000000..b61b2ca Binary files /dev/null and b/engines/AMD64/Rodent III/books/players/kasparov.bin differ diff --git a/engines/AMD64/Rodent III/books/players/nimzowitsch.bin b/engines/AMD64/Rodent III/books/players/nimzowitsch.bin new file mode 100644 index 0000000..39b8adf Binary files /dev/null and b/engines/AMD64/Rodent III/books/players/nimzowitsch.bin differ diff --git a/engines/AMD64/Rodent III/books/players/petrosian.bin b/engines/AMD64/Rodent III/books/players/petrosian.bin new file mode 100644 index 0000000..e089561 Binary files /dev/null and b/engines/AMD64/Rodent III/books/players/petrosian.bin differ diff --git a/engines/AMD64/Rodent III/books/players/ph-anand2.bin b/engines/AMD64/Rodent III/books/players/ph-anand2.bin new file mode 100644 index 0000000..b6a7cf5 Binary files /dev/null and b/engines/AMD64/Rodent III/books/players/ph-anand2.bin differ diff --git a/engines/AMD64/Rodent III/books/players/ph-anderssen2.bin b/engines/AMD64/Rodent III/books/players/ph-anderssen2.bin new file mode 100644 index 0000000..9f6d5a7 Binary files /dev/null and b/engines/AMD64/Rodent III/books/players/ph-anderssen2.bin differ diff --git a/engines/AMD64/Rodent III/books/players/ph-botvinnik2.bin b/engines/AMD64/Rodent III/books/players/ph-botvinnik2.bin new file mode 100644 index 0000000..883f8d0 Binary files /dev/null and b/engines/AMD64/Rodent III/books/players/ph-botvinnik2.bin differ diff --git a/engines/AMD64/Rodent III/books/players/ph-fischer2.bin b/engines/AMD64/Rodent III/books/players/ph-fischer2.bin new file mode 100644 index 0000000..af679b9 Binary files /dev/null and b/engines/AMD64/Rodent III/books/players/ph-fischer2.bin differ diff --git a/engines/AMD64/Rodent III/books/players/ph-larsen2.bin b/engines/AMD64/Rodent III/books/players/ph-larsen2.bin new file mode 100644 index 0000000..544a783 Binary files /dev/null and b/engines/AMD64/Rodent III/books/players/ph-larsen2.bin differ diff --git a/engines/AMD64/Rodent III/books/players/ph-reti2.bin b/engines/AMD64/Rodent III/books/players/ph-reti2.bin new file mode 100644 index 0000000..ccc0aea Binary files /dev/null and b/engines/AMD64/Rodent III/books/players/ph-reti2.bin differ diff --git a/engines/AMD64/Rodent III/books/players/ph-rubinstein2.bin b/engines/AMD64/Rodent III/books/players/ph-rubinstein2.bin new file mode 100644 index 0000000..a30c7b2 Binary files /dev/null and b/engines/AMD64/Rodent III/books/players/ph-rubinstein2.bin differ diff --git a/engines/AMD64/Rodent III/books/players/ph-spassky2.bin b/engines/AMD64/Rodent III/books/players/ph-spassky2.bin new file mode 100644 index 0000000..cb160a8 Binary files /dev/null and b/engines/AMD64/Rodent III/books/players/ph-spassky2.bin differ diff --git a/engines/AMD64/Rodent III/books/players/ph-tarrasch2.bin b/engines/AMD64/Rodent III/books/players/ph-tarrasch2.bin new file mode 100644 index 0000000..7bbc865 Binary files /dev/null and b/engines/AMD64/Rodent III/books/players/ph-tarrasch2.bin differ diff --git a/engines/AMD64/Rodent III/books/players/reti.bin b/engines/AMD64/Rodent III/books/players/reti.bin new file mode 100644 index 0000000..64cdb69 Binary files /dev/null and b/engines/AMD64/Rodent III/books/players/reti.bin differ diff --git a/engines/AMD64/Rodent III/books/small.bin b/engines/AMD64/Rodent III/books/small.bin new file mode 100644 index 0000000..1b5fa27 Binary files /dev/null and b/engines/AMD64/Rodent III/books/small.bin differ diff --git a/engines/AMD64/Rodent III/docs/rodent_III_manual.odt b/engines/AMD64/Rodent III/docs/rodent_III_manual.odt new file mode 100644 index 0000000..51b076f Binary files /dev/null and b/engines/AMD64/Rodent III/docs/rodent_III_manual.odt differ diff --git a/engines/AMD64/Rodent III/docs/rodent_III_manual.pdf b/engines/AMD64/Rodent III/docs/rodent_III_manual.pdf new file mode 100644 index 0000000..33d64ce Binary files /dev/null and b/engines/AMD64/Rodent III/docs/rodent_III_manual.pdf differ diff --git a/engines/AMD64/Rodent III/guide.bin b/engines/AMD64/Rodent III/guide.bin new file mode 100644 index 0000000..9fa2f30 Binary files /dev/null and b/engines/AMD64/Rodent III/guide.bin differ diff --git a/engines/AMD64/Rodent III/msvcp120.dll b/engines/AMD64/Rodent III/msvcp120.dll new file mode 100644 index 0000000..8861cc6 Binary files /dev/null and b/engines/AMD64/Rodent III/msvcp120.dll differ diff --git a/engines/AMD64/Rodent III/msvcr120.dll b/engines/AMD64/Rodent III/msvcr120.dll new file mode 100644 index 0000000..d711c92 Binary files /dev/null and b/engines/AMD64/Rodent III/msvcr120.dll differ diff --git a/engines/AMD64/Rodent III/personalities/club/mark.txt b/engines/AMD64/Rodent III/personalities/club/mark.txt new file mode 100644 index 0000000..6acc5a3 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/club/mark.txt @@ -0,0 +1,55 @@ +; Mark personality for Rodent III +; author: Pawel Koziol +; 1500 Elo defensive player who likes own mobility +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 100 +setoption name OppAttack value 120 +setoption name OwnMobility value 120 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 10 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 450 +setoption name EvalBlur value 50 +setoption name Contempt value 0 +setoption name SlowMover value 100 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/guide/mini.bin +setoption name MainBookFile value books/mini.bin diff --git a/engines/AMD64/Rodent III/personalities/club/sam.txt b/engines/AMD64/Rodent III/personalities/club/sam.txt new file mode 100644 index 0000000..83744f7 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/club/sam.txt @@ -0,0 +1,53 @@ +; Sam personality for Rodent III +; author: Pawel Koziol +; sacrificial 1500 Elo attacker +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 75 +setoption name OwnAttack value 120 +setoption name OppAttack value 100 +setoption name OwnMobility value 120 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 100 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 450 +setoption name EvalBlur value 50 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 diff --git a/engines/AMD64/Rodent III/personalities/famous/anand.txt b/engines/AMD64/Rodent III/personalities/famous/anand.txt new file mode 100644 index 0000000..8bda860 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/famous/anand.txt @@ -0,0 +1,57 @@ +; Anand personality for Rodent III chess engine +; hommage to Viswanathan Anand +; author: Pawel Koziol +; fast player, slight preference for attack, cares for pawn structure + +setoption name Strength value 2805 +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 95 +setoption name OwnAttack value 105 +setoption name OppAttack value 90 +setoption name OwnMobility value 105 +setoption name OppMobility value 105 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 105 +setoption name PawnStructure value 115 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 80 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 2 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 90 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/players/ph-anand2.bin +setoption name MainBookFile value books/hist/_post06.bin diff --git a/engines/AMD64/Rodent III/personalities/famous/anderssen.txt b/engines/AMD64/Rodent III/personalities/famous/anderssen.txt new file mode 100644 index 0000000..8641964 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/famous/anderssen.txt @@ -0,0 +1,53 @@ +; Anderssen presonality for Rodent III chess engine +; author: Pawel Koziol +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 100 +setoption name OppAttack value 70 +setoption name OwnMobility value 100 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 120 +setoption name PassedPawns value 85 +setoption name PawnStructure value 75 +setoption name Lines value 100 +setoption name Outposts value 50 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 25 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 1 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 1 +setoption name GuideBookFile value books/players/ph-anderssen2.bin +setoption name MainBookFile value books/hist/_pre30.bin diff --git a/engines/AMD64/Rodent III/personalities/famous/botvinnik.txt b/engines/AMD64/Rodent III/personalities/famous/botvinnik.txt new file mode 100644 index 0000000..aeeea4a --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/famous/botvinnik.txt @@ -0,0 +1,56 @@ +; Botvinnik personality for Rodent III chess engine +; author: Pawel Koziol +; balanced, cares for pawn structure, somewhat willing to accept doubled pawns +; changed piece/square table type + +setoption name PawnValue value 105 +setoption name KnightValue value 325 +setoption name BishopValue value 325 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 105 +setoption name OwnAttack value 100 +setoption name OppAttack value 100 +setoption name OwnMobility value 90 +setoption name OppMobility value 90 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 120 +setoption name PawnStructure value 120 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 90 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -10 +setoption name DoubledPawnEg value -20 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 2 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/players/ph-botvinnik2.bin +setoption name MainBookFile value books/hist/_31to80.bin \ No newline at end of file diff --git a/engines/AMD64/Rodent III/personalities/famous/fischer.txt b/engines/AMD64/Rodent III/personalities/famous/fischer.txt new file mode 100644 index 0000000..486c84a --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/famous/fischer.txt @@ -0,0 +1,55 @@ +; Fischer personality for Rodent III chess engine +; author: Pawel Koziol +; attacking, contemptous, mobility raised for both sides + +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 990 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 3 +setoption name KeepRook value 2 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 102 +setoption name OwnAttack value 120 +setoption name OppAttack value 100 +setoption name OwnMobility value 110 +setoption name OppMobility value 110 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 20 +setoption name PawnShield value 115 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 2 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value 25 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/players/ph-fischer2.bin +setoption name MainBookFile value books/hist/_31to80.bin diff --git a/engines/AMD64/Rodent III/personalities/famous/larsen.txt b/engines/AMD64/Rodent III/personalities/famous/larsen.txt new file mode 100644 index 0000000..0036441 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/famous/larsen.txt @@ -0,0 +1,57 @@ +; Larsen personality for Rodent III chess engine +; author: Pawel Koziol +; tricky player following precepts of Nimzowitsch, +; plays varied and unusual openings, may want to sacrifice, +; even though king attacks aren't his chief interest +; +setoption name PawnValue value 100 +setoption name KnightValue value 330 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 45 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 7 +setoption name RookLikesOpen value 3 +setoption name Material value 90 +setoption name OwnAttack value 60 +setoption name OppAttack value 80 +setoption name OwnMobility value 100 +setoption name OppMobility value 110 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 150 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 105 +setoption name Outposts value 120 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 20 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 0 +setoption name GuideBookFile value books/players/ph-larsen2.bin +setoption name MainBookFile value books/hist/_31to80.bin diff --git a/engines/AMD64/Rodent III/personalities/famous/marshall.txt b/engines/AMD64/Rodent III/personalities/famous/marshall.txt new file mode 100644 index 0000000..bac23b9 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/famous/marshall.txt @@ -0,0 +1,57 @@ +; Marshall personality for Rodent III chess engine +; by Pawel Koziol +; hommage to Frank Marshall (1877-1944) +; very high attack, very high mobility, sacrificial, likes knights + +setoption name Strength value 2737 +setoption name PawnValue value 100 +setoption name KnightValue value 335 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 90 +setoption name OwnAttack value 150 +setoption name OppAttack value 100 +setoption name OwnMobility value 150 +setoption name OppMobility value 100 +setoption name KingTropism value 25 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 90 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 100 +setoption name PawnStorm value 100 +setoption name Forwardness value 100 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 1 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/players/marshall.bin +setoption name MainBookFile value books/hist/_pre30.bin diff --git a/engines/AMD64/Rodent III/personalities/famous/nimzowitsch.txt b/engines/AMD64/Rodent III/personalities/famous/nimzowitsch.txt new file mode 100644 index 0000000..5507de7 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/famous/nimzowitsch.txt @@ -0,0 +1,54 @@ +; Nimzowitsch personality for Rodent III chess engine +; author: Pawel Koziol + +setoption name PawnValue value 100 +setoption name KnightValue value 335 +setoption name BishopValue value 325 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 2 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 40 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 8 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 100 +setoption name OppAttack value 90 +setoption name OwnMobility value 100 +setoption name OppMobility value 120 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 110 +setoption name PawnStructure value 110 +setoption name Lines value 100 +setoption name Outposts value 120 +setoption name Fianchetto value 10 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -14 +setoption name DoubledPawnEg value -28 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/players/nimzowitsch.bin +setoption name MainBookFile value books/hist/_pre30.bin diff --git a/engines/AMD64/Rodent III/personalities/famous/petrosian.txt b/engines/AMD64/Rodent III/personalities/famous/petrosian.txt new file mode 100644 index 0000000..a887518 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/famous/petrosian.txt @@ -0,0 +1,55 @@ +; Petrosian personality for Rodent III chess engine +; author: Pawel Koziol +; defense, restraint, likes closed positions, likes sacrificing exchange + +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 5 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 40 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 0 +setoption name KnightLikesClosed value 8 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 100 +setoption name OppAttack value 120 +setoption name OwnMobility value 100 +setoption name OppMobility value 120 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 110 +setoption name Lines value 100 +setoption name Outposts value 120 +setoption name Fianchetto value 10 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -12 +setoption name IsolatedPawnEg value -24 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value -5 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/players/petrosian.bin +setoption name MainBookFile value books/hist/_31to80.bin diff --git a/engines/AMD64/Rodent III/personalities/famous/reti.txt b/engines/AMD64/Rodent III/personalities/famous/reti.txt new file mode 100644 index 0000000..5e167c5 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/famous/reti.txt @@ -0,0 +1,55 @@ +; Reti personality for Rodent III chess engine +; author: Pawel Koziol +; disregards classical piece placement, solid pawn structure + +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 95 +setoption name OwnAttack value 85 +setoption name OppAttack value 88 +setoption name OwnMobility value 100 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 50 +setoption name PiecePressure value 150 +setoption name PassedPawns value 150 +setoption name PawnStructure value 180 +setoption name Lines value 100 +setoption name Outposts value 110 +setoption name Fianchetto value 50 +setoption name PawnShield value 120 +setoption name PawnStorm value 80 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/players/reti.bin +setoption name MainBookFile value books/players/ph-reti2.bin diff --git a/engines/AMD64/Rodent III/personalities/famous/rubinstein.txt b/engines/AMD64/Rodent III/personalities/famous/rubinstein.txt new file mode 100644 index 0000000..9b5bc54 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/famous/rubinstein.txt @@ -0,0 +1,56 @@ +; Rubinstein personality for Rodent III chess engine +; author: Pawel Koziol +; classical player, marginally prefers defence, decreased mobility, +; likes rook play, steers towards endgame + +setoption name PawnValue value 107 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value -1 +setoption name KeepBishop value -1 +setoption name KeepRook value -1 +setoption name KeepQueen value -5 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 4 +setoption name Material value 98 +setoption name OwnAttack value 95 +setoption name OppAttack value 105 +setoption name OwnMobility value 85 +setoption name OppMobility value 85 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 120 +setoption name PawnStructure value 120 +setoption name Lines value 120 +setoption name Outposts value 90 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 90 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 1 +setoption name MobilityStyle value 1 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/players/ph-rubinstein2.bin +setoption name MainBookFile value books/hist/_pre30.bin \ No newline at end of file diff --git a/engines/AMD64/Rodent III/personalities/famous/spassky.txt b/engines/AMD64/Rodent III/personalities/famous/spassky.txt new file mode 100644 index 0000000..cc45af3 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/famous/spassky.txt @@ -0,0 +1,55 @@ +; Spassky personality for Rodent III chess engine +; author: Pawel Koziol +; defensive player who likes grabbing space and cares for pawn structure +; +setoption name PawnValue value 108 +setoption name KnightValue value 335 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 95 +setoption name OwnAttack value 110 +setoption name OppAttack value 130 +setoption name OwnMobility value 100 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 110 +setoption name PawnStructure value 130 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 105 +setoption name Forwardness value 150 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 2 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/players/ph_spassky2.bin +setoption name MainBookFile value books/hist/_31to80.bin diff --git a/engines/AMD64/Rodent III/personalities/famous/steinitz.txt b/engines/AMD64/Rodent III/personalities/famous/steinitz.txt new file mode 100644 index 0000000..f8a1e95 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/famous/steinitz.txt @@ -0,0 +1,57 @@ +; Steinitz personality for Rodent III chess engine +; author: Pawel Koziol +; defensive, accepts cramped positions, accepts sacrifices, solid with pawns + +setoption name PawnValue value 105 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 2 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 110 +setoption name OwnAttack value 80 +setoption name OppAttack value 100 +setoption name OwnMobility value 80 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 125 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 100 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 1 +setoption name MobilityStyle value 1 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value 20 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 125 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/guide/steinitz.bin +setoption name MainBookFile value books/hist/_pre30.bin + + diff --git a/engines/AMD64/Rodent III/personalities/famous/tarrasch.txt b/engines/AMD64/Rodent III/personalities/famous/tarrasch.txt new file mode 100644 index 0000000..c0f02de --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/famous/tarrasch.txt @@ -0,0 +1,55 @@ +; Tarrasch personality for Rodent III chess engine +; author: Pawel Koziol +; mobility, emphasis on bishops, likes open game + +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 345 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value -1 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 5 +setoption name RookLikesOpen value 3 +setoption name Material value 90 +setoption name OwnAttack value 120 +setoption name OppAttack value 90 +setoption name OwnMobility value 150 +setoption name OppMobility value 150 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 120 +setoption name PassedPawns value 100 +setoption name PawnStructure value 80 +setoption name Lines value 100 +setoption name Outposts value 80 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 80 +setoption name Forwardness value 50 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 1 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/players/ph-tarrasch2.bin +setoption name MainBookFile value books/hist/_pre30.bin diff --git a/engines/AMD64/Rodent III/personalities/fun/drunk.txt b/engines/AMD64/Rodent III/personalities/fun/drunk.txt new file mode 100644 index 0000000..e130ac7 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/fun/drunk.txt @@ -0,0 +1,53 @@ +; Drunk personality for Rodent III chess engine +; author: Pawel Koziol +; huge random factor in eval + +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 100 +setoption name OppAttack value 100 +setoption name OwnMobility value 100 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 100 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 0 +setoption name EvalBlur value 1000 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 4 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 diff --git a/engines/AMD64/Rodent III/personalities/fun/henny.txt b/engines/AMD64/Rodent III/personalities/fun/henny.txt new file mode 100644 index 0000000..feb576e --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/fun/henny.txt @@ -0,0 +1,53 @@ +; Henny personality for Rodent III chess engine +; Author: Brendan J. Norman +; Approx. strength: 2401 CCRL +; +setoption name PawnValue value 80 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 450 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 10 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 80 +setoption name OwnAttack value 450 +setoption name OppAttack value 90 +setoption name OwnMobility value 250 +setoption name OppMobility value 110 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 200 +setoption name PassedPawns value 150 +setoption name PawnStructure value 85 +setoption name Lines value 150 +setoption name Outposts value 200 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value 15 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 diff --git a/engines/AMD64/Rodent III/personalities/fun/kinghunter.txt b/engines/AMD64/Rodent III/personalities/fun/kinghunter.txt new file mode 100644 index 0000000..db8c10b --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/fun/kinghunter.txt @@ -0,0 +1,53 @@ +; KingHunter personality for Rodent III chess engine +; Author: Ferdinand Mosca (modified to fit Rodent III) +; Mad attacker +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 20 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 90 +setoption name OwnAttack value 500 +setoption name OppAttack value 100 +setoption name OwnMobility value 120 +setoption name OppMobility value 110 +setoption name KingTropism value 25 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 110 +setoption name PassedPawns value 105 +setoption name PawnStructure value 90 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value 170 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 diff --git a/engines/AMD64/Rodent III/personalities/fun/remy.txt b/engines/AMD64/Rodent III/personalities/fun/remy.txt new file mode 100644 index 0000000..0a54d72 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/fun/remy.txt @@ -0,0 +1,53 @@ +; Remy personality for Rodent III chess engine +; Author: Brendan J. Norman +; Strength: 2478 CCRL +; +setoption name PawnValue value 80 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 450 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 5 +setoption name Material value 85 +setoption name OwnAttack value 400 +setoption name OppAttack value 100 +setoption name OwnMobility value 250 +setoption name OppMobility value 110 +setoption name KingTropism value 85 +setoption name PiecePlacement value 110 +setoption name PiecePressure value 150 +setoption name PassedPawns value 150 +setoption name PawnStructure value 85 +setoption name Lines value 150 +setoption name Outposts value 150 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 1 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value 15 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 diff --git a/engines/AMD64/Rodent III/personalities/fun/tortoise.txt b/engines/AMD64/Rodent III/personalities/fun/tortoise.txt new file mode 100644 index 0000000..c8d017c --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/fun/tortoise.txt @@ -0,0 +1,54 @@ +; Tortoise personality for Rodent III chess engine +; author: Pawel Koziol +; slow defensive player who likes blocked positions +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 1 +setoption name KeepKnight value 2 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 10 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 100 +setoption name OppAttack value 120 +setoption name OwnMobility value 100 +setoption name OppMobility value 120 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 200 +setoption name Lines value 100 +setoption name Outposts value 200 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 1 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 120 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/guide/low.bin diff --git a/engines/AMD64/Rodent III/personalities/league/arthur.txt b/engines/AMD64/Rodent III/personalities/league/arthur.txt new file mode 100644 index 0000000..68832b9 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/league/arthur.txt @@ -0,0 +1,55 @@ +; Arthur personality for Rodent III chess engine +; author: Pawel Koziol +; sub-2000 player, likes attack and restraint, slow thinker + +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 2 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 40 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 7 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 120 +setoption name OppAttack value 100 +setoption name OwnMobility value 100 +setoption name OppMobility value 120 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 120 +setoption name Forwardness value 0 +setoption name Lines value 100 +setoption name Outposts value 120 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 1 +setoption name NpsLimit value 3000 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 120 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/guide/flank.bin +setoption name MainBookFile value books/small.bin diff --git a/engines/AMD64/Rodent III/personalities/league/dorothy.txt b/engines/AMD64/Rodent III/personalities/league/dorothy.txt new file mode 100644 index 0000000..2feb8f0 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/league/dorothy.txt @@ -0,0 +1,55 @@ +; Dorothy personality for Rodent III +; author: Pawel Koziol +; defense, restraint, contempt, classical style, strength 2000+ +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 100 +setoption name OppAttack value 120 +setoption name OwnMobility value 100 +setoption name OppMobility value 120 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 120 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 1 +setoption name MobilityStyle value 1 +setoption name NpsLimit value 4500 +setoption name EvalBlur value 0 +setoption name Contempt value 10 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/guide/solid.bin +setoption name MainBookFile value books/small.bin diff --git a/engines/AMD64/Rodent III/personalities/league/frederick.txt b/engines/AMD64/Rodent III/personalities/league/frederick.txt new file mode 100644 index 0000000..494f5da --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/league/frederick.txt @@ -0,0 +1,56 @@ +; Frederick personality for Rodent II chess engine +; author: Pawel Koziol +; sub-2000 player who likes thrusting his pieces forward +; the funny thing is that he starts with flank openings +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 100 +setoption name OppAttack value 100 +setoption name OwnMobility value 100 +setoption name OppMobility value 100 +setoption name KingTropism value 100 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 20 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 200 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 3600 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/guide/flank.bin +setoption name MainBookFile value books/small.bin diff --git a/engines/AMD64/Rodent III/personalities/league/gabriel.txt b/engines/AMD64/Rodent III/personalities/league/gabriel.txt new file mode 100644 index 0000000..50d00c4 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/league/gabriel.txt @@ -0,0 +1,55 @@ +; Gabriel personality for Rodent III chess engine +; author: Pawel Koziol +; Gabriel is for gambits! +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 30 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 80 +setoption name OwnAttack value 150 +setoption name OppAttack value 100 +setoption name OwnMobility value 150 +setoption name OppMobility value 100 +setoption name KingTropism value 100 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 100 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 6000 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/ph-gambitbook.bin +setoption name MainBookFile value books/micro.bin diff --git a/engines/AMD64/Rodent III/personalities/league/matthew.txt b/engines/AMD64/Rodent III/personalities/league/matthew.txt new file mode 100644 index 0000000..969bf1e --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/league/matthew.txt @@ -0,0 +1,55 @@ +; Matthew personality for Rodent III chess engine +; author: Pawel Koziol +; materialist, approaching 2000 Elo mark + +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value -10 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 5 +setoption name RookLikesOpen value 3 +setoption name Material value 120 +setoption name OwnAttack value 100 +setoption name OppAttack value 100 +setoption name OwnMobility value 100 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 2 +setoption name MobilityStyle value 1 +setoption name NpsLimit value 3600 +setoption name EvalBlur value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name Contempt value 10 +setoption name SlowMover value 105 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/guide/solid.bin +setoption name MainBookFile value books/small.bin diff --git a/engines/AMD64/Rodent III/personalities/league/patrick.txt b/engines/AMD64/Rodent III/personalities/league/patrick.txt new file mode 100644 index 0000000..0b52121 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/league/patrick.txt @@ -0,0 +1,55 @@ +; Patrick personality for Rodent III chess engine +; author: Pawel Koziol +; attacking player who cares about pawn structure, approx. strength 2000 Elo + +setoption name NpsLimit value 3830 +setoption name EvalBlur value 6 +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 5 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 125 +setoption name OppAttack value 100 +setoption name OwnMobility value 100 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 125 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 1 +setoption name MobilityStyle value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/guide/active.bin +setoption name MainBookFile value books/small.bin diff --git a/engines/AMD64/Rodent III/personalities/league/theresa.txt b/engines/AMD64/Rodent III/personalities/league/theresa.txt new file mode 100644 index 0000000..2fb9c85 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/league/theresa.txt @@ -0,0 +1,57 @@ +; Theresa personality for Rodent III chess engine +; author: Pawel Koziol +; tricky player, likes positional compensation for material, +; raised mobility and positional factors, lowered attack, +; unusual openings +; +setoption name PawnValue value 100 +setoption name KnightValue value 335 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 90 +setoption name OwnAttack value 50 +setoption name OppAttack value 70 +setoption name OwnMobility value 120 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 150 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 105 +setoption name Outposts value 110 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +settoption name PstStyle value 0 +seoption name MobilityStyle value 0 +setoption name NpsLimit value 5500 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/ph-exoticbook.bin +setoption name MainBookFile value books/micro.bin diff --git a/engines/AMD64/Rodent III/personalities/masters/nancy.txt b/engines/AMD64/Rodent III/personalities/masters/nancy.txt new file mode 100644 index 0000000..9defe3d --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/masters/nancy.txt @@ -0,0 +1,55 @@ +; Nancy personality for Rodent III +; author: Pawel Koziol +; attacking player who likes closed positions, approx. elo 2300 +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 1 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 40 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 8 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 120 +setoption name OppAttack value 100 +setoption name OwnMobility value 100 +setoption name OppMobility value 120 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 120 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 30000 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/guide/solid.bin +setoption name MainBookFile value books/rodent.bin diff --git a/engines/AMD64/Rodent III/personalities/masters/victor.txt b/engines/AMD64/Rodent III/personalities/masters/victor.txt new file mode 100644 index 0000000..f72a6c8 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/masters/victor.txt @@ -0,0 +1,55 @@ +; victor personality for Rodent III +; author: Pawel Koziol +; violent 2250 Elo player who likes to sacrifice and plays gambits +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 1 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 0 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 90 +setoption name OwnAttack value 120 +setoption name OppAttack value 100 +setoption name OwnMobility value 120 +setoption name OppMobility value 100 +setoption name KingTropism value 50 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 120 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 50 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 2 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 28000 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/ph-gambitbook.bin +setoption name MainBookFile value books/rodent.bin diff --git a/engines/AMD64/Rodent III/personalities/school/School.txt b/engines/AMD64/Rodent III/personalities/school/School.txt new file mode 100644 index 0000000..6f3823d --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/school/School.txt @@ -0,0 +1,626 @@ +[S_Amy] +; Amy personality for Rodent III +; weak, aggressive, slow +; +PawnValue value 100 +KnightValue value 325 +BishopValue value 335 +RookValue value 500 +QueenValue value 1000 +KeepPawn value 0 +KeepKnight value 0 +KeepBishop value 0 +KeepRook value 0 +KeepQueen value 0 +BishopPair value 50 +KnightPair value -10 +ExchangeImbalance value 25 +KnightLikesClosed value 6 +RookLikesOpen value 3 +Material value 100 +OwnAttack value 200 +OppAttack value 100 +OwnMobility value 200 +OppMobility value 100 +KingTropism value 20 +PiecePlacement value 100 +PiecePressure value 100 +PassedPawns value 100 +PawnStructure value 100 +Lines value 100 +Outposts value 100 +Fianchetto value 0 +PawnShield value 120 +PawnStorm value 100 +Forwardness value 0 +DoubledPawnMg value -12 +DoubledPawnEg value -24 +IsolatedPawnMg value -10 +IsolatedPawnEg value -20 +IsolatedOnOpenMg value -10 +BackwardPawnMg value -8 +BackwardPawnEg value -10 +BackwardOnOpenMg value -8 +PstStyle value 0 +MobilityStyle value 0 +NpsLimit value 64 +EvalBlur value 48 +Contempt value 0 +SearchSkill value 10 +RiskyDepth value 4 +SlowMover value 150 +Selectivity value 175 +BookFilter value 20 +GuideBookFile value books/micro.bin +MainBookFile value books/micro.bin + +[S_Andy] +; Andy personality for Rodent III +; author: Pawel Koziol +; weak, attacker +; +PawnValue value 100 +KnightValue value 325 +BishopValue value 335 +RookValue value 500 +QueenValue value 1000 +KeepPawn value 0 +KeepKnight value 0 +KeepBishop value 0 +KeepRook value 0 +KeepQueen value 0 +BishopPair value 50 +KnightPair value -10 +ExchangeImbalance value 25 +KnightLikesClosed value 6 +RookLikesOpen value 3 +Material value 100 +OwnAttack value 150 +OppAttack value 100 +OwnMobility value 100 +OppMobility value 100 +KingTropism value 20 +PiecePlacement value 100 +PiecePressure value 100 +PassedPawns value 100 +PawnStructure value 100 +Lines value 100 +Outposts value 100 +Fianchetto value 0 +PawnShield value 120 +PawnStorm value 100 +Forwardness value 0 +DoubledPawnMg value -12 +DoubledPawnEg value -24 +IsolatedPawnMg value -10 +IsolatedPawnEg value -20 +IsolatedOnOpenMg value -10 +BackwardPawnMg value -8 +BackwardPawnEg value -10 +BackwardOnOpenMg value -8 +PstStyle value 0 +MobilityStyle value 0 +NpsLimit value 300 +EvalBlur value 36 +Contempt value 0 +SearchSkill value 10 +RiskyDepth value 4 +SlowMover value 100 +Selectivity value 175 +BookFilter value 20 +GuideBookFile value books/micro.bin +MainBookFile value books/micro.bin + +[S_Ben] +; Ben personality for Rodent III chess engine +; author: Pawel Koziol +; weak, balanced, precise eval for his strength range +; +PawnValue value 100 +KnightValue value 325 +BishopValue value 335 +RookValue value 500 +QueenValue value 1000 +KeepPawn value 0 +KeepKnight value 0 +KeepBishop value 0 +KeepRook value 0 +KeepQueen value 0 +BishopPair value 50 +KnightPair value -10 +ExchangeImbalance value 25 +KnightLikesClosed value 6 +RookLikesOpen value 3 +Material value 100 +OwnAttack value 100 +OppAttack value 100 +OwnMobility value 100 +OppMobility value 100 +KingTropism value 20 +PiecePlacement value 100 +PiecePressure value 100 +PassedPawns value 100 +PawnStructure value 100 +Lines value 100 +Outposts value 100 +Fianchetto value 0 +PawnShield value 120 +PawnStorm value 100 +Forwardness value 0 +DoubledPawnMg value -12 +DoubledPawnEg value -24 +IsolatedPawnMg value -10 +IsolatedPawnEg value -20 +IsolatedOnOpenMg value -10 +BackwardPawnMg value -8 +BackwardPawnEg value -10 +BackwardOnOpenMg value -8 +PstStyle value 0 +MobilityStyle value 0 +NpsLimit value 64 +EvalBlur value 24 +Contempt value 0 +SearchSkill value 10 +RiskyDepth value 0 +SlowMover value 100 +Selectivity value 175 +BookFilter value 20 +GuideBookFile value books/micro.bin +MainBookFile value books/micro.bin + +[S_Chris] +; Chris personality for Rodent III chess engine +; author: Pawel Koziol +; weak, classical pst + restraint +; +PawnValue value 100 +KnightValue value 325 +BishopValue value 335 +RookValue value 500 +QueenValue value 1000 +KeepPawn value 0 +KeepKnight value 0 +KeepBishop value 0 +KeepRook value 0 +KeepQueen value 0 +BishopPair value 50 +KnightPair value -10 +ExchangeImbalance value 25 +KnightLikesClosed value 6 +RookLikesOpen value 3 +Material value 100 +OwnAttack value 100 +OppAttack value 100 +OwnMobility value 100 +OppMobility value 120 +KingTropism value 20 +PiecePlacement value 100 +PiecePressure value 100 +PassedPawns value 100 +PawnStructure value 100 +Lines value 100 +Outposts value 100 +Fianchetto value 0 +PawnShield value 120 +PawnStorm value 100 +Forwardness value 0 +DoubledPawnMg value -12 +DoubledPawnEg value -24 +IsolatedPawnMg value -10 +IsolatedPawnEg value -20 +IsolatedOnOpenMg value -10 +BackwardPawnMg value -8 +BackwardPawnEg value -10 +BackwardOnOpenMg value -8 +PstStyle value 0 +MobilityStyle value 0 +NpsLimit value 72 +EvalBlur value 48 +Contempt value 0 +SearchSkill value 10 +RiskyDepth value 0 +SlowMover value 100 +Selectivity value 175 +BookFilter value 20 +GuideBookFile value books/micro.bin +MainBookFile value books/micro.bin + +[S_Dory] +; Dory personality for Rodent III chess engine +; author: Pawel Koziol +; weak, defense oriented +; +PawnValue value 100 +KnightValue value 325 +BishopValue value 335 +RookValue value 500 +QueenValue value 1000 +KeepPawn value 0 +KeepKnight value 0 +KeepBishop value 0 +KeepRook value 0 +KeepQueen value 0 +BishopPair value 50 +KnightPair value -10 +ExchangeImbalance value 25 +KnightLikesClosed value 6 +RookLikesOpen value 3 +Material value 100 +OwnAttack value 100 +OppAttack value 150 +OwnMobility value 100 +OppMobility value 150 +KingTropism value 20 +PiecePlacement value 100 +PiecePressure value 100 +PassedPawns value 100 +PawnStructure value 100 +Lines value 100 +Outposts value 100 +Fianchetto value 0 +PawnShield value 120 +PawnStorm value 100 +Forwardness value 0 +DoubledPawnMg value -12 +DoubledPawnEg value -24 +IsolatedPawnMg value -10 +IsolatedPawnEg value -20 +IsolatedOnOpenMg value -10 +BackwardPawnMg value -8 +BackwardPawnEg value -10 +BackwardOnOpenMg value -8 +PstStyle value 0 +MobilityStyle value 1 +NpsLimit value 88 +EvalBlur value 36 +Contempt value 0 +SearchSkill value 10 +RiskyDepth value 0 +SlowMover value 100 +Selectivity value 175 +BookFilter value 20 +GuideBookFile value books/micro.bin +MainBookFile value books/micro.bin + +[S_Frank] +; Frank personality for Rodent III chess engine +; author: Pawel Koziol +; weak, rushes forward +; +PawnValue value 100 +KnightValue value 325 +BishopValue value 335 +RookValue value 500 +QueenValue value 1000 +KeepPawn value 0 +KeepKnight value 0 +KeepBishop value 0 +KeepRook value 0 +KeepQueen value 0 +BishopPair value 50 +KnightPair value -10 +ExchangeImbalance value 25 +KnightLikesClosed value 6 +RookLikesOpen value 3 +Material value 100 +OwnAttack value 100 +OppAttack value 100 +OwnMobility value 100 +OppMobility value 100 +KingTropism value 100 +PiecePlacement value 100 +PiecePressure value 100 +PassedPawns value 100 +PawnStructure value 100 +Lines value 100 +Outposts value 100 +Fianchetto value 0 +PawnShield value 120 +PawnStorm value 100 +Forwardness value 100 +DoubledPawnMg value -12 +DoubledPawnEg value -24 +IsolatedPawnMg value -10 +IsolatedPawnEg value -20 +IsolatedOnOpenMg value -10 +BackwardPawnMg value -8 +BackwardPawnEg value -10 +BackwardOnOpenMg value -8 +PstStyle value 2 +MobilityStyle value 0 +NpsLimit value 88 +EvalBlur value 36 +Contempt value 0 +SearchSkill value 10 +RiskyDepth value 0 +SlowMover value 100 +Selectivity value 175 +BookFilter value 20 +GuideBookFile value books/micro.bin +MainBookFile value books/micro.bin + +[S_Nora] +; Nora personality for Rodent III chess engine +; author: Pawel Koziol +; weak, overvalues knights, knows how to play with them +; +PawnValue value 100 +KnightValue value 335 +BishopValue value 305 +RookValue value 500 +QueenValue value 1000 +KeepPawn value 0 +KeepKnight value 0 +KeepBishop value 0 +KeepRook value 0 +KeepQueen value 0 +BishopPair value 50 +KnightPair value -10 +ExchangeImbalance value 25 +KnightLikesClosed value 6 +RookLikesOpen value 3 +Material value 100 +OwnAttack value 100 +OppAttack value 100 +OwnMobility value 100 +OppMobility value 100 +KingTropism value 20 +PiecePlacement value 100 +PiecePressure value 100 +PassedPawns value 100 +PawnStructure value 100 +Lines value 100 +Outposts value 200 +Fianchetto value 0 +PawnShield value 120 +PawnStorm value 100 +Forwardness value 0 +DoubledPawnMg value -12 +DoubledPawnEg value -24 +IsolatedPawnMg value -10 +IsolatedPawnEg value -20 +IsolatedOnOpenMg value -10 +BackwardPawnMg value -8 +BackwardPawnEg value -10 +BackwardOnOpenMg value -8 +PstStyle value 0 +MobilityStyle value 0 +NpsLimit value 88 +EvalBlur value 36 +Contempt value 0 +SearchSkill value 10 +RiskyDepth value 0 +SlowMover value 100 +Selectivity value 175 +BookFilter value 20 +GuideBookFile value books/micro.bin +MainBookFile value books/micro.bin + +[S_Pam] +; Pam personality for Rodent III chess engine +; author: Pawel Koziol +; overvalues pawns, cares for pawn structure +; +PawnValue value 120 +KnightValue value 325 +BishopValue value 335 +RookValue value 600 +QueenValue value 1000 +KeepPawn value 0 +KeepKnight value 0 +KeepBishop value 0 +KeepRook value 0 +KeepQueen value 0 +BishopPair value 50 +KnightPair value -10 +ExchangeImbalance value 25 +KnightLikesClosed value 6 +RookLikesOpen value 3 +Material value 100 +OwnAttack value 100 +OppAttack value 100 +OwnMobility value 100 +OppMobility value 100 +KingTropism value 20 +PiecePlacement value 100 +PiecePressure value 100 +PassedPawns value 120 +PawnStructure value 200 +Lines value 100 +Outposts value 100 +Fianchetto value 0 +PawnShield value 120 +PawnStorm value 100 +Forwardness value 0 +DoubledPawnMg value -12 +DoubledPawnEg value -24 +IsolatedPawnMg value -10 +IsolatedPawnEg value -20 +IsolatedOnOpenMg value -10 +BackwardPawnMg value -8 +BackwardPawnEg value -10 +BackwardOnOpenMg value -8 +PstStyle value 1 +MobilityStyle value 0 +NpsLimit value 100 +EvalBlur value 36 +Contempt value 0 +SearchSkill value 10 +RiskyDepth value 0 +SlowMover value 100 +Selectivity value 175 +BookFilter value 20 +GuideBookFile value books/micro.bin +MainBookFile value books/micro.bin + +[S_Rita] +; Rita personality for Rodent III ches engine +; author: Pawel Koziol +; weak, overvalues rooks +; +PawnValue value 100 +KnightValue value 325 +BishopValue value 335 +RookValue value 600 +QueenValue value 1000 +KeepPawn value 0 +KeepKnight value 0 +KeepBishop value 0 +KeepRook value 0 +KeepQueen value 0 +BishopPair value 50 +KnightPair value -10 +ExchangeImbalance value 25 +KnightLikesClosed value 6 +RookLikesOpen value 3 +Material value 100 +OwnAttack value 100 +OppAttack value 100 +OwnMobility value 100 +OppMobility value 100 +KingTropism value 20 +PiecePlacement value 100 +PiecePressure value 100 +PassedPawns value 100 +PawnStructure value 100 +Lines value 100 +Outposts value 100 +Fianchetto value 0 +PawnShield value 120 +PawnStorm value 100 +Forwardness value 0 +DoubledPawnMg value -12 +DoubledPawnEg value -24 +IsolatedPawnMg value -10 +IsolatedPawnEg value -20 +IsolatedOnOpenMg value -10 +BackwardPawnMg value -8 +BackwardPawnEg value -10 +BackwardOnOpenMg value -8 +PstStyle value 0 +MobilityStyle value 0 +NpsLimit value 56 +EvalBlur value 48 +Contempt value 0 +SearchSkill value 10 +RiskyDepth value 0 +SlowMover value 100 +Selectivity value 175 +BookFilter value 20 +GuideBookFile value books/micro.bin +MainBookFile value books/micro.bin + +[S_Stan] +; Stan personality for Rodent III ches engine +; author: Pawel Koziol +; Stan likes to simplify +; +PawnValue value 100 +KnightValue value 335 +BishopValue value 305 +RookValue value 500 +QueenValue value 1000 +KeepPawn value 0 +KeepKnight value -5 +KeepBishop value -5 +KeepRook value -10 +KeepQueen value -20 +BishopPair value 50 +KnightPair value -10 +ExchangeImbalance value 25 +KnightLikesClosed value 6 +RookLikesOpen value 3 +Material value 100 +OwnAttack value 100 +OppAttack value 100 +OwnMobility value 100 +OppMobility value 100 +KingTropism value 20 +PiecePlacement value 100 +PiecePressure value 100 +PassedPawns value 100 +PawnStructure value 100 +Lines value 100 +Outposts value 100 +Fianchetto value 0 +PawnShield value 120 +PawnStorm value 100 +Forwardness value 0 +DoubledPawnMg value -12 +DoubledPawnEg value -24 +IsolatedPawnMg value -10 +IsolatedPawnEg value -20 +IsolatedOnOpenMg value -10 +BackwardPawnMg value -8 +BackwardPawnEg value -10 +BackwardOnOpenMg value -8 +PstStyle value 0 +MobilityStyle value 0 +NpsLimit value 128 +EvalBlur value 36 +Contempt value 0 +SearchSkill value 10 +RiskyDepth value 0 +SlowMover value 100 +Selectivity value 175 +BookFilter value 20 +GuideBookFile value books/micro.bin +MainBookFile value books/micro.bin + +[S_Sue] +; Sue personality for Rodent III chess engine +; author: Pawel Koziol +; weak to moderate, likes to sacrifice +; +PawnValue value 100 +KnightValue value 325 +BishopValue value 335 +RookValue value 600 +QueenValue value 1000 +KeepPawn value 0 +KeepKnight value 0 +KeepBishop value 0 +KeepRook value 0 +KeepQueen value 0 +BishopPair value 50 +KnightPair value -10 +ExchangeImbalance value 25 +KnightLikesClosed value 6 +RookLikesOpen value 3 +Material value 80 +OwnAttack value 100 +OppAttack value 100 +OwnMobility value 100 +OppMobility value 100 +KingTropism value 20 +PiecePlacement value 100 +PiecePressure value 100 +PassedPawns value 100 +PawnStructure value 100 +Lines value 100 +Outposts value 100 +Fianchetto value 0 +PawnShield value 120 +PawnStorm value 100 +Forwardness value 0 +DoubledPawnMg value -12 +DoubledPawnEg value -24 +IsolatedPawnMg value -10 +IsolatedPawnEg value -20 +IsolatedOnOpenMg value -10 +BackwardPawnMg value -8 +BackwardPawnEg value -10 +BackwardOnOpenMg value -8 +PstStyle value 0 +MobilityStyle value 0 +NpsLimit value 128 +EvalBlur value 24 +Contempt value 0 +SearchSkill value 10 +RiskyDepth value 0 +SlowMover value 120 +Selectivity value 175 +BookFilter value 20 +GuideBookFile value books/micro.bin +MainBookFile value books/micro.bin + diff --git a/engines/AMD64/Rodent III/personalities/school/amy.txt b/engines/AMD64/Rodent III/personalities/school/amy.txt new file mode 100644 index 0000000..4d45de4 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/school/amy.txt @@ -0,0 +1,54 @@ +; Amy personality for Rodent III +; weak, aggressive, slow +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 200 +setoption name OppAttack value 100 +setoption name OwnMobility value 200 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 64 +setoption name EvalBlur value 48 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 4 +setoption name SlowMover value 150 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/micro.bin +setoption name MainBookFile value books/micro.bin diff --git a/engines/AMD64/Rodent III/personalities/school/andy.txt b/engines/AMD64/Rodent III/personalities/school/andy.txt new file mode 100644 index 0000000..038ab04 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/school/andy.txt @@ -0,0 +1,55 @@ +; Andy personality for Rodent III +; author: Pawel Koziol +; weak, attacker +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 150 +setoption name OppAttack value 100 +setoption name OwnMobility value 100 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 300 +setoption name EvalBlur value 36 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 4 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/micro.bin +setoption name MainBookFile value books/micro.bin diff --git a/engines/AMD64/Rodent III/personalities/school/ben.txt b/engines/AMD64/Rodent III/personalities/school/ben.txt new file mode 100644 index 0000000..56daf38 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/school/ben.txt @@ -0,0 +1,55 @@ +; Ben personality for Rodent III chess engine +; author: Pawel Koziol +; weak, balanced, precise eval for his strength range +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 100 +setoption name OppAttack value 100 +setoption name OwnMobility value 100 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 64 +setoption name EvalBlur value 24 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/micro.bin +setoption name MainBookFile value books/micro.bin diff --git a/engines/AMD64/Rodent III/personalities/school/chris.txt b/engines/AMD64/Rodent III/personalities/school/chris.txt new file mode 100644 index 0000000..8b4bc9a --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/school/chris.txt @@ -0,0 +1,55 @@ +; Chris personality for Rodent III chess engine +; author: Pawel Koziol +; weak, classical pst + restraint +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 100 +setoption name OppAttack value 100 +setoption name OwnMobility value 100 +setoption name OppMobility value 120 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 72 +setoption name EvalBlur value 48 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/micro.bin +setoption name MainBookFile value books/micro.bin diff --git a/engines/AMD64/Rodent III/personalities/school/dory.txt b/engines/AMD64/Rodent III/personalities/school/dory.txt new file mode 100644 index 0000000..4680600 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/school/dory.txt @@ -0,0 +1,55 @@ +; Dory personality for Rodent III chess engine +; author: Pawel Koziol +; weak, defense oriented +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 100 +setoption name OppAttack value 150 +setoption name OwnMobility value 100 +setoption name OppMobility value 150 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 1 +setoption name NpsLimit value 88 +setoption name EvalBlur value 36 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/micro.bin +setoption name MainBookFile value books/micro.bin diff --git a/engines/AMD64/Rodent III/personalities/school/frank.txt b/engines/AMD64/Rodent III/personalities/school/frank.txt new file mode 100644 index 0000000..b7d3d93 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/school/frank.txt @@ -0,0 +1,55 @@ +; Frank personality for Rodent III chess engine +; author: Pawel Koziol +; weak, rushes forward +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 100 +setoption name OppAttack value 100 +setoption name OwnMobility value 100 +setoption name OppMobility value 100 +setoption name KingTropism value 100 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 100 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 2 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 88 +setoption name EvalBlur value 36 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/micro.bin +setoption name MainBookFile value books/micro.bin diff --git a/engines/AMD64/Rodent III/personalities/school/nora.txt b/engines/AMD64/Rodent III/personalities/school/nora.txt new file mode 100644 index 0000000..0c8a193 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/school/nora.txt @@ -0,0 +1,55 @@ +; Nora personality for Rodent III chess engine +; author: Pawel Koziol +; weak, overvalues knights, knows how to play with them +; +setoption name PawnValue value 100 +setoption name KnightValue value 335 +setoption name BishopValue value 305 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 100 +setoption name OppAttack value 100 +setoption name OwnMobility value 100 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 200 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 88 +setoption name EvalBlur value 36 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/micro.bin +setoption name MainBookFile value books/micro.bin diff --git a/engines/AMD64/Rodent III/personalities/school/pam.txt b/engines/AMD64/Rodent III/personalities/school/pam.txt new file mode 100644 index 0000000..c93d053 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/school/pam.txt @@ -0,0 +1,55 @@ +; Pam personality for Rodent III chess engine +; author: Pawel Koziol +; overvalues pawns, cares for pawn structure +; +setoption name PawnValue value 120 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 600 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 100 +setoption name OppAttack value 100 +setoption name OwnMobility value 100 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 120 +setoption name PawnStructure value 200 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 1 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 100 +setoption name EvalBlur value 36 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/micro.bin +setoption name MainBookFile value books/micro.bin diff --git a/engines/AMD64/Rodent III/personalities/school/rita.txt b/engines/AMD64/Rodent III/personalities/school/rita.txt new file mode 100644 index 0000000..0e99f8b --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/school/rita.txt @@ -0,0 +1,55 @@ +; Rita personality for Rodent III ches engine +; author: Pawel Koziol +; weak, overvalues rooks +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 600 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 100 +setoption name OppAttack value 100 +setoption name OwnMobility value 100 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 56 +setoption name EvalBlur value 48 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/micro.bin +setoption name MainBookFile value books/micro.bin diff --git a/engines/AMD64/Rodent III/personalities/school/stan.txt b/engines/AMD64/Rodent III/personalities/school/stan.txt new file mode 100644 index 0000000..08e612c --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/school/stan.txt @@ -0,0 +1,55 @@ +; Stan personality for Rodent III ches engine +; author: Pawel Koziol +; Stan likes to simplify +; +setoption name PawnValue value 100 +setoption name KnightValue value 335 +setoption name BishopValue value 305 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value -5 +setoption name KeepBishop value -5 +setoption name KeepRook value -10 +setoption name KeepQueen value -20 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 100 +setoption name OppAttack value 100 +setoption name OwnMobility value 100 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 128 +setoption name EvalBlur value 36 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/micro.bin +setoption name MainBookFile value books/micro.bin diff --git a/engines/AMD64/Rodent III/personalities/school/sue.txt b/engines/AMD64/Rodent III/personalities/school/sue.txt new file mode 100644 index 0000000..0259fb8 --- /dev/null +++ b/engines/AMD64/Rodent III/personalities/school/sue.txt @@ -0,0 +1,55 @@ +; Sue personality for Rodent III chess engine +; author: Pawel Koziol +; weak to moderate, likes to sacrifice +; +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 600 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 80 +setoption name OwnAttack value 100 +setoption name OppAttack value 100 +setoption name OwnMobility value 100 +setoption name OppMobility value 100 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 128 +setoption name EvalBlur value 24 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 120 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value books/micro.bin +setoption name MainBookFile value books/micro.bin diff --git a/engines/AMD64/Rodent III/rodent.bin b/engines/AMD64/Rodent III/rodent.bin new file mode 100644 index 0000000..72f0b54 Binary files /dev/null and b/engines/AMD64/Rodent III/rodent.bin differ diff --git a/engines/AMD64/Rodent III/rodent.txt b/engines/AMD64/Rodent III/rodent.txt new file mode 100644 index 0000000..f260cdf --- /dev/null +++ b/engines/AMD64/Rodent III/rodent.txt @@ -0,0 +1,55 @@ +; Rodent personality for Rodent III chess engine +; author: Pawel Koziol +; default + +setoption name PawnValue value 100 +setoption name KnightValue value 325 +setoption name BishopValue value 335 +setoption name RookValue value 500 +setoption name QueenValue value 1000 +setoption name KeepPawn value 0 +setoption name KeepKnight value 0 +setoption name KeepBishop value 0 +setoption name KeepRook value 0 +setoption name KeepQueen value 0 +setoption name BishopPair value 50 +setoption name KnightPair value -10 +setoption name ExchangeImbalance value 25 +setoption name KnightLikesClosed value 6 +setoption name RookLikesOpen value 3 +setoption name Material value 100 +setoption name OwnAttack value 110 +setoption name OppAttack value 100 +setoption name OwnMobility value 100 +setoption name OppMobility value 110 +setoption name KingTropism value 20 +setoption name PiecePlacement value 100 +setoption name PiecePressure value 100 +setoption name PassedPawns value 100 +setoption name PawnStructure value 100 +setoption name Lines value 100 +setoption name Outposts value 100 +setoption name Fianchetto value 0 +setoption name PawnShield value 120 +setoption name PawnStorm value 100 +setoption name Forwardness value 0 +setoption name DoubledPawnMg value -12 +setoption name DoubledPawnEg value -24 +setoption name IsolatedPawnMg value -10 +setoption name IsolatedPawnEg value -20 +setoption name IsolatedOnOpenMg value -10 +setoption name BackwardPawnMg value -8 +setoption name BackwardPawnEg value -10 +setoption name BackwardOnOpenMg value -8 +setoption name PstStyle value 0 +setoption name MobilityStyle value 0 +setoption name NpsLimit value 0 +setoption name EvalBlur value 0 +setoption name Contempt value 0 +setoption name SearchSkill value 10 +setoption name RiskyDepth value 0 +setoption name SlowMover value 100 +setoption name Selectivity value 175 +setoption name BookFilter value 20 +setoption name GuideBookFile value rodent.bin +setoption name MainBookFile value rodent.bin diff --git a/engines/AMD64/Rodent III/rodent_III_x64.exe b/engines/AMD64/Rodent III/rodent_III_x64.exe new file mode 100644 index 0000000..adb40d1 Binary files /dev/null and b/engines/AMD64/Rodent III/rodent_III_x64.exe differ diff --git a/engines/AMD64/Rodent III/rodent_III_x64_plain.exe b/engines/AMD64/Rodent III/rodent_III_x64_plain.exe new file mode 100644 index 0000000..926ea06 Binary files /dev/null and b/engines/AMD64/Rodent III/rodent_III_x64_plain.exe differ diff --git a/engines/AMD64/Rodent III/sources/Makefile b/engines/AMD64/Rodent III/sources/Makefile new file mode 100644 index 0000000..3492296 --- /dev/null +++ b/engines/AMD64/Rodent III/sources/Makefile @@ -0,0 +1,81 @@ +#makefile to compile Rodent II on Linux + +#define the directory for the executable file +BINDIR = /usr/bin + +#define the directory for the data files +DATADIR = /usr/share/rodentIII + + +# define the C compiler to use +CC = g++ + +# define the compile-time flags +CFLAGS = -g -w -Wfatal-errors -pipe -DNDEBUG -O3 -fno-rtti -finline-functions -fprefetch-loop-arrays -DBOOKPATH=$(DATADIR) +C1FLAGS = -g -w -Wfatal-errors -pipe -DWRITEDEBUGFILE -DBOOKPATH=$(DATADIR) + +# define the link options +LDFLAGS = -s -lm +LD1FLAGS = -lm + +# define outpout name and settings file +EXENAME= rodentIII +CONFIGFILE = basic.ini + +.PHONY: clean install update remove help + +default: build + +build: + @echo "Type make help for additional options" + $(CC) $(LDFLAGS) $(CFLAGS) -o $(EXENAME) -x c++ compile.linux + echo "SHOW_OPTIONS" > $(CONFIGFILE) + +build-static: + @echo "Type make help for additional options" + $(CC) $(LDFLAGS) -static $(CFLAGS) -o $(EXENAME) -x c++ compile.linux + echo "SHOW_OPTIONS" > $(CONFIGFILE) + +build-debug: + @echo "Type make help for additional options" + $(CC) $(LD1FLAGS) $(C1FLAGS) -o $(EXENAME) -x c++ compile.linux + echo "SHOW_OPTIONS" > $(CONFIGFILE) + +%.o : %.c + $(CC) $(CFLAGS) $< -o $@ + +%.o : %.cpp + $(CC) $(CFLAGS) $< -o $@ + +clean: + rm -f $(EXENAME) + +install: + mkdir -p $(BINDIR) + mkdir -p $(DATADIR) + cp $(EXENAME) $(BINDIR) + cp $(CONFIGFILE) $(DATADIR) + find ../books/ -name '*.bin' -type f -exec cp '{}' $(DATADIR) \; + find ../personalities/ -name '*.ini' -type f -exec cp '{}' $(DATADIR) \; + chmod 755 $(BINDIR)/$(EXENAME) + chmod 644 $(DATADIR)/* + +# this just performs a copy of rodentIII engine +update: + cp $(EXENAME) $(BINDIR) + +remove: + rm -f $(BINDIR)/$(EXENAME) + rm -rf $(DATADIR) + +help: + @echo "" + @echo "To compile RodentIII type:" + @echo "" + @echo "make build > Compile Rodent III" + @echo "make build-static > Compile Rodent III as a static binary" + @echo "make build-debug > Compile Rodent III with Logfile support" + @echo "make clean > Clean up" + @echo "make install > Install RodentIII (root privileges required)" + @echo "make update > Update RodenIII engine (root privileges required)" + @echo "make remove > Remove RodenIII from your system (root privileges required)" diff --git a/engines/AMD64/Rodent III/sources/compile.linux b/engines/AMD64/Rodent III/sources/compile.linux new file mode 100644 index 0000000..9fd3b21 --- /dev/null +++ b/engines/AMD64/Rodent III/sources/compile.linux @@ -0,0 +1,28 @@ +#include "src/attacks.cpp" +#include "src/bitboard.cpp" +#include "src/book.cpp" +#include "src/data.cpp" +#include "src/eval.cpp" +#include "src/eval_draw.cpp" +#include "src/eval_patterns.cpp" +#include "src/eval_pawn.cpp" +#include "src/gen.cpp" +#include "src/init.cpp" +#include "src/legal.cpp" +#include "src/magicmoves.c" +#include "src/main.cpp" +#include "src/mask.cpp" +#include "src/movedo.cpp" +#include "src/moveundo.cpp" +#include "src/next.cpp" +#include "src/params.cpp" +#include "src/quiesce.cpp" +#include "src/recognize.cpp" +#include "src/search.cpp" +#include "src/setboard.cpp" +#include "src/swap.cpp" +#include "src/trans.cpp" +#include "src/uci.cpp" +#include "src/uci_options.cpp" +#include "src/util.cpp" + diff --git a/engines/AMD64/Rodent III/sources/contributions.txt b/engines/AMD64/Rodent III/sources/contributions.txt new file mode 100644 index 0000000..ea2718a --- /dev/null +++ b/engines/AMD64/Rodent III/sources/contributions.txt @@ -0,0 +1,32 @@ +EXTERNAL CODE USAGE: + +test positions used in Bench() taken from DiscoCheck by Lucas Braesch +hanging piece evaluation based on DiscoCheck by Lucas Braesch (expanded to defended and undefended pieces) +material imbalance evaluation based on Crafty by Robert Hyatt +king tropism formula from GambitFruit by Ryan Benitez (who has modified Fruit by Fabien Letouzey) +forwardness eval term is based on space evaluation from Toga II 3.0 (another Fruit derivative by Thomas Gaksch and Jerry Donald) +razoring code is based on Toga II 3.0 +aspiration search based on Senpai 1.0 by Fabien Letouzey +late move reduction formula is based on that of Stockfish +pawn island evaluation from Texel by Peter Österlund +GetBetween() function used to generate discovered checks from Chessprogramming Wiki via code of Laser by Jeffrey An and Michael An +non-magic move generation from Chesprogramming Wiki (occluded attacks) +magic bitboard move generator by Pradyumna Kannan + +CONTRIBUTIONS FROM OTHER PEOPLE + +Jim Ablett supplied Android compiles +Graham Banks made a funny, cartoon-like logo +Matthew R. Brades, Denis Mendoza and Martin Sedlak supplied Linux compiles of some 1.x versions +Lucas Braesch prompted me repeteadly to maintain Linux compatibility +Dann Corbit has sent a patch allowing to use popcount intrinsics and fast 64-bit compiles, pointed some bugs. +Jon Dart supplied a Linux patch of some bitboard functions +Kestutis Gasaitis made a thorough code inspection of 0.xx versions, spotting bugs and suggesting improvements. +Raimar Goldschmidt supplied several bugfixes and created personality testing framework +Dave Kaye prepared Rodent II to be compiled under Linux +Denis Mendoza created a logo featuring Speedy Gonzales +Ferdinand Mosca created very funny KingHunter personality +Brendan J. Norman created Henny and Remy personalities and reviewed Rodent +Frank Quasinsky tested Rodent II for FCP rating list +Roman T. Sovanyan created Rodent Risky branch, and his contribution has been accepted +Pablo Vazquez has kindly allowed me to use the codebase of Sungorus to start this project diff --git a/engines/AMD64/Rodent III/sources/history.txt b/engines/AMD64/Rodent III/sources/history.txt new file mode 100644 index 0000000..f6b526d --- /dev/null +++ b/engines/AMD64/Rodent III/sources/history.txt @@ -0,0 +1,375 @@ +2017-02-22 + +- undefended pieces penalty + +2017-02-21 + +- central bind bonus + +2017-02-20 + +- fixing asymmetry bug in pawn chains eval + +2017-02-16 + +- fianchetto near own king +- penalty for c pawn blocked by own knight + +2017-02-14 + +- thread that is lagging behind will skip iteration + +2017-02-12 + +- no delta pruning in late endgame + +2017-02-11 + +- loading personalities from file + +2017-02-04 + +- delta pruning in qs +- moving see pruning after delta pruning in qs + +2017-02-02 + +- polyglot opening book + +2017-01-31 + +- KBNK checkmate helper +- more drawish positions scaled down + +2017-01-30 + +- one more pst table + +2017-01-29 + +- TransRetrieveMove function (speedup for internal iterative deepening) + +2017-01-26 + +- reintroducing pawn options + +2017-01-22 + +- info currmove (single processor only) +- trapped bishop at A6/H6 + +2017-01-21 + +- contempt, eval blur + +2017-01-19 + +- reinstating pawn chain eval from Rodent II 0.9.64 + +2017-01-16 + +- king attacks on squares defended by pawns not counted +- better endgame phalanx/defended tables + +2016-12-10 + +- GenerateSpecial() does not generate castling moves + +2016-12-07 + +- KBP vs K draw detected + +2016-11-30 + +- candidate passers + phalanx and defended pawns finally working + +2016-11-26 + +- default mobility retuned + +2016-11-23 + +- OwnAttack, OppAttack, OwnMobility and OppMobility options + +2016-11-19 + +- mate distance pruning + +2016-11-18 + +- fianchetto related patterns reintroduced + +2016-11-17 + +- rudimentary castling rights eval + +2016-11-16 + +- three sets of pst tables + +26-11-11 + +- almost retired PcBb macro + +2016-11-08 + +- trapped knight code +- partial fix of ShiftSideways() - candidate passers now evaluated correctly +- retuning phalanx/defended is the next task + +2016-11-07 + +- partial fix of ShiftSideways() concerning weak pawns +- CCRL rating estimation on single core: 2890 (22 to 0.9.64) + +2016-11-06 + +- partial fix of ShiftSideways() concerning pawn endgame draw detection +-partial fix of ShiftSideways() concerning generating of check moves + +2016-11-05 + +- magic bitboard +- ShiftSideways() bug identified + +2016-11-04 + +- beta cutoff at root changes pv + +2016-11-03 + +- fix to KPKDraw() +- estimated CCRL Elo on one core: 2868 (60-90 to go) + +2016-11-02 + +- limiting check extension +- penalty for a king on a pawnless wing +- first take on King's Indian pawn chain +- renaming files to *.cpp + +2016-11-01 + +- separating cMask class that holds bitboard masks + +2016-10-31 + +- penalty for a minor piece that cannot reach enemy half of the board + +2016-10-30 + +- tempo eval +- the first version of check-aware quiescence search +(first ply only, not all checks taken into account) +- 2825 CCRL approx. on one core (100 more to go) + +2016-10-29 + +- normalising king's square in pawn shield eval + +2016-10-28 + +- null move refutation sorted higher + +2016-10-27 + +- bugfix of pawn control maps +- minor piece mobility excludes squares controlled by enemy pawns + +2016-10-26 + +- more concise pruning/reduction code with evaluation done beforehand +- switched off pawn hash, as it is buggy + +2016-10-25 + +- better QuiesceFlee() +- no razoring if there is a pawn about to promote + +2016-10-24 + +- marginal speedup by using QuiesceFlee() + +2016-10-22 + +- forwardness (disabled) + +2016-10-21 + +- king tropism + +2016-10-20 + +- incrementally updated pst score +- odd threads start at depth + 1 + +2016-10-19 + +- moving variables to cParam struct +- queen attack eval bug fixed +- KBPKm and KNNK draws + +2016-10-18 + +- more endgame knowledge +- separating cParam struct +- estimated strength at 2 CPU: 2830 (120 to go) + +2016-10-17 + +- futility pruning bugfix +- futility pruning also controlled by history limit +- more detailed rook on open file open file eval + +2015-10-16 + +- attack bitboards +- evaluation of attacked pieces +- more refined passers evaluation +- different history sorting algorithm +- history limit on lmp/lmr + +2016-10-15 + +- speed bugfix + +2016-10-14 + +- lmr of bad captures + +2016-10-13 + +- pawn hash + +2016-10-12 + +- unstoppable passers +- separating passer eval (a preparatory move towards pawn hashing) + +2016-10-11 + +- distance of passer to enemy king +- futility pruning +- rating estimate for 2 threads: 2760 (on par with Rodent 1.4) + +2016-10-10 + +- multiple fixes regarding major pieces eval, incl. rook on 7th and queen on 7th +- pawns on bishop's color + +2016-10-09 + +- piece count variable in board class +- material imbalance evaluation +- static draw detection in search (KK, KmK, some KPK positions) +- stub of a function for scaling down dra scores + +2016-10-08 + +- futility pruning +- rating estimate for 2 threads: 2700-2750 + +2016-10-07 + +- outpost defended by two pawns + +2016-10-06 + +- pawn in front of a minor bonus +- razoring added +- successfully transplanted king safety code + +2016-10-05 + +- KK, KmK, KmKp, KmKpp draws evaluated as such +- faster popcnt +- faster FirstOne() +- bitboards for cumulated attack evaluation +- rating estimate for 2 threads: 2664 + +2016-10-03 + +- better null move implementation + +2016-10-02 + +- iterative widening + +2016-10-01 + +- basic outpost code +- incrementally updated game phase + +2016-09-30 + +- tuning bishop value +- separating bitboard.c + +2016-09-29 + +- draw by 50 moves rule and by bare kings +- rook trapped by uncastled king eval +- timing fixes (more testing needed) + +2016-09-28 + +- mp stability fixes +- better lmr +- uncovered bug - timeout in drawn positions +- nps reporting + +2016-09-27 + +- per-thread evaluation hash table +- basic elements of pawn eval all in place +- lmr in pv nodes +- bishop pair +- option to pick 1 to 4 threads + +2016-09-26 + +- was_null variable as a parameter of Search() +- static null move pruning +- faster play at hyperbullet time control +- history counter incremented by depth * depth + +2016-09-25 + +- first multicore version +- tweak: using pv from the second core if deeper +- rook on (half) open file + +2016-09-19 + +- passers retuned +- EvaluatePawns() is now void + +2016-09-17 + +- lmr depth retuning +- shift helper macros added +- FillNorth(), FillSouth(), bbRelRank[] +- king's pawn shield and pawn storm added + +2016-09-16 +- basic king attack function + +2016-09-15 + +- interpolated pst score + +2016-09-14 + +- 1 ply late move reduction in non-pv nodes with re-search +- NextMove() returns move flag +- we count moves tried and quiet moves tried +- we determine if node is pv-node + +2016-09-13 +-Sungorus port +-renamed to Skeleton 0.000 +-added "go depth" command +-removed lazy eval +-renamed "Mobility" to "EvaluatePieces" +-function PopFirstBit() added +-shrinking eval and mgen because of that \ No newline at end of file diff --git a/engines/AMD64/Rodent III/tools/tuner.htm b/engines/AMD64/Rodent III/tools/tuner.htm new file mode 100644 index 0000000..456f5d7 --- /dev/null +++ b/engines/AMD64/Rodent III/tools/tuner.htm @@ -0,0 +1,212 @@ + + + + + + + + + + + +

Rodent personality creator

+ +
+

Material

+

Pawn value

+

Knight value

+

Bishop value

+

Rook value

+

Queen value

+
+

Keep pawn

+

Keep knight

+

Keep bishop

+

Keep rook

+

Keep queen

+
+

Bishop Pair

+

Knight Pair

+

Exchange Adv

+

N likes closed

+

R likes open

+ +
+ +
+

Weights

+

Material

+

Own attack

+

Opp attack

+

Own mobility

+

Opp mobility

+
+

King tropism

+

Piece placement

+

Piece pressure

+

Passed pawns

+

Pawn structure

+
+

Lines

+

Outposts

+

Pawn shield

+

Pawn storm

+

Forwardness

+
+ +
+

Pawns

+

Doubled midgame

+

Doubled endgame

+

Isolated midgame

+

Isolated endgame

+

Isolated on open

+
+

Backward midgame

+

Backward endgame

+

Backward on open

+
+ +

Patterns

+

Fianchetto

+
+ +

Switches

+
+ +

Piece play style + + +

+

Mobility style + + +

+ +
+ +
+

Others

+

NPS limit

+

Eval blur

+

Contempt

+

SlowMover

+

Selectivity

+

SearchSkill

+
+

Opening book

+

Book filter

+ +
+ + +

+ + + diff --git a/engines/AMD64/Rodent_School.uci b/engines/AMD64/Rodent_School.uci new file mode 100644 index 0000000..5c224c1 --- /dev/null +++ b/engines/AMD64/Rodent_School.uci @@ -0,0 +1,626 @@ +[S_Amy] +; Amy personality for Rodent III +; weak, aggressive, slow +; +Pawn= = 100 +Knight= = 325 +Bishop= = 335 +Rook= = 500 +Queen= = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +ExchangeImbalance = 25 +KnightLikesClosed = 6 +RookLikesOpen = 3 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 200 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +Fianchetto = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 64 +EvalBlur = 48 +Contempt = 0 +SearchSkill = 10 +RiskyDepth = 4 +SlowMover = 150 +Selectivity = 175 +BookFilter = 20 +GuideBookFile = books/micro.bin +MainBookFile = books/micro.bin + +[S_Andy] +; Andy personality for Rodent III +; author: Pawel Koziol +; weak, attacker +; +Pawn= = 100 +Knight= = 325 +Bishop= = 335 +Rook= = 500 +Queen= = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +ExchangeImbalance = 25 +KnightLikesClosed = 6 +RookLikesOpen = 3 +Material = 100 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +Fianchetto = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 300 +EvalBlur = 36 +Contempt = 0 +SearchSkill = 10 +RiskyDepth = 4 +SlowMover = 100 +Selectivity = 175 +BookFilter = 20 +GuideBookFile = books/micro.bin +MainBookFile = books/micro.bin + +[S_Ben] +; Ben personality for Rodent III chess engine +; author: Pawel Koziol +; weak, balanced, precise eval for his strength range +; +Pawn= = 100 +Knight= = 325 +Bishop= = 335 +Rook= = 500 +Queen= = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +ExchangeImbalance = 25 +KnightLikesClosed = 6 +RookLikesOpen = 3 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +Fianchetto = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 64 +EvalBlur = 24 +Contempt = 0 +SearchSkill = 10 +RiskyDepth = 0 +SlowMover = 100 +Selectivity = 175 +BookFilter = 20 +GuideBookFile = books/micro.bin +MainBookFile = books/micro.bin + +[S_Chris] +; Chris personality for Rodent III chess engine +; author: Pawel Koziol +; weak, classical pst + restraint +; +Pawn= = 100 +Knight= = 325 +Bishop= = 335 +Rook= = 500 +Queen= = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +ExchangeImbalance = 25 +KnightLikesClosed = 6 +RookLikesOpen = 3 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +Fianchetto = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 72 +EvalBlur = 48 +Contempt = 0 +SearchSkill = 10 +RiskyDepth = 0 +SlowMover = 100 +Selectivity = 175 +BookFilter = 20 +GuideBookFile = books/micro.bin +MainBookFile = books/micro.bin + +[S_Dory] +; Dory personality for Rodent III chess engine +; author: Pawel Koziol +; weak, defense oriented +; +Pawn= = 100 +Knight= = 325 +Bishop= = 335 +Rook= = 500 +Queen= = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +ExchangeImbalance = 25 +KnightLikesClosed = 6 +RookLikesOpen = 3 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 100 +OppMobility = 150 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +Fianchetto = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +PstStyle = 0 +MobilityStyle = 1 +NpsLimit = 88 +EvalBlur = 36 +Contempt = 0 +SearchSkill = 10 +RiskyDepth = 0 +SlowMover = 100 +Selectivity = 175 +BookFilter = 20 +GuideBookFile = books/micro.bin +MainBookFile = books/micro.bin + +[S_Frank] +; Frank personality for Rodent III chess engine +; author: Pawel Koziol +; weak, rushes forward +; +Pawn= = 100 +Knight= = 325 +Bishop= = 335 +Rook= = 500 +Queen= = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +ExchangeImbalance = 25 +KnightLikesClosed = 6 +RookLikesOpen = 3 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 100 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +Fianchetto = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 88 +EvalBlur = 36 +Contempt = 0 +SearchSkill = 10 +RiskyDepth = 0 +SlowMover = 100 +Selectivity = 175 +BookFilter = 20 +GuideBookFile = books/micro.bin +MainBookFile = books/micro.bin + +[S_Nora] +; Nora personality for Rodent III chess engine +; author: Pawel Koziol +; weak, over=s knights, knows how to play with them +; +Pawn= = 100 +Knight= = 335 +Bishop= = 305 +Rook= = 500 +Queen= = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +ExchangeImbalance = 25 +KnightLikesClosed = 6 +RookLikesOpen = 3 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 200 +Fianchetto = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 88 +EvalBlur = 36 +Contempt = 0 +SearchSkill = 10 +RiskyDepth = 0 +SlowMover = 100 +Selectivity = 175 +BookFilter = 20 +GuideBookFile = books/micro.bin +MainBookFile = books/micro.bin + +[S_Pam] +; Pam personality for Rodent III chess engine +; author: Pawel Koziol +; over=s pawns, cares for pawn structure +; +Pawn= = 120 +Knight= = 325 +Bishop= = 335 +Rook= = 600 +Queen= = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +ExchangeImbalance = 25 +KnightLikesClosed = 6 +RookLikesOpen = 3 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 120 +PawnStructure = 200 +Lines = 100 +Outposts = 100 +Fianchetto = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 100 +EvalBlur = 36 +Contempt = 0 +SearchSkill = 10 +RiskyDepth = 0 +SlowMover = 100 +Selectivity = 175 +BookFilter = 20 +GuideBookFile = books/micro.bin +MainBookFile = books/micro.bin + +[S_Rita] +; Rita personality for Rodent III ches engine +; author: Pawel Koziol +; weak, over=s rooks +; +Pawn= = 100 +Knight= = 325 +Bishop= = 335 +Rook= = 600 +Queen= = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +ExchangeImbalance = 25 +KnightLikesClosed = 6 +RookLikesOpen = 3 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +Fianchetto = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 56 +EvalBlur = 48 +Contempt = 0 +SearchSkill = 10 +RiskyDepth = 0 +SlowMover = 100 +Selectivity = 175 +BookFilter = 20 +GuideBookFile = books/micro.bin +MainBookFile = books/micro.bin + +[S_Stan] +; Stan personality for Rodent III ches engine +; author: Pawel Koziol +; Stan likes to simplify +; +Pawn= = 100 +Knight= = 335 +Bishop= = 305 +Rook= = 500 +Queen= = 1000 +KeepPawn = 0 +KeepKnight = -5 +KeepBishop = -5 +KeepRook = -10 +KeepQueen = -20 +BishopPair = 50 +KnightPair = -10 +ExchangeImbalance = 25 +KnightLikesClosed = 6 +RookLikesOpen = 3 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +Fianchetto = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 128 +EvalBlur = 36 +Contempt = 0 +SearchSkill = 10 +RiskyDepth = 0 +SlowMover = 100 +Selectivity = 175 +BookFilter = 20 +GuideBookFile = books/micro.bin +MainBookFile = books/micro.bin + +[S_Sue] +; Sue personality for Rodent III chess engine +; author: Pawel Koziol +; weak to moderate, likes to sacrifice +; +Pawn= = 100 +Knight= = 325 +Bishop= = 335 +Rook= = 600 +Queen= = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +ExchangeImbalance = 25 +KnightLikesClosed = 6 +RookLikesOpen = 3 +Material = 80 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +Fianchetto = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 128 +EvalBlur = 24 +Contempt = 0 +SearchSkill = 10 +RiskyDepth = 0 +SlowMover = 120 +Selectivity = 175 +BookFilter = 20 +GuideBookFile = books/micro.bin +MainBookFile = books/micro.bin + diff --git a/engines/AMD64/b-texel7 b/engines/AMD64/b-texel7 new file mode 100644 index 0000000..cdb5d34 Binary files /dev/null and b/engines/AMD64/b-texel7 differ diff --git a/engines/AMD64/b-texel7.uci b/engines/AMD64/b-texel7.uci new file mode 100644 index 0000000..c034fcf --- /dev/null +++ b/engines/AMD64/b-texel7.uci @@ -0,0 +1,33 @@ +[Level@00] +Strength = 0 + +[Level@01] +Strength = 100 + +[Level@02] +Strength = 200 + +[Level@03] +Strength = 300 + +[Level@04] +Strength = 400 + +[Level@05] +Strength = 500 + +[Level@06] +Strength = 600 + +[Level@07] +Strength = 700 + +[Level@08] +Strength = 800 + +[Level@09] +Strength = 900 + +[Level@10] +Strength = 1000 + diff --git a/engines/AMD64/c-arasan b/engines/AMD64/c-arasan new file mode 100644 index 0000000..6f27a42 Binary files /dev/null and b/engines/AMD64/c-arasan differ diff --git a/engines/AMD64/c-arasan.uci b/engines/AMD64/c-arasan.uci new file mode 100644 index 0000000..dcbf033 --- /dev/null +++ b/engines/AMD64/c-arasan.uci @@ -0,0 +1,88 @@ +[DEFAULT] +Threads = 1 +Hash = 32 + +[Elo@1000] +UCI_Elo = 1000 +UCI_LimitStrength = true + +[Elo@1080] +UCI_Elo = 1080 +UCI_LimitStrength = true + +[Elo@1160] +UCI_Elo = 1160 +UCI_LimitStrength = true + +[Elo@1240] +UCI_Elo = 1240 +UCI_LimitStrength = true + +[Elo@1320] +UCI_Elo = 1320 +UCI_LimitStrength = true + +[Elo@1400] +UCI_Elo = 1400 +UCI_LimitStrength = true + +[Elo@1480] +UCI_Elo = 1480 +UCI_LimitStrength = true + +[Elo@1560] +UCI_Elo = 1560 +UCI_LimitStrength = true + +[Elo@1640] +UCI_Elo = 1640 +UCI_LimitStrength = true + +[Elo@1720] +UCI_Elo = 1720 +UCI_LimitStrength = true + +[Elo@1800] +UCI_Elo = 1800 +UCI_LimitStrength = true + +[Elo@1880] +UCI_Elo = 1880 +UCI_LimitStrength = true + +[Elo@1960] +UCI_Elo = 1960 +UCI_LimitStrength = true + +[Elo@2040] +UCI_Elo = 2040 +UCI_LimitStrength = true + +[Elo@2120] +UCI_Elo = 2120 +UCI_LimitStrength = true + +[Elo@2200] +UCI_Elo = 2200 +UCI_LimitStrength = true + +[Elo@2280] +UCI_Elo = 2280 +UCI_LimitStrength = true + +[Elo@2360] +UCI_Elo = 2360 +UCI_LimitStrength = true + +[Elo@2440] +UCI_Elo = 2440 +UCI_LimitStrength = true + +[Elo@2520] +UCI_Elo = 2520 +UCI_LimitStrength = true + +[Elo@2600] +UCI_Elo = 2600 +UCI_LimitStrength = false + diff --git a/engines/AMD64/d-rodent.uci b/engines/AMD64/d-rodent.uci new file mode 100644 index 0000000..2f9c15a --- /dev/null +++ b/engines/AMD64/d-rodent.uci @@ -0,0 +1,4979 @@ +[Amy] +; Amy +; weak, aggressive, slow +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 200 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 600 +EvalBlur = 20 +Contempt = 0 +SlowMover = 150 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Andy] +; Andy +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; weak, attacker +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 300 +EvalBlur = 36 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Arthur] +; Arthur +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; 1900-ish personality that likes attack and restraint, slow thinker +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 950 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 130 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 130 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 12 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 4500 +EvalBlur = 0 +Contempt = 0 +SlowMover = 120 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/grandpa.bin +MainBookFile = small.bin + +[Barbarian] +; Barbarian +; Personality for Rodent III chess engine, version 0.210 or later +; attacker with lower interest for positional factors +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 180 +OppAttack = 100 +OwnMobility = 75 +OppMobility = 75 +KingTropism = 100 +PiecePlacement = 100 +PiecePressure = 125 +PassedPawns = 100 +PawnStructure = 75 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin + +[Ben] +; Ben +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Ben is still weak, but has balanced outlook on the game. Let's hope he improves! +; +PawnValueMg = 95 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 80 +OppAttack = 80 +OwnMobility = 80 +OppMobility = 80 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 120 +EvalBlur = 25 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Bibi] +; Bibi +; Personality for Rodent III chess engine, version 0.210 or later +; Bibi likes bishop pair. But it is not the end of the story. +; Playing against two bishops, he will strongly prefer closed positions. +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 520 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 535 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 75 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 9 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 9 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 140 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = mini.bin +MainBookFile = mini.bin + +[Blais] +; Blais +; Personality for Rodent III chess engine, version 0.210 or later +; Blais has a blurred vision of the board +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 200 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = micro.bin + +[Brute] +; Brute +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; materialist, stripped of some fancy eval staff and material tuning results, high king tropism +; +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 0 +Material = 120 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 100 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Careless] +; Careless +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; ignores pawn structure, low interest in king attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 50 +OppAttack = 50 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 0 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Caveman] +; Caveman +; Personality for Rodent III chess engine, version 0.210 or later +; stripped of most of knowledge, relies mostly on raw calculating power. +; +PawnValueMg = 100 +KnightValueMg = 334 +BishopValueMg = 335 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 334 +BishopValueEg = 335 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = 0 +RookPair = 0 +KnightLikesClosed = 0 +RookLikesOpen = 0 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 0 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 100 +OwnAttack = 0 +OppAttack = 0 +OwnMobility = 0 +OppMobility = 0 +KingTropism = 100 +PiecePlacement = 80 +PiecePressure = 0 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -25 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = small.bin +MainBookFile = small.bin + +[Chloe] +; Chloe +; Personality for Rodent III chess engine, version 0.210 or later +; Chloe is chaotic, but a bit more tactically aware than the oter kids +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 500 +EvalBlur = 50 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Chris] +; Chris +; Chris is a constrictor +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 130 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 700 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Constrictor] +; Constrictor +; Personality for Rodent III chess engine, version 0.210 or later +; It wants to restrict your mobility and to attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 150 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin + +[Deborah] +; Deborah +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; defensive player that likes bishops +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 5 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 85 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 125 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 12 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 8 +PawnThreat = 8 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Defender] +; Defender +; Personality for Rodent III chess engine, version 0.210 or later +; by Pawel Koziol +; personality that weights enemy attack and mobility marginally higher +; this is one of the strongest settings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 105 +OwnAttack = 100 +OppAttack = 110 +OwnMobility = 100 +OppMobility = 105 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 110 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Dorothy] +; Dorothy +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; defence, restraint, classical style +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 125 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -15 +DoubledPawnEg = -30 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 6 +PawnMass = 105 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 15000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin + +[Dory] +; Dory +; Personality for Rodent III chess engine, version 0.210 or later +; weak, defense oriented +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 200 +OppMobility = 150 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 150 +PawnStorm = 50 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 35 +ReturningB = 50 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 1000 +EvalBlur = 18 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Drunk] +; Drunk +; Personality for Rodent III chess engine, version 0.210 or later +; huge random factor in eval and messy openings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-exoticbook.bin +MainBookFile = rodent.bin + +[Expert] +; Expert +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +RookPair = -10 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 50 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 0 +TwoMinors = 45 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 75 +PawnShield = 130 +PawnStorm = 100 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 5000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = small.bin +MainBookFile = small.bin + +[Fighter] +; Fighter +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Likes sacrificing pawns and restricting opponent's mobility. +; +PawnValueMg = 85 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 100 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 90 +OwnAttack = 105 +OppAttack = 100 +OwnMobility = 140 +OppMobility = 110 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 80 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Fiona] +; Fiona +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Fiona likes fianchetto and uses non-default piece/square table +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 105 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 12 +Fianchetto = 24 +ReturningB = 15 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 200 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Frank] +; Frank +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; weak, rushes forward +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 200 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 0 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 88 +EvalBlur = 50 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Frederick] +; Frederick +; Personality for Rodent III chess engine, version 0.210 or later +; 1900-ish player that likes thrusting his pieces forward +; the funny thing is that he likes flank openings as well +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 120 +PawnStorm = 120 +Forwardness = 200 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 4000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/flank.bin +MainBookFile = small.bin + +[Gabriel] +; Gabriel +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; Gabriel is for gambits! +; Estimated strength: 2000 Elo +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 80 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 7000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = ph-gambitbook.bin +MainBookFile = micro.bin + +[gm] +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin + +[Grumpy] +; Grumpy +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; based on attack and restraint, likes closed positions, slight contempt +; meant to simulate strong elderly player +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 120 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 120 +Lines = 100 +Outposts = 120 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 15 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Hedgehog] +; Hedgehog +; Personality for Rodent III chess engine, version 0.210 or later +; solid with pawns, slightly pessimistic +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 140 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 10 +Fianchetto = 6 +ReturningB = 12 +MinorBehindPawn = 10 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 105 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/flank.bin +MainBookFile = rodent.bin + +[Helpless] +; Helpless +; Personality for Rodent III chess engine, version 0.210 or later +; Severely restricted speed, no regard for material values +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 0 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = empty.bin + +[John] +; John +; Personality for Rodent III chess engine, version 0.210 or later +; weak, neglects protecting own king +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 0 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 10 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 180 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Karpov] +; Karpov +; Personality for Rodent III chess engine, version 0.210 or later +; based on Brendan J. Norman's personality for Rodent II +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 5 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = -5 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 105 +OwnAttack = 110 +OppAttack = 85 +OwnMobility = 100 +OppMobility = 95 +KingTropism = 20 +PiecePlacement = 150 +PiecePressure = 100 +PassedPawns = 150 +PawnStructure = 150 +Lines = 100 +Outposts = 120 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 10 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = players/ph-karpov2.bin +MainBookFile = rodent.bin + +[Lasker] +; Lasker +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; +PawnValueMg = 95 +KnightValueMg = 341 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 960 +PawnValueEg = 110 +KnightValueEg = 335 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 972 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 104 +OwnAttack = 71 +OppAttack = 101 +OwnMobility = 96 +OppMobility = 96 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 111 +PassedPawns = 105 +PawnStructure = 96 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Lea] +; Lea +; Personality for Rodent III chess engine, version 0.210 or later +; Lea just learns how the pieces move +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 500 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Mark] +; Mark +; Personality for Rodent III chess engine, version 0.210 or later +; defensive playr who likes own mobility +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 105 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 130 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 400 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Marshall] +; Marshall +; Personality for Rodent III chess engine, version 0.210 or later +; by Pawel Koziol +; hommage to Frank Marshall (1877-1944) +; very high attack, very high mobility, sacrificial, likes knights +; +PawnValueMg = 95 +KnightValueMg = 320 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 325 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 25 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 90 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 25 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 90 +Lines = 100 +Outposts = 75 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Matthew] +; Matthew +; Personality for Rodent III chess engine, version 0.210 or later +; Materialist, slightly below 1000 mark +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 524 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 539 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 120 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 3500 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin + +[Mike] +; Mike +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; materialist who likes mobility, limited opening knowledge +; +PawnValueMg = 98 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 112 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 56 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 70 +MinorUp = 63 +BothUp = 90 +ExchangeImbalance = 40 +MinorVsQueen = 0 +TwoMinors = 54 +Material = 110 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 117 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 115 +PassedPawns = 100 +PawnStructure = 112 +Lines = 100 +Outposts = 75 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 32000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = small.bin + +[Morgenstern] +; Morgenstern +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; symmetric violent attacker, piece values spaced further apart than usual +; +PawnValueMg = 95 +KnightValueMg = 335 +BishopValueMg = 322 +RookValueMg = 540 +QueenValueMg = 1070 +PawnValueEg = 110 +KnightValueEg = 314 +BishopValueEg = 320 +RookValueEg = 555 +QueenValueEg = 1083 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 150 +OppAttack = 150 +OwnMobility = 110 +OppMobility = 110 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 103 +PawnStructure = 107 +Lines = 120 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 107 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Nancy] +; Nancy personality for Rodent III +; author: Pawel Koziol +; attacking player who likes closed positions, approx. elo 2300 +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 120 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 110 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 16 +ReturningB = 12 +MinorBehindPawn = 8 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 38000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Nerd] +; Nerd +; Personality for Rodent III chess engine, version 0.210 or later +; carea a bit too much about positional play +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 0 +KeepBishop = -5 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 108 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 120 +Lines = 120 +Outposts = 110 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -16 +DoubledPawnEg = -32 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 16 +Fianchetto = 6 +ReturningB = 13 +MinorBehindPawn = 8 +PawnThreat = 8 +PawnMass = 120 +PawnChains = 150 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 10000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 115 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Nimzowitsch] +; Nimzowitsch +; Personality for Rodent III chess engine, version 0.210 or later +; likes knights and restricting opponent's mobility +; +PawnValueMg = 95 +KnightValueMg = 322 +BishopValueMg = 310 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 110 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 75 +DoubledPawnMg = -14 +DoubledPawnEg = -28 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 8 +Fianchetto = 6 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 150 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 125 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = players/nimzowitsch.bin +MainBookFile = hist/_pre30.bin + +[Nina] +; Nina +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Nina likes knights and passed pawns, and heads towards endgame +; +PawnValueMg = 95 +KnightValueMg = 330 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 345 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 2 +KeepBishop = -5 +KeepRook = -8 +KeepQueen = -12 +BishopPair = 51 +KnightPair = 0 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 80 +PassedPawns = 125 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 12000 +EvalBlur = 0 +Contempt = 10 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin + +[Nora] +; Nora +; Personality for Rodent III chess engine, version 0.210 or later +; weak, overvalues knights +; +PawnValueMg = 95 +KnightValueMg = 360 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 5 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 200 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 800 +EvalBlur = 15 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Novice] +; Novice +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 50 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 0 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 100 +PawnStorm = 0 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 60 +EvalBlur = 48 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = empty.bin +MainBookFile = empty.bin + +[Open] +; Open +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; likes mobility, bishops and open positions +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -2 +KeepKnight = 0 +KeepBishop = 6 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 4 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 3 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Pam] +; Pam +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Weak, overvalues pawns, cares for pawn structure +; +PawnValueMg = 115 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 130 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 200 +Lines = 100 +Outposts = 78 +PawnShield = 150 +PawnStorm = 120 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 120 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 100 +EvalBlur = 36 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Partisan] +; Partisan +; Personality for Rodent III chess engine, version 0.210 or later +; emphasizes attack but plays stealthy openings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/low.bin +MainBookFile = rodent.bin + +[Patrick] +; Patrick +; Personality for Rodent III chess engine, version 0.210 or later +; Attacking 2000 Elo player who cares for pawn structure +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 125 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 125 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -20 +DoubledPawnEg = -30 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 6000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Pawnsacker] +;Pawnsacker +;Personality for Rodent III chess engine, version 0.210 or later +;Created by Pawel Koziol +;Balanced personality, slightly less materialistic than default. +; +PawnValueMg = 90 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -1 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 90 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Pessimist] +; Pessimist +; Personality for Rodent III chess engine, version 0.210 or later +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Preston] +; Preston +; Personality for Rodent III chess engine, version 0.210 or later +; Slightly materialistic, likes to pressurize the opponent in various ways +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 5 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 110 +OwnAttack = 105 +OppAttack = 100 +OwnMobility = 110 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 20 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 15 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/cs.bin +MainBookFile = rodent.bin + +[Rita] +; Rita +; Personality for Rodent III chess engine, version 0.210 or later +; Rita is weak, and overvalues rooks +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 614 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 629 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 10 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = 0 +KnightLikesClosed = 6 +RookLikesOpen = 10 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 50 +MinorVsQueen = 4 +TwoMinors = 0 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 200 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 48 +EvalBlur = 56 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Sid] +; Sid +; Personality for Rodent III chess engine, version 0.210 or later +; Sid likes to simplify and win in the endgame +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = -5 +KeepBishop = -5 +KeepRook = -10 +KeepQueen = -20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 900 +EvalBlur = 0 +Contempt = 50 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/exchange.bin +MainBookFile = micro.bin + +[Sloth] +; Sloth +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes bishops and closed positions +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 0 +KeepBishop = 4 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 133 +PawnShield = 119 +PawnStorm = 99 +Forwardness = -25 +Center = 66 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 24 +ReturningB = 12 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 120 +PawnChains = 200 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Smart] +; Smart +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Overemphasizes positional factors +; likely to sacrifice exchange or to play with minor pieces against queen +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = 0 +MinorVsQueen = 16 +Material = 100 +OwnAttack = 110 +OppAttack = 100 +OwnMobility = 110 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 200 +Outposts = 200 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 75 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 24 +ReturningB = 12 +MinorBehindPawn = 5 +PawnThreat = 5 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/tricky.bin +MainBookFile = rodent.bin + +[Solid] +; Solid +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; +PawnValueMg = 100 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 115 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 105 +OwnAttack = 80 +OppAttack = 80 +OwnMobility = 80 +OppMobility = 80 +KingTropism = 20 +PiecePlacement = 105 +PiecePressure = 109 +PassedPawns = 110 +PawnStructure = 133 +Lines = 100 +Outposts = 95 +PawnShield = 133 +PawnStorm = 99 +Forwardness = -50 +Center = 133 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Spitfire] +; Spitfire +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes active positions, detests being under attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 120 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 20 +SlowMover = 90 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Stalker] +; Stalker +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes following enemy king with own pieces +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 90 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 100 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[StoneGolem] +; Stone_golem +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 5 +KeepBishop = 0 +KeepRook = -5 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = -10 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 90 +PassedPawns = 100 +PawnStructure = 150 +Lines = 100 +Outposts = 150 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 20 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 200 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = -5 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Sue] +; Sue +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; Sue likes to sacrifice, even though at her current tactical level she is yet unable to calculate all the consequences +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 80 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 550 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Swapper] +; Swapper +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes to exchange pieces; high draw rate +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -2 +KeepKnight = -6 +KeepBishop = -6 +KeepRook = -10 +KeepQueen = -18 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = -25 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + + +[Tal] +; Tal personality for Rodent III chess engine, version 0.229 or later +; created by Brendan J. Norman, modified by Pawel Koziol +; Hommage to Mikhail Tal +; +; "My head is filled with sunshine. In the first game +; of my match with Botvinnik I will play 1.e4 +; and I shall win." +; +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 340 +RookValueMg = 500 +QueenValueMg = 950 +PawnValueEg = 101 +KnightValueEg = 320 +BishopValueEg = 340 +RookValueEg = 505 +QueenValueEg = 960 +KeepPawn = 8 +KeepKnight = 10 +KeepBishop = 10 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 70 +KnightPair = -10 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = -10 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 48 +OwnAttack = 450 +OppAttack = 100 +OwnMobility = 125 +OppMobility = 100 +KingTropism = 80 +PiecePlacement = 100 +PiecePressure = 190 +PassedPawns = 127 +PawnStructure = 90 +Lines = 100 +Outposts = 100 +PawnShield = 189 +PawnStorm = 181 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 8 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 5 +SlowMover = 95 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = players/ph-tal2.bin +MainBookFile = rodent.bin + +[Theresa] +; Theresa +; Personality for Rodent III chess engine, version 0.210 or later +; Tricky player with a tendency to sacrifice, lowered attack and raised positional factors +; +PawnValueMg = 93 +KnightValueMg = 312 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 980 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 993 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 12 +TwoMinors = 44 +Material = 85 +OwnAttack = 50 +OppAttack = 70 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 105 +Outposts = 90 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 120 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 9000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-exoticbook.bin +MainBookFile = small.bin + +[Tortoise] +; Tortoise +; Personality for Rodent III chess engine, version 0.210 or later +; slow and plays backwards +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 2 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 25 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 200 +Lines = 100 +Outposts = 160 +PawnShield = 120 +PawnStorm = 90 +Forwardness = -25 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 25 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 125 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/low.bin +MainBookFile = rodent.bin + +[Victor] +; Victor +; Personality for Rodent III chess engine, version 0.210 or later +; Victor is violent and plays gambits. +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +RookPair = -10 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 90 +OwnAttack = 300 +OppAttack = 100 +OwnMobility = 115 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 80 +Lines = 120 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 50 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 80 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 35000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = ph-gambitbook.bin +MainBookFile = rodent.bin + +[Vincent] +; Vincent +; Personality for Rodent III chess engine, version 0.210 or later +; violent attacker (+ piece pressure) +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 200 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 1200 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = mini.bin +MainBookFile = small.bin + +[Wild] +; Wild +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; sacrificial attacker, emphasis on mobility +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 80 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 200 +OppMobility = 150 +KingTropism = 100 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 100 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 25 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-gambitbook.bin +MainBookFile = rodent.bin + +[Zero] +; Zero +; Personality for Rodent III chess engine, version 0.210 or later +; Purely random eval with restricted speed +; +PawnValueMg = 0 +KnightValueMg = 0 +BishopValueMg = 0 +RookValueMg = 0 +QueenValueMg = 0 +PawnValueEg = 0 +KnightValueEg = 0 +BishopValueEg = 0 +RookValueEg = 0 +QueenValueEg = 0 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 0 +KnightPair = 0 +RookPair = 0 +KnightLikesClosed = 0 +RookLikesOpen = 0 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 0 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 0 +OwnAttack = 0 +OppAttack = 0 +OwnMobility = 0 +OppMobility = 0 +KingTropism = 0 +PiecePlacement = 0 +PiecePressure = 0 +PassedPawns = 0 +PawnStructure = 0 +Lines = 0 +Outposts = 0 +PawnShield = 0 +PawnStorm = 0 +Forwardness = 0 +Center = 0 +DoubledPawnMg = 0 +DoubledPawnEg = 0 +IsolatedPawnMg = 0 +IsolatedPawnEg = 0 +IsolatedOnOpenMg = 0 +BackwardPawnMg = 0 +BackwardPawnEg = 0 +BackwardOnOpenMg = 0 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = empty.bin diff --git a/engines/AMD64/d-rodnt3 b/engines/AMD64/d-rodnt3 new file mode 100644 index 0000000..6338c76 Binary files /dev/null and b/engines/AMD64/d-rodnt3 differ diff --git a/engines/AMD64/e-zurich b/engines/AMD64/e-zurich new file mode 100644 index 0000000..6fc4d16 Binary files /dev/null and b/engines/AMD64/e-zurich differ diff --git a/engines/AMD64/e-zurich.uci b/engines/AMD64/e-zurich.uci new file mode 100644 index 0000000..930856f --- /dev/null +++ b/engines/AMD64/e-zurich.uci @@ -0,0 +1,63 @@ +[Level@00] +Handicap Level = 0 + +[Level@01] +Handicap Level = 1 + +[Level@02] +Handicap Level = 2 + +[Level@03] +Handicap Level = 3 + +[Level@04] +Handicap Level = 4 + +[Level@05] +Handicap Level = 5 + +[Level@06] +Handicap Level = 6 + +[Level@07] +Handicap Level = 7 + +[Level@08] +Handicap Level = 8 + +[Level@09] +Handicap Level = 9 + +[Level@10] +Handicap Level = 10 + +[Level@11] +Handicap Level = 11 + +[Level@12] +Handicap Level = 12 + +[Level@13] +Handicap Level = 13 + +[Level@14] +Handicap Level = 14 + +[Level@15] +Handicap Level = 15 + +[Level@16] +Handicap Level = 16 + +[Level@17] +Handicap Level = 17 + +[Level@18] +Handicap Level = 18 + +[Level@19] +Handicap Level = 19 + +[Level@20] +Handicap Level = 20 + diff --git a/engines/AMD64/f-wyld b/engines/AMD64/f-wyld new file mode 100644 index 0000000..8a94bfd Binary files /dev/null and b/engines/AMD64/f-wyld differ diff --git a/engines/AMD64/f-wyld.uci b/engines/AMD64/f-wyld.uci new file mode 100644 index 0000000..831033c --- /dev/null +++ b/engines/AMD64/f-wyld.uci @@ -0,0 +1,55 @@ +[Default] +PawnValueMg = 90 +PawnValueEg = 100 +KnightValueMg = 400 +KnightValueEg = 320 +BishopValueMg = 400 +BishopValueEg = 330 +RookValueMg = 700 +RookValueEg = 550 +QueenValueMg = 1300 +QueenValueEg = 1100 +KingShelterCloseMg = 20 +KingShelterCloseEg = 10 +KingShelterFarMg = 10 +KingShelterFarEg = 5 +DoubledPawnsMg = -10 +DoubledPawnsEg = -10 +IsolatedPawnMg = -10 +IsolatedPawnEg = -10 +BishopPairMg = 50 +BishopPairEg = 80 +RookOn7thMg = 40 +RookOn7thEg = 20 +RookOpenFileMg = 20 +RookOpenFileEg = 20 +RookSemiOpenFileMg = 5 +RookSemiOpenFileEg = 5 +KnightOutpostMg = 20 +KnightOutpostEg = 10 +BishopOutpostMg = 10 +BishopOutpostEg = 5 +KnightKingAtkWt = 3 +BishopKingAtkWt = 3 +RookKingAtkWt = 4 +QueenKingAtkWt = 5 +KnightMobilityWt = 8 +BishopMobilityWt = 5 +RookMobilityWt = 5 +QueenMobilityWt = 4 + +[Drunken] +RookOn7thMg = 60 +RookOn7thEg = 40 +RookOpenFileMg = 30 +RookOpenFileEg = 30 +RookSemiOpenFileMg = 15 +RookSemiOpenFileEg = 15 +KnightKingAtkWt = 8 +BishopKingAtkWt = 8 +RookKingAtkWt = 10 +QueenKingAtkWt = 12 +KnightMobilityWt = 8 +BishopMobilityWt = 8 +RookMobilityWt = 8 +QueenMobilityWt = 10 \ No newline at end of file diff --git a/engines/AMD64/g-galjoe b/engines/AMD64/g-galjoe new file mode 100644 index 0000000..7e178a3 Binary files /dev/null and b/engines/AMD64/g-galjoe differ diff --git a/engines/AMD64/g-galjoe.uci b/engines/AMD64/g-galjoe.uci new file mode 100644 index 0000000..0c017b2 --- /dev/null +++ b/engines/AMD64/g-galjoe.uci @@ -0,0 +1,44 @@ +[Elo@1500] +UCI_Elo = 1500 +UCI_LimitStrength = true + +[Elo@1570] +UCI_Elo = 1570 +UCI_LimitStrength = true + +[Elo@1640] +UCI_Elo = 1640 +UCI_LimitStrength = true + +[Elo@1710] +UCI_Elo = 1710 +UCI_LimitStrength = true + +[Elo@1780] +UCI_Elo = 1780 +UCI_LimitStrength = true + +[Elo@1850] +UCI_Elo = 1850 +UCI_LimitStrength = true + +[Elo@1920] +UCI_Elo = 1920 +UCI_LimitStrength = true + +[Elo@1990] +UCI_Elo = 1990 +UCI_LimitStrength = true + +[Elo@2060] +UCI_Elo = 2060 +UCI_LimitStrength = true + +[Elo@2130] +UCI_Elo = 2130 +UCI_LimitStrength = true + +[Elo@2200] +UCI_Elo = 2200 +UCI_LimitStrength = false + diff --git a/engines/AMD64/h-sayuri b/engines/AMD64/h-sayuri new file mode 100644 index 0000000..6083390 Binary files /dev/null and b/engines/AMD64/h-sayuri differ diff --git a/engines/AMD64/rodentII_x64.exe b/engines/AMD64/rodentII_x64.exe new file mode 100644 index 0000000..27d66a5 Binary files /dev/null and b/engines/AMD64/rodentII_x64.exe differ diff --git a/engines/AMD64/rodent_III_x64.exe b/engines/AMD64/rodent_III_x64.exe new file mode 100644 index 0000000..adb40d1 Binary files /dev/null and b/engines/AMD64/rodent_III_x64.exe differ diff --git a/engines/AMD64/rodent_III_x64.uci b/engines/AMD64/rodent_III_x64.uci new file mode 100644 index 0000000..95f3d93 --- /dev/null +++ b/engines/AMD64/rodent_III_x64.uci @@ -0,0 +1,4978 @@ +[Amy] +; Amy +; weak, aggressive, slow +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 200 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 600 +EvalBlur = 20 +Contempt = 0 +SlowMover = 150 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Andy] +; Andy +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; weak, attacker +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 300 +EvalBlur = 36 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Arthur] +; Arthur +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; 1900-ish personality that likes attack and restraint, slow thinker +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 950 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 130 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 130 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 12 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 4500 +EvalBlur = 0 +Contempt = 0 +SlowMover = 120 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/grandpa.bin +MainBookFile = small.bin + +[Barbarian] +; Barbarian +; Personality for Rodent III chess engine, version 0.210 or later +; attacker with lower interest for positional factors +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 180 +OppAttack = 100 +OwnMobility = 75 +OppMobility = 75 +KingTropism = 100 +PiecePlacement = 100 +PiecePressure = 125 +PassedPawns = 100 +PawnStructure = 75 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin + +[Ben] +; Ben +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Ben is still weak, but has balanced outlook on the game. Let's hope he improves! +; +PawnValueMg = 95 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 80 +OppAttack = 80 +OwnMobility = 80 +OppMobility = 80 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 120 +EvalBlur = 25 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Bibi] +; Bibi +; Personality for Rodent III chess engine, version 0.210 or later +; Bibi likes bishop pair. But it is not the end of the story. +; Playing against two bishops, he will strongly prefer closed positions. +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 520 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 535 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 75 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 9 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 9 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 140 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = mini.bin +MainBookFile = mini.bin + +[Blais] +; Blais +; Personality for Rodent III chess engine, version 0.210 or later +; Blais has a blurred vision of the board +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 200 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = micro.bin + +[Brute] +; Brute +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; materialist, stripped of some fancy eval staff and material tuning results, high king tropism +; +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 0 +Material = 120 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 100 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Careless] +; Careless +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; ignores pawn structure, low interest in king attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 50 +OppAttack = 50 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 0 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Caveman] +; Caveman +; Personality for Rodent III chess engine, version 0.210 or later +; stripped of most of knowledge, relies mostly on raw calculating power. +; +PawnValueMg = 100 +KnightValueMg = 334 +BishopValueMg = 335 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 334 +BishopValueEg = 335 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = 0 +RookPair = 0 +KnightLikesClosed = 0 +RookLikesOpen = 0 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 0 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 100 +OwnAttack = 0 +OppAttack = 0 +OwnMobility = 0 +OppMobility = 0 +KingTropism = 100 +PiecePlacement = 80 +PiecePressure = 0 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -25 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = small.bin +MainBookFile = small.bin + +[Chloe] +; Chloe +; Personality for Rodent III chess engine, version 0.210 or later +; Chloe is chaotic, but a bit more tactically aware than the oter kids +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 500 +EvalBlur = 50 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Chris] +; Chris +; Chris is a constrictor +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 130 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 700 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Constrictor] +; Constrictor +; Personality for Rodent III chess engine, version 0.210 or later +; It wants to restrict your mobility and to attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 150 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin + +[Deborah] +; Deborah +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; defensive player that likes bishops +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 5 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 85 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 125 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 12 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 8 +PawnThreat = 8 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Defender] +; Defender +; Personality for Rodent III chess engine, version 0.210 or later +; by Pawel Koziol +; personality that weights enemy attack and mobility marginally higher +; this is one of the strongest settings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 105 +OwnAttack = 100 +OppAttack = 110 +OwnMobility = 100 +OppMobility = 105 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 110 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Dorothy] +; Dorothy +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; defence, restraint, classical style +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 125 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -15 +DoubledPawnEg = -30 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 6 +PawnMass = 105 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 15000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin + +[Dory] +; Dory +; Personality for Rodent III chess engine, version 0.210 or later +; weak, defense oriented +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 200 +OppMobility = 150 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 150 +PawnStorm = 50 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 35 +ReturningB = 50 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 1000 +EvalBlur = 18 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Drunk] +; Drunk +; Personality for Rodent III chess engine, version 0.210 or later +; huge random factor in eval and messy openings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-exoticbook.bin +MainBookFile = rodent.bin + +[Expert] +; Expert +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +RookPair = -10 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 50 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 0 +TwoMinors = 45 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 75 +PawnShield = 130 +PawnStorm = 100 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 5000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = small.bin +MainBookFile = small.bin + +[Fighter] +; Fighter +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Likes sacrificing pawns and restricting opponent's mobility. +; +PawnValueMg = 85 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 100 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 90 +OwnAttack = 105 +OppAttack = 100 +OwnMobility = 140 +OppMobility = 110 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 80 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Fiona] +; Fiona +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Fiona likes fianchetto and uses non-default piece/square table +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 105 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 12 +Fianchetto = 24 +ReturningB = 15 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 200 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Frank] +; Frank +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; weak, rushes forward +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 200 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 0 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 88 +EvalBlur = 50 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Frederick] +; Frederick +; Personality for Rodent III chess engine, version 0.210 or later +; 1900-ish player that likes thrusting his pieces forward +; the funny thing is that he likes flank openings as well +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 120 +PawnStorm = 120 +Forwardness = 200 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 4000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/flank.bin +MainBookFile = small.bin + +[Gabriel] +; Gabriel +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; Gabriel is for gambits! +; Estimated strength: 2000 Elo +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 80 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 7000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = ph-gambitbook.bin +MainBookFile = micro.bin + +[gm] +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin + +[Grumpy] +; Grumpy +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; based on attack and restraint, likes closed positions, slight contempt +; meant to simulate strong elderly player +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 120 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 120 +Lines = 100 +Outposts = 120 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 15 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Hedgehog] +; Hedgehog +; Personality for Rodent III chess engine, version 0.210 or later +; solid with pawns, slightly pessimistic +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 140 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 10 +Fianchetto = 6 +ReturningB = 12 +MinorBehindPawn = 10 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 105 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/flank.bin +MainBookFile = rodent.bin + +[Helpless] +; Helpless +; Personality for Rodent III chess engine, version 0.210 or later +; Severely restricted speed, no regard for material values +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 0 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = empty.bin + +[John] +; John +; Personality for Rodent III chess engine, version 0.210 or later +; weak, neglects protecting own king +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 0 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 10 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 180 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Karpov] +; Karpov +; Personality for Rodent III chess engine, version 0.210 or later +; based on Brendan J. Norman's personality for Rodent II +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 5 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = -5 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 105 +OwnAttack = 110 +OppAttack = 85 +OwnMobility = 100 +OppMobility = 95 +KingTropism = 20 +PiecePlacement = 150 +PiecePressure = 100 +PassedPawns = 150 +PawnStructure = 150 +Lines = 100 +Outposts = 120 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 10 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = players/ph-karpov2.bin +MainBookFile = rodent.bin + +[Lasker] +; Lasker +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; +PawnValueMg = 95 +KnightValueMg = 341 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 960 +PawnValueEg = 110 +KnightValueEg = 335 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 972 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 104 +OwnAttack = 71 +OppAttack = 101 +OwnMobility = 96 +OppMobility = 96 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 111 +PassedPawns = 105 +PawnStructure = 96 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Lea] +; Lea +; Personality for Rodent III chess engine, version 0.210 or later +; Lea just learns how the pieces move +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 500 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Mark] +; Mark +; Personality for Rodent III chess engine, version 0.210 or later +; defensive playr who likes own mobility +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 105 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 130 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 400 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Marshall] +; Marshall +; Personality for Rodent III chess engine, version 0.210 or later +; by Pawel Koziol +; hommage to Frank Marshall (1877-1944) +; very high attack, very high mobility, sacrificial, likes knights +; +PawnValueMg = 95 +KnightValueMg = 320 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 325 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 25 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 90 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 25 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 90 +Lines = 100 +Outposts = 75 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Matthew] +; Matthew +; Personality for Rodent III chess engine, version 0.210 or later +; Materialist, slightly below 1000 mark +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 524 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 539 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 120 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 3500 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin + +[Mike] +; Mike +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; materialist who likes mobility, limited opening knowledge +; +PawnValueMg = 98 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 112 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 56 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 70 +MinorUp = 63 +BothUp = 90 +ExchangeImbalance = 40 +MinorVsQueen = 0 +TwoMinors = 54 +Material = 110 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 117 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 115 +PassedPawns = 100 +PawnStructure = 112 +Lines = 100 +Outposts = 75 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 32000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = small.bin + +[Morgenstern] +; Morgenstern +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; symmetric violent attacker, piece values spaced further apart than usual +; +PawnValueMg = 95 +KnightValueMg = 335 +BishopValueMg = 322 +RookValueMg = 540 +QueenValueMg = 1070 +PawnValueEg = 110 +KnightValueEg = 314 +BishopValueEg = 320 +RookValueEg = 555 +QueenValueEg = 1083 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 150 +OppAttack = 150 +OwnMobility = 110 +OppMobility = 110 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 103 +PawnStructure = 107 +Lines = 120 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 107 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Nancy] +; Nancy personality for Rodent III +; author: Pawel Koziol +; attacking player who likes closed positions, approx. elo 2300 +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 120 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 110 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 16 +ReturningB = 12 +MinorBehindPawn = 8 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 38000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Nerd] +; Nerd +; Personality for Rodent III chess engine, version 0.210 or later +; carea a bit too much about positional play +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 0 +KeepBishop = -5 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 108 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 120 +Lines = 120 +Outposts = 110 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -16 +DoubledPawnEg = -32 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 16 +Fianchetto = 6 +ReturningB = 13 +MinorBehindPawn = 8 +PawnThreat = 8 +PawnMass = 120 +PawnChains = 150 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 10000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 115 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Nimzowitsch] +; Nimzowitsch +; Personality for Rodent III chess engine, version 0.210 or later +; likes knights and restricting opponent's mobility +; +PawnValueMg = 95 +KnightValueMg = 322 +BishopValueMg = 310 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 110 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 75 +DoubledPawnMg = -14 +DoubledPawnEg = -28 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 8 +Fianchetto = 6 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 150 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 125 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = players/nimzowitsch.bin +MainBookFile = hist/_pre30.bin + +[Nina] +; Nina +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Nina likes knights and passed pawns, and heads towards endgame +; +PawnValueMg = 95 +KnightValueMg = 330 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 345 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 2 +KeepBishop = -5 +KeepRook = -8 +KeepQueen = -12 +BishopPair = 51 +KnightPair = 0 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 80 +PassedPawns = 125 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 12000 +EvalBlur = 0 +Contempt = 10 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin + +[Nora] +; Nora +; Personality for Rodent III chess engine, version 0.210 or later +; weak, overvalues knights +; +PawnValueMg = 95 +KnightValueMg = 360 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 5 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 200 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 800 +EvalBlur = 15 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Novice] +; Novice +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 50 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 0 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 100 +PawnStorm = 0 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 60 +EvalBlur = 48 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = empty.bin +MainBookFile = empty.bin + +[Open] +; Open +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; likes mobility, bishops and open positions +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -2 +KeepKnight = 0 +KeepBishop = 6 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 4 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 3 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Pam] +; Pam +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Weak, overvalues pawns, cares for pawn structure +; +PawnValueMg = 115 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 130 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 200 +Lines = 100 +Outposts = 78 +PawnShield = 150 +PawnStorm = 120 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 120 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 100 +EvalBlur = 36 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Partisan] +; Partisan +; Personality for Rodent III chess engine, version 0.210 or later +; emphasizes attack but plays stealthy openings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/low.bin +MainBookFile = rodent.bin + +[Patrick] +; Patrick +; Personality for Rodent III chess engine, version 0.210 or later +; Attacking 2000 Elo player who cares for pawn structure +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 125 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 125 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -20 +DoubledPawnEg = -30 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 6000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Pawnsacker] +;Pawnsacker +;Personality for Rodent III chess engine, version 0.210 or later +;Created by Pawel Koziol +;Balanced personality, slightly less materialistic than default. +; +PawnValueMg = 90 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -1 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 90 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Pessimist] +; Pessimist +; Personality for Rodent III chess engine, version 0.210 or later +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Preston] +; Preston +; Personality for Rodent III chess engine, version 0.210 or later +; Slightly materialistic, likes to pressurize the opponent in various ways +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 5 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 110 +OwnAttack = 105 +OppAttack = 100 +OwnMobility = 110 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 20 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 15 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/cs.bin +MainBookFile = rodent.bin + +[Rita] +; Rita +; Personality for Rodent III chess engine, version 0.210 or later +; Rita is weak, and overvalues rooks +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 614 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 629 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 10 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = 0 +KnightLikesClosed = 6 +RookLikesOpen = 10 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 50 +MinorVsQueen = 4 +TwoMinors = 0 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 200 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 48 +EvalBlur = 56 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Sid] +; Sid +; Personality for Rodent III chess engine, version 0.210 or later +; Sid likes to simplify and win in the endgame +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = -5 +KeepBishop = -5 +KeepRook = -10 +KeepQueen = -20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 900 +EvalBlur = 0 +Contempt = 50 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/exchange.bin +MainBookFile = micro.bin + +[Sloth] +; Sloth +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes bishops and closed positions +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 0 +KeepBishop = 4 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 133 +PawnShield = 119 +PawnStorm = 99 +Forwardness = -25 +Center = 66 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 24 +ReturningB = 12 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 120 +PawnChains = 200 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Smart] +; Smart +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Overemphasizes positional factors +; likely to sacrifice exchange or to play with minor pieces against queen +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = 0 +MinorVsQueen = 16 +Material = 100 +OwnAttack = 110 +OppAttack = 100 +OwnMobility = 110 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 200 +Outposts = 200 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 75 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 24 +ReturningB = 12 +MinorBehindPawn = 5 +PawnThreat = 5 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/tricky.bin +MainBookFile = rodent.bin + +[Solid] +; Solid +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; +PawnValueMg = 100 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 115 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 105 +OwnAttack = 80 +OppAttack = 80 +OwnMobility = 80 +OppMobility = 80 +KingTropism = 20 +PiecePlacement = 105 +PiecePressure = 109 +PassedPawns = 110 +PawnStructure = 133 +Lines = 100 +Outposts = 95 +PawnShield = 133 +PawnStorm = 99 +Forwardness = -50 +Center = 133 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Spitfire] +; Spitfire +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes active positions, detests being under attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 120 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 20 +SlowMover = 90 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Stalker] +; Stalker +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes following enemy king with own pieces +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 90 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 100 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[StoneGolem] +; Stone_golem +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 5 +KeepBishop = 0 +KeepRook = -5 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = -10 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 90 +PassedPawns = 100 +PawnStructure = 150 +Lines = 100 +Outposts = 150 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 20 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 200 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = -5 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Sue] +; Sue +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; Sue likes to sacrifice, even though at her current tactical level she is yet unable to calculate all the consequences +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 80 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 550 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Swapper] +; Swapper +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes to exchange pieces; high draw rate +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -2 +KeepKnight = -6 +KeepBishop = -6 +KeepRook = -10 +KeepQueen = -18 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = -25 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Tal] +; Tal personality for Rodent III chess engine, version 0.229 or later +; created by Brendan J. Norman, modified by Pawel Koziol +; Hommage to Mikhail Tal +; +; "My head is filled with sunshine. In the first game +; of my match with Botvinnik I will play 1.e4 +; and I shall win." +; +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 340 +RookValueMg = 500 +QueenValueMg = 950 +PawnValueEg = 101 +KnightValueEg = 320 +BishopValueEg = 340 +RookValueEg = 505 +QueenValueEg = 960 +KeepPawn = 8 +KeepKnight = 10 +KeepBishop = 10 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 70 +KnightPair = -10 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = -10 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 48 +OwnAttack = 450 +OppAttack = 100 +OwnMobility = 125 +OppMobility = 100 +KingTropism = 80 +PiecePlacement = 100 +PiecePressure = 190 +PassedPawns = 127 +PawnStructure = 90 +Lines = 100 +Outposts = 100 +PawnShield = 189 +PawnStorm = 181 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 8 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 5 +SlowMover = 95 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = players/ph-tal2.bin +MainBookFile = rodent.bin + +[Theresa] +; Theresa +; Personality for Rodent III chess engine, version 0.210 or later +; Tricky player with a tendency to sacrifice, lowered attack and raised positional factors +; +PawnValueMg = 93 +KnightValueMg = 312 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 980 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 993 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 12 +TwoMinors = 44 +Material = 85 +OwnAttack = 50 +OppAttack = 70 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 105 +Outposts = 90 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 120 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 9000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-exoticbook.bin +MainBookFile = small.bin + +[Tortoise] +; Tortoise +; Personality for Rodent III chess engine, version 0.210 or later +; slow and plays backwards +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 2 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 25 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 200 +Lines = 100 +Outposts = 160 +PawnShield = 120 +PawnStorm = 90 +Forwardness = -25 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 25 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 125 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/low.bin +MainBookFile = rodent.bin + +[Victor] +; Victor +; Personality for Rodent III chess engine, version 0.210 or later +; Victor is violent and plays gambits. +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +RookPair = -10 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 90 +OwnAttack = 300 +OppAttack = 100 +OwnMobility = 115 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 80 +Lines = 120 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 50 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 80 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 35000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = ph-gambitbook.bin +MainBookFile = rodent.bin + +[Vincent] +; Vincent +; Personality for Rodent III chess engine, version 0.210 or later +; violent attacker (+ piece pressure) +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 200 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 1200 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = mini.bin +MainBookFile = small.bin + +[Wild] +; Wild +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; sacrificial attacker, emphasis on mobility +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 80 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 200 +OppMobility = 150 +KingTropism = 100 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 100 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 25 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-gambitbook.bin +MainBookFile = rodent.bin + +[Zero] +; Zero +; Personality for Rodent III chess engine, version 0.210 or later +; Purely random eval with restricted speed +; +PawnValueMg = 0 +KnightValueMg = 0 +BishopValueMg = 0 +RookValueMg = 0 +QueenValueMg = 0 +PawnValueEg = 0 +KnightValueEg = 0 +BishopValueEg = 0 +RookValueEg = 0 +QueenValueEg = 0 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 0 +KnightPair = 0 +RookPair = 0 +KnightLikesClosed = 0 +RookLikesOpen = 0 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 0 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 0 +OwnAttack = 0 +OppAttack = 0 +OwnMobility = 0 +OppMobility = 0 +KingTropism = 0 +PiecePlacement = 0 +PiecePressure = 0 +PassedPawns = 0 +PawnStructure = 0 +Lines = 0 +Outposts = 0 +PawnShield = 0 +PawnStorm = 0 +Forwardness = 0 +Center = 0 +DoubledPawnMg = 0 +DoubledPawnEg = 0 +IsolatedPawnMg = 0 +IsolatedPawnEg = 0 +IsolatedOnOpenMg = 0 +BackwardPawnMg = 0 +BackwardPawnEg = 0 +BackwardOnOpenMg = 0 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = empty.bin diff --git a/engines/AMD64/rodent_III_x64.uci_backup b/engines/AMD64/rodent_III_x64.uci_backup new file mode 100644 index 0000000..73b2ea8 --- /dev/null +++ b/engines/AMD64/rodent_III_x64.uci_backup @@ -0,0 +1,2364 @@ +[Andy] +; Andy +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; weak, attacker +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 300 +EvalBlur = 36 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Arthur] +; Arthur +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; 1900-ish personality that likes attack and restraint, slow thinker +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 950 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 130 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 130 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 12 +ReturningB = 20 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 4500 +EvalBlur = 0 +Contempt = 0 +SlowMover = 120 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/grandpa.bin +MainBookFile = small.bin + +[Brute] +; Brute +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; materialist, stripped of some fancy eval staff and material tuning results, high king tropism +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 0 +Material = 120 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 100 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 0 +ReturningB = 0 +PawnMass = 0 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Careless] +; Careless +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; ignores pawn structure, low interest in king attack +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 50 +OppAttack = 50 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 0 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 0 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Caveman] +; Caveman +; Personality for Rodent III chess engine, version 0.210 or later +; stripped of most of knowledge, relies mostly on raw calculating power. +PawnValueMg = 100 +KnightValueMg = 334 +BishopValueMg = 335 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 334 +BishopValueEg = 335 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = 0 +RookPair = 0 +KnightLikesClosed = 0 +RookLikesOpen = 0 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 0 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 100 +OwnAttack = 0 +OppAttack = 0 +OwnMobility = 0 +OppMobility = 0 +KingTropism = 100 +PiecePlacement = 80 +PiecePressure = 0 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -25 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 0 +ReturningB = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = small.bin +MainBookFile = small.bin + +[Deborah] +; Deborah +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; defensive player that likes bishops +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 5 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 85 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 125 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Defender] +; Defender +; Personality for Rodent III chess engine, version 0.210 or later +; by Pawel Koziol +; personality that weights enemy attack and mobility marginally higher +; this is one of the strongest settings +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 105 +OwnAttack = 100 +OppAttack = 110 +OwnMobility = 100 +OppMobility = 105 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 110 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Drunk] +; Drunk +; Personality for Rodent III chess engine, version 0.210 or later +; huge random factor in eval and messy openings +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-exoticbook.bin +MainBookFile = rodent.bin + +[Expert] +; Expert +; Personality for Rodent III chess engine, version 0.210 or later +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +RookPair = -10 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 50 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 0 +TwoMinors = 45 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 75 +PawnShield = 130 +PawnStorm = 100 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -24 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 5000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = small.bin +MainBookFile = small.bin + +[Fighter] +; Fighter +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Likes sacrificing pawns and restricting opponent's mobility. +PawnValueMg = 85 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 100 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 90 +OwnAttack = 105 +OppAttack = 100 +OwnMobility = 140 +OppMobility = 110 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 80 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Fiona] +; Fiona +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Fiona likes fianchetto and uses non-default piece/square table +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 105 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 30 +ReturningB = 15 +PawnMass = 100 +PawnChains = 200 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Frank] +; Frank +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; weak, rushes forward +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 200 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 88 +EvalBlur = 50 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Frederick] +; Frederick +; Personality for Rodent III chess engine, version 0.210 or later +; 1900-ish player that likes thrusting his pieces forward +; the funny thing is that he likes flank openings as well +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 120 +PawnStorm = 120 +Forwardness = 200 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 4000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/flank.bin +MainBookFile = small.bin + +[Garbiel] +; Gabriel +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; Gabriel is for gambits! +; Estimated strength: 2000 Elo +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 80 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 6000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = ph-gambitbook.bin +MainBookFile = micro.bin + +[Grumpy] +; Grumpy +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; based on attack and restraint, likes closed positions, slight contempt +; meant to simulate strong elderly player +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 120 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 120 +Lines = 100 +Outposts = 120 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 15 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Lasker] +; Lasker +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +PawnValueMg = 95 +KnightValueMg = 341 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 960 +PawnValueEg = 110 +KnightValueEg = 335 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 972 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 104 +OwnAttack = 71 +OppAttack = 101 +OwnMobility = 96 +OppMobility = 96 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 111 +PassedPawns = 105 +PawnStructure = 96 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Marshall] +; Marshall +; Personality for Rodent III chess engine, version 0.210 or later +; by Pawel Koziol +; hommage to Frank Marshall (1877-1944) +; very high attack, very high mobility, sacrificial, likes knights +PawnValueMg = 95 +KnightValueMg = 320 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 325 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 25 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 90 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 25 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 90 +Lines = 100 +Outposts = 75 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 0 +ReturningB = 0 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Matthew] +; Matthew +; Personality for Rodent III chess engine, version 0.210 or later +; Materialist, slightly below 2000 mark +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 524 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 539 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 120 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 3600 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin + +[Morgenstern] +; Morgenstern +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; symmetric violent attacker, piece values spaced further apart than usual +PawnValueMg = 95 +KnightValueMg = 335 +BishopValueMg = 322 +RookValueMg = 540 +QueenValueMg = 1070 +PawnValueEg = 110 +KnightValueEg = 314 +BishopValueEg = 320 +RookValueEg = 555 +QueenValueEg = 1083 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 150 +OppAttack = 150 +OwnMobility = 110 +OppMobility = 110 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 103 +PawnStructure = 107 +Lines = 120 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 107 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Nancy] +; Nancy personality for Rodent III +; author: Pawel Koziol +; attacking player who likes closed positions, approx. elo 2300 +; Personality for Rodent III chess engine, version 0.210 or later +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 120 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 110 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 16 +ReturningB = 12 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 38000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Open] +; Open +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; likes mobility, bishops and open positions +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -2 +KeepKnight = 0 +KeepBishop = 6 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 4 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 110 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Pawnsacker] +;Pawnsacker +;Personality for Rodent III chess engine, version 0.210 or later +;Created by Pawel Koziol +;Balanced personality, slightly less materialistic than default. +PawnValueMg = 90 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -1 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 90 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Preston] +; Preston +; Personality for Rodent III chess engine, version 0.210 or later +; Slightly materialistic, likes to pressurize the opponent in various ways +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 5 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 110 +OwnAttack = 105 +OppAttack = 100 +OwnMobility = 110 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 20 +Center = 100 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 15 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Sloth] +; Sloth +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes bishops and closed positions +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 0 +KeepBishop = 4 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 133 +PawnShield = 119 +PawnStorm = 99 +Forwardness = -25 +Center = 66 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 24 +ReturningB = 12 +PawnMass = 120 +PawnChains = 200 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Smart] +; Smart +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Overemphasizes positional factors +; likely to sacrifice exchange or to play with minor pieces against queen +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = 0 +MinorVsQueen = 16 +Material = 100 +OwnAttack = 110 +OppAttack = 100 +OwnMobility = 110 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 200 +Outposts = 200 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 75 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 24 +ReturningB = 12 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/tricky.bin +MainBookFile = rodent.bin + +[Solid] +;Solid +;Personality for Rodent III chess engine, version 0.210 or later +;created by Pawel Koziol +PawnValueMg = 100 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 115 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 105 +OwnAttack = 80 +OppAttack = 80 +OwnMobility = 80 +OppMobility = 80 +KingTropism = 20 +PiecePlacement = 105 +PiecePressure = 109 +PassedPawns = 110 +PawnStructure = 133 +Lines = 100 +Outposts = 95 +PawnShield = 133 +PawnStorm = 99 +Forwardness = -50 +Center = 133 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 110 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Spitfire] +; Spitfire +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes active positions, detests being under attack +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 120 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 20 +SlowMover = 90 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Stalker] +; Stalker +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes following enemy king with own pieces +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 90 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 100 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[StoneGolem] +; Stone_golem +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 5 +KeepBishop = 0 +KeepRook = -5 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = -10 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 90 +PassedPawns = 100 +PawnStructure = 150 +Lines = 100 +Outposts = 150 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 20 +ReturningB = 10 +PawnMass = 200 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = -5 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Swapper] +; Swapper +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes to exchange pieces; high draw rate +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -2 +KeepKnight = -6 +KeepBishop = -6 +KeepRook = -10 +KeepQueen = -18 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = -25 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Theresa] +; Theresa +; Personality for Rodent III chess engine, version 0.210 or later +; Tricky player with a tendency to sacrifice, lowered attack and raised positional factors +PawnValueMg = 93 +KnightValueMg = 312 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 980 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 993 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 12 +TwoMinors = 44 +Material = 85 +OwnAttack = 50 +OppAttack = 70 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 105 +Outposts = 90 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 120 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 9000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-exoticbook.bin +MainBookFile = small.bin + +[Tortoise] +; Tortoise +; Personality for Rodent III chess engine, version 0.210 or later +; slow and plays backwards +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 2 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 25 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 200 +Lines = 100 +Outposts = 160 +PawnShield = 120 +PawnStorm = 90 +Forwardness = -25 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 30 +ReturningB = 20 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 125 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/low.bin +MainBookFile = rodent.bin + +[Victor] +; Victor +; Personality for Rodent III chess engine, version 0.210 or later +; Victor is violent and plays gambits. +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +RookPair = -10 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 90 +OwnAttack = 300 +OppAttack = 100 +OwnMobility = 115 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 80 +Lines = 120 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 50 +Center = 100 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 0 +ReturningB = 0 +PawnMass = 100 +PawnChains = 80 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 35000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = ph-gambitbook.bin +MainBookFile = rodent.bin + +[Wild] +; Wild +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; sacrificial attacker, emphasis on mobility +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 80 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 200 +OppMobility = 150 +KingTropism = 100 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 100 +Center = 100 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 25 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-gambitbook.bin +MainBookFile = rodent.bin diff --git a/engines/AMD64/stockfish-9-win.zip b/engines/AMD64/stockfish-9-win.zip new file mode 100644 index 0000000..60682f3 Binary files /dev/null and b/engines/AMD64/stockfish-9-win.zip differ diff --git a/engines/AMD64/stockfish-9-win/.travis.yml b/engines/AMD64/stockfish-9-win/.travis.yml new file mode 100644 index 0000000..8586921 --- /dev/null +++ b/engines/AMD64/stockfish-9-win/.travis.yml @@ -0,0 +1,73 @@ +language: cpp +sudo: required +dist: trusty + +matrix: + include: + - os: linux + compiler: gcc + addons: + apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['g++-6', 'g++-6-multilib', 'g++-multilib', 'valgrind', 'expect'] + env: + - COMPILER=g++-6 + - COMP=gcc + + - os: linux + compiler: clang + addons: + apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['clang', 'g++-multilib', 'valgrind', 'expect'] + env: + - COMPILER=clang++ + - COMP=clang + + - os: osx + compiler: gcc + env: + - COMPILER=g++ + - COMP=gcc + + - os: osx + compiler: clang + env: + - COMPILER=clang++ V='Apple LLVM 6.0' # Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn) + - COMP=clang + +branches: + only: + - master + +before_script: + - cd src + +script: + # Obtain bench reference from git log + - git log HEAD | grep "\b[Bb]ench[ :]\+[0-9]\{7\}" | head -n 1 | sed "s/[^0-9]*\([0-9][0-9]*\)/\1/g" > git_sig + - export benchref=$(cat git_sig) + - echo "Reference bench:" $benchref + # + # Verify bench number against various builds + - export CXXFLAGS=-Werror + - make clean && make -j2 ARCH=x86-64 optimize=no debug=yes build && ../tests/signature.sh $benchref + - make clean && make -j2 ARCH=x86-32 optimize=no debug=yes build && ../tests/signature.sh $benchref + - make clean && make -j2 ARCH=x86-32 build && ../tests/signature.sh $benchref + - make clean && make -j2 ARCH=x86-64 build && ../tests/signature.sh $benchref + # + # Check perft and reproducible search + - ../tests/perft.sh + - ../tests/reprosearch.sh + # + # Valgrind + # + - export CXXFLAGS=-O1 + - if [ -x "$(command -v valgrind )" ]; then make clean && make -j2 ARCH=x86-64 debug=yes optimize=no build > /dev/null && ../tests/instrumented.sh --valgrind; fi + - if [ -x "$(command -v valgrind )" ]; then ../tests/instrumented.sh --valgrind-thread; fi + # + # Sanitizer + # + # Use g++-6 as a proxy for having sanitizers, might need revision as they become available for more recent versions of clang/gcc + - if [[ "$COMPILER" == "g++-6" ]]; then make clean && make -j2 ARCH=x86-64 sanitize=undefined optimize=no debug=yes build > /dev/null && ../tests/instrumented.sh --sanitizer-undefined; fi + - if [[ "$COMPILER" == "g++-6" ]]; then make clean && make -j2 ARCH=x86-64 sanitize=thread optimize=no debug=yes build > /dev/null && ../tests/instrumented.sh --sanitizer-thread; fi diff --git a/engines/AMD64/stockfish-9-win/AUTHORS b/engines/AMD64/stockfish-9-win/AUTHORS new file mode 100644 index 0000000..9b91b93 --- /dev/null +++ b/engines/AMD64/stockfish-9-win/AUTHORS @@ -0,0 +1,98 @@ +# Generated with 'git shortlog -sn | cut -c8-', which sorts by commits, manually ordered the first four authors, merged duplicates + +Tord Romstad +Marco Costalba (mcostalba) +Joona Kiiski (zamar) +Gary Linscott (glinscott) +Lucas Braesch (lucasart) +Bill Henry (VoyagerOne) +mstembera +Stéphane Nicolet (Stephane Nicolet, snicolet) +Stefan Geschwentner +Alain SAVARD (Rocky640) +Jörg Oster (Joerg Oster, joergoster) +Reuven Peleg +Chris Caino (Chris Cain, ceebo) +Jean-Francois Romang +homoSapiensSapiens +Leonid Pechenik +Stefano Cardanobile (Stefano80) +Arjun Temurnikar +Uri Blass (uriblass) +jundery +Ajith (ajithcj) +hxim +Ralph Stößer (Ralph Stoesser) +Guenther Demetz +Jonathan Calovski (Mysseno) +Tom Vijlbrief +mbootsector +Daylen Yang +ElbertoOne +Henri Wiechers +loco-loco +Joost VandeVondele (Joost Vandevondele) +Ronald de Man (syzygy) +DU-jdto +David Zar +Eelco de Groot +Jerry Donald +NicklasPersson +Ryan Schmitt +Alexander Kure +Dan Schmidt +H. Felix Wittmann +Jacques +Joseph R. Prostko +Justin Blanchard +Linus Arver +Luca Brivio +Lyudmil Antonov +Rodrigo Exterckötter Tjäder +Ron Britvich +RyanTaker +Vince Negri +erbsenzaehler +Joseph Hellis (jhellis3) +shane31 +Andrew Grant +Andy Duplain +Auguste Pop +Balint Pfliegel +Dariusz Orzechowski +DiscanX +Ernesto Gatti +Gregor Cramer +Hiraoka Takuya (HiraokaTakuya) +Hongzhi Cheng +IIvec +Kelly Wilson +Ken T Takusagawa +Kojirion +Krgp +Matt Sullivan +Matthew Lai +Matthew Sullivan +Michel Van den Bergh +Niklas Fiekas +Oskar Werkelin Ahlin +Pablo Vazquez +Pascal Romaret +Raminder Singh +Richard Lloyd +Ryan Takker +Thanar2 +absimaldata +atumanian +braich +fanon +gamander +gguliash +kinderchocolate +pellanda +ppigazzini +renouve +sf-x +thaspel +unknown + diff --git a/engines/AMD64/stockfish-9-win/Copying.txt b/engines/AMD64/stockfish-9-win/Copying.txt new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/engines/AMD64/stockfish-9-win/Copying.txt @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program 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. + + This program 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. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/engines/AMD64/stockfish-9-win/Readme.md b/engines/AMD64/stockfish-9-win/Readme.md new file mode 100644 index 0000000..e3b36cc --- /dev/null +++ b/engines/AMD64/stockfish-9-win/Readme.md @@ -0,0 +1,123 @@ +### Overview + +[![Build Status](https://travis-ci.org/official-stockfish/Stockfish.svg?branch=master)](https://travis-ci.org/official-stockfish/Stockfish) +[![Build Status](https://ci.appveyor.com/api/projects/status/github/official-stockfish/Stockfish?svg=true)](https://ci.appveyor.com/project/mcostalba/stockfish) + +Stockfish is a free UCI chess engine derived from Glaurung 2.1. It is +not a complete chess program and requires some UCI-compatible GUI +(e.g. XBoard with PolyGlot, eboard, 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 it. + +This version of Stockfish supports up to 512 cores. The engine defaults +to one search thread, so it is therefore recommended to inspect the value of +the *Threads* UCI parameter, and to make sure it equals the number of CPU +cores on your computer. + +This version of Stockfish has support for Syzygybases. + + +### Files + +This distribution of Stockfish consists of the following files: + + * Readme.md, the file you are currently reading. + + * Copying.txt, a text file containing the GNU General Public License. + + * src, a subdirectory containing the full source code, including a Makefile + that can be used to compile Stockfish on Unix-like systems. + + +### Syzygybases + +**Configuration** + +Syzygybases are configured using the UCI options "SyzygyPath", +"SyzygyProbeDepth", "Syzygy50MoveRule" and "SyzygyProbeLimit". + +The option "SyzygyPath" should be set to the directory or directories that +contain the .rtbw and .rtbz files. Multiple directories should be +separated by ";" on Windows and by ":" on Unix-based operating systems. +**Do not use spaces around the ";" or ":".** + +Example: `C:\tablebases\wdl345;C:\tablebases\wdl6;D:\tablebases\dtz345;D:\tablebases\dtz6` + +It is recommended to store .rtbw files on an SSD. There is no loss in +storing the .rtbz files on a regular HD. + +Increasing the "SyzygyProbeDepth" option lets the engine probe less +aggressively. Set this option to a higher value if you experience too much +slowdown (in terms of nps) due to TB probing. + +Set the "Syzygy50MoveRule" option to false if you want tablebase positions +that are drawn by the 50-move rule to count as win or loss. This may be useful +for correspondence games (because of tablebase adjudication). + +The "SyzygyProbeLimit" option should normally be left at its default value. + +**What to expect** +If the engine is searching a position that is not in the tablebases (e.g. +a position with 7 pieces), it will access the tablebases during the search. +If the engine reports a very large score (typically 123.xx), this means +that it has found a winning line into a tablebase position. + +If the engine is given a position to search that is in the tablebases, it +will use the tablebases at the beginning of the search to preselect all +good moves, i.e. all moves that preserve the win or preserve the draw while +taking into account the 50-move rule. +It will then perform a search only on those moves. **The engine will not move +immediately**, unless there is only a single good move. **The engine likely +will not report a mate score even if the position is known to be won.** + +It is therefore clear that behaviour is not identical to what one might +be used to with Nalimov tablebases. There are technical reasons for this +difference, the main technical reason being that Nalimov tablebases use the +DTM metric (distance-to-mate), while Syzygybases use a variation of the +DTZ metric (distance-to-zero, zero meaning any move that resets the 50-move +counter). This special metric is one of the reasons that Syzygybases are +more compact than Nalimov tablebases, while still storing all information +needed for optimal play and in addition being able to take into account +the 50-move rule. + + +### Compiling it yourself + +On Unix-like systems, it should be possible to compile Stockfish +directly from the source code with the included Makefile. + +Stockfish has support for 32 or 64-bit CPUs, the hardware POPCNT +instruction, big-endian machines such as Power PC, and other platforms. + +In general it is recommended to run `make help` to see a list of make +targets with corresponding descriptions. When not using the Makefile to +compile (for instance with Microsoft MSVC) you need to manually +set/unset some switches in the compiler command line; see file *types.h* +for a quick reference. + +### Resource For Understanding the Code Base + +* [Chessprogramingwiki](https://chessprogramming.wikispaces.com) has good overall chess engines explanations +(techniques used here are well explained like hash maps etc), it was +also recommended by the [support at stockfish.](http://support.stockfishchess.org/discussions/questions/1132-how-to-understand-stockfish-sources) + +* [Here](https://chessprogramming.wikispaces.com/Stockfish) you can find a set of features and techniques used by stockfish and each of them is explained at the wiki, however, it's a generic way rather than focusing on stockfish's own implementation, but it will still help you. + + +### Terms of use + +Stockfish is free, and distributed under the **GNU General Public License** +(GPL). Essentially, this means that you are free to do almost exactly +what you want with the program, including distributing it among your +friends, making it available for download from your web site, selling +it (either by itself or as part of some bigger software package), or +using it as the starting point for a software project of your own. + +The only real limitation is that whenever you distribute Stockfish in +some way, you must always include the full source code, or a pointer +to where the source code can be found. If you make any changes to the +source code, these changes must also be made available under the GPL. + +For full details, read the copy of the GPL found in the file named +*Copying.txt*. diff --git a/engines/AMD64/stockfish-9-win/Top CPU Contributors.txt b/engines/AMD64/stockfish-9-win/Top CPU Contributors.txt new file mode 100644 index 0000000..4c2aa47 --- /dev/null +++ b/engines/AMD64/stockfish-9-win/Top CPU Contributors.txt @@ -0,0 +1,132 @@ +Contributors with >10,000 CPU hours as of January 23, 2018 +Thank you! + +Username CPU Hours Games played +mibere 518300 41835669 +crunchy 375564 29121434 +cw 371664 28748719 +fastgm 299773 20765374 +JojoM 220590 15299913 +glinscott 204517 13932027 +bking_US 187568 12233168 +ctoks 169342 13475495 +spams 149531 10940322 +Thanar 137015 11714855 +velislav 127305 10047749 +vdbergh 121741 9056874 +malala 117291 8126488 +vdv 117218 8289983 +leszek 114825 8331897 +dsmith 114010 7622414 +CSU_Dynasty 113516 9582758 +sqrt2 112407 8782694 +marrco 111143 8222921 +drabel 108168 9061580 +BrunoBanani 104938 7448565 +Data 94621 8433010 +CoffeeOne 90394 3964243 +BRAVONE 80811 5341681 +psk 77195 6156031 +brabos 70284 5685893 +Fisherman 66650 5572406 +nssy 64587 5369140 +Pking_cda 64499 5704075 +sterni1971 63488 5070004 +mgrabiak 62385 5420812 +tvijlbrief 58957 4154234 +jromang 58854 4704502 +dv8silencer 57421 3961325 +sunu 56620 4609155 +tinker 56039 4204914 +biffhero 55743 4810039 +teddybaer 52982 4740444 +bcross 50548 5071599 +renouve 50318 3544864 +Freja 50296 3805120 +robnjr 47504 4131742 +eva42 46542 4044694 +davar 46538 4030604 +finfish 46244 3481661 +rap 46201 3219490 +ttruscott 45037 3645430 +solarlight 44155 4074841 +TueRens 41372 3891510 +ElbertoOne 41321 3920894 +Antihistamine 39218 2792761 +mhunt 38991 2697512 +bigpen0r 37820 3149955 +homyur 35569 3009637 +VoyagerOne 35137 3302650 +mhoram 34770 2684128 +racerschmacer 33022 3231055 +speedycpu 32043 2531964 +EthanOConnor 31638 2143255 +oryx 29574 2767730 +Pyafue 28885 1986098 +jkiiski 28014 1923255 +Garf 27579 2770144 +slakovv 27017 2031279 +Bobo1239 27000 2488707 +pb00067 26817 2306694 +robal 26337 2316795 +hyperbolic.tom 26248 2200777 +rkl 24898 2236013 +SC 23988 2126825 +nabildanial 23524 1586321 +achambord 23495 1942546 +Sharaf_DG 22975 1790697 +chriswk 22876 1947731 +anst 22568 2013953 +Patrick_G 22435 1682293 +cuistot 22201 1383031 +gri 21901 1820968 +Prcuvu 21182 1890546 +Zirie 21171 1493227 +JanErik 20596 1791991 +Isidor 20560 1730290 +xor12 20535 1819280 +team-oh 20364 1653708 +nesoneg 20264 1493435 +rstoesser 19802 1335177 +grandphish2 19402 1834196 +sg4032 18427 1671742 +dew 18263 1423326 +ianh2105 18133 1668562 +MazeOfGalious 18022 1644593 +ville 17900 1539130 +j3corre 17607 975954 +eudhan 17502 1424648 +iisiraider 17175 1118788 +jundery 17172 1115855 +SFTUser 16635 1363975 +purplefishies 16621 1106850 +DragonLord 16599 1252348 +chris 15274 1575333 +xoto 14900 1486261 +dju 14861 901552 +dex 14647 1228763 +nordlandia 14551 1369718 +ronaldjerum 14361 1210607 +OssumOpossum 14149 1029265 +IgorLeMasson 13844 1228391 +enedene 13762 935618 +ako027ako 13442 1250249 +AdrianSA 13324 924980 +bpfliegel 13318 886523 +ncfish1 13056 932344 +wei 12863 1369596 +jpulman 12776 854815 +horst.prack 12436 1151505 +joster 12424 986622 +cisco2015 12265 1205019 +fatmurphy 12015 901134 +modolief 11228 926456 +Dark_wizzie 11214 1017910 +mschmidt 10973 818594 +eastorwest 10970 1117836 +infinity 10762 746397 +SapphireBrand 10692 1024604 +Thomas A. 10553 736094 +pgontarz 10294 878746 +Andrew Grant 10195 922933 +stocky 10083 718114 diff --git a/engines/AMD64/stockfish-9-win/Windows/stockfish_9_x32.exe b/engines/AMD64/stockfish-9-win/Windows/stockfish_9_x32.exe new file mode 100644 index 0000000..b304d85 Binary files /dev/null and b/engines/AMD64/stockfish-9-win/Windows/stockfish_9_x32.exe differ diff --git a/engines/AMD64/stockfish-9-win/Windows/stockfish_9_x64.exe b/engines/AMD64/stockfish-9-win/Windows/stockfish_9_x64.exe new file mode 100644 index 0000000..8a06dfa Binary files /dev/null and b/engines/AMD64/stockfish-9-win/Windows/stockfish_9_x64.exe differ diff --git a/engines/AMD64/stockfish-9-win/Windows/stockfish_9_x64_bmi2.exe b/engines/AMD64/stockfish-9-win/Windows/stockfish_9_x64_bmi2.exe new file mode 100644 index 0000000..b00b75f Binary files /dev/null and b/engines/AMD64/stockfish-9-win/Windows/stockfish_9_x64_bmi2.exe differ diff --git a/engines/AMD64/stockfish-9-win/Windows/stockfish_9_x64_popcnt.exe b/engines/AMD64/stockfish-9-win/Windows/stockfish_9_x64_popcnt.exe new file mode 100644 index 0000000..7d01e83 Binary files /dev/null and b/engines/AMD64/stockfish-9-win/Windows/stockfish_9_x64_popcnt.exe differ diff --git a/engines/AMD64/stockfish-9-win/appveyor.yml b/engines/AMD64/stockfish-9-win/appveyor.yml new file mode 100644 index 0000000..c711dd6 --- /dev/null +++ b/engines/AMD64/stockfish-9-win/appveyor.yml @@ -0,0 +1,71 @@ +version: 1.0.{build} +clone_depth: 50 + +branches: + only: + - master + - appveyor + +# Operating system (build VM template) +os: Visual Studio 2015 + +# Build platform, i.e. x86, x64, AnyCPU. This setting is optional. +platform: + - x86 + - x64 + +# build Configuration, i.e. Debug, Release, etc. +configuration: + - Debug + - Release + +matrix: + # The build fail immediately once one of the job fails + fast_finish: true + +# Scripts that are called at very beginning, before repo cloning +init: + - cmake --version + - msbuild /version + +before_build: + - ps: | + # Get sources + $src = get-childitem -Path *.cpp -Recurse | select -ExpandProperty FullName + $src = $src -join ' ' + $src = $src.Replace("\", "/") + + # Build CMakeLists.txt + $t = 'cmake_minimum_required(VERSION 3.8)', + 'project(Stockfish)', + 'set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/src)', + 'set(source_files', $src, ')', + 'add_executable(stockfish ${source_files})' + + # Write CMakeLists.txt withouth BOM + $MyPath = (Get-Item -Path "." -Verbose).FullName + '\CMakeLists.txt' + $Utf8NoBomEncoding = New-Object System.Text.UTF8Encoding $False + [System.IO.File]::WriteAllLines($MyPath, $t, $Utf8NoBomEncoding) + + # Obtain bench reference from git log + $b = git log HEAD | sls "\b[Bb]ench[ :]+[0-9]{7}" | select -first 1 + $bench = $b -match '\D+(\d+)' | % { $matches[1] } + Write-Host "Reference bench:" $bench + $g = "Visual Studio 14 2015" + If (${env:PLATFORM} -eq 'x64') { $g = $g + ' Win64' } + cmake -G "${g}" . + Write-Host "Generated files for: " $g + +build_script: + - cmake --build . --config %CONFIGURATION% -- /verbosity:minimal + +before_test: + - cd src/%CONFIGURATION% + - ps: | + # Verify bench number + ./stockfish bench 2> out.txt 1> null + $s = (gc "./out.txt" | out-string) + $r = ($s -match 'Nodes searched \D+(\d+)' | % { $matches[1] }) + Write-Host "Engine bench:" $r + Write-Host "Reference bench:" $bench + If ($r -ne $bench) { exit 1 } diff --git a/engines/AMD64/stockfish-9-win/tests/instrumented.sh b/engines/AMD64/stockfish-9-win/tests/instrumented.sh new file mode 100644 index 0000000..2cae793 --- /dev/null +++ b/engines/AMD64/stockfish-9-win/tests/instrumented.sh @@ -0,0 +1,123 @@ +#!/bin/bash +# check for errors under valgrind or sanitizers. + +error() +{ + echo "instrumented testing failed on line $1" + exit 1 +} +trap 'error ${LINENO}' ERR + +# define suitable post and prefixes for testing options +case $1 in + --valgrind) + echo "valgrind testing started" + prefix='' + exeprefix='valgrind --error-exitcode=42' + postfix='1>/dev/null' + threads="1" + ;; + --valgrind-thread) + echo "valgrind-thread testing started" + prefix='' + exeprefix='valgrind --error-exitcode=42' + postfix='1>/dev/null' + threads="2" + ;; + --sanitizer-undefined) + echo "sanitizer-undefined testing started" + prefix='!' + exeprefix='' + postfix='2>&1 | grep "runtime error:"' + threads="1" + ;; + --sanitizer-thread) + echo "sanitizer-thread testing started" + prefix='!' + exeprefix='' + postfix='2>&1 | grep "WARNING: ThreadSanitizer:"' + threads="2" + +cat << EOF > tsan.supp +race:TTEntry::move +race:TTEntry::depth +race:TTEntry::bound +race:TTEntry::save +race:TTEntry::value +race:TTEntry::eval + +race:TranspositionTable::probe +race:TranspositionTable::hashfull + +EOF + + export TSAN_OPTIONS="suppressions=./tsan.supp" + + ;; + *) + echo "unknown testing started" + prefix='' + exeprefix='' + postfix='' + threads="1" + ;; +esac + +# simple command line testing +for args in "eval" \ + "go nodes 1000" \ + "go depth 10" \ + "go movetime 1000" \ + "go wtime 8000 btime 8000 winc 500 binc 500" \ + "bench 128 $threads 10 default depth" +do + + echo "$prefix $exeprefix ./stockfish $args $postfix" + eval "$prefix $exeprefix ./stockfish $args $postfix" + +done + +# more general testing, following an uci protocol exchange +cat << EOF > game.exp + set timeout 10 + spawn $exeprefix ./stockfish + + send "uci\n" + expect "uciok" + + send "setoption name Threads value $threads\n" + + send "ucinewgame\n" + send "position startpos\n" + send "go nodes 1000\n" + expect "bestmove" + + send "position startpos moves e2e4 e7e6\n" + send "go nodes 1000\n" + expect "bestmove" + + send "position fen 5rk1/1K4p1/8/8/3B4/8/8/8 b - - 0 1\n" + send "go depth 30\n" + expect "bestmove" + + send "quit\n" + expect eof + + # return error code of the spawned program, useful for valgrind + lassign [wait] pid spawnid os_error_flag value + exit \$value +EOF + +for exps in game.exp +do + + echo "$prefix expect $exps $postfix" + eval "$prefix expect $exps $postfix" + + rm $exps + +done + +rm -f tsan.supp + +echo "instrumented testing OK" diff --git a/engines/AMD64/stockfish-9-win/tests/perft.sh b/engines/AMD64/stockfish-9-win/tests/perft.sh new file mode 100644 index 0000000..d402221 --- /dev/null +++ b/engines/AMD64/stockfish-9-win/tests/perft.sh @@ -0,0 +1,32 @@ +#!/bin/bash +# verify perft numbers (positions from https://chessprogramming.wikispaces.com/Perft+Results) + +error() +{ + echo "perft testing failed on line $1" + exit 1 +} +trap 'error ${LINENO}' ERR + +echo "perft testing started" + +cat << EOF > perft.exp + set timeout 10 + lassign \$argv pos depth result + spawn ./stockfish + send "position \$pos\\ngo perft \$depth\\n" + expect "Nodes searched? \$result" {} timeout {exit 1} + send "quit\\n" + expect eof +EOF + +expect perft.exp startpos 5 4865609 > /dev/null +expect perft.exp "fen r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq -" 5 193690690 > /dev/null +expect perft.exp "fen 8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - -" 6 11030083 > /dev/null +expect perft.exp "fen r3k2r/Pppp1ppp/1b3nbN/nP6/BBP1P3/q4N2/Pp1P2PP/R2Q1RK1 w kq - 0 1" 5 15833292 > /dev/null +expect perft.exp "fen rnbq1k1r/pp1Pbppp/2p5/8/2B5/8/PPP1NnPP/RNBQK2R w KQ - 1 8" 5 89941194 > /dev/null +expect perft.exp "fen r4rk1/1pp1qppp/p1np1n2/2b1p1B1/2B1P1b1/P1NP1N2/1PP1QPPP/R4RK1 w - - 0 10" 5 164075551 > /dev/null + +rm perft.exp + +echo "perft testing OK" diff --git a/engines/AMD64/stockfish-9-win/tests/reprosearch.sh b/engines/AMD64/stockfish-9-win/tests/reprosearch.sh new file mode 100644 index 0000000..9fd847f --- /dev/null +++ b/engines/AMD64/stockfish-9-win/tests/reprosearch.sh @@ -0,0 +1,61 @@ +#!/bin/bash +# verify reproducible search + +error() +{ + echo "reprosearch testing failed on line $1" + exit 1 +} +trap 'error ${LINENO}' ERR + +echo "reprosearch testing started" + +# repeat two short games, separated by ucinewgame. +# with go nodes $nodes they should result in exactly +# the same node count for each iteration. +cat << EOF > repeat.exp + set timeout 10 + spawn ./stockfish + lassign \$argv nodes + + send "uci\n" + expect "uciok" + + send "ucinewgame\n" + send "position startpos\n" + send "go nodes \$nodes\n" + expect "bestmove" + + send "position startpos moves e2e4 e7e6\n" + send "go nodes \$nodes\n" + expect "bestmove" + + send "ucinewgame\n" + send "position startpos\n" + send "go nodes \$nodes\n" + expect "bestmove" + + send "position startpos moves e2e4 e7e6\n" + send "go nodes \$nodes\n" + expect "bestmove" + + send "quit\n" + expect eof +EOF + +# to increase the likelyhood of finding a non-reproducible case, +# the allowed number of nodes are varied systematically +for i in `seq 1 20` +do + + nodes=$((100*3**i/2**i)) + echo "reprosearch testing with $nodes nodes" + + # each line should appear exactly an even number of times + expect repeat.exp $nodes 2>&1 | grep -o "nodes [0-9]*" | sort | uniq -c | awk '{if ($1%2!=0) exit(1)}' + +done + +rm repeat.exp + +echo "reprosearch testing OK" diff --git a/engines/AMD64/stockfish-9-win/tests/signature.sh b/engines/AMD64/stockfish-9-win/tests/signature.sh new file mode 100644 index 0000000..00fd2dc --- /dev/null +++ b/engines/AMD64/stockfish-9-win/tests/signature.sh @@ -0,0 +1,27 @@ +#!/bin/bash +# obtain and optionally verify Bench / signature +# if no reference is given, the output is deliberately limited to just the signature + +error() +{ + echo "running bench for signature failed on line $1" + exit 1 +} +trap 'error ${LINENO}' ERR + +# obtain + +signature=`./stockfish bench 2>&1 | grep "Nodes searched : " | awk '{print $4}'` + +if [ $# -gt 0 ]; then + # compare to given reference + if [ "$1" != "$signature" ]; then + echo "signature mismatch: reference $1 obtained $signature" + exit 1 + else + echo "signature OK: $signature" + fi +else + # just report signature + echo $signature +fi diff --git a/engines/AMD64/stockfish_9_x64 b/engines/AMD64/stockfish_9_x64 new file mode 100644 index 0000000..fbf7feb Binary files /dev/null and b/engines/AMD64/stockfish_9_x64 differ diff --git a/engines/AMD64/stockfish_9_x64.exe b/engines/AMD64/stockfish_9_x64.exe new file mode 100644 index 0000000..8a06dfa Binary files /dev/null and b/engines/AMD64/stockfish_9_x64.exe differ diff --git a/engines/AMD64/stockfish_9_x64.uci b/engines/AMD64/stockfish_9_x64.uci new file mode 100644 index 0000000..6d7b15a --- /dev/null +++ b/engines/AMD64/stockfish_9_x64.uci @@ -0,0 +1,63 @@ +[Level@00] +Skill Level = 0 + +[Level@01] +Skill Level = 1 + +[Level@02] +Skill Level = 2 + +[Level@03] +Skill Level = 3 + +[Level@04] +Skill Level = 4 + +[Level@05] +Skill Level = 5 + +[Level@06] +Skill Level = 6 + +[Level@07] +Skill Level = 7 + +[Level@08] +Skill Level = 8 + +[Level@09] +Skill Level = 9 + +[Level@10] +Skill Level = 10 + +[Level@11] +Skill Level = 11 + +[Level@12] +Skill Level = 12 + +[Level@13] +Skill Level = 13 + +[Level@14] +Skill Level = 14 + +[Level@15] +Skill Level = 15 + +[Level@16] +Skill Level = 16 + +[Level@17] +Skill Level = 17 + +[Level@18] +Skill Level = 18 + +[Level@19] +Skill Level = 19 + +[Level@20] +Skill Level = 20 + diff --git a/engines/README.md b/engines/README.md new file mode 100644 index 0000000..39d7029 --- /dev/null +++ b/engines/README.md @@ -0,0 +1,33 @@ +General +======= +This folder is for the UCI-Engines. Place the engines in your corresponding plattform folder ("armv6l", armv7l" or "x86_64") + +The engines must be named after "1char-restname" for example "x-stockfish". The first char decides the order +shown in the dgt display (the first 8 engines can also be activated with the queen). + +If you update the engines list please run "./build/engines.py" after it to create a new engine cache file (engines.ini). +The program will build 3 names for the three types of clocks (XL, DGT3000, DGTPi) which have different maxlength they can show. +You might tweak this file cause the program cant be as clever as you in naming (see below). Please keep in mind the max display width of the three DGT-Clocks XL; 3000; PI (6,8,11 chars). + +Personalities / Levels +====================== +During the engine build (see above) the script will also build a level file for each engine (as long there isn't +such file already). These files are named after the engine with a ".uci" at the end like "x-stockfish.uci". + +You can update them lateron by hand if you want but they should already be in good shape for standard engines (with level +support). If you do this please follow the standard level naming way with "Level@01" & "Elo@0123". The numbers must be +2chars or 4chars long and with this key-value-string (ending on "@") infront. +Actually, you can put any valid uci-command inside each section. The auto build just builds the old level support inside +this new system. So you can tweak each engine as you want (going towards personality engines). + +If you have a personality engine (like rodent_III) please use something similar to the "rodent3" folder. +I uploaded some personality_* files already. Please move them to the plattform-engine folder, and name them similar to +the engine like "m-rodent.uci". +In case of rodent_III you must also make sure the engine is running in "SHOW_OPTIONS" mode. + +The order of sections in yr_engine_name.uci or engines.ini decides the order for the menu. Also the first 8 sections are used for the queen fields for quick selection. +So please sort the sections as you want them to be. The "./build/*.py" files, trying to do the best they can to have a reasonable first configuration. + +If you have problems please don't hassitate to contact me over eMail or gitter. + +LocutusOfPenguin diff --git a/engines/armv6l/a-stockf b/engines/armv6l/a-stockf new file mode 100644 index 0000000..62dd177 Binary files /dev/null and b/engines/armv6l/a-stockf differ diff --git a/engines/armv6l/a-stockf.uci b/engines/armv6l/a-stockf.uci new file mode 100644 index 0000000..1b75fec --- /dev/null +++ b/engines/armv6l/a-stockf.uci @@ -0,0 +1,63 @@ +[Level@00] +skill level = 0 + +[Level@01] +skill level = 1 + +[Level@02] +skill level = 2 + +[Level@03] +skill level = 3 + +[Level@04] +skill level = 4 + +[Level@05] +skill level = 5 + +[Level@06] +skill level = 6 + +[Level@07] +skill level = 7 + +[Level@08] +skill level = 8 + +[Level@09] +skill level = 9 + +[Level@10] +skill level = 10 + +[Level@11] +skill level = 11 + +[Level@12] +skill level = 12 + +[Level@13] +skill level = 13 + +[Level@14] +skill level = 14 + +[Level@15] +skill level = 15 + +[Level@16] +skill level = 16 + +[Level@17] +skill level = 17 + +[Level@18] +skill level = 18 + +[Level@19] +skill level = 19 + +[Level@20] +skill level = 20 + diff --git a/engines/armv6l/b-texel b/engines/armv6l/b-texel new file mode 100644 index 0000000..9a267c3 Binary files /dev/null and b/engines/armv6l/b-texel differ diff --git a/engines/armv6l/b-texel.uci b/engines/armv6l/b-texel.uci new file mode 100644 index 0000000..1705d9e --- /dev/null +++ b/engines/armv6l/b-texel.uci @@ -0,0 +1,32 @@ +[Level@00] +Strength = 0 + +[Level@01] +Strength = 100 + +[Level@02] +Strength = 200 + +[Level@03] +Strength = 300 + +[Level@04] +Strength = 400 + +[Level@05] +Strength = 500 + +[Level@06] +Strength = 600 + +[Level@07] +Strength = 700 + +[Level@08] +Strength = 800 + +[Level@09] +Strength = 900 + +[Level@10] +Strength = 1000 \ No newline at end of file diff --git a/engines/armv6l/c-arasan b/engines/armv6l/c-arasan new file mode 100644 index 0000000..7085c9c Binary files /dev/null and b/engines/armv6l/c-arasan differ diff --git a/engines/armv6l/c-arasan.uci b/engines/armv6l/c-arasan.uci new file mode 100644 index 0000000..c25cf67 --- /dev/null +++ b/engines/armv6l/c-arasan.uci @@ -0,0 +1,84 @@ +[Elo@1000] +UCI_Elo = 1000 +UCI_LimitStrength = true + +[Elo@1080] +UCI_Elo = 1080 +UCI_LimitStrength = true + +[Elo@1160] +UCI_Elo = 1160 +UCI_LimitStrength = true + +[Elo@1240] +UCI_Elo = 1240 +UCI_LimitStrength = true + +[Elo@1320] +UCI_Elo = 1320 +UCI_LimitStrength = true + +[Elo@1400] +UCI_Elo = 1400 +UCI_LimitStrength = true + +[Elo@1480] +UCI_Elo = 1480 +UCI_LimitStrength = true + +[Elo@1560] +UCI_Elo = 1560 +UCI_LimitStrength = true + +[Elo@1640] +UCI_Elo = 1640 +UCI_LimitStrength = true + +[Elo@1720] +UCI_Elo = 1720 +UCI_LimitStrength = true + +[Elo@1800] +UCI_Elo = 1800 +UCI_LimitStrength = true + +[Elo@1880] +UCI_Elo = 1880 +UCI_LimitStrength = true + +[Elo@1960] +UCI_Elo = 1960 +UCI_LimitStrength = true + +[Elo@2040] +UCI_Elo = 2040 +UCI_LimitStrength = true + +[Elo@2120] +UCI_Elo = 2120 +UCI_LimitStrength = true + +[Elo@2200] +UCI_Elo = 2200 +UCI_LimitStrength = true + +[Elo@2280] +UCI_Elo = 2280 +UCI_LimitStrength = true + +[Elo@2360] +UCI_Elo = 2360 +UCI_LimitStrength = true + +[Elo@2440] +UCI_Elo = 2440 +UCI_LimitStrength = true + +[Elo@2520] +UCI_Elo = 2520 +UCI_LimitStrength = true + +[Elo@2600] +UCI_Elo = 2600 +UCI_LimitStrength = false + diff --git a/engines/armv6l/d-rodent b/engines/armv6l/d-rodent new file mode 100644 index 0000000..0218009 Binary files /dev/null and b/engines/armv6l/d-rodent differ diff --git a/engines/armv6l/d-rodent.uci b/engines/armv6l/d-rodent.uci new file mode 100644 index 0000000..70c74c0 --- /dev/null +++ b/engines/armv6l/d-rodent.uci @@ -0,0 +1,4899 @@ +[Amy] +; Amy +; weak, aggressive, slow +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 200 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 600 +EvalBlur = 20 +Contempt = 0 +SlowMover = 150 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Andy] +; Andy +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; weak, attacker +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 300 +EvalBlur = 36 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Arthur] +; Arthur +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; 1900-ish personality that likes attack and restraint, slow thinker +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 950 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 130 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 130 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 12 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 4500 +EvalBlur = 0 +Contempt = 0 +SlowMover = 120 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/grandpa.bin +MainBookFile = small.bin + +[Barbarian] +; Barbarian +; Personality for Rodent III chess engine, version 0.210 or later +; attacker with lower interest for positional factors +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 180 +OppAttack = 100 +OwnMobility = 75 +OppMobility = 75 +KingTropism = 100 +PiecePlacement = 100 +PiecePressure = 125 +PassedPawns = 100 +PawnStructure = 75 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin + +[Ben] +; Ben +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Ben is still weak, but has balanced outlook on the game. Let's hope he improves! +; +PawnValueMg = 95 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 80 +OppAttack = 80 +OwnMobility = 80 +OppMobility = 80 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 120 +EvalBlur = 25 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Bibi] +; Bibi +; Personality for Rodent III chess engine, version 0.210 or later +; Bibi likes bishop pair. But it is not the end of the story. +; Playing against two bishops, he will strongly prefer closed positions. +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 520 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 535 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 75 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 9 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 9 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 140 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = mini.bin +MainBookFile = mini.bin + +[Blais] +; Blais +; Personality for Rodent III chess engine, version 0.210 or later +; Blais has a blurred vision of the board +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 200 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = micro.bin + +[Brute] +; Brute +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; materialist, stripped of some fancy eval staff and material tuning results, high king tropism +; +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 0 +Material = 120 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 100 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Careless] +; Careless +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; ignores pawn structure, low interest in king attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 50 +OppAttack = 50 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 0 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Caveman] +; Caveman +; Personality for Rodent III chess engine, version 0.210 or later +; stripped of most of knowledge, relies mostly on raw calculating power. +; +PawnValueMg = 100 +KnightValueMg = 334 +BishopValueMg = 335 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 334 +BishopValueEg = 335 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = 0 +RookPair = 0 +KnightLikesClosed = 0 +RookLikesOpen = 0 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 0 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 100 +OwnAttack = 0 +OppAttack = 0 +OwnMobility = 0 +OppMobility = 0 +KingTropism = 100 +PiecePlacement = 80 +PiecePressure = 0 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -25 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = small.bin +MainBookFile = small.bin + +[Chloe] +; Chloe +; Personality for Rodent III chess engine, version 0.210 or later +; Chloe is chaotic, but a bit more tactically aware than the oter kids +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 500 +EvalBlur = 50 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Chris] +; Chris +; Chris is a constrictor +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 130 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 700 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Constrictor] +; Constrictor +; Personality for Rodent III chess engine, version 0.210 or later +; It wants to restrict your mobility and to attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 150 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin + +[Deborah] +; Deborah +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; defensive player that likes bishops +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 5 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 85 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 125 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 12 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 8 +PawnThreat = 8 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Defender] +; Defender +; Personality for Rodent III chess engine, version 0.210 or later +; by Pawel Koziol +; personality that weights enemy attack and mobility marginally higher +; this is one of the strongest settings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 105 +OwnAttack = 100 +OppAttack = 110 +OwnMobility = 100 +OppMobility = 105 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 110 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Dorothy] +; Dorothy +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; defence, restraint, classical style +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 125 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -15 +DoubledPawnEg = -30 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 6 +PawnMass = 105 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 15000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin + +[Dory] +; Dory +; Personality for Rodent III chess engine, version 0.210 or later +; weak, defense oriented +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 200 +OppMobility = 150 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 150 +PawnStorm = 50 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 35 +ReturningB = 50 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 1000 +EvalBlur = 18 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Drunk] +; Drunk +; Personality for Rodent III chess engine, version 0.210 or later +; huge random factor in eval and messy openings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-exoticbook.bin +MainBookFile = rodent.bin + +[Expert] +; Expert +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +RookPair = -10 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 50 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 0 +TwoMinors = 45 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 75 +PawnShield = 130 +PawnStorm = 100 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 5000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = small.bin +MainBookFile = small.bin + +[Fighter] +; Fighter +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Likes sacrificing pawns and restricting opponent's mobility. +; +PawnValueMg = 85 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 100 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 90 +OwnAttack = 105 +OppAttack = 100 +OwnMobility = 140 +OppMobility = 110 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 80 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Fiona] +; Fiona +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Fiona likes fianchetto and uses non-default piece/square table +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 105 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 12 +Fianchetto = 24 +ReturningB = 15 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 200 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Frank] +; Frank +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; weak, rushes forward +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 200 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 0 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 88 +EvalBlur = 50 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Frederick] +; Frederick +; Personality for Rodent III chess engine, version 0.210 or later +; 1900-ish player that likes thrusting his pieces forward +; the funny thing is that he likes flank openings as well +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 120 +PawnStorm = 120 +Forwardness = 200 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 4000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/flank.bin +MainBookFile = small.bin + +[Gabriel] +; Gabriel +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; Gabriel is for gambits! +; Estimated strength: 2000 Elo +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 80 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 7000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = ph-gambitbook.bin +MainBookFile = micro.bin + +[gm] +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin + +[Grumpy] +; Grumpy +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; based on attack and restraint, likes closed positions, slight contempt +; meant to simulate strong elderly player +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 120 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 120 +Lines = 100 +Outposts = 120 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 15 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Hedgehog] +; Hedgehog +; Personality for Rodent III chess engine, version 0.210 or later +; solid with pawns, slightly pessimistic +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 140 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 10 +Fianchetto = 6 +ReturningB = 12 +MinorBehindPawn = 10 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 105 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/flank.bin +MainBookFile = rodent.bin + +[Helpless] +; Helpless +; Personality for Rodent III chess engine, version 0.210 or later +; Severely restricted speed, no regard for material values +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 0 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = empty.bin + +[John] +; John +; Personality for Rodent III chess engine, version 0.210 or later +; weak, neglects protecting own king +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 0 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 10 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 180 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Karpov] +; Karpov +; Personality for Rodent III chess engine, version 0.210 or later +; based on Brendan J. Norman's personality for Rodent II +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 5 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = -5 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 105 +OwnAttack = 110 +OppAttack = 85 +OwnMobility = 100 +OppMobility = 95 +KingTropism = 20 +PiecePlacement = 150 +PiecePressure = 100 +PassedPawns = 150 +PawnStructure = 150 +Lines = 100 +Outposts = 120 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 10 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = players/ph-karpov2.bin +MainBookFile = rodent.bin + +[Lasker] +; Lasker +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; +PawnValueMg = 95 +KnightValueMg = 341 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 960 +PawnValueEg = 110 +KnightValueEg = 335 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 972 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 104 +OwnAttack = 71 +OppAttack = 101 +OwnMobility = 96 +OppMobility = 96 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 111 +PassedPawns = 105 +PawnStructure = 96 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Lea] +; Lea +; Personality for Rodent III chess engine, version 0.210 or later +; Lea just learns how the pieces move +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 500 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Mark] +; Mark +; Personality for Rodent III chess engine, version 0.210 or later +; defensive playr who likes own mobility +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 105 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 130 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 400 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Marshall] +; Marshall +; Personality for Rodent III chess engine, version 0.210 or later +; by Pawel Koziol +; hommage to Frank Marshall (1877-1944) +; very high attack, very high mobility, sacrificial, likes knights +; +PawnValueMg = 95 +KnightValueMg = 320 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 325 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 25 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 90 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 25 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 90 +Lines = 100 +Outposts = 75 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Matthew] +; Matthew +; Personality for Rodent III chess engine, version 0.210 or later +; Materialist, slightly below 1000 mark +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 524 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 539 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 120 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 3500 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin + +[Mike] +; Mike +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; materialist who likes mobility, limited opening knowledge +; +PawnValueMg = 98 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 112 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 56 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 70 +MinorUp = 63 +BothUp = 90 +ExchangeImbalance = 40 +MinorVsQueen = 0 +TwoMinors = 54 +Material = 110 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 117 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 115 +PassedPawns = 100 +PawnStructure = 112 +Lines = 100 +Outposts = 75 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 32000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = small.bin + +[Morgenstern] +; Morgenstern +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; symmetric violent attacker, piece values spaced further apart than usual +; +PawnValueMg = 95 +KnightValueMg = 335 +BishopValueMg = 322 +RookValueMg = 540 +QueenValueMg = 1070 +PawnValueEg = 110 +KnightValueEg = 314 +BishopValueEg = 320 +RookValueEg = 555 +QueenValueEg = 1083 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 150 +OppAttack = 150 +OwnMobility = 110 +OppMobility = 110 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 103 +PawnStructure = 107 +Lines = 120 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 107 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Nancy] +; Nancy personality for Rodent III +; author: Pawel Koziol +; attacking player who likes closed positions, approx. elo 2300 +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 120 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 110 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 16 +ReturningB = 12 +MinorBehindPawn = 8 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 38000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Nerd] +; Nerd +; Personality for Rodent III chess engine, version 0.210 or later +; carea a bit too much about positional play +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 0 +KeepBishop = -5 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 108 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 120 +Lines = 120 +Outposts = 110 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -16 +DoubledPawnEg = -32 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 16 +Fianchetto = 6 +ReturningB = 13 +MinorBehindPawn = 8 +PawnThreat = 8 +PawnMass = 120 +PawnChains = 150 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 10000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 115 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Nimzowitsch] +; Nimzowitsch +; Personality for Rodent III chess engine, version 0.210 or later +; likes knights and restricting opponent's mobility +; +PawnValueMg = 95 +KnightValueMg = 322 +BishopValueMg = 310 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 110 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 75 +DoubledPawnMg = -14 +DoubledPawnEg = -28 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 8 +Fianchetto = 6 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 150 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 125 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = players/nimzowitsch.bin +MainBookFile = hist/_pre30.bin + +[Nina] +; Nina +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Nina likes knights and passed pawns, and heads towards endgame +; +PawnValueMg = 95 +KnightValueMg = 330 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 345 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 2 +KeepBishop = -5 +KeepRook = -8 +KeepQueen = -12 +BishopPair = 51 +KnightPair = 0 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 80 +PassedPawns = 125 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 12000 +EvalBlur = 0 +Contempt = 10 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin + +[Nora] +; Nora +; Personality for Rodent III chess engine, version 0.210 or later +; weak, overvalues knights +; +PawnValueMg = 95 +KnightValueMg = 360 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 5 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 200 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 800 +EvalBlur = 15 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Novice] +; Novice +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 50 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 0 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 100 +PawnStorm = 0 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 60 +EvalBlur = 48 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = empty.bin +MainBookFile = empty.bin + +[Open] +; Open +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; likes mobility, bishops and open positions +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -2 +KeepKnight = 0 +KeepBishop = 6 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 4 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 3 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Pam] +; Pam +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Weak, overvalues pawns, cares for pawn structure +; +PawnValueMg = 115 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 130 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 200 +Lines = 100 +Outposts = 78 +PawnShield = 150 +PawnStorm = 120 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 120 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 100 +EvalBlur = 36 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Partisan] +; Partisan +; Personality for Rodent III chess engine, version 0.210 or later +; emphasizes attack but plays stealthy openings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/low.bin +MainBookFile = rodent.bin + +[Patrick] +; Patrick +; Personality for Rodent III chess engine, version 0.210 or later +; Attacking 2000 Elo player who cares for pawn structure +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 125 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 125 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -20 +DoubledPawnEg = -30 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 6000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Pawnsacker] +;Pawnsacker +;Personality for Rodent III chess engine, version 0.210 or later +;Created by Pawel Koziol +;Balanced personality, slightly less materialistic than default. +; +PawnValueMg = 90 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -1 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 90 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Pessimist] +; Pessimist +; Personality for Rodent III chess engine, version 0.210 or later +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Preston] +; Preston +; Personality for Rodent III chess engine, version 0.210 or later +; Slightly materialistic, likes to pressurize the opponent in various ways +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 5 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 110 +OwnAttack = 105 +OppAttack = 100 +OwnMobility = 110 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 20 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 15 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/cs.bin +MainBookFile = rodent.bin + +[Rita] +; Rita +; Personality for Rodent III chess engine, version 0.210 or later +; Rita is weak, and overvalues rooks +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 614 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 629 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 10 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = 0 +KnightLikesClosed = 6 +RookLikesOpen = 10 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 50 +MinorVsQueen = 4 +TwoMinors = 0 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 200 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 48 +EvalBlur = 56 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Sid] +; Sid +; Personality for Rodent III chess engine, version 0.210 or later +; Sid likes to simplify and win in the endgame +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = -5 +KeepBishop = -5 +KeepRook = -10 +KeepQueen = -20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 900 +EvalBlur = 0 +Contempt = 50 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/exchange.bin +MainBookFile = micro.bin + +[Sloth] +; Sloth +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes bishops and closed positions +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 0 +KeepBishop = 4 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 133 +PawnShield = 119 +PawnStorm = 99 +Forwardness = -25 +Center = 66 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 24 +ReturningB = 12 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 120 +PawnChains = 200 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Smart] +; Smart +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Overemphasizes positional factors +; likely to sacrifice exchange or to play with minor pieces against queen +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = 0 +MinorVsQueen = 16 +Material = 100 +OwnAttack = 110 +OppAttack = 100 +OwnMobility = 110 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 200 +Outposts = 200 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 75 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 24 +ReturningB = 12 +MinorBehindPawn = 5 +PawnThreat = 5 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/tricky.bin +MainBookFile = rodent.bin + +[Solid] +; Solid +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; +PawnValueMg = 100 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 115 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 105 +OwnAttack = 80 +OppAttack = 80 +OwnMobility = 80 +OppMobility = 80 +KingTropism = 20 +PiecePlacement = 105 +PiecePressure = 109 +PassedPawns = 110 +PawnStructure = 133 +Lines = 100 +Outposts = 95 +PawnShield = 133 +PawnStorm = 99 +Forwardness = -50 +Center = 133 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Spitfire] +; Spitfire +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes active positions, detests being under attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 120 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 20 +SlowMover = 90 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Stalker] +; Stalker +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes following enemy king with own pieces +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 90 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 100 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[StoneGolem] +; Stone_golem +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 5 +KeepBishop = 0 +KeepRook = -5 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = -10 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 90 +PassedPawns = 100 +PawnStructure = 150 +Lines = 100 +Outposts = 150 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 20 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 200 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = -5 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Sue] +; Sue +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; Sue likes to sacrifice, even though at her current tactical level she is yet unable to calculate all the consequences +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 80 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 550 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Swapper] +; Swapper +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes to exchange pieces; high draw rate +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -2 +KeepKnight = -6 +KeepBishop = -6 +KeepRook = -10 +KeepQueen = -18 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = -25 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Theresa] +; Theresa +; Personality for Rodent III chess engine, version 0.210 or later +; Tricky player with a tendency to sacrifice, lowered attack and raised positional factors +; +PawnValueMg = 93 +KnightValueMg = 312 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 980 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 993 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 12 +TwoMinors = 44 +Material = 85 +OwnAttack = 50 +OppAttack = 70 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 105 +Outposts = 90 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 120 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 9000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-exoticbook.bin +MainBookFile = small.bin + +[Tortoise] +; Tortoise +; Personality for Rodent III chess engine, version 0.210 or later +; slow and plays backwards +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 2 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 25 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 200 +Lines = 100 +Outposts = 160 +PawnShield = 120 +PawnStorm = 90 +Forwardness = -25 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 25 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 125 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/low.bin +MainBookFile = rodent.bin + +[Victor] +; Victor +; Personality for Rodent III chess engine, version 0.210 or later +; Victor is violent and plays gambits. +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +RookPair = -10 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 90 +OwnAttack = 300 +OppAttack = 100 +OwnMobility = 115 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 80 +Lines = 120 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 50 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 80 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 35000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = ph-gambitbook.bin +MainBookFile = rodent.bin + +[Vincent] +; Vincent +; Personality for Rodent III chess engine, version 0.210 or later +; violent attacker (+ piece pressure) +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 200 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 1200 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = mini.bin +MainBookFile = small.bin + +[Wild] +; Wild +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; sacrificial attacker, emphasis on mobility +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 80 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 200 +OppMobility = 150 +KingTropism = 100 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 100 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 25 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-gambitbook.bin +MainBookFile = rodent.bin + +[Zero] +; Zero +; Personality for Rodent III chess engine, version 0.210 or later +; Purely random eval with restricted speed +; +PawnValueMg = 0 +KnightValueMg = 0 +BishopValueMg = 0 +RookValueMg = 0 +QueenValueMg = 0 +PawnValueEg = 0 +KnightValueEg = 0 +BishopValueEg = 0 +RookValueEg = 0 +QueenValueEg = 0 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 0 +KnightPair = 0 +RookPair = 0 +KnightLikesClosed = 0 +RookLikesOpen = 0 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 0 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 0 +OwnAttack = 0 +OppAttack = 0 +OwnMobility = 0 +OppMobility = 0 +KingTropism = 0 +PiecePlacement = 0 +PiecePressure = 0 +PassedPawns = 0 +PawnStructure = 0 +Lines = 0 +Outposts = 0 +PawnShield = 0 +PawnStorm = 0 +Forwardness = 0 +Center = 0 +DoubledPawnMg = 0 +DoubledPawnEg = 0 +IsolatedPawnMg = 0 +IsolatedPawnEg = 0 +IsolatedOnOpenMg = 0 +BackwardPawnMg = 0 +BackwardPawnEg = 0 +BackwardOnOpenMg = 0 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = empty.bin diff --git a/engines/armv6l/e-zurich b/engines/armv6l/e-zurich new file mode 100644 index 0000000..ea3152f Binary files /dev/null and b/engines/armv6l/e-zurich differ diff --git a/engines/armv6l/e-zurich.uci b/engines/armv6l/e-zurich.uci new file mode 100644 index 0000000..8e1bfe8 --- /dev/null +++ b/engines/armv6l/e-zurich.uci @@ -0,0 +1,62 @@ +[Level@00] +Handicap Level = 0 + +[Level@01] +Handicap Level = 1 + +[Level@02] +Handicap Level = 2 + +[Level@03] +Handicap Level = 3 + +[Level@04] +Handicap Level = 4 + +[Level@05] +Handicap Level = 5 + +[Level@06] +Handicap Level = 6 + +[Level@07] +Handicap Level = 7 + +[Level@08] +Handicap Level = 8 + +[Level@09] +Handicap Level = 9 + +[Level@10] +Handicap Level = 10 + +[Level@11] +Handicap Level = 11 + +[Level@12] +Handicap Level = 12 + +[Level@13] +Handicap Level = 13 + +[Level@14] +Handicap Level = 14 + +[Level@15] +Handicap Level = 15 + +[Level@16] +Handicap Level = 16 + +[Level@17] +Handicap Level = 17 + +[Level@18] +Handicap Level = 18 + +[Level@19] +Handicap Level = 19 + +[Level@20] +Handicap Level = 20 diff --git a/engines/armv6l/engines.ini b/engines/armv6l/engines.ini new file mode 100644 index 0000000..88904f5 --- /dev/null +++ b/engines/armv6l/engines.ini @@ -0,0 +1,196 @@ +[a-stockf] +;Skill Level = 20 +;Ponder = False +;SyzygyProbeLimit = 6 +;SyzygyProbeDepth = 1 +;Debug Log File = +;Contempt = 0 +;UCI_Chess960 = False +;nodestime = 0 +;SyzygyPath = +;Threads = 1 +;Hash = 16 +;Clear Hash = +;Syzygy50MoveRule = True +;MultiPV = 1 +;Move Overhead = 100 +name = Stockfish 081017 +small = stockf +medium = Stockf8 +large = Stockfish8 +elo = 3360 + +[b-texel] +;Ponder = True +;MinProbeDepth = 1 +;GaviotaTbCache = 1 +;UCI_Opponent = +;OwnBook = False +;GaviotaTbPath = +;Strength = 1000 +;BookFile = +;AnalysisAgeHash = True +;SyzygyPath = +;Threads = 1 +;Hash = 16 +;Clear Hash = +;UseNullMove = True +;MultiPV = 1 +;UCI_EngineAbout = Texel 1.07 32-bit by Peter Osterlund, see http://hem.bredband.net/petero2b/javachess/index.html#texel +;BufferTime = 1000 +;UCI_AnalyseMode = False +name = Texel 1.07 32-bit +small = Texel7 +medium = Texel107 +large = Texel 107 +elo = 3050 + +[c-arasan] +;Tablebases = None +;SyzygyTbPath = syzygy +;SyzygyProbeDepth = 4 +;Use tablebases = False +;SyzygyUse50MoveRule = True +;OwnBook = True +;UCI_LimitStrength = False +;Ponder = True +;Threads = 1 +;Hash = 32 +;UCI_Elo = 2600 +;MultiPV = 1 +;Book selectivity = 50 +name = Arasan v20.2.0-40-gfd17cc2 +small = arasan +medium = Arasan20 +large = Arasan 2020 +elo = 2980 + +[d-rodent] +;VerboseBook = True +;Ponder = False +;Threads = 1 +;Hash = 16 +;Clear Hash = +;UseBook = True +;PersonalityFile = default.txt +;TimeBuffer = 10 +name = Rodent III 0.228 32-bit/GCC 6.3.0 20170516 +small = rodent +medium = Rodent3 +large = Rodent3 228 +elo = 2920 + +[e-zurich] +;MultiPV = 1 +;Ponder = True +;Handicap Level = 0 +;UCI_AnalyseMode = False +;Hash = 64 +name = zurichess geneva +small = zurich +medium = Zurich g +large = Zurichess g +elo = 2790 + +[f-wyld] +;KnightOutpostEg = 10 +;MoveOverhead = 30 +;RookOn7thMg = 40 +;KingShelterCloseEg = 10 +;QueenKingAtkWt = 5 +;RookValueEg = 550 +;PawnValueMg = 90 +;QueenMobilityWt = 4 +;KnightValueMg = 400 +;RookValueMg = 700 +;RookSemiOpenFileMg = 5 +;DoubledPawnsMg = -10 +;BishopOutpostEg = 5 +;KnightMobilityWt = 8 +;BishopPairMg = 50 +;RookKingAtkWt = 4 +;BishopOutpostMg = 10 +;PawnValueEg = 100 +;QueenValueEg = 1100 +;Hash = 128 +;KnightOutpostMg = 20 +;BishopPairEg = 80 +;KingShelterFarMg = 10 +;Threads = 1 +;BishopValueEg = 330 +;RookMobilityWt = 5 +;QueenValueMg = 1300 +;DoubledPawnsEg = -10 +;RookOpenFileMg = 20 +;KnightValueEg = 320 +;BishopValueMg = 400 +;BishopKingAtkWt = 3 +;PersonaPath = +;KnightKingAtkWt = 3 +;RookOpenFileEg = 20 +;Ponder = True +;RookOn7thEg = 20 +;RookSemiOpenFileEg = 5 +;KingShelterCloseMg = 20 +;IsolatedPawnMg = -10 +;KingShelterFarEg = 5 +;UCI_Chess960 = False +;SyzygyPath = +;IsolatedPawnEg = -10 +;BishopMobilityWt = 5 +name = WyldChess 10062017 +small = wyld +medium = Wyld Chs +large = WyldChess +elo = 2630 + +[g-galjoe] +;UCI_Elo = 2000 +;Ponder = True +;UCI_Chess960 = False +;Hash = 128 +;UCI_LimitStrength = False +;OwnBook = False +;MultiPV = 1 +;Debug = False +name = Galjoen 0.37.2 +small = galjoe +medium = Galjoen +large = Galjoen0372 +elo = 2110 + +[h-sayuri] +;Clear Hash = +;Ponder = True +;Threads = 1 +;UCI_AnalyseMode = False +;Hash = 1 +name = Sayuri 2017.12.16 +small = sayuri +medium = Sayuri +large = Sayuri +elo = 1850 + +[i-floyd] +;Clear Hash = +;Ponder = True +;Hash = 128 +name = Floyd 0.9 +small = Floyd9 +medium = Floyd 09 +large = Floyd 09 +elo = 2590 + +[j-greko] +name = GreKo 2015 +small = GreKo +medium = GreKo 15 +large = GreKo 2015 +elo = 2620 + +[k-hakka3] +name = Hakkapeliitta 3.0 +small = hakka3 +medium = hakkape3 +large = hakkapel 30 +elo = 2980 diff --git a/engines/armv6l/f-wyld b/engines/armv6l/f-wyld new file mode 100644 index 0000000..b687a12 Binary files /dev/null and b/engines/armv6l/f-wyld differ diff --git a/engines/armv6l/f-wyld.uci b/engines/armv6l/f-wyld.uci new file mode 100644 index 0000000..831033c --- /dev/null +++ b/engines/armv6l/f-wyld.uci @@ -0,0 +1,55 @@ +[Default] +PawnValueMg = 90 +PawnValueEg = 100 +KnightValueMg = 400 +KnightValueEg = 320 +BishopValueMg = 400 +BishopValueEg = 330 +RookValueMg = 700 +RookValueEg = 550 +QueenValueMg = 1300 +QueenValueEg = 1100 +KingShelterCloseMg = 20 +KingShelterCloseEg = 10 +KingShelterFarMg = 10 +KingShelterFarEg = 5 +DoubledPawnsMg = -10 +DoubledPawnsEg = -10 +IsolatedPawnMg = -10 +IsolatedPawnEg = -10 +BishopPairMg = 50 +BishopPairEg = 80 +RookOn7thMg = 40 +RookOn7thEg = 20 +RookOpenFileMg = 20 +RookOpenFileEg = 20 +RookSemiOpenFileMg = 5 +RookSemiOpenFileEg = 5 +KnightOutpostMg = 20 +KnightOutpostEg = 10 +BishopOutpostMg = 10 +BishopOutpostEg = 5 +KnightKingAtkWt = 3 +BishopKingAtkWt = 3 +RookKingAtkWt = 4 +QueenKingAtkWt = 5 +KnightMobilityWt = 8 +BishopMobilityWt = 5 +RookMobilityWt = 5 +QueenMobilityWt = 4 + +[Drunken] +RookOn7thMg = 60 +RookOn7thEg = 40 +RookOpenFileMg = 30 +RookOpenFileEg = 30 +RookSemiOpenFileMg = 15 +RookSemiOpenFileEg = 15 +KnightKingAtkWt = 8 +BishopKingAtkWt = 8 +RookKingAtkWt = 10 +QueenKingAtkWt = 12 +KnightMobilityWt = 8 +BishopMobilityWt = 8 +RookMobilityWt = 8 +QueenMobilityWt = 10 \ No newline at end of file diff --git a/engines/armv6l/g-galjoe b/engines/armv6l/g-galjoe new file mode 100644 index 0000000..5053cb4 Binary files /dev/null and b/engines/armv6l/g-galjoe differ diff --git a/engines/armv6l/g-galjoe.uci b/engines/armv6l/g-galjoe.uci new file mode 100644 index 0000000..a9607fa --- /dev/null +++ b/engines/armv6l/g-galjoe.uci @@ -0,0 +1,44 @@ +[Elo@1500] +UCI_LimitStrength = true +UCI_Elo = 1500 + +[Elo@1570] +UCI_LimitStrength = true +UCI_Elo = 1570 + +[Elo@1640] +UCI_LimitStrength = true +UCI_Elo = 1640 + +[Elo@1710] +UCI_LimitStrength = true +UCI_Elo = 1710 + +[Elo@1780] +UCI_LimitStrength = true +UCI_Elo = 1780 + +[Elo@1850] +UCI_LimitStrength = true +UCI_Elo = 1850 + +[Elo@1920] +UCI_LimitStrength = true +UCI_Elo = 1920 + +[Elo@1990] +UCI_LimitStrength = true +UCI_Elo = 1990 + +[Elo@2060] +UCI_LimitStrength = true +UCI_Elo = 2060 + +[Elo@2130] +UCI_LimitStrength = true +UCI_Elo = 2130 + +[Elo@2200] +UCI_LimitStrength = false +UCI_Elo = 2200 + diff --git a/engines/armv6l/h-sayuri b/engines/armv6l/h-sayuri new file mode 100644 index 0000000..d61da09 Binary files /dev/null and b/engines/armv6l/h-sayuri differ diff --git a/engines/armv6l/i-floyd b/engines/armv6l/i-floyd new file mode 100644 index 0000000..9b7295a Binary files /dev/null and b/engines/armv6l/i-floyd differ diff --git a/engines/armv6l/j-greko b/engines/armv6l/j-greko new file mode 100644 index 0000000..db591a7 Binary files /dev/null and b/engines/armv6l/j-greko differ diff --git a/engines/armv6l/j-greko.uci b/engines/armv6l/j-greko.uci new file mode 100644 index 0000000..00274a5 --- /dev/null +++ b/engines/armv6l/j-greko.uci @@ -0,0 +1,84 @@ +[Elo@1600] +UCI_Elo = 1600 +UCI_LimitStrength = true + +[Elo@1660] +UCI_Elo = 1660 +UCI_LimitStrength = true + +[Elo@1720] +UCI_Elo = 1720 +UCI_LimitStrength = true + +[Elo@1780] +UCI_Elo = 1780 +UCI_LimitStrength = true + +[Elo@1840] +UCI_Elo = 1840 +UCI_LimitStrength = true + +[Elo@1900] +UCI_Elo = 1900 +UCI_LimitStrength = true + +[Elo@1960] +UCI_Elo = 1960 +UCI_LimitStrength = true + +[Elo@2020] +UCI_Elo = 2020 +UCI_LimitStrength = true + +[Elo@2080] +UCI_Elo = 2080 +UCI_LimitStrength = true + +[Elo@2140] +UCI_Elo = 2140 +UCI_LimitStrength = true + +[Elo@2200] +UCI_Elo = 2200 +UCI_LimitStrength = true + +[Elo@2260] +UCI_Elo = 2260 +UCI_LimitStrength = true + +[Elo@2320] +UCI_Elo = 2320 +UCI_LimitStrength = true + +[Elo@2380] +UCI_Elo = 2380 +UCI_LimitStrength = true + +[Elo@2440] +UCI_Elo = 2440 +UCI_LimitStrength = true + +[Elo@2500] +UCI_Elo = 2500 +UCI_LimitStrength = true + +[Elo@2560] +UCI_Elo = 2560 +UCI_LimitStrength = true + +[Elo@2620] +UCI_Elo = 2620 +UCI_LimitStrength = true + +[Elo@2680] +UCI_Elo = 2680 +UCI_LimitStrength = true + +[Elo@2740] +UCI_Elo = 2740 +UCI_LimitStrength = true + +[Elo@2800] +UCI_Elo = 2800 +UCI_LimitStrength = false + diff --git a/engines/armv6l/k-hakka3 b/engines/armv6l/k-hakka3 new file mode 100644 index 0000000..d67eb58 Binary files /dev/null and b/engines/armv6l/k-hakka3 differ diff --git a/engines/armv7l/a-stockf b/engines/armv7l/a-stockf new file mode 100644 index 0000000..62dd177 Binary files /dev/null and b/engines/armv7l/a-stockf differ diff --git a/engines/armv7l/a-stockf.uci b/engines/armv7l/a-stockf.uci new file mode 100644 index 0000000..1b75fec --- /dev/null +++ b/engines/armv7l/a-stockf.uci @@ -0,0 +1,63 @@ +[Level@00] +skill level = 0 + +[Level@01] +skill level = 1 + +[Level@02] +skill level = 2 + +[Level@03] +skill level = 3 + +[Level@04] +skill level = 4 + +[Level@05] +skill level = 5 + +[Level@06] +skill level = 6 + +[Level@07] +skill level = 7 + +[Level@08] +skill level = 8 + +[Level@09] +skill level = 9 + +[Level@10] +skill level = 10 + +[Level@11] +skill level = 11 + +[Level@12] +skill level = 12 + +[Level@13] +skill level = 13 + +[Level@14] +skill level = 14 + +[Level@15] +skill level = 15 + +[Level@16] +skill level = 16 + +[Level@17] +skill level = 17 + +[Level@18] +skill level = 18 + +[Level@19] +skill level = 19 + +[Level@20] +skill level = 20 + diff --git a/engines/armv7l/b-texel b/engines/armv7l/b-texel new file mode 100644 index 0000000..9a267c3 Binary files /dev/null and b/engines/armv7l/b-texel differ diff --git a/engines/armv7l/b-texel.uci b/engines/armv7l/b-texel.uci new file mode 100644 index 0000000..1705d9e --- /dev/null +++ b/engines/armv7l/b-texel.uci @@ -0,0 +1,32 @@ +[Level@00] +Strength = 0 + +[Level@01] +Strength = 100 + +[Level@02] +Strength = 200 + +[Level@03] +Strength = 300 + +[Level@04] +Strength = 400 + +[Level@05] +Strength = 500 + +[Level@06] +Strength = 600 + +[Level@07] +Strength = 700 + +[Level@08] +Strength = 800 + +[Level@09] +Strength = 900 + +[Level@10] +Strength = 1000 \ No newline at end of file diff --git a/engines/armv7l/c-arasan b/engines/armv7l/c-arasan new file mode 100644 index 0000000..bd33bca Binary files /dev/null and b/engines/armv7l/c-arasan differ diff --git a/engines/armv7l/c-arasan.uci b/engines/armv7l/c-arasan.uci new file mode 100644 index 0000000..c25cf67 --- /dev/null +++ b/engines/armv7l/c-arasan.uci @@ -0,0 +1,84 @@ +[Elo@1000] +UCI_Elo = 1000 +UCI_LimitStrength = true + +[Elo@1080] +UCI_Elo = 1080 +UCI_LimitStrength = true + +[Elo@1160] +UCI_Elo = 1160 +UCI_LimitStrength = true + +[Elo@1240] +UCI_Elo = 1240 +UCI_LimitStrength = true + +[Elo@1320] +UCI_Elo = 1320 +UCI_LimitStrength = true + +[Elo@1400] +UCI_Elo = 1400 +UCI_LimitStrength = true + +[Elo@1480] +UCI_Elo = 1480 +UCI_LimitStrength = true + +[Elo@1560] +UCI_Elo = 1560 +UCI_LimitStrength = true + +[Elo@1640] +UCI_Elo = 1640 +UCI_LimitStrength = true + +[Elo@1720] +UCI_Elo = 1720 +UCI_LimitStrength = true + +[Elo@1800] +UCI_Elo = 1800 +UCI_LimitStrength = true + +[Elo@1880] +UCI_Elo = 1880 +UCI_LimitStrength = true + +[Elo@1960] +UCI_Elo = 1960 +UCI_LimitStrength = true + +[Elo@2040] +UCI_Elo = 2040 +UCI_LimitStrength = true + +[Elo@2120] +UCI_Elo = 2120 +UCI_LimitStrength = true + +[Elo@2200] +UCI_Elo = 2200 +UCI_LimitStrength = true + +[Elo@2280] +UCI_Elo = 2280 +UCI_LimitStrength = true + +[Elo@2360] +UCI_Elo = 2360 +UCI_LimitStrength = true + +[Elo@2440] +UCI_Elo = 2440 +UCI_LimitStrength = true + +[Elo@2520] +UCI_Elo = 2520 +UCI_LimitStrength = true + +[Elo@2600] +UCI_Elo = 2600 +UCI_LimitStrength = false + diff --git a/engines/armv7l/d-rodent b/engines/armv7l/d-rodent new file mode 100644 index 0000000..31e6e12 Binary files /dev/null and b/engines/armv7l/d-rodent differ diff --git a/engines/armv7l/d-rodent.uci b/engines/armv7l/d-rodent.uci new file mode 100644 index 0000000..2f9c15a --- /dev/null +++ b/engines/armv7l/d-rodent.uci @@ -0,0 +1,4979 @@ +[Amy] +; Amy +; weak, aggressive, slow +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 200 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 600 +EvalBlur = 20 +Contempt = 0 +SlowMover = 150 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Andy] +; Andy +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; weak, attacker +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 300 +EvalBlur = 36 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Arthur] +; Arthur +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; 1900-ish personality that likes attack and restraint, slow thinker +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 950 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 130 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 130 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 12 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 4500 +EvalBlur = 0 +Contempt = 0 +SlowMover = 120 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/grandpa.bin +MainBookFile = small.bin + +[Barbarian] +; Barbarian +; Personality for Rodent III chess engine, version 0.210 or later +; attacker with lower interest for positional factors +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 180 +OppAttack = 100 +OwnMobility = 75 +OppMobility = 75 +KingTropism = 100 +PiecePlacement = 100 +PiecePressure = 125 +PassedPawns = 100 +PawnStructure = 75 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin + +[Ben] +; Ben +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Ben is still weak, but has balanced outlook on the game. Let's hope he improves! +; +PawnValueMg = 95 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 80 +OppAttack = 80 +OwnMobility = 80 +OppMobility = 80 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 120 +EvalBlur = 25 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Bibi] +; Bibi +; Personality for Rodent III chess engine, version 0.210 or later +; Bibi likes bishop pair. But it is not the end of the story. +; Playing against two bishops, he will strongly prefer closed positions. +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 520 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 535 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 75 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 9 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 9 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 140 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = mini.bin +MainBookFile = mini.bin + +[Blais] +; Blais +; Personality for Rodent III chess engine, version 0.210 or later +; Blais has a blurred vision of the board +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 200 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = micro.bin + +[Brute] +; Brute +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; materialist, stripped of some fancy eval staff and material tuning results, high king tropism +; +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 0 +Material = 120 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 100 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Careless] +; Careless +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; ignores pawn structure, low interest in king attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 50 +OppAttack = 50 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 0 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Caveman] +; Caveman +; Personality for Rodent III chess engine, version 0.210 or later +; stripped of most of knowledge, relies mostly on raw calculating power. +; +PawnValueMg = 100 +KnightValueMg = 334 +BishopValueMg = 335 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 334 +BishopValueEg = 335 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = 0 +RookPair = 0 +KnightLikesClosed = 0 +RookLikesOpen = 0 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 0 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 100 +OwnAttack = 0 +OppAttack = 0 +OwnMobility = 0 +OppMobility = 0 +KingTropism = 100 +PiecePlacement = 80 +PiecePressure = 0 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -25 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = small.bin +MainBookFile = small.bin + +[Chloe] +; Chloe +; Personality for Rodent III chess engine, version 0.210 or later +; Chloe is chaotic, but a bit more tactically aware than the oter kids +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 500 +EvalBlur = 50 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Chris] +; Chris +; Chris is a constrictor +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 130 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 700 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Constrictor] +; Constrictor +; Personality for Rodent III chess engine, version 0.210 or later +; It wants to restrict your mobility and to attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 150 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin + +[Deborah] +; Deborah +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; defensive player that likes bishops +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 5 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 85 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 125 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 12 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 8 +PawnThreat = 8 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Defender] +; Defender +; Personality for Rodent III chess engine, version 0.210 or later +; by Pawel Koziol +; personality that weights enemy attack and mobility marginally higher +; this is one of the strongest settings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 105 +OwnAttack = 100 +OppAttack = 110 +OwnMobility = 100 +OppMobility = 105 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 110 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Dorothy] +; Dorothy +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; defence, restraint, classical style +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 125 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -15 +DoubledPawnEg = -30 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 6 +PawnMass = 105 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 15000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin + +[Dory] +; Dory +; Personality for Rodent III chess engine, version 0.210 or later +; weak, defense oriented +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 200 +OppMobility = 150 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 150 +PawnStorm = 50 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 35 +ReturningB = 50 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 1000 +EvalBlur = 18 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Drunk] +; Drunk +; Personality for Rodent III chess engine, version 0.210 or later +; huge random factor in eval and messy openings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-exoticbook.bin +MainBookFile = rodent.bin + +[Expert] +; Expert +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +RookPair = -10 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 50 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 0 +TwoMinors = 45 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 75 +PawnShield = 130 +PawnStorm = 100 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 5000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = small.bin +MainBookFile = small.bin + +[Fighter] +; Fighter +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Likes sacrificing pawns and restricting opponent's mobility. +; +PawnValueMg = 85 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 100 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 90 +OwnAttack = 105 +OppAttack = 100 +OwnMobility = 140 +OppMobility = 110 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 80 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Fiona] +; Fiona +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Fiona likes fianchetto and uses non-default piece/square table +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 105 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 12 +Fianchetto = 24 +ReturningB = 15 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 200 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Frank] +; Frank +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; weak, rushes forward +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 200 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 0 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 88 +EvalBlur = 50 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Frederick] +; Frederick +; Personality for Rodent III chess engine, version 0.210 or later +; 1900-ish player that likes thrusting his pieces forward +; the funny thing is that he likes flank openings as well +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 120 +PawnStorm = 120 +Forwardness = 200 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 4000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/flank.bin +MainBookFile = small.bin + +[Gabriel] +; Gabriel +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; Gabriel is for gambits! +; Estimated strength: 2000 Elo +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 80 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 7000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = ph-gambitbook.bin +MainBookFile = micro.bin + +[gm] +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin + +[Grumpy] +; Grumpy +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; based on attack and restraint, likes closed positions, slight contempt +; meant to simulate strong elderly player +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 120 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 120 +Lines = 100 +Outposts = 120 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 15 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Hedgehog] +; Hedgehog +; Personality for Rodent III chess engine, version 0.210 or later +; solid with pawns, slightly pessimistic +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 140 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 10 +Fianchetto = 6 +ReturningB = 12 +MinorBehindPawn = 10 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 105 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/flank.bin +MainBookFile = rodent.bin + +[Helpless] +; Helpless +; Personality for Rodent III chess engine, version 0.210 or later +; Severely restricted speed, no regard for material values +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 0 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = empty.bin + +[John] +; John +; Personality for Rodent III chess engine, version 0.210 or later +; weak, neglects protecting own king +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 0 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 10 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 180 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Karpov] +; Karpov +; Personality for Rodent III chess engine, version 0.210 or later +; based on Brendan J. Norman's personality for Rodent II +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 5 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = -5 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 105 +OwnAttack = 110 +OppAttack = 85 +OwnMobility = 100 +OppMobility = 95 +KingTropism = 20 +PiecePlacement = 150 +PiecePressure = 100 +PassedPawns = 150 +PawnStructure = 150 +Lines = 100 +Outposts = 120 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 10 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = players/ph-karpov2.bin +MainBookFile = rodent.bin + +[Lasker] +; Lasker +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; +PawnValueMg = 95 +KnightValueMg = 341 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 960 +PawnValueEg = 110 +KnightValueEg = 335 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 972 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 104 +OwnAttack = 71 +OppAttack = 101 +OwnMobility = 96 +OppMobility = 96 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 111 +PassedPawns = 105 +PawnStructure = 96 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Lea] +; Lea +; Personality for Rodent III chess engine, version 0.210 or later +; Lea just learns how the pieces move +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 500 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Mark] +; Mark +; Personality for Rodent III chess engine, version 0.210 or later +; defensive playr who likes own mobility +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 105 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 130 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 400 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Marshall] +; Marshall +; Personality for Rodent III chess engine, version 0.210 or later +; by Pawel Koziol +; hommage to Frank Marshall (1877-1944) +; very high attack, very high mobility, sacrificial, likes knights +; +PawnValueMg = 95 +KnightValueMg = 320 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 325 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 25 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 90 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 25 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 90 +Lines = 100 +Outposts = 75 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Matthew] +; Matthew +; Personality for Rodent III chess engine, version 0.210 or later +; Materialist, slightly below 1000 mark +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 524 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 539 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 120 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 3500 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin + +[Mike] +; Mike +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; materialist who likes mobility, limited opening knowledge +; +PawnValueMg = 98 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 112 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 56 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 70 +MinorUp = 63 +BothUp = 90 +ExchangeImbalance = 40 +MinorVsQueen = 0 +TwoMinors = 54 +Material = 110 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 117 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 115 +PassedPawns = 100 +PawnStructure = 112 +Lines = 100 +Outposts = 75 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 32000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = small.bin + +[Morgenstern] +; Morgenstern +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; symmetric violent attacker, piece values spaced further apart than usual +; +PawnValueMg = 95 +KnightValueMg = 335 +BishopValueMg = 322 +RookValueMg = 540 +QueenValueMg = 1070 +PawnValueEg = 110 +KnightValueEg = 314 +BishopValueEg = 320 +RookValueEg = 555 +QueenValueEg = 1083 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 150 +OppAttack = 150 +OwnMobility = 110 +OppMobility = 110 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 103 +PawnStructure = 107 +Lines = 120 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 107 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Nancy] +; Nancy personality for Rodent III +; author: Pawel Koziol +; attacking player who likes closed positions, approx. elo 2300 +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 120 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 110 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 16 +ReturningB = 12 +MinorBehindPawn = 8 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 38000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Nerd] +; Nerd +; Personality for Rodent III chess engine, version 0.210 or later +; carea a bit too much about positional play +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 0 +KeepBishop = -5 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 108 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 120 +Lines = 120 +Outposts = 110 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -16 +DoubledPawnEg = -32 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 16 +Fianchetto = 6 +ReturningB = 13 +MinorBehindPawn = 8 +PawnThreat = 8 +PawnMass = 120 +PawnChains = 150 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 10000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 115 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Nimzowitsch] +; Nimzowitsch +; Personality for Rodent III chess engine, version 0.210 or later +; likes knights and restricting opponent's mobility +; +PawnValueMg = 95 +KnightValueMg = 322 +BishopValueMg = 310 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 110 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 75 +DoubledPawnMg = -14 +DoubledPawnEg = -28 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 8 +Fianchetto = 6 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 150 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 125 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = players/nimzowitsch.bin +MainBookFile = hist/_pre30.bin + +[Nina] +; Nina +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Nina likes knights and passed pawns, and heads towards endgame +; +PawnValueMg = 95 +KnightValueMg = 330 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 345 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 2 +KeepBishop = -5 +KeepRook = -8 +KeepQueen = -12 +BishopPair = 51 +KnightPair = 0 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 80 +PassedPawns = 125 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 12000 +EvalBlur = 0 +Contempt = 10 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin + +[Nora] +; Nora +; Personality for Rodent III chess engine, version 0.210 or later +; weak, overvalues knights +; +PawnValueMg = 95 +KnightValueMg = 360 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 5 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 200 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 800 +EvalBlur = 15 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Novice] +; Novice +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 50 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 0 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 100 +PawnStorm = 0 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 60 +EvalBlur = 48 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = empty.bin +MainBookFile = empty.bin + +[Open] +; Open +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; likes mobility, bishops and open positions +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -2 +KeepKnight = 0 +KeepBishop = 6 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 4 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 3 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Pam] +; Pam +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Weak, overvalues pawns, cares for pawn structure +; +PawnValueMg = 115 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 130 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 200 +Lines = 100 +Outposts = 78 +PawnShield = 150 +PawnStorm = 120 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 120 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 100 +EvalBlur = 36 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Partisan] +; Partisan +; Personality for Rodent III chess engine, version 0.210 or later +; emphasizes attack but plays stealthy openings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/low.bin +MainBookFile = rodent.bin + +[Patrick] +; Patrick +; Personality for Rodent III chess engine, version 0.210 or later +; Attacking 2000 Elo player who cares for pawn structure +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 125 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 125 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -20 +DoubledPawnEg = -30 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 6000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Pawnsacker] +;Pawnsacker +;Personality for Rodent III chess engine, version 0.210 or later +;Created by Pawel Koziol +;Balanced personality, slightly less materialistic than default. +; +PawnValueMg = 90 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -1 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 90 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Pessimist] +; Pessimist +; Personality for Rodent III chess engine, version 0.210 or later +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Preston] +; Preston +; Personality for Rodent III chess engine, version 0.210 or later +; Slightly materialistic, likes to pressurize the opponent in various ways +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 5 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 110 +OwnAttack = 105 +OppAttack = 100 +OwnMobility = 110 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 20 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 15 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/cs.bin +MainBookFile = rodent.bin + +[Rita] +; Rita +; Personality for Rodent III chess engine, version 0.210 or later +; Rita is weak, and overvalues rooks +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 614 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 629 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 10 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = 0 +KnightLikesClosed = 6 +RookLikesOpen = 10 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 50 +MinorVsQueen = 4 +TwoMinors = 0 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 200 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 48 +EvalBlur = 56 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Sid] +; Sid +; Personality for Rodent III chess engine, version 0.210 or later +; Sid likes to simplify and win in the endgame +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = -5 +KeepBishop = -5 +KeepRook = -10 +KeepQueen = -20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 900 +EvalBlur = 0 +Contempt = 50 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/exchange.bin +MainBookFile = micro.bin + +[Sloth] +; Sloth +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes bishops and closed positions +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 0 +KeepBishop = 4 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 133 +PawnShield = 119 +PawnStorm = 99 +Forwardness = -25 +Center = 66 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 24 +ReturningB = 12 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 120 +PawnChains = 200 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Smart] +; Smart +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Overemphasizes positional factors +; likely to sacrifice exchange or to play with minor pieces against queen +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = 0 +MinorVsQueen = 16 +Material = 100 +OwnAttack = 110 +OppAttack = 100 +OwnMobility = 110 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 200 +Outposts = 200 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 75 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 24 +ReturningB = 12 +MinorBehindPawn = 5 +PawnThreat = 5 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/tricky.bin +MainBookFile = rodent.bin + +[Solid] +; Solid +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; +PawnValueMg = 100 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 115 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 105 +OwnAttack = 80 +OppAttack = 80 +OwnMobility = 80 +OppMobility = 80 +KingTropism = 20 +PiecePlacement = 105 +PiecePressure = 109 +PassedPawns = 110 +PawnStructure = 133 +Lines = 100 +Outposts = 95 +PawnShield = 133 +PawnStorm = 99 +Forwardness = -50 +Center = 133 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Spitfire] +; Spitfire +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes active positions, detests being under attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 120 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 20 +SlowMover = 90 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Stalker] +; Stalker +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes following enemy king with own pieces +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 90 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 100 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[StoneGolem] +; Stone_golem +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 5 +KeepBishop = 0 +KeepRook = -5 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = -10 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 90 +PassedPawns = 100 +PawnStructure = 150 +Lines = 100 +Outposts = 150 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 20 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 200 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = -5 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Sue] +; Sue +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; Sue likes to sacrifice, even though at her current tactical level she is yet unable to calculate all the consequences +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 80 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 550 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Swapper] +; Swapper +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes to exchange pieces; high draw rate +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -2 +KeepKnight = -6 +KeepBishop = -6 +KeepRook = -10 +KeepQueen = -18 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = -25 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + + +[Tal] +; Tal personality for Rodent III chess engine, version 0.229 or later +; created by Brendan J. Norman, modified by Pawel Koziol +; Hommage to Mikhail Tal +; +; "My head is filled with sunshine. In the first game +; of my match with Botvinnik I will play 1.e4 +; and I shall win." +; +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 340 +RookValueMg = 500 +QueenValueMg = 950 +PawnValueEg = 101 +KnightValueEg = 320 +BishopValueEg = 340 +RookValueEg = 505 +QueenValueEg = 960 +KeepPawn = 8 +KeepKnight = 10 +KeepBishop = 10 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 70 +KnightPair = -10 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = -10 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 48 +OwnAttack = 450 +OppAttack = 100 +OwnMobility = 125 +OppMobility = 100 +KingTropism = 80 +PiecePlacement = 100 +PiecePressure = 190 +PassedPawns = 127 +PawnStructure = 90 +Lines = 100 +Outposts = 100 +PawnShield = 189 +PawnStorm = 181 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 8 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 5 +SlowMover = 95 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = players/ph-tal2.bin +MainBookFile = rodent.bin + +[Theresa] +; Theresa +; Personality for Rodent III chess engine, version 0.210 or later +; Tricky player with a tendency to sacrifice, lowered attack and raised positional factors +; +PawnValueMg = 93 +KnightValueMg = 312 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 980 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 993 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 12 +TwoMinors = 44 +Material = 85 +OwnAttack = 50 +OppAttack = 70 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 105 +Outposts = 90 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 120 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 9000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-exoticbook.bin +MainBookFile = small.bin + +[Tortoise] +; Tortoise +; Personality for Rodent III chess engine, version 0.210 or later +; slow and plays backwards +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 2 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 25 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 200 +Lines = 100 +Outposts = 160 +PawnShield = 120 +PawnStorm = 90 +Forwardness = -25 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 25 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 125 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/low.bin +MainBookFile = rodent.bin + +[Victor] +; Victor +; Personality for Rodent III chess engine, version 0.210 or later +; Victor is violent and plays gambits. +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +RookPair = -10 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 90 +OwnAttack = 300 +OppAttack = 100 +OwnMobility = 115 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 80 +Lines = 120 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 50 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 80 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 35000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = ph-gambitbook.bin +MainBookFile = rodent.bin + +[Vincent] +; Vincent +; Personality for Rodent III chess engine, version 0.210 or later +; violent attacker (+ piece pressure) +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 200 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 1200 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = mini.bin +MainBookFile = small.bin + +[Wild] +; Wild +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; sacrificial attacker, emphasis on mobility +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 80 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 200 +OppMobility = 150 +KingTropism = 100 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 100 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 25 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-gambitbook.bin +MainBookFile = rodent.bin + +[Zero] +; Zero +; Personality for Rodent III chess engine, version 0.210 or later +; Purely random eval with restricted speed +; +PawnValueMg = 0 +KnightValueMg = 0 +BishopValueMg = 0 +RookValueMg = 0 +QueenValueMg = 0 +PawnValueEg = 0 +KnightValueEg = 0 +BishopValueEg = 0 +RookValueEg = 0 +QueenValueEg = 0 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 0 +KnightPair = 0 +RookPair = 0 +KnightLikesClosed = 0 +RookLikesOpen = 0 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 0 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 0 +OwnAttack = 0 +OppAttack = 0 +OwnMobility = 0 +OppMobility = 0 +KingTropism = 0 +PiecePlacement = 0 +PiecePressure = 0 +PassedPawns = 0 +PawnStructure = 0 +Lines = 0 +Outposts = 0 +PawnShield = 0 +PawnStorm = 0 +Forwardness = 0 +Center = 0 +DoubledPawnMg = 0 +DoubledPawnEg = 0 +IsolatedPawnMg = 0 +IsolatedPawnEg = 0 +IsolatedOnOpenMg = 0 +BackwardPawnMg = 0 +BackwardPawnEg = 0 +BackwardOnOpenMg = 0 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = empty.bin diff --git a/engines/armv7l/e-zurich b/engines/armv7l/e-zurich new file mode 100644 index 0000000..0013163 Binary files /dev/null and b/engines/armv7l/e-zurich differ diff --git a/engines/armv7l/e-zurich.uci b/engines/armv7l/e-zurich.uci new file mode 100644 index 0000000..8e1bfe8 --- /dev/null +++ b/engines/armv7l/e-zurich.uci @@ -0,0 +1,62 @@ +[Level@00] +Handicap Level = 0 + +[Level@01] +Handicap Level = 1 + +[Level@02] +Handicap Level = 2 + +[Level@03] +Handicap Level = 3 + +[Level@04] +Handicap Level = 4 + +[Level@05] +Handicap Level = 5 + +[Level@06] +Handicap Level = 6 + +[Level@07] +Handicap Level = 7 + +[Level@08] +Handicap Level = 8 + +[Level@09] +Handicap Level = 9 + +[Level@10] +Handicap Level = 10 + +[Level@11] +Handicap Level = 11 + +[Level@12] +Handicap Level = 12 + +[Level@13] +Handicap Level = 13 + +[Level@14] +Handicap Level = 14 + +[Level@15] +Handicap Level = 15 + +[Level@16] +Handicap Level = 16 + +[Level@17] +Handicap Level = 17 + +[Level@18] +Handicap Level = 18 + +[Level@19] +Handicap Level = 19 + +[Level@20] +Handicap Level = 20 diff --git a/engines/armv7l/engines.ini b/engines/armv7l/engines.ini new file mode 100644 index 0000000..8b90dda --- /dev/null +++ b/engines/armv7l/engines.ini @@ -0,0 +1,344 @@ +[a-stockf] +;Skill Level = 20 +;Ponder = False +;SyzygyProbeLimit = 6 +;SyzygyProbeDepth = 1 +;Debug Log File = +;Contempt = 0 +;UCI_Chess960 = False +;nodestime = 0 +;SyzygyPath = +;Threads = 1 +;Hash = 16 +;Clear Hash = +;Syzygy50MoveRule = True +;MultiPV = 1 +;Move Overhead = 100 +name = Stockfish 081017 +small = stockf +medium = Stockf8 +large = Stockfish8 +elo = 3360 + +[b-texel] +;Ponder = True +;MinProbeDepth = 1 +;GaviotaTbCache = 1 +;UCI_Opponent = +;OwnBook = False +;GaviotaTbPath = +;Strength = 1000 +;BookFile = +;AnalysisAgeHash = True +;SyzygyPath = +;Threads = 1 +;Hash = 16 +;Clear Hash = +;UseNullMove = True +;MultiPV = 1 +;UCI_EngineAbout = Texel 1.07 32-bit by Peter Osterlund, see http://hem.bredband.net/petero2b/javachess/index.html#texel +;BufferTime = 1000 +;UCI_AnalyseMode = False +name = Texel 1.07 32-bit +small = Texel7 +medium = Texel107 +large = Texel 107 +elo = 3050 + +[c-arasan] +;Tablebases = None +;SyzygyTbPath = syzygy +;SyzygyProbeDepth = 4 +;Use tablebases = False +;SyzygyUse50MoveRule = True +;OwnBook = True +;UCI_LimitStrength = False +;Ponder = True +;Threads = 1 +;Hash = 32 +;UCI_Elo = 2600 +;MultiPV = 1 +;Book selectivity = 50 +name = Arasan v20.3.0-36-g8751612 +small = arasan +medium = Arasan20 +large = Arasan 2030 +elo = 2980 + +[d-rodent] +;VerboseBook = True +;Ponder = False +;Threads = 1 +;Hash = 16 +;Clear Hash = +;UseBook = True +;PersonalityFile = default.txt +;TimeBuffer = 10 +name = Rodent III 0.233 32-bit/GCC 6.3.0 20170516 +small = rodent +medium = Rodent3 +large = Rodent3 233 +elo = 2920 + +[e-zurich] +;MultiPV = 1 +;Ponder = True +;Handicap Level = 0 +;UCI_AnalyseMode = False +;Hash = 64 +name = zurichess Neuchatel +small = zurich +medium = Zurich n +large = Zurichess n +elo = 2790 + +[f-wyld] +;KnightOutpostEg = 10 +;MoveOverhead = 30 +;RookOn7thMg = 40 +;KingShelterCloseEg = 10 +;QueenKingAtkWt = 5 +;RookValueEg = 550 +;PawnValueMg = 90 +;QueenMobilityWt = 4 +;KnightValueMg = 400 +;RookValueMg = 700 +;RookSemiOpenFileMg = 5 +;DoubledPawnsMg = -10 +;BishopOutpostEg = 5 +;KnightMobilityWt = 8 +;BishopPairMg = 50 +;RookKingAtkWt = 4 +;BishopOutpostMg = 10 +;PawnValueEg = 100 +;QueenValueEg = 1100 +;Hash = 128 +;KnightOutpostMg = 20 +;BishopPairEg = 80 +;KingShelterFarMg = 10 +;Threads = 1 +;BishopValueEg = 330 +;RookMobilityWt = 5 +;QueenValueMg = 1300 +;DoubledPawnsEg = -10 +;RookOpenFileMg = 20 +;KnightValueEg = 320 +;BishopValueMg = 400 +;BishopKingAtkWt = 3 +;PersonaPath = +;KnightKingAtkWt = 3 +;RookOpenFileEg = 20 +;Ponder = True +;RookOn7thEg = 20 +;RookSemiOpenFileEg = 5 +;KingShelterCloseMg = 20 +;IsolatedPawnMg = -10 +;KingShelterFarEg = 5 +;UCI_Chess960 = False +;SyzygyPath = +;IsolatedPawnEg = -10 +;BishopMobilityWt = 5 +name = WyldChess 10062017 +small = wyld +medium = Wyld Chs +large = WyldChess +elo = 2630 + +[g-galjoe] +;Debug = False +;UCI_Chess960 = False +;Ponder = True +;UCI_LimitStrength = False +;MultiPV = 1 +;UCI_Elo = 2000 +;Hash = 128 +;OwnBook = False +name = Galjoen 0.37.2 +small = galjoe +medium = Galjoen +large = Galjoen0372 +elo = 2110 + +[h-sayuri] +;Clear Hash = +;Ponder = True +;Threads = 1 +;UCI_AnalyseMode = False +;Hash = 1 +name = Sayuri 2017.12.16 +small = sayuri +medium = Sayuri +large = Sayuri +elo = 1850 + +[i-floyd] +;Clear Hash = +;Ponder = True +;Hash = 128 +name = Floyd 0.9 +small = Floyd9 +medium = Floyd 09 +large = Floyd 09 +elo = 2590 + +[l-laser] +;Threads = 1 +;SyzygyPath = +;Hash = 16 +;ScaleMaterial = 100 +;Ponder = False +;MultiPV = 1 +;ScaleKingSafety = 100 +;EvalCache = 16 +;BufferTime = 300 +name = Laser 1.5 +small = Laser +medium = Laser15 +large = Laser15 +elo = 2960 + +[m-cinnam] +;PerftThreads = 1 +;Hash = 64 +;Ponder = False +;TB Restart = +;GaviotaTbCache = 32 +;Book File = cinnamon.bin +;OwnBook = False +;TB Endgame = none +;Nullmove = True +;PerftHashSize = 0 +;PerftDumpFile = +;TB probing depth = 0 +;Threads = 1 +;GaviotaTbPath = gtb/gtb4 +;Clear Hash = +;GaviotaTbScheme = cp4 +;TB Pieces installed = 3 +name = Cinnamon 2.0-20160502 +small = cinnam +medium = Cinnamon +large = Cinnamon 20 +elo = 2030 + +[r-roboci] +;PawnRank3EG = 10 +;TempoKQQKQQMG = 500 +;RookMobilityFileMG = 20 +;RookOn7thMG = 50 +;RookPawnAffinityMG = -70 +;TempoKQKQEG = 200 +;KingCastlingMobilityKQMG = 200 +;QueenMG = 10000 +;KingShieldCloseMG = 150 +;KingCastlingMobilityQEG = 0 +;NullReduction = 1 +;WeightFactor = 144 +;OppositeBishopFactorMG = 256 +;TempoKQQKQQEG = 500 +;PawnRank7MG = 50 +;PawnMG = 900 +;BishopPairMG = 500 +;Ponder = True +;KnightPawnAffinityEG = 30 +;MatHash = 1 +;PawnBlockedMG = -100 +;KingCastlingMobilityNoneEG = 0 +;PawnFilesBGEG = 0 +;PawnDoubledMG = -100 +;PawnDoubledEG = -200 +;KingCastlingMobilityQMG = 100 +;PawnIsolatedMG = -300 +;PawnFilesAHEG = -50 +;RookTrappedMG = -400 +;PawnPassedQuadCMG = 155 +;Clear PawnHash = +;PawnFilesAHMG = -100 +;HalfMoveFactor = 2048 +;PawnOuterCentreEG = 0 +;RookOpenFileMG = 100 +;Clear Hash = +;PawnCentreEG = 0 +;PawnPassedQuadAMG = 56 +;Hash = 16 +;PawnFilesCFEG = 0 +;PawnCentreMG = 200 +;QueenEG = 10000 +;RookOpenFileEG = 50 +;KnightMG = 3100 +;RookOn7thEG = 100 +;PawnFilesBGMG = -50 +;KingCastlingMobilityKMG = 100 +;PawnRank2MG = 0 +;RookTrappedEG = 0 +;BishopMG = 3010 +;Clear MatHash = +;IIDMin = 2 +;KingShieldCloseEG = 0 +;PawnFilesDEEG = 50 +;RookMobilityRankEG = 20 +;PawnRank5EG = 80 +;TempoMG = 35 +;OppositeBishopFactorEG = 192 +;KnightEG = 3100 +;KingShieldFarMG = 50 +;PawnBlockedEG = -100 +;PawnOuterCentreMG = 50 +;PawnHash = 1 +;PawnRank4EG = 35 +;PawnPassedQuadBEG = 50 +;RookMG = 5350 +;PawnRank2EG = 0 +;KingCastlingMobilityKEG = 0 +;PawnPassedQuadCEG = 50 +;TempoKQKQMG = 200 +;RookSemiOpenFileMG = 50 +;KingShieldFarEG = 0 +;PawnEG = 1300 +;BishopMobilityEG = 30 +;TempoEG = 0 +;BishopMobilityMG = 40 +;RookPawnAffinityEG = -70 +;PawnPassedQuadBMG = -109 +;RookMobilityRankMG = 10 +;BishopPairEG = 500 +;KingCastlingMobilityKQEG = 0 +;RookEG = 5350 +;PawnFilesCFMG = 0 +;PawnRank3MG = 10 +;BishopEG = 3070 +;PawnRank5MG = 30 +;PawnRank6MG = 40 +;PawnRank6EG = 110 +;PawnRank7EG = 150 +;PawnFilesDEMG = 50 +;KingCastlingMobilityNoneMG = 0 +;RookSemiOpenFileEG = 20 +;IIDReduction = 3 +;KnightPawnAffinityMG = 30 +;PawnPassedQuadAEG = 50 +;PawnRank4MG = 20 +;PawnIsolatedEG = -200 +;RookMobilityFileEG = 30 +name = robocide +small = roboci +medium = Robocide +large = Robocide +elo = 2190 + +[v-vajole] +;UCI_ShowCurrLine = False +;Threads = 1 +;MultiPV = 1 +;UCI_EngineAbout = VajoletII by Marco Belli +;OwnBook = True +;Ponder = True +;BestMoveBook = False +;Hash = 1 +;SyzygyProbeDepth = 1 +;SyzygyPath = +name = Vajolet2 2.4 +small = vajol2 +medium = Vajolet2 +large = Vajolet2 24 +elo = 2860 diff --git a/engines/armv7l/f-wyld b/engines/armv7l/f-wyld new file mode 100644 index 0000000..b687a12 Binary files /dev/null and b/engines/armv7l/f-wyld differ diff --git a/engines/armv7l/f-wyld.uci b/engines/armv7l/f-wyld.uci new file mode 100644 index 0000000..831033c --- /dev/null +++ b/engines/armv7l/f-wyld.uci @@ -0,0 +1,55 @@ +[Default] +PawnValueMg = 90 +PawnValueEg = 100 +KnightValueMg = 400 +KnightValueEg = 320 +BishopValueMg = 400 +BishopValueEg = 330 +RookValueMg = 700 +RookValueEg = 550 +QueenValueMg = 1300 +QueenValueEg = 1100 +KingShelterCloseMg = 20 +KingShelterCloseEg = 10 +KingShelterFarMg = 10 +KingShelterFarEg = 5 +DoubledPawnsMg = -10 +DoubledPawnsEg = -10 +IsolatedPawnMg = -10 +IsolatedPawnEg = -10 +BishopPairMg = 50 +BishopPairEg = 80 +RookOn7thMg = 40 +RookOn7thEg = 20 +RookOpenFileMg = 20 +RookOpenFileEg = 20 +RookSemiOpenFileMg = 5 +RookSemiOpenFileEg = 5 +KnightOutpostMg = 20 +KnightOutpostEg = 10 +BishopOutpostMg = 10 +BishopOutpostEg = 5 +KnightKingAtkWt = 3 +BishopKingAtkWt = 3 +RookKingAtkWt = 4 +QueenKingAtkWt = 5 +KnightMobilityWt = 8 +BishopMobilityWt = 5 +RookMobilityWt = 5 +QueenMobilityWt = 4 + +[Drunken] +RookOn7thMg = 60 +RookOn7thEg = 40 +RookOpenFileMg = 30 +RookOpenFileEg = 30 +RookSemiOpenFileMg = 15 +RookSemiOpenFileEg = 15 +KnightKingAtkWt = 8 +BishopKingAtkWt = 8 +RookKingAtkWt = 10 +QueenKingAtkWt = 12 +KnightMobilityWt = 8 +BishopMobilityWt = 8 +RookMobilityWt = 8 +QueenMobilityWt = 10 \ No newline at end of file diff --git a/engines/armv7l/g-galjoe b/engines/armv7l/g-galjoe new file mode 100644 index 0000000..7ca59b1 Binary files /dev/null and b/engines/armv7l/g-galjoe differ diff --git a/engines/armv7l/g-galjoe.uci b/engines/armv7l/g-galjoe.uci new file mode 100644 index 0000000..a9607fa --- /dev/null +++ b/engines/armv7l/g-galjoe.uci @@ -0,0 +1,44 @@ +[Elo@1500] +UCI_LimitStrength = true +UCI_Elo = 1500 + +[Elo@1570] +UCI_LimitStrength = true +UCI_Elo = 1570 + +[Elo@1640] +UCI_LimitStrength = true +UCI_Elo = 1640 + +[Elo@1710] +UCI_LimitStrength = true +UCI_Elo = 1710 + +[Elo@1780] +UCI_LimitStrength = true +UCI_Elo = 1780 + +[Elo@1850] +UCI_LimitStrength = true +UCI_Elo = 1850 + +[Elo@1920] +UCI_LimitStrength = true +UCI_Elo = 1920 + +[Elo@1990] +UCI_LimitStrength = true +UCI_Elo = 1990 + +[Elo@2060] +UCI_LimitStrength = true +UCI_Elo = 2060 + +[Elo@2130] +UCI_LimitStrength = true +UCI_Elo = 2130 + +[Elo@2200] +UCI_LimitStrength = false +UCI_Elo = 2200 + diff --git a/engines/armv7l/h-sayuri b/engines/armv7l/h-sayuri new file mode 100644 index 0000000..d61da09 Binary files /dev/null and b/engines/armv7l/h-sayuri differ diff --git a/engines/armv7l/i-floyd b/engines/armv7l/i-floyd new file mode 100644 index 0000000..9b7295a Binary files /dev/null and b/engines/armv7l/i-floyd differ diff --git a/engines/armv7l/l-laser b/engines/armv7l/l-laser new file mode 100644 index 0000000..3334e73 Binary files /dev/null and b/engines/armv7l/l-laser differ diff --git a/engines/armv7l/m-cinnam b/engines/armv7l/m-cinnam new file mode 100644 index 0000000..6faf09e Binary files /dev/null and b/engines/armv7l/m-cinnam differ diff --git a/engines/armv7l/r-roboci b/engines/armv7l/r-roboci new file mode 100644 index 0000000..c07126a Binary files /dev/null and b/engines/armv7l/r-roboci differ diff --git a/engines/armv7l/v-vajole b/engines/armv7l/v-vajole new file mode 100644 index 0000000..11cc88c Binary files /dev/null and b/engines/armv7l/v-vajole differ diff --git a/engines/descriptions.txt b/engines/descriptions.txt new file mode 100644 index 0000000..a3a9e19 --- /dev/null +++ b/engines/descriptions.txt @@ -0,0 +1,137 @@ +PicoChess Engines +January 01, 2018 + + +1. STOCKFISH +=========================== +Authors: T. Romstad, M. Costalba, J. Kiiski, G. Linscott +Version: 8 +Date: October 2017 +Elo: 3360 +Levels: yes +Chess960: yes +License: GPLv3 +Source: https://stockfishchess.org/ +Description: Stockfish is universally recognized as the strongest open source engine +in the world. Even on the modest hardware of a Raspberry Pi 3 it easily beats every +super grandmaster. The vast amount of chess knowledge programmed into Stockfish makes +it an ideal engine to analyze your games. You can set the engine at a lower skill +level to have a chance of winning. Stockfish also supports Chess960 ('Fischer Random +Chess'). + + +2. TEXEL +=========================== +Author: Peter Österlund +Version: 1.07 +Date: September 2017 +Elo: 3050 +Levels: yes +Chess960: no +License: GPLv3 +Source: http://web.comhem.se/petero2home/javachess/index.html#texel +Description: Texel is the successor to CuckooChess. It is a very strong engine that +will beat every human GM. But thanks to its different skill levels, Texel will +appeal to chess players of every strength. For absolute beginners there is even +a level 0, which lets the engine play random legal moves. + + +3. ARASAN +=========================== +Author: Jon Dart +Version: 20.3 +Date: November 2017 +Elo: 2980 +Levels: yes +Chess960: no +License: MIT +Source: http://arasanchess.org/ +Description: Arasan, or 'king' in the Tamil language, is a chess engine that has been +around since 1994 – much longer than most other engines. It has evolved a lot over +the years and is now a very attractive GM level engine. Arasan has a lot of features, +including skill levels to make it an attractive opponent for players of every strength. + + +4. RODENT III +=========================== +Author: PaweÅ‚ KozioÅ‚ +Version: 0.233 +Date: November 2017 +Elo: 2920 +Levels: 'Personalities' +Chess960: no +License: GPLv3 +Source: https://github.com/nescitus/Rodent_III/ +Description: RodentIII is one of the few chess engines in the world that can adopt +'personalities': it offers different playing styles rather than strength levels. +RodentIII can just as easily be turned into a strong GM as into a beginning kid. +It has both serious and funny personalities, like the positional defender and the +crazy attacker. + + +5. ZURICHESS +========================= +Author: Alexandru MoÈ™oi +Version: neuchatel +Date: October 2017 +Elo: 2790 +Levels: yes ('Handicaps') +Chess960: no +License: BSD +Source: http://www.zurichess.xyz/ +Description: Zurichess is a relatively young engine. Unlike most other engines +it is not written in C++ but in the Go computer language. And unlike other +engines, its versions are not numbered but named after the cantons of +Switzerland. New versions of Zurichess are rapidly following up each other. +The current version plays at GM level. Weaker opponents may like to set its +handicap level a little higher. + + +6. WyldChess +=========================== +Author: Manik Charan +Version: 1.5 +Date: September 2017 +Elo: 2630 +Levels: 'Personalities' +Chess960: yes +License: GPLv3 +Source: https://github.com/Mk-Chan/WyldChess +Description: WyldChess offers something similar to RodentIII with personalities (needs to create more Personae) +and also supports Chess960 ('Fischer Random Chess'). The evaluation is compared to the other top chess +engines not as detailed, but its tactics is very strong. + + +7. GALJOEN +=========================== +Author: Werner Taelemans +Version: 0.37.2 +Date: December 2017 +Elo: 2150 +Levels: yes +Chess960: yes +License: GPLv3 +Source: http://www.goudengaljoen.be/ +Description: Galjoen is a chess engine that plays at (stronger) club level. It has +an active playing style. Together with its support for strength levels and Chess960 +('Fischer Random Chess') this makes Galjoen an ideal opponent for club players +to practice their tactical and strategical skills. The program has its own graphical +user interface, which is, of course, not used by PicoChess. + + +8. SAYURI +=========================== +Author: Hironori Ishibashi +Version: 2017.12.16 +Date: December 2017 +Elo: 1840 +Levels: no +Chess960: no +License: MIT +Source: https://github.com/MetalPhaeton/sayuri +Description: Sayuri is a weaker chess engine than the other famous engines. +Sayuri is a customizable UCI chess engine with Sayulisp (=Scheme-like Lisp interpreter) +which allows you to customize the search algorithm or adjust the evaluation weights. +For details please take a look at the sayuri webpage. +If you are looking for a beatable engine that can teach you a thing or two about chess, +then Sayuri is a good choice. diff --git a/engines/rodent3/Makefile b/engines/rodent3/Makefile new file mode 100644 index 0000000..6b57a19 --- /dev/null +++ b/engines/rodent3/Makefile @@ -0,0 +1,174 @@ +#makefile to compile Rodent III on Linux +# PREFIX=/usr/local +PREFIX=/opt/picochess/engines/rodent3 + +#define the directory for the executable file +BINDIR = $(PREFIX)/bin + +#define the directory for the data files +# DATADIRBOOKS = $(PREFIX)/share/rodentIII-books +DATADIRBOOKS = $(PREFIX)/books +# DATADIRPERSONALITIES = $(PREFIX)/share/rodentIII-persons +DATADIRPERSONALITIES = $(PREFIX)/personalities + +# Define the CPP compiler +# CXX = g++ +# LocutusOfPenguin: use this instead => cross compile with ubuntu 16.04 - rodent3 needs the c++14 (so use last line!) +# sudo apt install gcc-4.9-arm-linux-gnueabihf g++-4.9-arm-linux-gnueabihf pkg-config-arm-linux-gnueabihf <<< c++11 +# sudo apt install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf pkg-config-arm-linux-gnueabihf <<< c++14 +CXX = arm-linux-gnueabihf-g++ + +# Define features +# Other options are -DBOOKGEN -DNO_THREADS +CFG = -DNDEBUG -DUSEGEN -DUSE_THREADS -DBOOKSPATH=$(DATADIRBOOKS) -DPERSONALITIESPATH=$(DATADIRPERSONALITIES) +CFG1 = -DUSEGEN -DUSE_THREADS -DBOOKSPATH=$(DATADIRBOOKS) -DPERSONALITIESPATH=$(DATADIRPERSONALITIES) + +# Define compiler flags +CXXFLAGS = -g -std=c++14 -Wall -Wno-unknown-pragmas -O3 -fno-rtti -pthread $(CFG) +CXX1FLAGS = -g -std=c++14 -Wall -Wno-unknown-pragmas -pthread $(CFG1) + +# Define linker options +# LDFLAGS = -s -Wl,--no-as-needed,--gc-sections +# LocutusOfPenguin: use this instead => Jessie system (c++14 not installed cause of gcc4.9) needs cross compile to work! +LDFLAGS = -s -static -static-libgcc -static-libstdc++ -Wl,--no-as-needed,--gc-sections +LD1FLAGS = -lm + +# Command line switches +lto = yes +native = no + +# Compile with Link Time Optimisation +ifeq ($(lto),yes) + CXXFLAGS += -flto + LDFLAGS += -flto +endif + +# Optimise for local machines +ifeq ($(native),yes) + CXXFLAGS += -march=native + LDFLAGS += -march=native +endif + +# Define outpout name and settings file +EXENAME= rodentIII +CONFIGFILE = basic.ini + +.PHONY: clean install update remove help + +default: build + +build: + @echo "Type make help for additional options" + $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(EXENAME) src/*.cpp + @echo "SHOW_OPTIONS" > $(CONFIGFILE) + +build-popcnt: + @echo "Type make help for additional options" + $(CXX) $(CXXFLAGS) -msse3 -mpopcnt $(LDFLAGS) -o $(EXENAME) src/*.cpp + @echo "SHOW_OPTIONS" > $(CONFIGFILE) + +clang-profiled: + @echo "Type make help for additional options" + $(CXX) $(LDFLAGS) $(CXXFLAGS) -fprofile-instr-generate -o $(EXENAME) src/*.cpp + @echo bench | ./rodentIII > /dev/null + @llvm-profdata merge -output=default.profdata default.profraw + $(CXX) $(CXXFLAGS) -fprofile-instr-use=default.profdata $(LDFLAGS) -o $(EXENAME) src/*.cpp + @echo "SHOW_OPTIONS" > $(CONFIGFILE) + @rm -f *.profdata *.profraw + +clang-popcnt-profiled: + @echo "Type make help for additional options" + $(CXX) $(CXXFLAGS) -msse3 -mpopcnt -fprofile-instr-generate $(LDFLAGS) -o $(EXENAME) src/*.cpp + @echo bench | ./rodentIII > /dev/null + @llvm-profdata merge -output=default.profdata default.profraw + $(CXX) $(CXXFLAGS) -msse3 -mpopcnt -fprofile-instr-use=default.profdata $(LDFLAGS) -o $(EXENAME) src/*.cpp + @echo "SHOW_OPTIONS" > $(CONFIGFILE) + @rm -f *.profdata *.profraw + +gcc-profiled: + @echo "Type make help for additional options" + $(CXX) $(CXXFLAGS) -fprofile-generate $(LDFLAGS) -o $(EXENAME) src/*.cpp + @echo bench | ./rodentIII > /dev/null + $(CXX) $(CXXFLAGS) -fprofile-use $(LDFLAGS) -o $(EXENAME) src/*.cpp + @echo "SHOW_OPTIONS" > $(CONFIGFILE) + @rm -f *.gcda + +gcc-popcnt-profiled: + @echo "Type make help for additional options" + $(CXX) $(CXXFLAGS) -msse3 -mpopcnt -fprofile-generate $(LDFLAGS) -o $(EXENAME) src/*.cpp + @echo bench | ./rodentIII > /dev/null + $(CXX) $(CXXFLAGS) -msse3 -mpopcnt -fprofile-use $(LDFLAGS) -o $(EXENAME) src/*.cpp + @echo "SHOW_OPTIONS" > $(CONFIGFILE) + @rm -f *.gcda + +build-static: + @echo "Type make help for additional options" + $(CXX) $(CXXFLAGS) $(LDFLAGS) -static -o $(EXENAME) src/*.cpp + @echo "SHOW_OPTIONS" > $(CONFIGFILE) + +build-debug: + @echo "Type make help for additional options" + $(CXX) $(CXX1FLAGS) $(LD1FLAGS) -o $(EXENAME) src/*.cpp + @echo "SHOW_OPTIONS" > $(CONFIGFILE) + +gcc-lcov: + @echo "Type make help for additional options" + $(CXX) $(CXXFLAGS) -fprofile-generate -ftest-coverage $(LDFLAGS) -o $(EXENAME) src/*.cpp + @echo bench | ./rodentIII > /dev/null + @lcov --capture --directory . --no-external --gcov-tool gcov --output-file coverage.info > /dev/null + @genhtml coverage.info --output-directory coveragedir > /dev/null + @rm -f rodentIII *.gcda *.gcno coverage.info + +bookgen: + @echo "Type make help for additional options" + $(CXX) $(CXXFLAGS) -DBOOKGEN $(LDFLAGS) -o $(EXENAME)-bookgen src/*.cpp + @echo "SHOW_OPTIONS" > $(CONFIGFILE) + @./$(EXENAME)-bookgen + @rm -f $(EXENAME)-bookgen + +clean: + rm -rf $(EXENAME) $(EXENAME).exe book_gen.h basic.ini *.profdata *.profraw *.gcda *.gcno coverage.info coveragedir + +install: + mkdir -p $(BINDIR) + mkdir -p $(DATADIRBOOKS) + mkdir -p $(DATADIRPERSONALITIES) + cp $(EXENAME) $(BINDIR) + cp $(CONFIGFILE) $(DATADIRPERSONALITIES) + #find ../books/ -name '*.bin' -type f -exec cp '{}' $(DATADIRBOOKS) \; + #find ../personalities/ -name '*.ini' -type f -exec cp '{}' $(DATADIRPERSONALITIES) \; + cp -r ../books/* $(DATADIRBOOKS) + cp -r ../personalities/* $(DATADIRPERSONALITIES) + chmod 755 $(BINDIR)/$(EXENAME) + chmod -R 644 $(DATADIRBOOKS)/* + find $(DATADIRBOOKS) -type d -exec chmod 755 {} \; + chmod -R 644 $(DATADIRPERSONALITIES)/* + find $(DATADIRPERSONALITIES) -type d -exec chmod 755 {} \; + +# This just performs a copy of rodentIII engine +update: + cp $(EXENAME) $(BINDIR) + +remove: + rm -f $(BINDIR)/$(EXENAME) + rm -rf $(DATADIRBOOKS) + rm -rf $(DATADIRPERSONALITIES) + +help: + @echo "" + @echo "To compile RodentIII type:" + @echo "" + @echo "make build > Build Rodent III" + @echo "make build-popcnt > Build with fast popcnt" + @echo "make clang-profiled > Build with pgo optimisations (clang++ required)" + @echo "make clang-popcnt-profiled > Build with pgo+popcnt optimisations (clang++ required)" + @echo "make gcc-profiled > Build with pgo optimisations (g++ required)" + @echo "make gcc-popcnt-profiled > Build with pgo+popcnt optimisations (g++ required)" + @echo "make build-static > Build a static binary" + @echo "make build-debug > Build a debug version" + @echo "make gcc-lcov > Code coverage with lcov (g++ required)" + @echo "make bookgen > Build internal book" + @echo "make clean > Clean up" + @echo "make install > Install RodentIII (root privileges required)" + @echo "make update > Update RodenIII engine (root privileges required)" + @echo "make remove > Remove RodenIII from your system (root privileges required)" diff --git a/engines/rodent3/books/empty.bin b/engines/rodent3/books/empty.bin new file mode 100644 index 0000000..9196250 Binary files /dev/null and b/engines/rodent3/books/empty.bin differ diff --git a/engines/rodent3/books/guide.bin b/engines/rodent3/books/guide.bin new file mode 100644 index 0000000..9fa2f30 Binary files /dev/null and b/engines/rodent3/books/guide.bin differ diff --git a/engines/rodent3/books/guide/active.bin b/engines/rodent3/books/guide/active.bin new file mode 100644 index 0000000..7ec5155 Binary files /dev/null and b/engines/rodent3/books/guide/active.bin differ diff --git a/engines/rodent3/books/guide/alekhine.bin b/engines/rodent3/books/guide/alekhine.bin new file mode 100644 index 0000000..ef1f7c5 Binary files /dev/null and b/engines/rodent3/books/guide/alekhine.bin differ diff --git a/engines/rodent3/books/guide/cat.bin b/engines/rodent3/books/guide/cat.bin new file mode 100644 index 0000000..dfbed2e Binary files /dev/null and b/engines/rodent3/books/guide/cat.bin differ diff --git a/engines/rodent3/books/guide/cs.bin b/engines/rodent3/books/guide/cs.bin new file mode 100644 index 0000000..326190c Binary files /dev/null and b/engines/rodent3/books/guide/cs.bin differ diff --git a/engines/rodent3/books/guide/empty.bin b/engines/rodent3/books/guide/empty.bin new file mode 100644 index 0000000..9196250 Binary files /dev/null and b/engines/rodent3/books/guide/empty.bin differ diff --git a/engines/rodent3/books/guide/flank.bin b/engines/rodent3/books/guide/flank.bin new file mode 100644 index 0000000..761b8ed Binary files /dev/null and b/engines/rodent3/books/guide/flank.bin differ diff --git a/engines/rodent3/books/guide/grandpa.bin b/engines/rodent3/books/guide/grandpa.bin new file mode 100644 index 0000000..64ad7fc Binary files /dev/null and b/engines/rodent3/books/guide/grandpa.bin differ diff --git a/engines/rodent3/books/guide/guide.bin b/engines/rodent3/books/guide/guide.bin new file mode 100644 index 0000000..9fa2f30 Binary files /dev/null and b/engines/rodent3/books/guide/guide.bin differ diff --git a/engines/rodent3/books/guide/kasparov.bin b/engines/rodent3/books/guide/kasparov.bin new file mode 100644 index 0000000..b61b2ca Binary files /dev/null and b/engines/rodent3/books/guide/kasparov.bin differ diff --git a/engines/rodent3/books/guide/low.bin b/engines/rodent3/books/guide/low.bin new file mode 100644 index 0000000..29117e1 Binary files /dev/null and b/engines/rodent3/books/guide/low.bin differ diff --git a/engines/rodent3/books/guide/nimzowitsch.bin b/engines/rodent3/books/guide/nimzowitsch.bin new file mode 100644 index 0000000..39b8adf Binary files /dev/null and b/engines/rodent3/books/guide/nimzowitsch.bin differ diff --git a/engines/rodent3/books/guide/petrosian.bin b/engines/rodent3/books/guide/petrosian.bin new file mode 100644 index 0000000..e089561 Binary files /dev/null and b/engines/rodent3/books/guide/petrosian.bin differ diff --git a/engines/rodent3/books/guide/readme.txt b/engines/rodent3/books/guide/readme.txt new file mode 100644 index 0000000..f2e68f7 --- /dev/null +++ b/engines/rodent3/books/guide/readme.txt @@ -0,0 +1,31 @@ +These are guide books intended for use with Rodent III chess engine. +They should be used in conjunction with a main book (rodent.bin) +and are meant to guide the game stylistically. + +active.bin - seeks dynamic positions, based on Kasparov's games without +QGD but with Benoni thrown in to stir things up. + +empty.bin - empty book. Can be declared as a main book for weak personalities +if we want limited opening knowledge. + +flank.bin - plays flank openings, likes fianchettoing bishops; +based on games by Tomasz Markowski with some lines added by hand. + +grandpa.bin - small book, Caro + Tarrasch as main Black options, Ruy + Nimzo as a backup, +prefers d4 to e4 as White + +kasparov.bin - Kasparov's games from PgnMentor as the first layer ++ 1980 to 2006 games as the second layer + +low.bin - minimal book which tries to start with a couple of moves that +do not reach the 4th or the 5th rank. + +nimzowitsch.bin - Nimzowitsch's games form PgnMentor collection as the first layer ++ pre-1930 games from Norm Pollock's collection as the second layer + +petrosian.bin - Petrosian's games form PgnMentor collection as the first layer ++ 1931 to 1980 games from Norm Pollock's collection as the second layer + +solid.bin - Karpov + Uhlmann + +tricky.bin - Morozevich's games + a lot of handcrafting. Wide and tricky. \ No newline at end of file diff --git a/engines/rodent3/books/guide/solid.bin b/engines/rodent3/books/guide/solid.bin new file mode 100644 index 0000000..65d3985 Binary files /dev/null and b/engines/rodent3/books/guide/solid.bin differ diff --git a/engines/rodent3/books/guide/tricky.bin b/engines/rodent3/books/guide/tricky.bin new file mode 100644 index 0000000..3e5a50b Binary files /dev/null and b/engines/rodent3/books/guide/tricky.bin differ diff --git a/engines/rodent3/books/hist/#readme.txt b/engines/rodent3/books/hist/#readme.txt new file mode 100644 index 0000000..9d2f28e --- /dev/null +++ b/engines/rodent3/books/hist/#readme.txt @@ -0,0 +1,6 @@ +These books were made using pgn files by Norm Pollock, +downloaded from http://www.hoflink.com/~npollock/40H.html + +They are meant to be used in Rodent II chess engine +as main books accompanying player books, so that for example +pre-1930 players don't play openings that look too modern. \ No newline at end of file diff --git a/engines/rodent3/books/hist/_31to80.bin b/engines/rodent3/books/hist/_31to80.bin new file mode 100644 index 0000000..31f418c Binary files /dev/null and b/engines/rodent3/books/hist/_31to80.bin differ diff --git a/engines/rodent3/books/hist/_81to06.bin b/engines/rodent3/books/hist/_81to06.bin new file mode 100644 index 0000000..fa6ed1a Binary files /dev/null and b/engines/rodent3/books/hist/_81to06.bin differ diff --git a/engines/rodent3/books/hist/_post06.bin b/engines/rodent3/books/hist/_post06.bin new file mode 100644 index 0000000..8e821e3 Binary files /dev/null and b/engines/rodent3/books/hist/_post06.bin differ diff --git a/engines/rodent3/books/hist/_pre30.bin b/engines/rodent3/books/hist/_pre30.bin new file mode 100644 index 0000000..6f54617 Binary files /dev/null and b/engines/rodent3/books/hist/_pre30.bin differ diff --git a/engines/rodent3/books/micro.bin b/engines/rodent3/books/micro.bin new file mode 100644 index 0000000..ad27fb9 Binary files /dev/null and b/engines/rodent3/books/micro.bin differ diff --git a/engines/rodent3/books/mini.bin b/engines/rodent3/books/mini.bin new file mode 100644 index 0000000..52d36c5 Binary files /dev/null and b/engines/rodent3/books/mini.bin differ diff --git a/engines/rodent3/books/ph-exoticbook.bin b/engines/rodent3/books/ph-exoticbook.bin new file mode 100644 index 0000000..b7f9c4f Binary files /dev/null and b/engines/rodent3/books/ph-exoticbook.bin differ diff --git a/engines/rodent3/books/ph-gambitbook.bin b/engines/rodent3/books/ph-gambitbook.bin new file mode 100644 index 0000000..62dd883 Binary files /dev/null and b/engines/rodent3/books/ph-gambitbook.bin differ diff --git a/engines/rodent3/books/players/#readme.txt b/engines/rodent3/books/players/#readme.txt new file mode 100644 index 0000000..7b52649 --- /dev/null +++ b/engines/rodent3/books/players/#readme.txt @@ -0,0 +1,4 @@ +Books with names starting with ph- were made by Pawel Hase +and downloaded from http://www.chesspraga.cz/spikebook.htm + +Books without such prefix were made by Pawel Koziol. \ No newline at end of file diff --git a/engines/rodent3/books/players/alekhine.bin b/engines/rodent3/books/players/alekhine.bin new file mode 100644 index 0000000..ef1f7c5 Binary files /dev/null and b/engines/rodent3/books/players/alekhine.bin differ diff --git a/engines/rodent3/books/players/kasparov.bin b/engines/rodent3/books/players/kasparov.bin new file mode 100644 index 0000000..b61b2ca Binary files /dev/null and b/engines/rodent3/books/players/kasparov.bin differ diff --git a/engines/rodent3/books/players/nimzowitsch.bin b/engines/rodent3/books/players/nimzowitsch.bin new file mode 100644 index 0000000..39b8adf Binary files /dev/null and b/engines/rodent3/books/players/nimzowitsch.bin differ diff --git a/engines/rodent3/books/players/petrosian.bin b/engines/rodent3/books/players/petrosian.bin new file mode 100644 index 0000000..e089561 Binary files /dev/null and b/engines/rodent3/books/players/petrosian.bin differ diff --git a/engines/rodent3/books/players/ph-anand2.bin b/engines/rodent3/books/players/ph-anand2.bin new file mode 100644 index 0000000..b6a7cf5 Binary files /dev/null and b/engines/rodent3/books/players/ph-anand2.bin differ diff --git a/engines/rodent3/books/players/ph-anderssen2.bin b/engines/rodent3/books/players/ph-anderssen2.bin new file mode 100644 index 0000000..9f6d5a7 Binary files /dev/null and b/engines/rodent3/books/players/ph-anderssen2.bin differ diff --git a/engines/rodent3/books/players/ph-botvinnik2.bin b/engines/rodent3/books/players/ph-botvinnik2.bin new file mode 100644 index 0000000..883f8d0 Binary files /dev/null and b/engines/rodent3/books/players/ph-botvinnik2.bin differ diff --git a/engines/rodent3/books/players/ph-fischer2.bin b/engines/rodent3/books/players/ph-fischer2.bin new file mode 100644 index 0000000..af679b9 Binary files /dev/null and b/engines/rodent3/books/players/ph-fischer2.bin differ diff --git a/engines/rodent3/books/players/ph-karpov2.bin b/engines/rodent3/books/players/ph-karpov2.bin new file mode 100644 index 0000000..cad127c Binary files /dev/null and b/engines/rodent3/books/players/ph-karpov2.bin differ diff --git a/engines/rodent3/books/players/ph-larsen2.bin b/engines/rodent3/books/players/ph-larsen2.bin new file mode 100644 index 0000000..544a783 Binary files /dev/null and b/engines/rodent3/books/players/ph-larsen2.bin differ diff --git a/engines/rodent3/books/players/ph-reti2.bin b/engines/rodent3/books/players/ph-reti2.bin new file mode 100644 index 0000000..ccc0aea Binary files /dev/null and b/engines/rodent3/books/players/ph-reti2.bin differ diff --git a/engines/rodent3/books/players/ph-rubinstein2.bin b/engines/rodent3/books/players/ph-rubinstein2.bin new file mode 100644 index 0000000..a30c7b2 Binary files /dev/null and b/engines/rodent3/books/players/ph-rubinstein2.bin differ diff --git a/engines/rodent3/books/players/ph-spassky2.bin b/engines/rodent3/books/players/ph-spassky2.bin new file mode 100644 index 0000000..cb160a8 Binary files /dev/null and b/engines/rodent3/books/players/ph-spassky2.bin differ diff --git a/engines/rodent3/books/players/ph-tal2.bin b/engines/rodent3/books/players/ph-tal2.bin new file mode 100644 index 0000000..95b80d1 Binary files /dev/null and b/engines/rodent3/books/players/ph-tal2.bin differ diff --git a/engines/rodent3/books/players/ph-tarrasch2.bin b/engines/rodent3/books/players/ph-tarrasch2.bin new file mode 100644 index 0000000..7bbc865 Binary files /dev/null and b/engines/rodent3/books/players/ph-tarrasch2.bin differ diff --git a/engines/rodent3/books/players/reti.bin b/engines/rodent3/books/players/reti.bin new file mode 100644 index 0000000..64cdb69 Binary files /dev/null and b/engines/rodent3/books/players/reti.bin differ diff --git a/engines/rodent3/books/rodent.bin b/engines/rodent3/books/rodent.bin new file mode 100644 index 0000000..66e85a6 Binary files /dev/null and b/engines/rodent3/books/rodent.bin differ diff --git a/engines/rodent3/books/small.bin b/engines/rodent3/books/small.bin new file mode 100644 index 0000000..85f5e3e Binary files /dev/null and b/engines/rodent3/books/small.bin differ diff --git a/engines/rodent3/personalities/#picochess.txt b/engines/rodent3/personalities/#picochess.txt new file mode 100644 index 0000000..95f3d93 --- /dev/null +++ b/engines/rodent3/personalities/#picochess.txt @@ -0,0 +1,4978 @@ +[Amy] +; Amy +; weak, aggressive, slow +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 200 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 600 +EvalBlur = 20 +Contempt = 0 +SlowMover = 150 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Andy] +; Andy +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; weak, attacker +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 300 +EvalBlur = 36 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Arthur] +; Arthur +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; 1900-ish personality that likes attack and restraint, slow thinker +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 950 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 130 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 130 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 12 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 4500 +EvalBlur = 0 +Contempt = 0 +SlowMover = 120 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/grandpa.bin +MainBookFile = small.bin + +[Barbarian] +; Barbarian +; Personality for Rodent III chess engine, version 0.210 or later +; attacker with lower interest for positional factors +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 180 +OppAttack = 100 +OwnMobility = 75 +OppMobility = 75 +KingTropism = 100 +PiecePlacement = 100 +PiecePressure = 125 +PassedPawns = 100 +PawnStructure = 75 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin + +[Ben] +; Ben +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Ben is still weak, but has balanced outlook on the game. Let's hope he improves! +; +PawnValueMg = 95 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 80 +OppAttack = 80 +OwnMobility = 80 +OppMobility = 80 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 120 +EvalBlur = 25 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Bibi] +; Bibi +; Personality for Rodent III chess engine, version 0.210 or later +; Bibi likes bishop pair. But it is not the end of the story. +; Playing against two bishops, he will strongly prefer closed positions. +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 520 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 535 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 75 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 9 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 9 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 140 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = mini.bin +MainBookFile = mini.bin + +[Blais] +; Blais +; Personality for Rodent III chess engine, version 0.210 or later +; Blais has a blurred vision of the board +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 200 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = micro.bin + +[Brute] +; Brute +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; materialist, stripped of some fancy eval staff and material tuning results, high king tropism +; +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 0 +Material = 120 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 100 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Careless] +; Careless +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; ignores pawn structure, low interest in king attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 50 +OppAttack = 50 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 0 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Caveman] +; Caveman +; Personality for Rodent III chess engine, version 0.210 or later +; stripped of most of knowledge, relies mostly on raw calculating power. +; +PawnValueMg = 100 +KnightValueMg = 334 +BishopValueMg = 335 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 334 +BishopValueEg = 335 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = 0 +RookPair = 0 +KnightLikesClosed = 0 +RookLikesOpen = 0 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 0 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 100 +OwnAttack = 0 +OppAttack = 0 +OwnMobility = 0 +OppMobility = 0 +KingTropism = 100 +PiecePlacement = 80 +PiecePressure = 0 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -25 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = small.bin +MainBookFile = small.bin + +[Chloe] +; Chloe +; Personality for Rodent III chess engine, version 0.210 or later +; Chloe is chaotic, but a bit more tactically aware than the oter kids +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 500 +EvalBlur = 50 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Chris] +; Chris +; Chris is a constrictor +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 130 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 700 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Constrictor] +; Constrictor +; Personality for Rodent III chess engine, version 0.210 or later +; It wants to restrict your mobility and to attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 150 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin + +[Deborah] +; Deborah +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; defensive player that likes bishops +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 5 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 85 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 125 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 12 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 8 +PawnThreat = 8 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Defender] +; Defender +; Personality for Rodent III chess engine, version 0.210 or later +; by Pawel Koziol +; personality that weights enemy attack and mobility marginally higher +; this is one of the strongest settings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 105 +OwnAttack = 100 +OppAttack = 110 +OwnMobility = 100 +OppMobility = 105 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 110 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Dorothy] +; Dorothy +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; defence, restraint, classical style +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 125 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -15 +DoubledPawnEg = -30 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 6 +PawnMass = 105 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 15000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin + +[Dory] +; Dory +; Personality for Rodent III chess engine, version 0.210 or later +; weak, defense oriented +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 200 +OppMobility = 150 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 150 +PawnStorm = 50 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 35 +ReturningB = 50 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 1000 +EvalBlur = 18 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Drunk] +; Drunk +; Personality for Rodent III chess engine, version 0.210 or later +; huge random factor in eval and messy openings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-exoticbook.bin +MainBookFile = rodent.bin + +[Expert] +; Expert +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +RookPair = -10 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 50 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 0 +TwoMinors = 45 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 75 +PawnShield = 130 +PawnStorm = 100 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 5000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = small.bin +MainBookFile = small.bin + +[Fighter] +; Fighter +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Likes sacrificing pawns and restricting opponent's mobility. +; +PawnValueMg = 85 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 100 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 90 +OwnAttack = 105 +OppAttack = 100 +OwnMobility = 140 +OppMobility = 110 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 80 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Fiona] +; Fiona +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Fiona likes fianchetto and uses non-default piece/square table +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 105 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 12 +Fianchetto = 24 +ReturningB = 15 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 200 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Frank] +; Frank +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; weak, rushes forward +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 200 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 0 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 88 +EvalBlur = 50 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Frederick] +; Frederick +; Personality for Rodent III chess engine, version 0.210 or later +; 1900-ish player that likes thrusting his pieces forward +; the funny thing is that he likes flank openings as well +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 120 +PawnStorm = 120 +Forwardness = 200 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 4000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/flank.bin +MainBookFile = small.bin + +[Gabriel] +; Gabriel +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; Gabriel is for gambits! +; Estimated strength: 2000 Elo +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 80 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 7000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = ph-gambitbook.bin +MainBookFile = micro.bin + +[gm] +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin + +[Grumpy] +; Grumpy +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; based on attack and restraint, likes closed positions, slight contempt +; meant to simulate strong elderly player +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 120 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 120 +Lines = 100 +Outposts = 120 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 15 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Hedgehog] +; Hedgehog +; Personality for Rodent III chess engine, version 0.210 or later +; solid with pawns, slightly pessimistic +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 140 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 10 +Fianchetto = 6 +ReturningB = 12 +MinorBehindPawn = 10 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 105 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/flank.bin +MainBookFile = rodent.bin + +[Helpless] +; Helpless +; Personality for Rodent III chess engine, version 0.210 or later +; Severely restricted speed, no regard for material values +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 0 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = empty.bin + +[John] +; John +; Personality for Rodent III chess engine, version 0.210 or later +; weak, neglects protecting own king +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 0 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 10 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 180 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Karpov] +; Karpov +; Personality for Rodent III chess engine, version 0.210 or later +; based on Brendan J. Norman's personality for Rodent II +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 5 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = -5 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 105 +OwnAttack = 110 +OppAttack = 85 +OwnMobility = 100 +OppMobility = 95 +KingTropism = 20 +PiecePlacement = 150 +PiecePressure = 100 +PassedPawns = 150 +PawnStructure = 150 +Lines = 100 +Outposts = 120 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 10 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = players/ph-karpov2.bin +MainBookFile = rodent.bin + +[Lasker] +; Lasker +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; +PawnValueMg = 95 +KnightValueMg = 341 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 960 +PawnValueEg = 110 +KnightValueEg = 335 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 972 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 104 +OwnAttack = 71 +OppAttack = 101 +OwnMobility = 96 +OppMobility = 96 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 111 +PassedPawns = 105 +PawnStructure = 96 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Lea] +; Lea +; Personality for Rodent III chess engine, version 0.210 or later +; Lea just learns how the pieces move +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 500 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Mark] +; Mark +; Personality for Rodent III chess engine, version 0.210 or later +; defensive playr who likes own mobility +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 105 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 130 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 400 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Marshall] +; Marshall +; Personality for Rodent III chess engine, version 0.210 or later +; by Pawel Koziol +; hommage to Frank Marshall (1877-1944) +; very high attack, very high mobility, sacrificial, likes knights +; +PawnValueMg = 95 +KnightValueMg = 320 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 325 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 25 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 90 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 25 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 90 +Lines = 100 +Outposts = 75 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Matthew] +; Matthew +; Personality for Rodent III chess engine, version 0.210 or later +; Materialist, slightly below 1000 mark +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 524 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 539 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 120 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 3500 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin + +[Mike] +; Mike +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; materialist who likes mobility, limited opening knowledge +; +PawnValueMg = 98 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 112 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 56 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 70 +MinorUp = 63 +BothUp = 90 +ExchangeImbalance = 40 +MinorVsQueen = 0 +TwoMinors = 54 +Material = 110 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 117 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 115 +PassedPawns = 100 +PawnStructure = 112 +Lines = 100 +Outposts = 75 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 32000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = small.bin + +[Morgenstern] +; Morgenstern +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; symmetric violent attacker, piece values spaced further apart than usual +; +PawnValueMg = 95 +KnightValueMg = 335 +BishopValueMg = 322 +RookValueMg = 540 +QueenValueMg = 1070 +PawnValueEg = 110 +KnightValueEg = 314 +BishopValueEg = 320 +RookValueEg = 555 +QueenValueEg = 1083 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 150 +OppAttack = 150 +OwnMobility = 110 +OppMobility = 110 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 103 +PawnStructure = 107 +Lines = 120 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 107 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Nancy] +; Nancy personality for Rodent III +; author: Pawel Koziol +; attacking player who likes closed positions, approx. elo 2300 +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 120 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 110 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 16 +ReturningB = 12 +MinorBehindPawn = 8 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 38000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Nerd] +; Nerd +; Personality for Rodent III chess engine, version 0.210 or later +; carea a bit too much about positional play +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 0 +KeepBishop = -5 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 108 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 120 +Lines = 120 +Outposts = 110 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -16 +DoubledPawnEg = -32 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 16 +Fianchetto = 6 +ReturningB = 13 +MinorBehindPawn = 8 +PawnThreat = 8 +PawnMass = 120 +PawnChains = 150 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 10000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 115 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Nimzowitsch] +; Nimzowitsch +; Personality for Rodent III chess engine, version 0.210 or later +; likes knights and restricting opponent's mobility +; +PawnValueMg = 95 +KnightValueMg = 322 +BishopValueMg = 310 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 110 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 75 +DoubledPawnMg = -14 +DoubledPawnEg = -28 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 8 +Fianchetto = 6 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 150 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 125 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = players/nimzowitsch.bin +MainBookFile = hist/_pre30.bin + +[Nina] +; Nina +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Nina likes knights and passed pawns, and heads towards endgame +; +PawnValueMg = 95 +KnightValueMg = 330 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 345 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 2 +KeepBishop = -5 +KeepRook = -8 +KeepQueen = -12 +BishopPair = 51 +KnightPair = 0 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 80 +PassedPawns = 125 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 12000 +EvalBlur = 0 +Contempt = 10 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin + +[Nora] +; Nora +; Personality for Rodent III chess engine, version 0.210 or later +; weak, overvalues knights +; +PawnValueMg = 95 +KnightValueMg = 360 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 5 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 200 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 800 +EvalBlur = 15 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Novice] +; Novice +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 50 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 0 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 100 +PawnStorm = 0 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 60 +EvalBlur = 48 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = empty.bin +MainBookFile = empty.bin + +[Open] +; Open +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; likes mobility, bishops and open positions +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -2 +KeepKnight = 0 +KeepBishop = 6 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 4 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 3 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Pam] +; Pam +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Weak, overvalues pawns, cares for pawn structure +; +PawnValueMg = 115 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 130 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 200 +Lines = 100 +Outposts = 78 +PawnShield = 150 +PawnStorm = 120 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 120 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 100 +EvalBlur = 36 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Partisan] +; Partisan +; Personality for Rodent III chess engine, version 0.210 or later +; emphasizes attack but plays stealthy openings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/low.bin +MainBookFile = rodent.bin + +[Patrick] +; Patrick +; Personality for Rodent III chess engine, version 0.210 or later +; Attacking 2000 Elo player who cares for pawn structure +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 125 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 125 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -20 +DoubledPawnEg = -30 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 6000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Pawnsacker] +;Pawnsacker +;Personality for Rodent III chess engine, version 0.210 or later +;Created by Pawel Koziol +;Balanced personality, slightly less materialistic than default. +; +PawnValueMg = 90 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -1 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 90 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Pessimist] +; Pessimist +; Personality for Rodent III chess engine, version 0.210 or later +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Preston] +; Preston +; Personality for Rodent III chess engine, version 0.210 or later +; Slightly materialistic, likes to pressurize the opponent in various ways +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 5 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 110 +OwnAttack = 105 +OppAttack = 100 +OwnMobility = 110 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 20 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 15 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/cs.bin +MainBookFile = rodent.bin + +[Rita] +; Rita +; Personality for Rodent III chess engine, version 0.210 or later +; Rita is weak, and overvalues rooks +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 614 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 629 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 10 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = 0 +KnightLikesClosed = 6 +RookLikesOpen = 10 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 50 +MinorVsQueen = 4 +TwoMinors = 0 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 200 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 48 +EvalBlur = 56 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Sid] +; Sid +; Personality for Rodent III chess engine, version 0.210 or later +; Sid likes to simplify and win in the endgame +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = -5 +KeepBishop = -5 +KeepRook = -10 +KeepQueen = -20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 900 +EvalBlur = 0 +Contempt = 50 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/exchange.bin +MainBookFile = micro.bin + +[Sloth] +; Sloth +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes bishops and closed positions +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 0 +KeepBishop = 4 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 133 +PawnShield = 119 +PawnStorm = 99 +Forwardness = -25 +Center = 66 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 24 +ReturningB = 12 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 120 +PawnChains = 200 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Smart] +; Smart +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Overemphasizes positional factors +; likely to sacrifice exchange or to play with minor pieces against queen +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = 0 +MinorVsQueen = 16 +Material = 100 +OwnAttack = 110 +OppAttack = 100 +OwnMobility = 110 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 200 +Outposts = 200 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 75 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 24 +ReturningB = 12 +MinorBehindPawn = 5 +PawnThreat = 5 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/tricky.bin +MainBookFile = rodent.bin + +[Solid] +; Solid +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; +PawnValueMg = 100 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 115 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 105 +OwnAttack = 80 +OppAttack = 80 +OwnMobility = 80 +OppMobility = 80 +KingTropism = 20 +PiecePlacement = 105 +PiecePressure = 109 +PassedPawns = 110 +PawnStructure = 133 +Lines = 100 +Outposts = 95 +PawnShield = 133 +PawnStorm = 99 +Forwardness = -50 +Center = 133 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Spitfire] +; Spitfire +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes active positions, detests being under attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 120 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 20 +SlowMover = 90 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Stalker] +; Stalker +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes following enemy king with own pieces +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 90 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 100 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[StoneGolem] +; Stone_golem +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 5 +KeepBishop = 0 +KeepRook = -5 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = -10 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 90 +PassedPawns = 100 +PawnStructure = 150 +Lines = 100 +Outposts = 150 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 20 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 200 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = -5 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Sue] +; Sue +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; Sue likes to sacrifice, even though at her current tactical level she is yet unable to calculate all the consequences +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 80 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 550 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Swapper] +; Swapper +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes to exchange pieces; high draw rate +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -2 +KeepKnight = -6 +KeepBishop = -6 +KeepRook = -10 +KeepQueen = -18 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = -25 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Tal] +; Tal personality for Rodent III chess engine, version 0.229 or later +; created by Brendan J. Norman, modified by Pawel Koziol +; Hommage to Mikhail Tal +; +; "My head is filled with sunshine. In the first game +; of my match with Botvinnik I will play 1.e4 +; and I shall win." +; +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 340 +RookValueMg = 500 +QueenValueMg = 950 +PawnValueEg = 101 +KnightValueEg = 320 +BishopValueEg = 340 +RookValueEg = 505 +QueenValueEg = 960 +KeepPawn = 8 +KeepKnight = 10 +KeepBishop = 10 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 70 +KnightPair = -10 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = -10 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 48 +OwnAttack = 450 +OppAttack = 100 +OwnMobility = 125 +OppMobility = 100 +KingTropism = 80 +PiecePlacement = 100 +PiecePressure = 190 +PassedPawns = 127 +PawnStructure = 90 +Lines = 100 +Outposts = 100 +PawnShield = 189 +PawnStorm = 181 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 8 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 5 +SlowMover = 95 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = players/ph-tal2.bin +MainBookFile = rodent.bin + +[Theresa] +; Theresa +; Personality for Rodent III chess engine, version 0.210 or later +; Tricky player with a tendency to sacrifice, lowered attack and raised positional factors +; +PawnValueMg = 93 +KnightValueMg = 312 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 980 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 993 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 12 +TwoMinors = 44 +Material = 85 +OwnAttack = 50 +OppAttack = 70 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 105 +Outposts = 90 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 120 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 9000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-exoticbook.bin +MainBookFile = small.bin + +[Tortoise] +; Tortoise +; Personality for Rodent III chess engine, version 0.210 or later +; slow and plays backwards +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 2 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 25 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 200 +Lines = 100 +Outposts = 160 +PawnShield = 120 +PawnStorm = 90 +Forwardness = -25 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 25 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 125 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/low.bin +MainBookFile = rodent.bin + +[Victor] +; Victor +; Personality for Rodent III chess engine, version 0.210 or later +; Victor is violent and plays gambits. +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +RookPair = -10 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 90 +OwnAttack = 300 +OppAttack = 100 +OwnMobility = 115 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 80 +Lines = 120 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 50 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 80 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 35000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = ph-gambitbook.bin +MainBookFile = rodent.bin + +[Vincent] +; Vincent +; Personality for Rodent III chess engine, version 0.210 or later +; violent attacker (+ piece pressure) +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 200 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 1200 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = mini.bin +MainBookFile = small.bin + +[Wild] +; Wild +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; sacrificial attacker, emphasis on mobility +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 80 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 200 +OppMobility = 150 +KingTropism = 100 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 100 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 25 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-gambitbook.bin +MainBookFile = rodent.bin + +[Zero] +; Zero +; Personality for Rodent III chess engine, version 0.210 or later +; Purely random eval with restricted speed +; +PawnValueMg = 0 +KnightValueMg = 0 +BishopValueMg = 0 +RookValueMg = 0 +QueenValueMg = 0 +PawnValueEg = 0 +KnightValueEg = 0 +BishopValueEg = 0 +RookValueEg = 0 +QueenValueEg = 0 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 0 +KnightPair = 0 +RookPair = 0 +KnightLikesClosed = 0 +RookLikesOpen = 0 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 0 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 0 +OwnAttack = 0 +OppAttack = 0 +OwnMobility = 0 +OppMobility = 0 +KingTropism = 0 +PiecePlacement = 0 +PiecePressure = 0 +PassedPawns = 0 +PawnStructure = 0 +Lines = 0 +Outposts = 0 +PawnShield = 0 +PawnStorm = 0 +Forwardness = 0 +Center = 0 +DoubledPawnMg = 0 +DoubledPawnEg = 0 +IsolatedPawnMg = 0 +IsolatedPawnEg = 0 +IsolatedOnOpenMg = 0 +BackwardPawnMg = 0 +BackwardPawnEg = 0 +BackwardOnOpenMg = 0 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = empty.bin diff --git a/engines/rodent3/personalities/#rating.txt b/engines/rodent3/personalities/#rating.txt new file mode 100644 index 0000000..74c1348 --- /dev/null +++ b/engines/rodent3/personalities/#rating.txt @@ -0,0 +1,29 @@ + 1 Deborah : 2445 19 19 744 56.6 % 2399 43.3 % + 2 Preston : 2445 14 14 1179 56.9 % 2397 48.2 % + 3 Balanced : 2441 13 13 1582 56.2 % 2397 45.9 % + 4 Defender : 2434 14 14 1358 54.8 % 2401 44.8 % + 5 Default : 2434 13 13 1561 55.1 % 2398 45.7 % + 6 Pawnsacker : 2424 13 13 1563 53.6 % 2399 44.0 % + 7 Fiona : 2423 15 15 1267 53.7 % 2396 41.8 % + 8 Grumpy : 2422 13 13 1355 52.9 % 2402 48.5 % + 9 Morgenstern : 2418 19 19 743 52.8 % 2399 40.6 % + 10 Marshall : 2417 14 14 1350 52.2 % 2402 46.1 % + 11 Anand : 2415 17 17 959 52.3 % 2399 42.2 % + 12 Steamroller : 2414 16 16 1052 51.6 % 2402 43.9 % + 13 Open : 2413 18 18 759 51.9 % 2400 44.3 % + 14 Smart : 2411 16 16 1159 51.9 % 2397 39.3 % + 15 Airbender : 2409 13 13 1348 51.0 % 2402 49.2 % + 16 Fighter : 2409 15 15 1061 50.9 % 2402 46.4 % + 17 Swapper : 2408 14 14 1102 50.7 % 2403 55.4 % + 18 Lasker : 2405 16 16 1065 50.9 % 2399 42.6 % + 19 Sacrificial : 2395 13 13 1567 49.2 % 2401 41.9 % + 20 Sloth : 2394 22 22 600 49.2 % 2399 37.2 % + 21 Steintz : 2387 17 17 1068 47.7 % 2403 35.4 % + 22 Pawnmaster : 2382 15 15 1348 46.9 % 2404 31.7 % + 23 Solid : 2378 33 33 268 46.8 % 2400 36.2 % + 24 Wild : 2378 18 18 837 46.6 % 2402 39.2 % + 25 Careless : 2375 24 24 519 46.4 % 2400 35.8 % + 26 StoneGolem : 2373 19 19 745 46.7 % 2396 43.2 % + 27 Brute : 2369 21 21 668 45.7 % 2399 36.8 % + 28 Madman : 2258 16 16 1567 29.1 % 2413 24.0 % + 29 Henny : 2225 26 26 680 26.0 % 2406 18.5 % diff --git a/engines/rodent3/personalities/amy.uci b/engines/rodent3/personalities/amy.uci new file mode 100644 index 0000000..d642e5f --- /dev/null +++ b/engines/rodent3/personalities/amy.uci @@ -0,0 +1,74 @@ +[Amy] +; Amy +; weak, aggressive, slow +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 200 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 600 +EvalBlur = 20 +Contempt = 0 +SlowMover = 150 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin diff --git a/engines/rodent3/personalities/andy.uci b/engines/rodent3/personalities/andy.uci new file mode 100644 index 0000000..6dfa5c6 --- /dev/null +++ b/engines/rodent3/personalities/andy.uci @@ -0,0 +1,75 @@ +[Andy] +; Andy +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; weak, attacker +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 300 +EvalBlur = 36 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin diff --git a/engines/rodent3/personalities/arthur.uci b/engines/rodent3/personalities/arthur.uci new file mode 100644 index 0000000..42006c4 --- /dev/null +++ b/engines/rodent3/personalities/arthur.uci @@ -0,0 +1,75 @@ +[Arthur] +; Arthur +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; 1900-ish personality that likes attack and restraint, slow thinker +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 950 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 130 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 130 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 12 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 4500 +EvalBlur = 0 +Contempt = 0 +SlowMover = 120 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/grandpa.bin +MainBookFile = small.bin diff --git a/engines/rodent3/personalities/barbarian.uci b/engines/rodent3/personalities/barbarian.uci new file mode 100644 index 0000000..5bad011 --- /dev/null +++ b/engines/rodent3/personalities/barbarian.uci @@ -0,0 +1,74 @@ +[Barbarian] +; Barbarian +; Personality for Rodent III chess engine, version 0.210 or later +; attacker with lower interest for positional factors +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 180 +OppAttack = 100 +OwnMobility = 75 +OppMobility = 75 +KingTropism = 100 +PiecePlacement = 100 +PiecePressure = 125 +PassedPawns = 100 +PawnStructure = 75 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/basic.ini b/engines/rodent3/personalities/basic.ini new file mode 100644 index 0000000..7968e15 --- /dev/null +++ b/engines/rodent3/personalities/basic.ini @@ -0,0 +1,3 @@ +HIDE_OPTIONS +PERSONALITY_BOOKS +NPS_BLUR \ No newline at end of file diff --git a/engines/rodent3/personalities/ben.uci b/engines/rodent3/personalities/ben.uci new file mode 100644 index 0000000..ef07729 --- /dev/null +++ b/engines/rodent3/personalities/ben.uci @@ -0,0 +1,75 @@ +[Ben] +; Ben +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Ben is still weak, but has balanced outlook on the game. Let's hope he improves! +; +PawnValueMg = 95 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 80 +OppAttack = 80 +OwnMobility = 80 +OppMobility = 80 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 120 +EvalBlur = 25 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin diff --git a/engines/rodent3/personalities/bibi.uci b/engines/rodent3/personalities/bibi.uci new file mode 100644 index 0000000..90d08cb --- /dev/null +++ b/engines/rodent3/personalities/bibi.uci @@ -0,0 +1,75 @@ +[Bibi] +; Bibi +; Personality for Rodent III chess engine, version 0.210 or later +; Bibi likes bishop pair. But it is not the end of the story. +; Playing against two bishops, he will strongly prefer closed positions. +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 520 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 535 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 75 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 9 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 9 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 140 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = mini.bin +MainBookFile = mini.bin diff --git a/engines/rodent3/personalities/blais.uci b/engines/rodent3/personalities/blais.uci new file mode 100644 index 0000000..d87027a --- /dev/null +++ b/engines/rodent3/personalities/blais.uci @@ -0,0 +1,74 @@ +[Blais] +; Blais +; Personality for Rodent III chess engine, version 0.210 or later +; Blais has a blurred vision of the board +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 200 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = micro.bin diff --git a/engines/rodent3/personalities/brute.uci b/engines/rodent3/personalities/brute.uci new file mode 100644 index 0000000..86df997 --- /dev/null +++ b/engines/rodent3/personalities/brute.uci @@ -0,0 +1,71 @@ +[Brute] +; Brute +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; materialist, stripped of some fancy eval staff and material tuning results, high king tropism +; +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 0 +Material = 120 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 100 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/careless.uci b/engines/rodent3/personalities/careless.uci new file mode 100644 index 0000000..5ffceee --- /dev/null +++ b/engines/rodent3/personalities/careless.uci @@ -0,0 +1,71 @@ +[Careless] +; Careless +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; ignores pawn structure, low interest in king attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 50 +OppAttack = 50 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 0 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/caveman.uci b/engines/rodent3/personalities/caveman.uci new file mode 100644 index 0000000..14d5879 --- /dev/null +++ b/engines/rodent3/personalities/caveman.uci @@ -0,0 +1,74 @@ +[Caveman] +; Caveman +; Personality for Rodent III chess engine, version 0.210 or later +; stripped of most of knowledge, relies mostly on raw calculating power. +; +PawnValueMg = 100 +KnightValueMg = 334 +BishopValueMg = 335 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 334 +BishopValueEg = 335 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = 0 +RookPair = 0 +KnightLikesClosed = 0 +RookLikesOpen = 0 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 0 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 100 +OwnAttack = 0 +OppAttack = 0 +OwnMobility = 0 +OppMobility = 0 +KingTropism = 100 +PiecePlacement = 80 +PiecePressure = 0 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -25 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = small.bin +MainBookFile = small.bin diff --git a/engines/rodent3/personalities/chloe.uci b/engines/rodent3/personalities/chloe.uci new file mode 100644 index 0000000..0261860 --- /dev/null +++ b/engines/rodent3/personalities/chloe.uci @@ -0,0 +1,74 @@ +[Chloe] +; Chloe +; Personality for Rodent III chess engine, version 0.210 or later +; Chloe is chaotic, but a bit more tactically aware than the oter kids +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 500 +EvalBlur = 50 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin diff --git a/engines/rodent3/personalities/chris.uci b/engines/rodent3/personalities/chris.uci new file mode 100644 index 0000000..2aee41e --- /dev/null +++ b/engines/rodent3/personalities/chris.uci @@ -0,0 +1,74 @@ +[Chris] +; Chris +; Chris is a constrictor +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 130 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 700 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin diff --git a/engines/rodent3/personalities/constrictor.uci b/engines/rodent3/personalities/constrictor.uci new file mode 100644 index 0000000..6a7b6c3 --- /dev/null +++ b/engines/rodent3/personalities/constrictor.uci @@ -0,0 +1,74 @@ +[Constrictor] +; Constrictor +; Personality for Rodent III chess engine, version 0.210 or later +; It wants to restrict your mobility and to attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 150 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/deborah.uci b/engines/rodent3/personalities/deborah.uci new file mode 100644 index 0000000..a565ff5 --- /dev/null +++ b/engines/rodent3/personalities/deborah.uci @@ -0,0 +1,71 @@ +[Deborah] +; Deborah +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; defensive player that likes bishops +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 5 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 85 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 125 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 12 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 8 +PawnThreat = 8 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/defender.uci b/engines/rodent3/personalities/defender.uci new file mode 100644 index 0000000..7032aab --- /dev/null +++ b/engines/rodent3/personalities/defender.uci @@ -0,0 +1,73 @@ +[Defender] +; Defender +; Personality for Rodent III chess engine, version 0.210 or later +; by Pawel Koziol +; personality that weights enemy attack and mobility marginally higher +; this is one of the strongest settings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 105 +OwnAttack = 100 +OppAttack = 110 +OwnMobility = 100 +OppMobility = 105 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 110 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + diff --git a/engines/rodent3/personalities/dorothy.uci b/engines/rodent3/personalities/dorothy.uci new file mode 100644 index 0000000..747f51a --- /dev/null +++ b/engines/rodent3/personalities/dorothy.uci @@ -0,0 +1,75 @@ +[Dorothy] +; Dorothy +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; defence, restraint, classical style +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 125 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -15 +DoubledPawnEg = -30 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 6 +PawnMass = 105 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 15000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin diff --git a/engines/rodent3/personalities/dory.uci b/engines/rodent3/personalities/dory.uci new file mode 100644 index 0000000..3320675 --- /dev/null +++ b/engines/rodent3/personalities/dory.uci @@ -0,0 +1,74 @@ +[Dory] +; Dory +; Personality for Rodent III chess engine, version 0.210 or later +; weak, defense oriented +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 200 +OppMobility = 150 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 150 +PawnStorm = 50 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 35 +ReturningB = 50 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 1000 +EvalBlur = 18 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin diff --git a/engines/rodent3/personalities/drunk.uci b/engines/rodent3/personalities/drunk.uci new file mode 100644 index 0000000..0ed16e5 --- /dev/null +++ b/engines/rodent3/personalities/drunk.uci @@ -0,0 +1,75 @@ +[Drunk] +; Drunk +; Personality for Rodent III chess engine, version 0.210 or later +; huge random factor in eval and messy openings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-exoticbook.bin +MainBookFile = rodent.bin + diff --git a/engines/rodent3/personalities/expert.uci b/engines/rodent3/personalities/expert.uci new file mode 100644 index 0000000..d75402e --- /dev/null +++ b/engines/rodent3/personalities/expert.uci @@ -0,0 +1,73 @@ +[Expert] +; Expert +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +RookPair = -10 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 50 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 0 +TwoMinors = 45 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 75 +PawnShield = 130 +PawnStorm = 100 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 5000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = small.bin +MainBookFile = small.bin diff --git a/engines/rodent3/personalities/fighter.uci b/engines/rodent3/personalities/fighter.uci new file mode 100644 index 0000000..c5336ec --- /dev/null +++ b/engines/rodent3/personalities/fighter.uci @@ -0,0 +1,71 @@ +[Fighter] +; Fighter +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Likes sacrificing pawns and restricting opponent's mobility. +; +PawnValueMg = 85 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 100 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 90 +OwnAttack = 105 +OppAttack = 100 +OwnMobility = 140 +OppMobility = 110 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 80 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/fiona.uci b/engines/rodent3/personalities/fiona.uci new file mode 100644 index 0000000..ced9dd2 --- /dev/null +++ b/engines/rodent3/personalities/fiona.uci @@ -0,0 +1,71 @@ +[Fiona] +; Fiona +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Fiona likes fianchetto and uses non-default piece/square table +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 105 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 12 +Fianchetto = 24 +ReturningB = 15 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 200 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/frank.uci b/engines/rodent3/personalities/frank.uci new file mode 100644 index 0000000..c1da532 --- /dev/null +++ b/engines/rodent3/personalities/frank.uci @@ -0,0 +1,75 @@ +[Frank] +; Frank +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; weak, rushes forward +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 200 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 0 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 88 +EvalBlur = 50 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin diff --git a/engines/rodent3/personalities/frederick.uci b/engines/rodent3/personalities/frederick.uci new file mode 100644 index 0000000..94a1ec5 --- /dev/null +++ b/engines/rodent3/personalities/frederick.uci @@ -0,0 +1,75 @@ +[Frederick] +; Frederick +; Personality for Rodent III chess engine, version 0.210 or later +; 1900-ish player that likes thrusting his pieces forward +; the funny thing is that he likes flank openings as well +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 120 +PawnStorm = 120 +Forwardness = 200 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 4000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/flank.bin +MainBookFile = small.bin diff --git a/engines/rodent3/personalities/gabriel.uci b/engines/rodent3/personalities/gabriel.uci new file mode 100644 index 0000000..bc49300 --- /dev/null +++ b/engines/rodent3/personalities/gabriel.uci @@ -0,0 +1,76 @@ +[Gabriel] +; Gabriel +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; Gabriel is for gambits! +; Estimated strength: 2000 Elo +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 80 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 7000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = ph-gambitbook.bin +MainBookFile = micro.bin diff --git a/engines/rodent3/personalities/gm.uci b/engines/rodent3/personalities/gm.uci new file mode 100644 index 0000000..40b34e2 --- /dev/null +++ b/engines/rodent3/personalities/gm.uci @@ -0,0 +1,72 @@ +[gm] +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide/guide.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/grumpy.uci b/engines/rodent3/personalities/grumpy.uci new file mode 100644 index 0000000..7c34fce --- /dev/null +++ b/engines/rodent3/personalities/grumpy.uci @@ -0,0 +1,72 @@ +[Grumpy] +; Grumpy +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; based on attack and restraint, likes closed positions, slight contempt +; meant to simulate strong elderly player +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 120 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 120 +Lines = 100 +Outposts = 120 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 15 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/hedgehog.uci b/engines/rodent3/personalities/hedgehog.uci new file mode 100644 index 0000000..5342c2f --- /dev/null +++ b/engines/rodent3/personalities/hedgehog.uci @@ -0,0 +1,74 @@ +[Hedgehog] +; Hedgehog +; Personality for Rodent III chess engine, version 0.210 or later +; solid with pawns, slightly pessimistic +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 140 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 10 +Fianchetto = 6 +ReturningB = 12 +MinorBehindPawn = 10 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 105 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/flank.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/helpless.uci b/engines/rodent3/personalities/helpless.uci new file mode 100644 index 0000000..db4af90 --- /dev/null +++ b/engines/rodent3/personalities/helpless.uci @@ -0,0 +1,74 @@ +[Helpless] +; Helpless +; Personality for Rodent III chess engine, version 0.210 or later +; Severely restricted speed, no regard for material values +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 0 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = empty.bin diff --git a/engines/rodent3/personalities/john.uci b/engines/rodent3/personalities/john.uci new file mode 100644 index 0000000..be27ed8 --- /dev/null +++ b/engines/rodent3/personalities/john.uci @@ -0,0 +1,74 @@ +[John] +; John +; Personality for Rodent III chess engine, version 0.210 or later +; weak, neglects protecting own king +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 0 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 10 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 180 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin diff --git a/engines/rodent3/personalities/karpov.uci b/engines/rodent3/personalities/karpov.uci new file mode 100644 index 0000000..c1b0752 --- /dev/null +++ b/engines/rodent3/personalities/karpov.uci @@ -0,0 +1,74 @@ +[Karpov] +; Karpov +; Personality for Rodent III chess engine, version 0.210 or later +; based on Brendan J. Norman's personality for Rodent II +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 5 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = -5 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 105 +OwnAttack = 110 +OppAttack = 85 +OwnMobility = 100 +OppMobility = 95 +KingTropism = 20 +PiecePlacement = 150 +PiecePressure = 100 +PassedPawns = 150 +PawnStructure = 150 +Lines = 100 +Outposts = 120 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 10 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = players/ph-karpov2.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/lasker.uci b/engines/rodent3/personalities/lasker.uci new file mode 100644 index 0000000..5d62525 --- /dev/null +++ b/engines/rodent3/personalities/lasker.uci @@ -0,0 +1,70 @@ +[Lasker] +; Lasker +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; +PawnValueMg = 95 +KnightValueMg = 341 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 960 +PawnValueEg = 110 +KnightValueEg = 335 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 972 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 104 +OwnAttack = 71 +OppAttack = 101 +OwnMobility = 96 +OppMobility = 96 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 111 +PassedPawns = 105 +PawnStructure = 96 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/lea.uci b/engines/rodent3/personalities/lea.uci new file mode 100644 index 0000000..dc7832d --- /dev/null +++ b/engines/rodent3/personalities/lea.uci @@ -0,0 +1,74 @@ +[Lea] +; Lea +; Personality for Rodent III chess engine, version 0.210 or later +; Lea just learns how the pieces move +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 500 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin diff --git a/engines/rodent3/personalities/mark.uci b/engines/rodent3/personalities/mark.uci new file mode 100644 index 0000000..e0e69bf --- /dev/null +++ b/engines/rodent3/personalities/mark.uci @@ -0,0 +1,74 @@ +[Mark] +; Mark +; Personality for Rodent III chess engine, version 0.210 or later +; defensive playr who likes own mobility +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 105 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 130 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 400 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin diff --git a/engines/rodent3/personalities/marshall.uci b/engines/rodent3/personalities/marshall.uci new file mode 100644 index 0000000..6278d7a --- /dev/null +++ b/engines/rodent3/personalities/marshall.uci @@ -0,0 +1,76 @@ +[Marshall] +; Marshall +; Personality for Rodent III chess engine, version 0.210 or later +; by Pawel Koziol +; hommage to Frank Marshall (1877-1944) +; very high attack, very high mobility, sacrificial, likes knights +; +PawnValueMg = 95 +KnightValueMg = 320 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 325 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 25 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 90 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 25 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 90 +Lines = 100 +Outposts = 75 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/matthew.uci b/engines/rodent3/personalities/matthew.uci new file mode 100644 index 0000000..235bc27 --- /dev/null +++ b/engines/rodent3/personalities/matthew.uci @@ -0,0 +1,74 @@ +[Matthew] +; Matthew +; Personality for Rodent III chess engine, version 0.210 or later +; Materialist, slightly below 1000 mark +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 524 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 539 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 120 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 3500 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin diff --git a/engines/rodent3/personalities/mike.uci b/engines/rodent3/personalities/mike.uci new file mode 100644 index 0000000..a48a9c3 --- /dev/null +++ b/engines/rodent3/personalities/mike.uci @@ -0,0 +1,75 @@ +[Mike] +; Mike +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; materialist who likes mobility, limited opening knowledge +; +PawnValueMg = 98 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 112 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 56 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 70 +MinorUp = 63 +BothUp = 90 +ExchangeImbalance = 40 +MinorVsQueen = 0 +TwoMinors = 54 +Material = 110 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 117 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 115 +PassedPawns = 100 +PawnStructure = 112 +Lines = 100 +Outposts = 75 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 32000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = small.bin diff --git a/engines/rodent3/personalities/morgenstern.uci b/engines/rodent3/personalities/morgenstern.uci new file mode 100644 index 0000000..6571f47 --- /dev/null +++ b/engines/rodent3/personalities/morgenstern.uci @@ -0,0 +1,71 @@ +[Morgenstern] +; Morgenstern +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; symmetric violent attacker, piece values spaced further apart than usual +; +PawnValueMg = 95 +KnightValueMg = 335 +BishopValueMg = 322 +RookValueMg = 540 +QueenValueMg = 1070 +PawnValueEg = 110 +KnightValueEg = 314 +BishopValueEg = 320 +RookValueEg = 555 +QueenValueEg = 1083 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 150 +OppAttack = 150 +OwnMobility = 110 +OppMobility = 110 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 103 +PawnStructure = 107 +Lines = 120 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 107 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/nancy.uci b/engines/rodent3/personalities/nancy.uci new file mode 100644 index 0000000..9f88a05 --- /dev/null +++ b/engines/rodent3/personalities/nancy.uci @@ -0,0 +1,74 @@ +[Nancy] +; Nancy personality for Rodent III +; author: Pawel Koziol +; attacking player who likes closed positions, approx. elo 2300 +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 120 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 110 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 16 +ReturningB = 12 +MinorBehindPawn = 8 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 38000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/nerd.uci b/engines/rodent3/personalities/nerd.uci new file mode 100644 index 0000000..2305cf1 --- /dev/null +++ b/engines/rodent3/personalities/nerd.uci @@ -0,0 +1,74 @@ +[Nerd] +; Nerd +; Personality for Rodent III chess engine, version 0.210 or later +; carea a bit too much about positional play +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 0 +KeepBishop = -5 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 108 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 120 +Lines = 120 +Outposts = 110 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -16 +DoubledPawnEg = -32 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 16 +Fianchetto = 6 +ReturningB = 13 +MinorBehindPawn = 8 +PawnThreat = 8 +PawnMass = 120 +PawnChains = 150 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 10000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 115 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/nimzowitsch.uci b/engines/rodent3/personalities/nimzowitsch.uci new file mode 100644 index 0000000..83e63f1 --- /dev/null +++ b/engines/rodent3/personalities/nimzowitsch.uci @@ -0,0 +1,74 @@ +[Nimzowitsch] +; Nimzowitsch +; Personality for Rodent III chess engine, version 0.210 or later +; likes knights and restricting opponent's mobility +; +PawnValueMg = 95 +KnightValueMg = 322 +BishopValueMg = 310 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 110 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 75 +DoubledPawnMg = -14 +DoubledPawnEg = -28 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 8 +Fianchetto = 6 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 150 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 125 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = players/nimzowitsch.bin +MainBookFile = hist/_pre30.bin diff --git a/engines/rodent3/personalities/nina.uci b/engines/rodent3/personalities/nina.uci new file mode 100644 index 0000000..7253ca5 --- /dev/null +++ b/engines/rodent3/personalities/nina.uci @@ -0,0 +1,75 @@ +[Nina] +; Nina +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Nina likes knights and passed pawns, and heads towards endgame +; +PawnValueMg = 95 +KnightValueMg = 330 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 345 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 2 +KeepBishop = -5 +KeepRook = -8 +KeepQueen = -12 +BishopPair = 51 +KnightPair = 0 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 0 +PiecePlacement = 75 +PiecePressure = 80 +PassedPawns = 125 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 12000 +EvalBlur = 0 +Contempt = 10 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin diff --git a/engines/rodent3/personalities/nora.uci b/engines/rodent3/personalities/nora.uci new file mode 100644 index 0000000..f89de92 --- /dev/null +++ b/engines/rodent3/personalities/nora.uci @@ -0,0 +1,74 @@ +[Nora] +; Nora +; Personality for Rodent III chess engine, version 0.210 or later +; weak, overvalues knights +; +PawnValueMg = 95 +KnightValueMg = 360 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 5 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 200 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 800 +EvalBlur = 15 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin diff --git a/engines/rodent3/personalities/novice.uci b/engines/rodent3/personalities/novice.uci new file mode 100644 index 0000000..afefb10 --- /dev/null +++ b/engines/rodent3/personalities/novice.uci @@ -0,0 +1,73 @@ +[Novice] +; Novice +; Personality for Rodent III chess engine, version 0.210 or later +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 50 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 0 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 100 +PawnStorm = 0 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 60 +EvalBlur = 48 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = empty.bin +MainBookFile = empty.bin diff --git a/engines/rodent3/personalities/open.uci b/engines/rodent3/personalities/open.uci new file mode 100644 index 0000000..f32b71f --- /dev/null +++ b/engines/rodent3/personalities/open.uci @@ -0,0 +1,71 @@ +[Open] +; Open +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; likes mobility, bishops and open positions +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -2 +KeepKnight = 0 +KeepBishop = 6 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 4 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 3 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/pam.uci b/engines/rodent3/personalities/pam.uci new file mode 100644 index 0000000..f2d5876 --- /dev/null +++ b/engines/rodent3/personalities/pam.uci @@ -0,0 +1,75 @@ +[Pam] +; Pam +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; Weak, overvalues pawns, cares for pawn structure +; +PawnValueMg = 115 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 130 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 200 +Lines = 100 +Outposts = 78 +PawnShield = 150 +PawnStorm = 120 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 120 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 100 +EvalBlur = 36 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin diff --git a/engines/rodent3/personalities/partisan.uci b/engines/rodent3/personalities/partisan.uci new file mode 100644 index 0000000..b1d7084 --- /dev/null +++ b/engines/rodent3/personalities/partisan.uci @@ -0,0 +1,74 @@ +[Partisan] +; Partisan +; Personality for Rodent III chess engine, version 0.210 or later +; emphasizes attack but plays stealthy openings +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/low.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/patrick.uci b/engines/rodent3/personalities/patrick.uci new file mode 100644 index 0000000..06e2568 --- /dev/null +++ b/engines/rodent3/personalities/patrick.uci @@ -0,0 +1,73 @@ +[Patrick] +; Patrick +; Personality for Rodent III chess engine, version 0.210 or later +; Attacking 2000 Elo player who cares for pawn structure +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 125 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 125 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -20 +DoubledPawnEg = -30 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 6000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/pawnsacker.uci b/engines/rodent3/personalities/pawnsacker.uci new file mode 100644 index 0000000..8c102fe --- /dev/null +++ b/engines/rodent3/personalities/pawnsacker.uci @@ -0,0 +1,71 @@ +[Pawnsacker] +;Pawnsacker +;Personality for Rodent III chess engine, version 0.210 or later +;Created by Pawel Koziol +;Balanced personality, slightly less materialistic than default. +; +PawnValueMg = 90 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -1 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 90 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/pessimist.uci b/engines/rodent3/personalities/pessimist.uci new file mode 100644 index 0000000..6d694c6 --- /dev/null +++ b/engines/rodent3/personalities/pessimist.uci @@ -0,0 +1,72 @@ +[Pessimist] +; Pessimist +; Personality for Rodent III chess engine, version 0.210 or later +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/preston.uci b/engines/rodent3/personalities/preston.uci new file mode 100644 index 0000000..ea03007 --- /dev/null +++ b/engines/rodent3/personalities/preston.uci @@ -0,0 +1,70 @@ +[Preston] +; Preston +; Personality for Rodent III chess engine, version 0.210 or later +; Slightly materialistic, likes to pressurize the opponent in various ways +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 5 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 110 +OwnAttack = 105 +OppAttack = 100 +OwnMobility = 110 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 20 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 15 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/cs.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/rita.uci b/engines/rodent3/personalities/rita.uci new file mode 100644 index 0000000..d63df23 --- /dev/null +++ b/engines/rodent3/personalities/rita.uci @@ -0,0 +1,74 @@ +[Rita] +; Rita +; Personality for Rodent III chess engine, version 0.210 or later +; Rita is weak, and overvalues rooks +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 614 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 629 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 10 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = 0 +KnightLikesClosed = 6 +RookLikesOpen = 10 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 50 +MinorVsQueen = 4 +TwoMinors = 0 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 200 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 48 +EvalBlur = 56 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin diff --git a/engines/rodent3/personalities/sid.uci b/engines/rodent3/personalities/sid.uci new file mode 100644 index 0000000..eeb5f82 --- /dev/null +++ b/engines/rodent3/personalities/sid.uci @@ -0,0 +1,74 @@ +[Sid] +; Sid +; Personality for Rodent III chess engine, version 0.210 or later +; Sid likes to simplify and win in the endgame +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = -5 +KeepBishop = -5 +KeepRook = -10 +KeepQueen = -20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 900 +EvalBlur = 0 +Contempt = 50 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/exchange.bin +MainBookFile = micro.bin diff --git a/engines/rodent3/personalities/sloth.uci b/engines/rodent3/personalities/sloth.uci new file mode 100644 index 0000000..59292ad --- /dev/null +++ b/engines/rodent3/personalities/sloth.uci @@ -0,0 +1,71 @@ +[Sloth] +; Sloth +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes bishops and closed positions +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 0 +KeepBishop = 4 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 133 +PawnShield = 119 +PawnStorm = 99 +Forwardness = -25 +Center = 66 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 24 +ReturningB = 12 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 120 +PawnChains = 200 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/smart.uci b/engines/rodent3/personalities/smart.uci new file mode 100644 index 0000000..572f6ee --- /dev/null +++ b/engines/rodent3/personalities/smart.uci @@ -0,0 +1,72 @@ +[Smart] +; Smart +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Overemphasizes positional factors +; likely to sacrifice exchange or to play with minor pieces against queen +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = 0 +MinorVsQueen = 16 +Material = 100 +OwnAttack = 110 +OppAttack = 100 +OwnMobility = 110 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 200 +Outposts = 200 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 75 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 24 +ReturningB = 12 +MinorBehindPawn = 5 +PawnThreat = 5 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/tricky.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/solid.uci b/engines/rodent3/personalities/solid.uci new file mode 100644 index 0000000..93b65fb --- /dev/null +++ b/engines/rodent3/personalities/solid.uci @@ -0,0 +1,70 @@ +[Solid] +; Solid +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; +PawnValueMg = 100 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 115 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 105 +OwnAttack = 80 +OppAttack = 80 +OwnMobility = 80 +OppMobility = 80 +KingTropism = 20 +PiecePlacement = 105 +PiecePressure = 109 +PassedPawns = 110 +PawnStructure = 133 +Lines = 100 +Outposts = 95 +PawnShield = 133 +PawnStorm = 99 +Forwardness = -50 +Center = 133 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 6 +PawnThreat = 4 +PawnMass = 110 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/spitfire.uci b/engines/rodent3/personalities/spitfire.uci new file mode 100644 index 0000000..90cc127 --- /dev/null +++ b/engines/rodent3/personalities/spitfire.uci @@ -0,0 +1,71 @@ +[Spitfire] +; Spitfire +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes active positions, detests being under attack +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 120 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 20 +SlowMover = 90 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/stalker.uci b/engines/rodent3/personalities/stalker.uci new file mode 100644 index 0000000..9186cb2 --- /dev/null +++ b/engines/rodent3/personalities/stalker.uci @@ -0,0 +1,75 @@ +[Stalker] +; Stalker +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes following enemy king with own pieces +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 90 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 100 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/stone_golem.uci b/engines/rodent3/personalities/stone_golem.uci new file mode 100644 index 0000000..301993a --- /dev/null +++ b/engines/rodent3/personalities/stone_golem.uci @@ -0,0 +1,69 @@ +[StoneGolem] +; Stone_golem +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 5 +KeepBishop = 0 +KeepRook = -5 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = -10 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 90 +PassedPawns = 100 +PawnStructure = 150 +Lines = 100 +Outposts = 150 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 20 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 200 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = -5 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/sue.uci b/engines/rodent3/personalities/sue.uci new file mode 100644 index 0000000..4bd3c72 --- /dev/null +++ b/engines/rodent3/personalities/sue.uci @@ -0,0 +1,75 @@ +[Sue] +; Sue +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; Sue likes to sacrifice, even though at her current tactical level she is yet unable to calculate all the consequences +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 80 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 550 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin diff --git a/engines/rodent3/personalities/swapper.uci b/engines/rodent3/personalities/swapper.uci new file mode 100644 index 0000000..f0d9a41 --- /dev/null +++ b/engines/rodent3/personalities/swapper.uci @@ -0,0 +1,71 @@ +[Swapper] +; Swapper +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes to exchange pieces; high draw rate +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -2 +KeepKnight = -6 +KeepBishop = -6 +KeepRook = -10 +KeepQueen = -18 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = -25 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/tal2.uci b/engines/rodent3/personalities/tal2.uci new file mode 100644 index 0000000..9abf311 --- /dev/null +++ b/engines/rodent3/personalities/tal2.uci @@ -0,0 +1,77 @@ +; Tal personality for Rodent III chess engine, version 0.229 or later +; created by Brendan J. Norman, modified by Pawel Koziol +; Hommage to Mikhail Tal +; +; "My head is filled with sunshine. In the first game +; of my match with Botvinnik I will play 1.e4 +; and I shall win." +; +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 340 +RookValueMg = 500 +QueenValueMg = 950 +PawnValueEg = 101 +KnightValueEg = 320 +BishopValueEg = 340 +RookValueEg = 505 +QueenValueEg = 960 +KeepPawn = 8 +KeepKnight = 10 +KeepBishop = 10 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 70 +KnightPair = -10 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = -10 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 48 +OwnAttack = 450 +OppAttack = 100 +OwnMobility = 125 +OppMobility = 100 +KingTropism = 80 +PiecePlacement = 100 +PiecePressure = 190 +PassedPawns = 127 +PawnStructure = 90 +Lines = 100 +Outposts = 100 +PawnShield = 189 +PawnStorm = 181 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -24 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 8 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 5 +SlowMover = 95 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = players/ph-tal2.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/theresa.uci b/engines/rodent3/personalities/theresa.uci new file mode 100644 index 0000000..ee85f48 --- /dev/null +++ b/engines/rodent3/personalities/theresa.uci @@ -0,0 +1,74 @@ +[Theresa] +; Theresa +; Personality for Rodent III chess engine, version 0.210 or later +; Tricky player with a tendency to sacrifice, lowered attack and raised positional factors +; +PawnValueMg = 93 +KnightValueMg = 312 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 980 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 993 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 12 +TwoMinors = 44 +Material = 85 +OwnAttack = 50 +OppAttack = 70 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 105 +Outposts = 90 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 120 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 9000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-exoticbook.bin +MainBookFile = small.bin diff --git a/engines/rodent3/personalities/tortoise.uci b/engines/rodent3/personalities/tortoise.uci new file mode 100644 index 0000000..2dd7c32 --- /dev/null +++ b/engines/rodent3/personalities/tortoise.uci @@ -0,0 +1,74 @@ +[Tortoise] +; Tortoise +; Personality for Rodent III chess engine, version 0.210 or later +; slow and plays backwards +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 2 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 25 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 200 +Lines = 100 +Outposts = 160 +PawnShield = 120 +PawnStorm = 90 +Forwardness = -25 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 25 +ReturningB = 20 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 125 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/low.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/viktor.uci b/engines/rodent3/personalities/viktor.uci new file mode 100644 index 0000000..6129d8a --- /dev/null +++ b/engines/rodent3/personalities/viktor.uci @@ -0,0 +1,74 @@ +[Victor] +; Victor +; Personality for Rodent III chess engine, version 0.210 or later +; Victor is violent and plays gambits. +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +RookPair = -10 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 90 +OwnAttack = 300 +OppAttack = 100 +OwnMobility = 115 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 80 +Lines = 120 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 50 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 80 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 35000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = ph-gambitbook.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/vincent.uci b/engines/rodent3/personalities/vincent.uci new file mode 100644 index 0000000..d0eddec --- /dev/null +++ b/engines/rodent3/personalities/vincent.uci @@ -0,0 +1,74 @@ +[Vincent] +; Vincent +; Personality for Rodent III chess engine, version 0.210 or later +; violent attacker (+ piece pressure) +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 200 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 200 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 1200 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = mini.bin +MainBookFile = small.bin diff --git a/engines/rodent3/personalities/wild.uci b/engines/rodent3/personalities/wild.uci new file mode 100644 index 0000000..5044a6f --- /dev/null +++ b/engines/rodent3/personalities/wild.uci @@ -0,0 +1,71 @@ +[Wild] +; Wild +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; sacrificial attacker, emphasis on mobility +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 80 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 200 +OppMobility = 150 +KingTropism = 100 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 100 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +FianchBase = 4 +Fianchetto = 6 +ReturningB = 10 +MinorBehindPawn = 5 +PawnThreat = 4 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 25 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-gambitbook.bin +MainBookFile = rodent.bin diff --git a/engines/rodent3/personalities/zero.uci b/engines/rodent3/personalities/zero.uci new file mode 100644 index 0000000..b463528 --- /dev/null +++ b/engines/rodent3/personalities/zero.uci @@ -0,0 +1,74 @@ +[Zero] +; Zero +; Personality for Rodent III chess engine, version 0.210 or later +; Purely random eval with restricted speed +; +PawnValueMg = 0 +KnightValueMg = 0 +BishopValueMg = 0 +RookValueMg = 0 +QueenValueMg = 0 +PawnValueEg = 0 +KnightValueEg = 0 +BishopValueEg = 0 +RookValueEg = 0 +QueenValueEg = 0 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 0 +KnightPair = 0 +RookPair = 0 +KnightLikesClosed = 0 +RookLikesOpen = 0 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 0 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 0 +OwnAttack = 0 +OppAttack = 0 +OwnMobility = 0 +OppMobility = 0 +KingTropism = 0 +PiecePlacement = 0 +PiecePressure = 0 +PassedPawns = 0 +PawnStructure = 0 +Lines = 0 +Outposts = 0 +PawnShield = 0 +PawnStorm = 0 +Forwardness = 0 +Center = 0 +DoubledPawnMg = 0 +DoubledPawnEg = 0 +IsolatedPawnMg = 0 +IsolatedPawnEg = 0 +IsolatedOnOpenMg = 0 +BackwardPawnMg = 0 +BackwardPawnEg = 0 +BackwardOnOpenMg = 0 +FianchBase = 0 +Fianchetto = 0 +ReturningB = 0 +MinorBehindPawn = 0 +PawnThreat = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 50 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = empty.bin +MainBookFile = empty.bin diff --git a/engines/x86_64/.gitignore b/engines/x86_64/.gitignore new file mode 100644 index 0000000..c288670 --- /dev/null +++ b/engines/x86_64/.gitignore @@ -0,0 +1,4 @@ +# Ignore any engines out of the first 8 [a-h] ones +[i-z]-* +engines.ini +games.pgn \ No newline at end of file diff --git a/engines/x86_64/a-stock8 b/engines/x86_64/a-stock8 new file mode 100644 index 0000000..fbf7feb Binary files /dev/null and b/engines/x86_64/a-stock8 differ diff --git a/engines/x86_64/a-stock8.uci b/engines/x86_64/a-stock8.uci new file mode 100644 index 0000000..6d7b15a --- /dev/null +++ b/engines/x86_64/a-stock8.uci @@ -0,0 +1,63 @@ +[Level@00] +Skill Level = 0 + +[Level@01] +Skill Level = 1 + +[Level@02] +Skill Level = 2 + +[Level@03] +Skill Level = 3 + +[Level@04] +Skill Level = 4 + +[Level@05] +Skill Level = 5 + +[Level@06] +Skill Level = 6 + +[Level@07] +Skill Level = 7 + +[Level@08] +Skill Level = 8 + +[Level@09] +Skill Level = 9 + +[Level@10] +Skill Level = 10 + +[Level@11] +Skill Level = 11 + +[Level@12] +Skill Level = 12 + +[Level@13] +Skill Level = 13 + +[Level@14] +Skill Level = 14 + +[Level@15] +Skill Level = 15 + +[Level@16] +Skill Level = 16 + +[Level@17] +Skill Level = 17 + +[Level@18] +Skill Level = 18 + +[Level@19] +Skill Level = 19 + +[Level@20] +Skill Level = 20 + diff --git a/engines/x86_64/b-texel7 b/engines/x86_64/b-texel7 new file mode 100644 index 0000000..cdb5d34 Binary files /dev/null and b/engines/x86_64/b-texel7 differ diff --git a/engines/x86_64/b-texel7.uci b/engines/x86_64/b-texel7.uci new file mode 100644 index 0000000..c034fcf --- /dev/null +++ b/engines/x86_64/b-texel7.uci @@ -0,0 +1,33 @@ +[Level@00] +Strength = 0 + +[Level@01] +Strength = 100 + +[Level@02] +Strength = 200 + +[Level@03] +Strength = 300 + +[Level@04] +Strength = 400 + +[Level@05] +Strength = 500 + +[Level@06] +Strength = 600 + +[Level@07] +Strength = 700 + +[Level@08] +Strength = 800 + +[Level@09] +Strength = 900 + +[Level@10] +Strength = 1000 + diff --git a/engines/x86_64/c-arasan b/engines/x86_64/c-arasan new file mode 100644 index 0000000..6f27a42 Binary files /dev/null and b/engines/x86_64/c-arasan differ diff --git a/engines/x86_64/c-arasan.uci b/engines/x86_64/c-arasan.uci new file mode 100644 index 0000000..dcbf033 --- /dev/null +++ b/engines/x86_64/c-arasan.uci @@ -0,0 +1,88 @@ +[DEFAULT] +Threads = 1 +Hash = 32 + +[Elo@1000] +UCI_Elo = 1000 +UCI_LimitStrength = true + +[Elo@1080] +UCI_Elo = 1080 +UCI_LimitStrength = true + +[Elo@1160] +UCI_Elo = 1160 +UCI_LimitStrength = true + +[Elo@1240] +UCI_Elo = 1240 +UCI_LimitStrength = true + +[Elo@1320] +UCI_Elo = 1320 +UCI_LimitStrength = true + +[Elo@1400] +UCI_Elo = 1400 +UCI_LimitStrength = true + +[Elo@1480] +UCI_Elo = 1480 +UCI_LimitStrength = true + +[Elo@1560] +UCI_Elo = 1560 +UCI_LimitStrength = true + +[Elo@1640] +UCI_Elo = 1640 +UCI_LimitStrength = true + +[Elo@1720] +UCI_Elo = 1720 +UCI_LimitStrength = true + +[Elo@1800] +UCI_Elo = 1800 +UCI_LimitStrength = true + +[Elo@1880] +UCI_Elo = 1880 +UCI_LimitStrength = true + +[Elo@1960] +UCI_Elo = 1960 +UCI_LimitStrength = true + +[Elo@2040] +UCI_Elo = 2040 +UCI_LimitStrength = true + +[Elo@2120] +UCI_Elo = 2120 +UCI_LimitStrength = true + +[Elo@2200] +UCI_Elo = 2200 +UCI_LimitStrength = true + +[Elo@2280] +UCI_Elo = 2280 +UCI_LimitStrength = true + +[Elo@2360] +UCI_Elo = 2360 +UCI_LimitStrength = true + +[Elo@2440] +UCI_Elo = 2440 +UCI_LimitStrength = true + +[Elo@2520] +UCI_Elo = 2520 +UCI_LimitStrength = true + +[Elo@2600] +UCI_Elo = 2600 +UCI_LimitStrength = false + diff --git a/engines/x86_64/d-rodnt3 b/engines/x86_64/d-rodnt3 new file mode 100644 index 0000000..6338c76 Binary files /dev/null and b/engines/x86_64/d-rodnt3 differ diff --git a/engines/x86_64/d-rodnt3.uci b/engines/x86_64/d-rodnt3.uci new file mode 100644 index 0000000..73b2ea8 --- /dev/null +++ b/engines/x86_64/d-rodnt3.uci @@ -0,0 +1,2364 @@ +[Andy] +; Andy +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; weak, attacker +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 20 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 300 +EvalBlur = 36 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Arthur] +; Arthur +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; 1900-ish personality that likes attack and restraint, slow thinker +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 950 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 130 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 130 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 12 +ReturningB = 20 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 4500 +EvalBlur = 0 +Contempt = 0 +SlowMover = 120 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/grandpa.bin +MainBookFile = small.bin + +[Brute] +; Brute +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; materialist, stripped of some fancy eval staff and material tuning results, high king tropism +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 0 +Material = 120 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 100 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 0 +ReturningB = 0 +PawnMass = 0 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Careless] +; Careless +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; ignores pawn structure, low interest in king attack +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 50 +OppAttack = 50 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 0 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 0 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Caveman] +; Caveman +; Personality for Rodent III chess engine, version 0.210 or later +; stripped of most of knowledge, relies mostly on raw calculating power. +PawnValueMg = 100 +KnightValueMg = 334 +BishopValueMg = 335 +RookValueMg = 500 +QueenValueMg = 975 +PawnValueEg = 100 +KnightValueEg = 334 +BishopValueEg = 335 +RookValueEg = 500 +QueenValueEg = 975 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = 0 +RookPair = 0 +KnightLikesClosed = 0 +RookLikesOpen = 0 +MajorUp = 0 +MinorUp = 0 +BothUp = 0 +ExchangeImbalance = 0 +MinorVsQueen = 0 +TwoMinors = 0 +Material = 100 +OwnAttack = 0 +OppAttack = 0 +OwnMobility = 0 +OppMobility = 0 +KingTropism = 100 +PiecePlacement = 80 +PiecePressure = 0 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 0 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +Center = 0 +DoubledPawnMg = -25 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 0 +ReturningB = 0 +PawnMass = 0 +PawnChains = 0 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = small.bin +MainBookFile = small.bin + +[Deborah] +; Deborah +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; defensive player that likes bishops +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 5 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 85 +OppAttack = 115 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 125 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Defender] +; Defender +; Personality for Rodent III chess engine, version 0.210 or later +; by Pawel Koziol +; personality that weights enemy attack and mobility marginally higher +; this is one of the strongest settings +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 105 +OwnAttack = 100 +OppAttack = 110 +OwnMobility = 100 +OppMobility = 105 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 110 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Drunk] +; Drunk +; Personality for Rodent III chess engine, version 0.210 or later +; huge random factor in eval and messy openings +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 1000 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-exoticbook.bin +MainBookFile = rodent.bin + +[Expert] +; Expert +; Personality for Rodent III chess engine, version 0.210 or later +PawnValueMg = 100 +KnightValueMg = 325 +BishopValueMg = 325 +RookValueMg = 500 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 325 +BishopValueEg = 325 +RookValueEg = 500 +QueenValueEg = 1000 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +RookPair = -10 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 50 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 0 +TwoMinors = 45 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 100 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 75 +PawnShield = 130 +PawnStorm = 100 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -24 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 5000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = small.bin +MainBookFile = small.bin + +[Fighter] +; Fighter +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Likes sacrificing pawns and restricting opponent's mobility. +PawnValueMg = 85 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 100 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 90 +OwnAttack = 105 +OppAttack = 100 +OwnMobility = 140 +OppMobility = 110 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 80 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Fiona] +; Fiona +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Fiona likes fianchetto and uses non-default piece/square table +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 105 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 30 +ReturningB = 15 +PawnMass = 100 +PawnChains = 200 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Frank] +; Frank +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; weak, rushes forward +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 200 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 88 +EvalBlur = 50 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = micro.bin +MainBookFile = micro.bin + +[Frederick] +; Frederick +; Personality for Rodent III chess engine, version 0.210 or later +; 1900-ish player that likes thrusting his pieces forward +; the funny thing is that he likes flank openings as well +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 120 +PawnStorm = 120 +Forwardness = 200 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 4000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/flank.bin +MainBookFile = small.bin + +[Garbiel] +; Gabriel +; Personality for Rodent III chess engine, version 0.210 or later +; author: Pawel Koziol +; Gabriel is for gambits! +; Estimated strength: 2000 Elo +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 80 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 6000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = ph-gambitbook.bin +MainBookFile = micro.bin + +[Grumpy] +; Grumpy +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; based on attack and restraint, likes closed positions, slight contempt +; meant to simulate strong elderly player +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 120 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 120 +Lines = 100 +Outposts = 120 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 15 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Lasker] +; Lasker +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +PawnValueMg = 95 +KnightValueMg = 341 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 960 +PawnValueEg = 110 +KnightValueEg = 335 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 972 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 104 +OwnAttack = 71 +OppAttack = 101 +OwnMobility = 96 +OppMobility = 96 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 111 +PassedPawns = 105 +PawnStructure = 96 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Marshall] +; Marshall +; Personality for Rodent III chess engine, version 0.210 or later +; by Pawel Koziol +; hommage to Frank Marshall (1877-1944) +; very high attack, very high mobility, sacrificial, likes knights +PawnValueMg = 95 +KnightValueMg = 320 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 325 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 25 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 90 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 25 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 90 +Lines = 100 +Outposts = 75 +PawnShield = 120 +PawnStorm = 100 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 0 +ReturningB = 0 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Matthew] +; Matthew +; Personality for Rodent III chess engine, version 0.210 or later +; Materialist, slightly below 2000 mark +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 524 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 539 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 120 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 3600 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = small.bin + +[Morgenstern] +; Morgenstern +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; symmetric violent attacker, piece values spaced further apart than usual +PawnValueMg = 95 +KnightValueMg = 335 +BishopValueMg = 322 +RookValueMg = 540 +QueenValueMg = 1070 +PawnValueEg = 110 +KnightValueEg = 314 +BishopValueEg = 320 +RookValueEg = 555 +QueenValueEg = 1083 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 150 +OppAttack = 150 +OwnMobility = 110 +OppMobility = 110 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 103 +PawnStructure = 107 +Lines = 120 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 107 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Nancy] +; Nancy personality for Rodent III +; author: Pawel Koziol +; attacking player who likes closed positions, approx. elo 2300 +; Personality for Rodent III chess engine, version 0.210 or later +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 120 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 110 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 100 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 16 +ReturningB = 12 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 38000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Open] +; Open +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; likes mobility, bishops and open positions +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -2 +KeepKnight = 0 +KeepBishop = 6 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 4 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 110 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Pawnsacker] +;Pawnsacker +;Personality for Rodent III chess engine, version 0.210 or later +;Created by Pawel Koziol +;Balanced personality, slightly less materialistic than default. +PawnValueMg = 90 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -1 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 90 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Preston] +; Preston +; Personality for Rodent III chess engine, version 0.210 or later +; Slightly materialistic, likes to pressurize the opponent in various ways +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 5 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 110 +OwnAttack = 105 +OppAttack = 100 +OwnMobility = 110 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 20 +Center = 100 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 15 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Sloth] +; Sloth +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes bishops and closed positions +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 2 +KeepKnight = 0 +KeepBishop = 4 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 7 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 133 +PawnShield = 119 +PawnStorm = 99 +Forwardness = -25 +Center = 66 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 24 +ReturningB = 12 +PawnMass = 120 +PawnChains = 200 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Smart] +; Smart +; Personality for Rodent III chess engine, version 0.210 or later +; Created by Pawel Koziol +; Overemphasizes positional factors +; likely to sacrifice exchange or to play with minor pieces against queen +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = 0 +MinorVsQueen = 16 +Material = 100 +OwnAttack = 110 +OppAttack = 100 +OwnMobility = 110 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 200 +Outposts = 200 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 75 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 24 +ReturningB = 12 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/tricky.bin +MainBookFile = rodent.bin + +[Solid] +;Solid +;Personality for Rodent III chess engine, version 0.210 or later +;created by Pawel Koziol +PawnValueMg = 100 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 115 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 105 +OwnAttack = 80 +OppAttack = 80 +OwnMobility = 80 +OppMobility = 80 +KingTropism = 20 +PiecePlacement = 105 +PiecePressure = 109 +PassedPawns = 110 +PawnStructure = 133 +Lines = 100 +Outposts = 95 +PawnShield = 133 +PawnStorm = 99 +Forwardness = -50 +Center = 133 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 110 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[Spitfire] +; Spitfire +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes active positions, detests being under attack +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 332 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 330 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 150 +OwnMobility = 150 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 120 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 20 +SlowMover = 90 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/active.bin +MainBookFile = rodent.bin + +[Stalker] +; Stalker +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes following enemy king with own pieces +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 90 +OppAttack = 90 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 100 +PiecePlacement = 100 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 1 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/solid.bin +MainBookFile = rodent.bin + +[StoneGolem] +; Stone_golem +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 5 +KeepBishop = 0 +KeepRook = -5 +KeepQueen = 0 +BishopPair = 40 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 8 +RookLikesOpen = 3 +ExchangeImbalance = -10 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 90 +PassedPawns = 100 +PawnStructure = 150 +Lines = 100 +Outposts = 150 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 20 +ReturningB = 10 +PawnMass = 200 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = -5 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Swapper] +; Swapper +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; likes to exchange pieces; high draw rate +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = -2 +KeepKnight = -6 +KeepBishop = -6 +KeepRook = -10 +KeepQueen = -18 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 100 +OwnAttack = 100 +OppAttack = 100 +OwnMobility = 100 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 50 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = -25 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide.bin +MainBookFile = rodent.bin + +[Theresa] +; Theresa +; Personality for Rodent III chess engine, version 0.210 or later +; Tricky player with a tendency to sacrifice, lowered attack and raised positional factors +PawnValueMg = 93 +KnightValueMg = 312 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 980 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 993 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 30 +MinorVsQueen = 12 +TwoMinors = 44 +Material = 85 +OwnAttack = 50 +OppAttack = 70 +OwnMobility = 120 +OppMobility = 100 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 105 +Outposts = 90 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 0 +Center = 100 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 120 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 9000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-exoticbook.bin +MainBookFile = small.bin + +[Tortoise] +; Tortoise +; Personality for Rodent III chess engine, version 0.210 or later +; slow and plays backwards +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 1 +KeepKnight = 2 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 51 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 10 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 25 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 100 +OwnAttack = 100 +OppAttack = 120 +OwnMobility = 100 +OppMobility = 120 +KingTropism = 20 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 200 +Lines = 100 +Outposts = 160 +PawnShield = 120 +PawnStorm = 90 +Forwardness = -25 +Center = 50 +DoubledPawnMg = -12 +DoubledPawnEg = -23 +IsolatedPawnMg = -10 +IsolatedPawnEg = -20 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 30 +ReturningB = 20 +PawnMass = 100 +PawnChains = 100 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 0 +SlowMover = 125 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = guide/low.bin +MainBookFile = rodent.bin + +[Victor] +; Victor +; Personality for Rodent III chess engine, version 0.210 or later +; Victor is violent and plays gambits. +; +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1000 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 0 +BishopPair = 50 +KnightPair = -10 +RookPair = -10 +KnightLikesClosed = 6 +RookLikesOpen = 3 +MajorUp = 60 +MinorUp = 53 +BothUp = 80 +ExchangeImbalance = 0 +MinorVsQueen = 4 +TwoMinors = 44 +Material = 90 +OwnAttack = 300 +OppAttack = 100 +OwnMobility = 115 +OppMobility = 100 +KingTropism = 50 +PiecePlacement = 75 +PiecePressure = 109 +PassedPawns = 100 +PawnStructure = 80 +Lines = 120 +Outposts = 78 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 50 +Center = 100 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 0 +ReturningB = 0 +PawnMass = 100 +PawnChains = 80 +PstStyle = 2 +MobilityStyle = 0 +NpsLimit = 35000 +EvalBlur = 0 +Contempt = 0 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +BookFilter = 20 +RiskyDepth = 0 +GuideBookFile = ph-gambitbook.bin +MainBookFile = rodent.bin + +[Wild] +; Wild +; Personality for Rodent III chess engine, version 0.210 or later +; created by Pawel Koziol +; sacrificial attacker, emphasis on mobility +PawnValueMg = 95 +KnightValueMg = 310 +BishopValueMg = 322 +RookValueMg = 514 +QueenValueMg = 1013 +PawnValueEg = 110 +KnightValueEg = 305 +BishopValueEg = 320 +RookValueEg = 529 +QueenValueEg = 1013 +KeepPawn = 0 +KeepKnight = 0 +KeepBishop = 0 +KeepRook = 0 +KeepQueen = 25 +BishopPair = 60 +KnightPair = -9 +RookPair = -9 +KnightLikesClosed = 6 +RookLikesOpen = 3 +ExchangeImbalance = 30 +MinorVsQueen = 4 +Material = 80 +OwnAttack = 150 +OppAttack = 100 +OwnMobility = 200 +OppMobility = 150 +KingTropism = 100 +PiecePlacement = 75 +PiecePressure = 150 +PassedPawns = 100 +PawnStructure = 100 +Lines = 100 +Outposts = 95 +PawnShield = 119 +PawnStorm = 99 +Forwardness = 100 +Center = 100 +DoubledPawnMg = -23 +DoubledPawnEg = -12 +IsolatedPawnMg = -10 +IsolatedPawnEg = -8 +IsolatedOnOpenMg = -10 +BackwardPawnMg = -8 +BackwardPawnEg = -10 +BackwardOnOpenMg = -8 +Fianchetto = 6 +ReturningB = 10 +PawnMass = 100 +PawnChains = 100 +PstStyle = 0 +MobilityStyle = 0 +NpsLimit = 0 +EvalBlur = 0 +Contempt = 25 +SlowMover = 100 +Selectivity = 175 +SearchSkill = 10 +RiskyDepth = 0 +BookFilter = 20 +GuideBookFile = ph-gambitbook.bin +MainBookFile = rodent.bin diff --git a/engines/x86_64/e-zurich b/engines/x86_64/e-zurich new file mode 100644 index 0000000..6fc4d16 Binary files /dev/null and b/engines/x86_64/e-zurich differ diff --git a/engines/x86_64/e-zurich.uci b/engines/x86_64/e-zurich.uci new file mode 100644 index 0000000..930856f --- /dev/null +++ b/engines/x86_64/e-zurich.uci @@ -0,0 +1,63 @@ +[Level@00] +Handicap Level = 0 + +[Level@01] +Handicap Level = 1 + +[Level@02] +Handicap Level = 2 + +[Level@03] +Handicap Level = 3 + +[Level@04] +Handicap Level = 4 + +[Level@05] +Handicap Level = 5 + +[Level@06] +Handicap Level = 6 + +[Level@07] +Handicap Level = 7 + +[Level@08] +Handicap Level = 8 + +[Level@09] +Handicap Level = 9 + +[Level@10] +Handicap Level = 10 + +[Level@11] +Handicap Level = 11 + +[Level@12] +Handicap Level = 12 + +[Level@13] +Handicap Level = 13 + +[Level@14] +Handicap Level = 14 + +[Level@15] +Handicap Level = 15 + +[Level@16] +Handicap Level = 16 + +[Level@17] +Handicap Level = 17 + +[Level@18] +Handicap Level = 18 + +[Level@19] +Handicap Level = 19 + +[Level@20] +Handicap Level = 20 + diff --git a/engines/x86_64/f-wyld b/engines/x86_64/f-wyld new file mode 100644 index 0000000..8a94bfd Binary files /dev/null and b/engines/x86_64/f-wyld differ diff --git a/engines/x86_64/f-wyld.uci b/engines/x86_64/f-wyld.uci new file mode 100644 index 0000000..831033c --- /dev/null +++ b/engines/x86_64/f-wyld.uci @@ -0,0 +1,55 @@ +[Default] +PawnValueMg = 90 +PawnValueEg = 100 +KnightValueMg = 400 +KnightValueEg = 320 +BishopValueMg = 400 +BishopValueEg = 330 +RookValueMg = 700 +RookValueEg = 550 +QueenValueMg = 1300 +QueenValueEg = 1100 +KingShelterCloseMg = 20 +KingShelterCloseEg = 10 +KingShelterFarMg = 10 +KingShelterFarEg = 5 +DoubledPawnsMg = -10 +DoubledPawnsEg = -10 +IsolatedPawnMg = -10 +IsolatedPawnEg = -10 +BishopPairMg = 50 +BishopPairEg = 80 +RookOn7thMg = 40 +RookOn7thEg = 20 +RookOpenFileMg = 20 +RookOpenFileEg = 20 +RookSemiOpenFileMg = 5 +RookSemiOpenFileEg = 5 +KnightOutpostMg = 20 +KnightOutpostEg = 10 +BishopOutpostMg = 10 +BishopOutpostEg = 5 +KnightKingAtkWt = 3 +BishopKingAtkWt = 3 +RookKingAtkWt = 4 +QueenKingAtkWt = 5 +KnightMobilityWt = 8 +BishopMobilityWt = 5 +RookMobilityWt = 5 +QueenMobilityWt = 4 + +[Drunken] +RookOn7thMg = 60 +RookOn7thEg = 40 +RookOpenFileMg = 30 +RookOpenFileEg = 30 +RookSemiOpenFileMg = 15 +RookSemiOpenFileEg = 15 +KnightKingAtkWt = 8 +BishopKingAtkWt = 8 +RookKingAtkWt = 10 +QueenKingAtkWt = 12 +KnightMobilityWt = 8 +BishopMobilityWt = 8 +RookMobilityWt = 8 +QueenMobilityWt = 10 \ No newline at end of file diff --git a/engines/x86_64/g-galjoe b/engines/x86_64/g-galjoe new file mode 100644 index 0000000..7e178a3 Binary files /dev/null and b/engines/x86_64/g-galjoe differ diff --git a/engines/x86_64/g-galjoe.uci b/engines/x86_64/g-galjoe.uci new file mode 100644 index 0000000..0c017b2 --- /dev/null +++ b/engines/x86_64/g-galjoe.uci @@ -0,0 +1,44 @@ +[Elo@1500] +UCI_Elo = 1500 +UCI_LimitStrength = true + +[Elo@1570] +UCI_Elo = 1570 +UCI_LimitStrength = true + +[Elo@1640] +UCI_Elo = 1640 +UCI_LimitStrength = true + +[Elo@1710] +UCI_Elo = 1710 +UCI_LimitStrength = true + +[Elo@1780] +UCI_Elo = 1780 +UCI_LimitStrength = true + +[Elo@1850] +UCI_Elo = 1850 +UCI_LimitStrength = true + +[Elo@1920] +UCI_Elo = 1920 +UCI_LimitStrength = true + +[Elo@1990] +UCI_Elo = 1990 +UCI_LimitStrength = true + +[Elo@2060] +UCI_Elo = 2060 +UCI_LimitStrength = true + +[Elo@2130] +UCI_Elo = 2130 +UCI_LimitStrength = true + +[Elo@2200] +UCI_Elo = 2200 +UCI_LimitStrength = false + diff --git a/engines/x86_64/h-sayuri b/engines/x86_64/h-sayuri new file mode 100644 index 0000000..6083390 Binary files /dev/null and b/engines/x86_64/h-sayuri differ diff --git a/etc/README.md b/etc/README.md new file mode 100644 index 0000000..6cf85e1 --- /dev/null +++ b/etc/README.md @@ -0,0 +1,10 @@ +General +======= +This folder is for startup files to let picochess start automatically. These files are the new versions you should use +from jessie system onwards. Please copy *.service & *.target files to the "/etc/systemd/system" folder. The dgtpi* files +you only need if you have a DgtPi chess computer. + + +If you have problems please don't hassitate to contact me over eMail or skype. + +LocutusOfPenguin diff --git a/etc/dgtpi.service b/etc/dgtpi.service new file mode 100644 index 0000000..c703090 --- /dev/null +++ b/etc/dgtpi.service @@ -0,0 +1,11 @@ +[Unit] +Description=DGT Pi Hello +DefaultDependencies=false + +[Service] +Type=oneshot +ExecStart=/opt/picochess/etc/dgtpicom " DGT P| " 1 +WorkingDirectory=/opt/picochess/etc/ + +[Install] +WantedBy=basic.target diff --git a/etc/dgtpicom b/etc/dgtpicom new file mode 100644 index 0000000..a7124da Binary files /dev/null and b/etc/dgtpicom differ diff --git a/etc/dgtpicom.so b/etc/dgtpicom.so new file mode 100644 index 0000000..1f03ff6 Binary files /dev/null and b/etc/dgtpicom.so differ diff --git a/etc/dgtpicom.x86.so b/etc/dgtpicom.x86.so new file mode 100644 index 0000000..65461d0 Binary files /dev/null and b/etc/dgtpicom.x86.so differ diff --git a/etc/dgtpistandby.service b/etc/dgtpistandby.service new file mode 100644 index 0000000..e27b20b --- /dev/null +++ b/etc/dgtpistandby.service @@ -0,0 +1,32 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Emergency Shell +Documentation=man:sulogin(8) +DefaultDependencies=no +Conflicts=shutdown.target +Conflicts=rescue.service +Conflicts=emergency.service +Conflicts=syslog.socket +Before=shutdown.target + +[Service] +Environment=HOME=/root +WorkingDirectory=/root +ExecStartPre=-/bin/plymouth quit +ExecStartPre=-/bin/umount /boot +ExecStartPre=-/bin/mount -no remount,ro / +#ExecStart=-/bin/sh -c "/sbin/sulogin; /bin/systemctl --fail --no-block default" +ExecStart=/bin/sh -c "/opt/picochess/etc/dgtpicom; /bin/systemctl --fail --no-block default" +Type=idle +StandardInput=tty-force +StandardOutput=inherit +StandardError=inherit +KillMode=process +IgnoreSIGPIPE=no +SendSIGHUP=yes diff --git a/etc/dgtpistandby.target b/etc/dgtpistandby.target new file mode 100644 index 0000000..86f2d61 --- /dev/null +++ b/etc/dgtpistandby.target @@ -0,0 +1,7 @@ +# use with sudo systemctl isolate dgtpistandby.target + +[Unit] +Description=Standby mode for DGT Pi +Requires=dgtpistandby.service +After=dgtpistandby.service +AllowIsolate=yes diff --git a/etc/hciuart.service b/etc/hciuart.service new file mode 100644 index 0000000..8d70a7f --- /dev/null +++ b/etc/hciuart.service @@ -0,0 +1,12 @@ +[Unit] +Description=Configure Bluetooth Modems connected by UART +ConditionPathIsDirectory=/proc/device-tree/soc/gpio@7e200000/bt_pins +Before=bluetooth.service +After=dev-serial1.device + +[Service] +Type=forking +ExecStart=/usr/bin/hciattach /dev/serial1 bcm43xx 115200 noflow - + +[Install] +WantedBy=multi-user.target diff --git a/etc/picochess.service b/etc/picochess.service new file mode 100644 index 0000000..697ab1e --- /dev/null +++ b/etc/picochess.service @@ -0,0 +1,11 @@ +[Unit] +Description=PicoChess stand alone chess computer based on DGT board + +[Service] +Type=simple +ExecStart=/usr/bin/python3 /opt/picochess/picochess.py +ExecStop=/usr/bin/pkill -f picochess.py +WorkingDirectory=/opt/picochess/ + +[Install] +WantedBy=multi-user.target diff --git a/games/.gitignore b/games/.gitignore new file mode 100644 index 0000000..86d0cb2 --- /dev/null +++ b/games/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore \ No newline at end of file diff --git a/logs/.gitignore b/logs/.gitignore new file mode 100644 index 0000000..86d0cb2 --- /dev/null +++ b/logs/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore \ No newline at end of file diff --git a/manual/ChessAlpha2.ttf b/manual/ChessAlpha2.ttf new file mode 100644 index 0000000..4eb0607 Binary files /dev/null and b/manual/ChessAlpha2.ttf differ diff --git a/manual/PicoChess_0.9m_Reference_Card.pdf b/manual/PicoChess_0.9m_Reference_Card.pdf new file mode 100644 index 0000000..b90f98f Binary files /dev/null and b/manual/PicoChess_0.9m_Reference_Card.pdf differ diff --git a/manual/ShortManual.odt b/manual/ShortManual.odt new file mode 100644 index 0000000..bbda23e Binary files /dev/null and b/manual/ShortManual.odt differ diff --git a/manual/ShortManual.pdf b/manual/ShortManual.pdf new file mode 100644 index 0000000..18fd1d3 Binary files /dev/null and b/manual/ShortManual.pdf differ diff --git a/manual/chess-alpha-2-notes.pdf b/manual/chess-alpha-2-notes.pdf new file mode 100644 index 0000000..7927328 Binary files /dev/null and b/manual/chess-alpha-2-notes.pdf differ diff --git a/manual/readme.txt b/manual/readme.txt new file mode 100644 index 0000000..3631f20 --- /dev/null +++ b/manual/readme.txt @@ -0,0 +1,8 @@ +ShortManual.pdf contains a PicoChess manual that fits to one A4 page. Print it and +store it under the board. + +If you want to edit the file simply open ShortManual.odt. Make sure you have +the required fonts installed and at the printing dialog select PageLayout -> +Pages per sheet = 2 and select "draw border". + +Have fun. \ No newline at end of file diff --git a/manual/required_fonts.txt b/manual/required_fonts.txt new file mode 100644 index 0000000..5e7ee29 --- /dev/null +++ b/manual/required_fonts.txt @@ -0,0 +1 @@ +To maintain the layout you need to install the provided ChessAlpha2 font \ No newline at end of file diff --git a/pgn.py b/pgn.py new file mode 100644 index 0000000..29049d3 --- /dev/null +++ b/pgn.py @@ -0,0 +1,274 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import threading +import base64 +import datetime +import logging +import os +import queue +from email import encoders +from email.mime.multipart import MIMEMultipart +from email.mime.audio import MIMEAudio +from email.mime.base import MIMEBase +from email.mime.image import MIMEImage +from email.mime.text import MIMEText +import mimetypes +import requests + +import chess +import chess.pgn +from utilities import DisplayMsg +from dgt.api import Message +from dgt.util import GameResult, PlayMode, Mode + + +class Emailer(object): + + """Handle eMail with subject, body and an attached file.""" + + def __init__(self, email=None, mailgun_key=None): + if email: # check if email address is provided by picochess.ini + self.email = email + else: + self.email = False + self.smtp_server = None + self.smtp_encryption = None + self.smtp_user = None + self.smtp_pass = None + self.smtp_from = None + + if email and mailgun_key: + self.mailgun_key = base64.b64decode(str.encode(mailgun_key)).decode('utf-8') + else: + self.mailgun_key = False + + def _use_smtp(self, subject, body, path): + # if self.smtp_server is not provided than don't try to send email via smtp service + logging.debug('SMTP Mail delivery: Started') + # change to smtp based mail delivery + # depending on encrypted mail delivery, we need to import the right lib + if self.smtp_encryption: + # lib with ssl encryption + logging.debug('SMTP Mail delivery: Import SSL SMTP Lib') + from smtplib import SMTP_SSL as SMTP + else: + # lib without encryption (SMTP-port 21) + logging.debug('SMTP Mail delivery: Import standard SMTP Lib (no SSL encryption)') + from smtplib import SMTP + conn = False + try: + outer = MIMEMultipart() + outer['Subject'] = subject # put subject to mail + outer['From'] = 'Your PicoChess computer <{}>'.format(self.smtp_from) + outer['To'] = self.email + outer.attach(MIMEText(body, 'plain')) # pack the pgn to Email body + + ctype, encoding = mimetypes.guess_type(path) + if ctype is None or encoding is not None: + ctype = 'application/octet-stream' + maintype, subtype = ctype.split('/', 1) + if maintype == 'text': + with open(path) as fpath: + msg = MIMEText(fpath.read(), _subtype=subtype) + elif maintype == 'image': + with open(path, 'rb') as fpath: + msg = MIMEImage(fpath.read(), _subtype=subtype) + elif maintype == 'audio': + with open(path, 'rb') as fpath: + msg = MIMEAudio(fpath.read(), _subtype=subtype) + else: + with open(path, 'rb') as fpath: + msg = MIMEBase(maintype, subtype) + msg.set_payload(fpath.read()) + encoders.encode_base64(msg) + msg.add_header('Content-Disposition', 'attachment', filename=os.path.basename(path)) + outer.attach(msg) + + logging.debug('SMTP Mail delivery: trying to connect to ' + self.smtp_server) + conn = SMTP(self.smtp_server) # contact smtp server + conn.set_debuglevel(False) # no debug info from smtp lib + if self.smtp_user is not None and self.smtp_pass is not None: + logging.debug('SMTP Mail delivery: trying to log to SMTP Server') + conn.login(self.smtp_user, self.smtp_pass) # login at smtp server + + logging.debug('SMTP Mail delivery: trying to send email') + conn.sendmail(self.smtp_from, self.email, outer.as_string()) + logging.debug('SMTP Mail delivery: successfuly delivered message to SMTP server') + except Exception as smtp_exc: + logging.error('SMTP Mail delivery: Failed') + logging.error('SMTP Mail delivery: ' + str(smtp_exc)) + finally: + if conn: + conn.close() + logging.debug('SMTP Mail delivery: Ended') + + def _use_mailgun(self, subject, body): + out = requests.post('https://api.mailgun.net/v3/picochess.org/messages', + auth=('api', self.mailgun_key), + data={'from': 'Your PicoChess computer ', + 'to': self.email, + 'subject': subject, + 'text': body}) + logging.debug(out) + + def set_smtp(self, sserver=None, sencryption=None, suser=None, spass=None, sfrom=None): + """Store information for SMTP based mail delivery.""" + self.smtp_server = sserver + self.smtp_encryption = sencryption + self.smtp_user = suser + self.smtp_pass = spass + self.smtp_from = sfrom + + def send(self, subject: str, body: str, path: str): + """Send the email out.""" + if self.email: # check if email adress to send the pgn to is provided + if self.mailgun_key: # check if we have mailgun-key available to send the pgn successful + self._use_mailgun(subject=subject, body=body) + if self.smtp_server: # check if smtp server adress provided + self._use_smtp(subject=subject, body=body, path=path) + + +class PgnDisplay(DisplayMsg, threading.Thread): + + """Deal with DisplayMessages related to pgn.""" + + def __init__(self, file_name: str, emailer: Emailer): + super(PgnDisplay, self).__init__() + self.file_name = file_name + self.emailer = emailer + + self.engine_name = '?' + self.old_engine = '?' + self.user_name = '?' + self.location = '?' + self.level_text = None + self.level_name = '' + self.user_elo = '-' + self.engine_elo = '-' + self.startime = datetime.datetime.now().strftime('%H:%M:%S') + + def _save_and_email_pgn(self, message): + logging.debug('Saving game to [%s]', self.file_name) + pgn_game = chess.pgn.Game().from_board(message.game) + + # Headers + pgn_game.headers['Event'] = 'PicoChess game' + pgn_game.headers['Site'] = self.location + pgn_game.headers['Date'] = datetime.date.today().strftime('%Y.%m.%d') + + if message.result == GameResult.DRAW: + pgn_game.headers['Result'] = '1/2-1/2' + elif message.result in (GameResult.WIN_WHITE, GameResult.WIN_BLACK): + pgn_game.headers['Result'] = '1-0' if message.result == GameResult.WIN_WHITE else '0-1' + elif message.result == GameResult.OUT_OF_TIME: + pgn_game.headers['Result'] = '0-1' if message.game.turn == chess.WHITE else '1-0' + + if self.level_text is None: + engine_level = '' + else: + engine_level = ' ({})'.format(self.level_text.m) + + if self.level_name.startswith('Elo@'): + comp_elo = int(self.level_name[4:]) + engine_level = '' + else: + comp_elo = self.engine_elo + + if message.play_mode == PlayMode.USER_WHITE: + pgn_game.headers['White'] = self.user_name + pgn_game.headers['Black'] = self.engine_name + engine_level + pgn_game.headers['WhiteElo'] = self.user_elo + pgn_game.headers['BlackElo'] = comp_elo + if message.play_mode == PlayMode.USER_BLACK: + pgn_game.headers['White'] = self.engine_name + engine_level + pgn_game.headers['Black'] = self.user_name + pgn_game.headers['WhiteElo'] = comp_elo + pgn_game.headers['BlackElo'] = self.user_elo + + pgn_game.headers['Time'] = self.startime + + # Save to file + file = open(self.file_name, 'a') + exporter = chess.pgn.FileExporter(file) + pgn_game.accept(exporter) + file.flush() + file.close() + self.emailer.send('Game PGN', str(pgn_game), self.file_name) + + def _process_message(self, message): + if False: # switch-case + pass + + elif isinstance(message, Message.SYSTEM_INFO): + self.engine_name = message.info['engine_name'] + self.old_engine = self.engine_name + self.user_name = message.info['user_name'] + self.user_elo = message.info['user_elo'] + + elif isinstance(message, Message.IP_INFO): + self.location = message.info['location'] + + elif isinstance(message, Message.STARTUP_INFO): + self.level_text = message.info['level_text'] + self.level_name = message.info['level_name'] + + elif isinstance(message, Message.LEVEL): + self.level_text = message.level_text + self.level_name = message.level_name + + elif isinstance(message, Message.INTERACTION_MODE): + if message.mode == Mode.REMOTE: + self.old_engine = self.engine_name + self.engine_name = 'Remote Player' + else: + self.engine_name = self.old_engine + + elif isinstance(message, Message.ENGINE_STARTUP): + for index in range(0, len(message.installed_engines)): + eng = message.installed_engines[index] + if eng['file'] == message.file: + self.engine_elo = eng['elo'] + break + + elif isinstance(message, Message.ENGINE_READY): + self.old_engine = self.engine_name = message.engine_name + self.engine_elo = message.eng['elo'] + if not message.has_levels: + self.level_text = None + self.level_name = '' + + elif isinstance(message, Message.GAME_ENDS): + if message.game.move_stack: + self._save_and_email_pgn(message) + + elif isinstance(message, Message.START_NEW_GAME): + self.startime = datetime.datetime.now().strftime('%H:%M:%S') + + else: # Default + pass + + def run(self): + """Call by threading.Thread start() function.""" + logging.info('msg_queue ready') + while True: + # Check if we have something to display + try: + message = self.msg_queue.get() + self._process_message(message) + except queue.Empty: + pass diff --git a/picochess - Copy.ini b/picochess - Copy.ini new file mode 100644 index 0000000..e4156da --- /dev/null +++ b/picochess - Copy.ini @@ -0,0 +1,176 @@ +### =================================== +### = picochess.ini.example v0.9[m-z] = +### =================================== +### Example and description how to configure PicoChess +### To use this file, simply copy this file to picochess.ini and edit the appropriate settings +### When you want to activate a flag/line, please remove the "# " infront of it f.e. "# book = ..." becomes "book = ..." +### Its important you keep this file valid (like here, no leading spaces), otherwise picochess won't work correctly. + +### From v0.71 on some picochess.ini values are overridden when you change their values using the menu system +### Perhaps its a good idea to keep a copy of "picochess.ini" before you are going live with your picochess ;-) +### The section "DGT", "remote-engine", "Mail", and some "Picochess" flags are examples which can only be changed here + +### Lines that start with 3x# are general comments +### Lines that start with 2x# explain the option of the next line that starts with one # +### Lines that start with 1x# are option lines, delete the # to use the option + +### ======================= +### = DGT related options = +### ======================= +## disable-revelation-leds turns OFF the leds on the Revelation II board. If so, please uncomment the next line +# disable-revelation-leds = True +## beep-some-level changes the occurrence of beeps. Minimum value is 0 (no beeps), maximum is 15 (all beeps). +## Please keep in mind: values 0 and 15 making no sense (but allowed) since they are the same as "never" & "always" +## inside the clock menu you can choose between "always", "never" and "some". The value you give inside here, is +## the value of "some". Each part of beeps has a special number and you have to add them to get the beep-some-level +## CONFIG = 1 Takeback, GameEnd, NewGame, ComputerMove and SetPieces +## BUTTON = 2 All Events coming from button press +## MAP = 4 All Events coming from Queen placing at start pos (line3-6) +## OKAY = 8 All Events from "ok" (confirm) messages +## For example to beep on "ok messages" and "button press" beep-some-level is: 8(okay) + 2(button) = 10 +# beep-some-level = 3 +## Specify the serial port your dgt-board is connected to. +## If you dont give a parameter picochess tries to find the board automatically (prefered usage). +# dgt-port = /dev/ttyACM0 +## Instead of connecting to a dgt board, you can also start picochess with a command line. +## If so, please uncomment the next line +enable-console = True +### Handle with care! Only activate this if you have a DGT Pi clock connected. So be careful! +### Also if you activate it but have non-DGT hardware connected (@raspberryPi) you might harm your hardware. +## If you have a new DGT Pi clock please uncomment the next line. +# dgtpi = True +### You can reduce the dgtboard piece recognition by a factor from 0 to 9. Please only use this, if you suffer from +### sliding problems (like multi voices during you slide your pieces for example moving Bf1-b5 hear Be2,d3,c4 then b5). +# slow-slide = 0 + +### ======================== +### = Chess engine options = +### ======================== +### Options for the UCI-Chess engine +## Sets the UCI engine used at startup +## handle with care. If you setup this section wrong, picochess won't start. +## Path to the engine relative to the 'picochess' folder (local engine - standard case) +# engine = engines/armv7l/a-stockf +## What level the engine should have at startup? +## For a (correct) value please take a look at 'engines//.uci' +# engine-level = Level@20 +### ========================= +### = Remote engine options = +### ========================= +## Path to the remote engine - good chances you do not need them ;-) +## Please make sure that you also set 'engine-remote-home' accordingly +# engine-remote = engines/armv7l/a-stockf +### Parameters for a remote engine (server) +## Where is the server with the engine +# engine-remote-server = engine.remote-domain.com +## What user to use for connect to the remote-engine server +# engine-remote-user = user@remote-domain.com +## What password for the remote-engine-server +# engine-remote-pass = your_secret_password +## The secret server-key for the remote-engine-server +# engine-remote-key = your_secret_key +## The home path (where the engines live) for the remote-engine-server +# engine-remote-home = /opt/picochess + +### ========================== +### = Opening book selection = +### ========================== +### Sets the opening book used at startup +## Path of an opening book relative to the 'picochess' folder +## Defaults to book 'h', normally 'h-varied.bin', if not set or not available +# book = books/h-varied.bin + +### ================== +### = Time selection = +### ================== +### Sets the startup time. If you give something like "5 0" that means 5mins blitz (default value) +## Fischer time can be set by changing this "0" (increment value) to a positive number like "3 2" +## Fixed time can be set by just giving one number like "10" meaning 10 secs/move +## You can also give non-standard values (like "4 6"), but then you cant change them inside the (time) menu. +# time = 5 0 + +### ================ +### = Mail Service = +### ================ +### Options for sending the finished game via email service +### PicoChess currently implements two different ways to send a finished game via email. +### standard SMTP email or Mailgun Webservice +### Mail general +### if email is not set, PicoChess won't attempt to send the game at all +## email tells PicoChess to which email address the game should be send to, it should be your email address :-) +# email = your.mailbox@your-domain.com +### ======================================= +### = Section for email delivery via SMTP = +### ======================================= +### if smtp_server is not set, PicoChess won't attempt to send the game via SMTP +## smtp-server must contain the address of your smtp server (e.g. smtp.gmail.com) +# smtp-server = smtp.your-mailserver.com +## smtp-user is necessary if your smtp server requires authentication, sets your username +# smtp-user = your_username +## smtp-pass is necessary if your smtp server requires authentication, sets your password +# smtp-pass = your_secret_password +## Should PicoChess SSL-encrypt the communication with your smtp server (Port 465)? +## Otherwise PicoChess will use the default and unencrypted SMTP Port 21. +## Some SMTP Server require an SSL encryption (e.g. GMAIL). If so, uncomment the next line. +# smtp-encryption = True +## In case the SMTP Server thinks you are spamming, you must enter a valid from email here +# smtp-from = no-reply@picochess.org +### ========================================== +### = Section for email delivery via Mailgun = +### ========================================== +### if mailgun-key is not set, PicoChess won't attempt to send the game via Mailgun +## mailgun-key stores your Mailgun access key for Mailgun Webservice +# mailgun-key = your Mailgun API access key + +### ============================= +### = PicoChess related options = +### ============================= +## log-file points to a file that is used to write the log information. +## This file is created in the 'log' folder. Altogether there are 6 log files kept (rotating logs) +log-file = picochess.log +## What log level should be used +## Loglevel options are [debug, info, warning, error, critical] +log-level = debug +## PicoChess can use human voices for announcement +## Valid voice names are formed from 'talker/voices' folder structure. Please take a look there. +## If you want voice output, please uncomment these settings +## user-voice used for user moves announcement +#user-voice = en:al +## computer-voice for computer moves announcement +#computer-voice = en:christina +## Increase, decrease the voice speed factor. Must be between 0 to 9. Default is 2 (100%) +## Each step is 5% starting from 90% towards 135%. Sets factor for both voices (user/computer) +# speed-voice = 2 +## Speak last computer move again when 'set pieces' displayed +# enable-setpieces-voice = True +## PicoChess writes pgn files at end of game. This file is created in the 'games' folder +pgn-file = games.pgn +## If you want to have your own name in the pgn file uncomment the next line and change accordingly +pgn-user = Brian +## If you want your own ELO-ranking in the pgn file uncomment the next line and change accordingly +# pgn-elo = 1987 +## Picochess will check for a new version at startup. +## This is by default not actived. If you want this feature, please uncomment the next line +# enable-update = True +## After an update should the machine reboot automatically? If so, please uncomment the next line +# enable-update-reboot = True +## The port of the webserver +web-server = 8080 +time = 5 +engine-level = Blais +engine = engines\AMD64\rodent_III_x64 +book = books\i-gm1950.bin +## PicoChess messages can be displayed in English, German, Dutch, French, Spanish or Italian. +## You can set the language with the "language" option. Default is English. +## en = English; de = German; nl = Dutch; fr = French; es = Spanish; it = Italian +# language = en +## When in ponder mode decides how long each info is displayed. Default is 3 secs. +## Must be between 1 to 8 secs. +# ponder-interval = 3 +## Displays messages with only capital letters. Doesn't work on DGTXL/Revelation II due to hardware limits. +## If so, please uncomment the next line. +# enable-capital-letters = True +## Should a confirmation message be displayed? If not, please active the next line +# disable-confirm-message = True +## Should moves be displayed in short notation (only valid for non-XL clocks)? If not, please active the next line +# disable-short-notation = True diff --git a/picochess.ini.example b/picochess.ini.example new file mode 100644 index 0000000..21a274b --- /dev/null +++ b/picochess.ini.example @@ -0,0 +1,172 @@ +### =================================== +### = picochess.ini.example v0.9[m-z] = +### =================================== +### Example and description how to configure PicoChess +### To use this file, simply copy this file to picochess.ini and edit the appropriate settings +### When you want to activate a flag/line, please remove the "# " infront of it f.e. "# book = ..." becomes "book = ..." +### Its important you keep this file valid (like here, no leading spaces), otherwise picochess won't work correctly. + +### From v0.71 on some picochess.ini values are overridden when you change their values using the menu system +### Perhaps its a good idea to keep a copy of "picochess.ini" before you are going live with your picochess ;-) +### The section "DGT", "remote-engine", "Mail", and some "Picochess" flags are examples which can only be changed here + +### Lines that start with 3x# are general comments +### Lines that start with 2x# explain the option of the next line that starts with one # +### Lines that start with 1x# are option lines, delete the # to use the option + +### ======================= +### = DGT related options = +### ======================= +## disable-revelation-leds turns OFF the leds on the Revelation II board. If so, please uncomment the next line +# disable-revelation-leds = True +## beep-some-level changes the occurrence of beeps. Minimum value is 0 (no beeps), maximum is 15 (all beeps). +## Please keep in mind: values 0 and 15 making no sense (but allowed) since they are the same as "never" & "always" +## inside the clock menu you can choose between "always", "never" and "some". The value you give inside here, is +## the value of "some". Each part of beeps has a special number and you have to add them to get the beep-some-level +## CONFIG = 1 Takeback, GameEnd, NewGame, ComputerMove and SetPieces +## BUTTON = 2 All Events coming from button press +## MAP = 4 All Events coming from Queen placing at start pos (line3-6) +## OKAY = 8 All Events from "ok" (confirm) messages +## For example to beep on "ok messages" and "button press" beep-some-level is: 8(okay) + 2(button) = 10 +# beep-some-level = 3 +## Specify the serial port your dgt-board is connected to. +## If you dont give a parameter picochess tries to find the board automatically (prefered usage). +# dgt-port = /dev/ttyACM0 +## Instead of connecting to a dgt board, you can also start picochess with a command line. +## If so, please uncomment the next line +enable-console = True +### Handle with care! Only activate this if you have a DGT Pi clock connected. So be careful! +### Also if you activate it but have non-DGT hardware connected (@raspberryPi) you might harm your hardware. +## If you have a new DGT Pi clock please uncomment the next line. +# dgtpi = True +### You can reduce the dgtboard piece recognition by a factor from 0 to 9. Please only use this, if you suffer from +### sliding problems (like multi voices during you slide your pieces for example moving Bf1-b5 hear Be2,d3,c4 then b5). +# slow-slide = 0 + +### ======================== +### = Chess engine options = +### ======================== +### Options for the UCI-Chess engine +## Sets the UCI engine used at startup +## handle with care. If you setup this section wrong, picochess won't start. +## Path to the engine relative to the 'picochess' folder (local engine - standard case) +# engine = engines/armv7l/a-stockf +## What level the engine should have at startup? +## For a (correct) value please take a look at 'engines//.uci' +# engine-level = Level@20 +### ========================= +### = Remote engine options = +### ========================= +## Path to the remote engine - good chances you do not need them ;-) +## Please make sure that you also set 'engine-remote-home' accordingly +# engine-remote = engines/armv7l/a-stockf +### Parameters for a remote engine (server) +## Where is the server with the engine +# engine-remote-server = engine.remote-domain.com +## What user to use for connect to the remote-engine server +# engine-remote-user = user@remote-domain.com +## What password for the remote-engine-server +# engine-remote-pass = your_secret_password +## The secret server-key for the remote-engine-server +# engine-remote-key = your_secret_key +## The home path (where the engines live) for the remote-engine-server +# engine-remote-home = /opt/picochess + +### ========================== +### = Opening book selection = +### ========================== +### Sets the opening book used at startup +## Path of an opening book relative to the 'picochess' folder +## Defaults to book 'h', normally 'h-varied.bin', if not set or not available +# book = books/h-varied.bin + +### ================== +### = Time selection = +### ================== +### Sets the startup time. If you give something like "5 0" that means 5mins blitz (default value) +## Fischer time can be set by changing this "0" (increment value) to a positive number like "3 2" +## Fixed time can be set by just giving one number like "10" meaning 10 secs/move +## You can also give non-standard values (like "4 6"), but then you cant change them inside the (time) menu. +# time = 5 0 + +### ================ +### = Mail Service = +### ================ +### Options for sending the finished game via email service +### PicoChess currently implements two different ways to send a finished game via email. +### standard SMTP email or Mailgun Webservice +### Mail general +### if email is not set, PicoChess won't attempt to send the game at all +## email tells PicoChess to which email address the game should be send to, it should be your email address :-) +# email = your.mailbox@your-domain.com +### ======================================= +### = Section for email delivery via SMTP = +### ======================================= +### if smtp_server is not set, PicoChess won't attempt to send the game via SMTP +## smtp-server must contain the address of your smtp server (e.g. smtp.gmail.com) +# smtp-server = smtp.your-mailserver.com +## smtp-user is necessary if your smtp server requires authentication, sets your username +# smtp-user = your_username +## smtp-pass is necessary if your smtp server requires authentication, sets your password +# smtp-pass = your_secret_password +## Should PicoChess SSL-encrypt the communication with your smtp server (Port 465)? +## Otherwise PicoChess will use the default and unencrypted SMTP Port 21. +## Some SMTP Server require an SSL encryption (e.g. GMAIL). If so, uncomment the next line. +# smtp-encryption = True +## In case the SMTP Server thinks you are spamming, you must enter a valid from email here +# smtp-from = no-reply@picochess.org +### ========================================== +### = Section for email delivery via Mailgun = +### ========================================== +### if mailgun-key is not set, PicoChess won't attempt to send the game via Mailgun +## mailgun-key stores your Mailgun access key for Mailgun Webservice +# mailgun-key = your Mailgun API access key + +### ============================= +### = PicoChess related options = +### ============================= +## log-file points to a file that is used to write the log information. +## This file is created in the 'log' folder. Altogether there are 6 log files kept (rotating logs) +# log-file = picochess.log +## What log level should be used +## Loglevel options are [debug, info, warning, error, critical] +log-level = debug +## PicoChess can use human voices for announcement +## Valid voice names are formed from 'talker/voices' folder structure. Please take a look there. +## If you want voice output, please uncomment these settings +## user-voice used for user moves announcement +# user-voice = en:al +## computer-voice for computer moves announcement +# computer-voice = en:christina +## Increase, decrease the voice speed factor. Must be between 0 to 9. Default is 2 (100%) +## Each step is 5% starting from 90% towards 135%. Sets factor for both voices (user/computer) +# speed-voice = 2 +## Speak last computer move again when 'set pieces' displayed +# enable-setpieces-voice = True +## PicoChess writes pgn files at end of game. This file is created in the 'games' folder +# pgn-file = games.pgn +## If you want to have your own name in the pgn file uncomment the next line and change accordingly +# pgn-user = player +## If you want your own ELO-ranking in the pgn file uncomment the next line and change accordingly +# pgn-elo = 1987 +## Picochess will check for a new version at startup. +## This is by default not actived. If you want this feature, please uncomment the next line +# enable-update = True +## After an update should the machine reboot automatically? If so, please uncomment the next line +# enable-update-reboot = True +## The port of the webserver +# web-server = 8080 +## PicoChess messages can be displayed in English, German, Dutch, French, Spanish or Italian. +## You can set the language with the "language" option. Default is English. +## en = English; de = German; nl = Dutch; fr = French; es = Spanish; it = Italian +# language = en +## When in ponder mode decides how long each info is displayed. Default is 3 secs. +## Must be between 1 to 8 secs. +# ponder-interval = 3 +## Displays messages with only capital letters. Doesn't work on DGTXL/Revelation II due to hardware limits. +## If so, please uncomment the next line. +# enable-capital-letters = True +## Should a confirmation message be displayed? If not, please active the next line +# disable-confirm-message = True +## Should moves be displayed in short notation (only valid for non-XL clocks)? If not, please active the next line +# disable-short-notation = True diff --git a/picochess.py b/picochess.py new file mode 100644 index 0000000..8fccbb4 --- /dev/null +++ b/picochess.py @@ -0,0 +1,1188 @@ +#!/usr/bin/env python3 + +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import sys +import os +import threading +import copy +import gc +import logging +from logging.handlers import RotatingFileHandler +import time +import queue +import configargparse +from platform import machine + +from uci.engine import UciShell, UciEngine +from uci.read import read_engine_ini +import chess +import chess.polyglot +import chess.uci + +from timecontrol import TimeControl +from utilities import get_location, update_picochess, get_opening_books, shutdown, reboot, checkout_tag +from utilities import Observable, DisplayMsg, version, evt_queue, write_picochess_ini, hms_time, RepeatedTimer +from pgn import Emailer, PgnDisplay +from server import WebServer +from talker.picotalker import PicoTalkerDisplay +from dispatcher import Dispatcher + +from dgt.api import Message, Event +from dgt.util import GameResult, TimeMode, Mode, PlayMode +from dgt.hw import DgtHw +from dgt.pi import DgtPi +from dgt.display import DgtDisplay +from dgt.board import DgtBoard +from dgt.translate import DgtTranslate +from dgt.menu import DgtMenu +from SensorBoard import * + +class AlternativeMover: + + """Keep track of alternative moves.""" + + def __init__(self): + self.excludemoves = set() + + def all(self, game: chess.Board): + """Get all remaining legal moves from game position.""" + searchmoves = set(game.legal_moves) - self.excludemoves + if not searchmoves: + self.reset() + return set(game.legal_moves) + return searchmoves + + def book(self, bookreader, game_copy: chess.Board): + """Get a BookMove or None from game position.""" + try: + choice = bookreader.weighted_choice(game_copy, self.excludemoves) + except IndexError: + return None + + book_move = choice.move() + self.add(book_move) + game_copy.push(book_move) + try: + choice = bookreader.weighted_choice(game_copy) + book_ponder = choice.move() + except IndexError: + book_ponder = None + return chess.uci.BestMove(book_move, book_ponder) + + def add(self, move): + """Add move to the excluded move list.""" + self.excludemoves.add(move) + + def reset(self): + """Reset the exclude move list.""" + self.excludemoves = set() + + +def main(): + """Main function.""" + def display_ip_info(): + """Fire an IP_INFO message with the IP adr.""" + location, ext_ip, int_ip = get_location() + info = {'location': location, 'ext_ip': ext_ip, 'int_ip': int_ip, 'version': version} + DisplayMsg.show(Message.IP_INFO(info=info)) + + def expired_fen_timer(): + """Handle times up for an unhandled fen string send from board.""" + nonlocal fen_timer_running + fen_timer_running = False + if error_fen: + logging.info('wrong fen %s for 3secs', error_fen) + DisplayMsg.show(Message.WRONG_FEN()) + DisplayMsg.show(Message.EXIT_MENU()) + + def stop_fen_timer(): + """Stop the fen timer cause another fen string been send.""" + nonlocal fen_timer_running + nonlocal fen_timer + if fen_timer_running: + fen_timer.cancel() + fen_timer.join() + fen_timer_running = False + + def start_fen_timer(): + """Start the fen timer in case an unhandled fen string been received from board.""" + nonlocal fen_timer_running + nonlocal fen_timer + fen_timer = threading.Timer(3, expired_fen_timer) + fen_timer.start() + fen_timer_running = True + + def compute_legal_fens(game_copy: chess.Board): + """ + Compute a list of legal FENs for the given game. + + :param game_copy: The game + :return: A list of legal FENs + """ + fens = [] + for move in game_copy.legal_moves: + game_copy.push(move) + fens.append(game_copy.board_fen()) + game_copy.pop() + return fens + + def think(game: chess.Board, timec: TimeControl, msg: Message): + """ + Start a new search on the current game. + + If a move is found in the opening book, fire an event in a few seconds. + """ + DisplayMsg.show(msg) + start_clock() + book_res = searchmoves.book(bookreader, game.copy()) + if book_res: + Observable.fire(Event.BEST_MOVE(move=book_res.bestmove, ponder=book_res.ponder, inbook=True)) + else: + while not engine.is_waiting(): + time.sleep(0.05) + logging.warning('engine is still not waiting') + uci_dict = timec.uci() + uci_dict['searchmoves'] = searchmoves.all(game) + engine.position(copy.deepcopy(game)) + engine.go(uci_dict) + + def analyse(game: chess.Board, msg: Message): + """Start a new ponder search on the current game.""" + DisplayMsg.show(msg) + engine.position(copy.deepcopy(game)) + engine.ponder() + + def observe(game: chess.Board, msg: Message): + """Start a new ponder search on the current game.""" + analyse(game, msg) + start_clock() + + def brain(game: chess.Board, timec: TimeControl): + """Start a new permanent brain search on the game with pondering move made.""" + assert not done_computer_fen, 'brain() called with displayed move - fen: %s' % done_computer_fen + if pb_move: + game_copy = copy.deepcopy(game) + game_copy.push(pb_move) + logging.info('start permanent brain with pondering move [%s] fen: %s', pb_move, game_copy.fen()) + engine.position(game_copy) + engine.brain(timec.uci()) + else: + logging.info('ignore permanent brain cause no pondering move available') + + def stop_search_and_clock(ponder_hit=False): + """Depending on the interaction mode stop search and clock.""" + if interaction_mode in (Mode.NORMAL, Mode.BRAIN): + stop_clock() + if engine.is_waiting(): + logging.info('engine already waiting') + else: + if ponder_hit: + pass # we send the engine.hit() lateron! + else: + stop_search() + elif interaction_mode in (Mode.REMOTE, Mode.OBSERVE): + stop_clock() + stop_search() + elif interaction_mode in (Mode.ANALYSIS, Mode.KIBITZ, Mode.PONDER): + stop_search() + + def stop_search(): + """Stop current search.""" + engine.stop() + while not engine.is_waiting(): + time.sleep(0.05) + logging.warning('engine is still not waiting') + + def stop_clock(): + """Stop the clock.""" + if interaction_mode in (Mode.NORMAL, Mode.BRAIN, Mode.OBSERVE, Mode.REMOTE): + time_control.stop_internal() + DisplayMsg.show(Message.CLOCK_STOP(devs={'ser', 'i2c', 'web'})) + time.sleep(0.4) # @todo give some time to clock to really do it. Find a better solution! + else: + logging.warning('wrong function call [stop]! mode: %s', interaction_mode) + + def start_clock(): + """Start the clock.""" + if interaction_mode in (Mode.NORMAL, Mode.BRAIN, Mode.OBSERVE, Mode.REMOTE): + time_control.start_internal(game.turn) + tc_init = time_control.get_parameters() + DisplayMsg.show(Message.CLOCK_START(turn=game.turn, tc_init=tc_init, devs={'ser', 'i2c', 'web'})) + time.sleep(0.4) # @todo give some time to clock to really do it. Find a better solution! + else: + logging.warning('wrong function call [start]! mode: %s', interaction_mode) + + def check_game_state(game: chess.Board, play_mode: PlayMode): + """ + Check if the game has ended or not ; it also sends Message to Displays if the game has ended. + + :param game: + :param play_mode: + :return: False is the game continues, Game_Ends() Message if it has ended + """ + result = None + if game.is_stalemate(): + result = GameResult.STALEMATE + if game.is_insufficient_material(): + result = GameResult.INSUFFICIENT_MATERIAL + if game.is_seventyfive_moves(): + result = GameResult.SEVENTYFIVE_MOVES + if game.is_fivefold_repetition(): + result = GameResult.FIVEFOLD_REPETITION + if game.is_checkmate(): + result = GameResult.MATE + + if result is None: + return False + else: + return Message.GAME_ENDS(result=result, play_mode=play_mode, game=game.copy()) + + def user_move(move: chess.Move, sliding: bool): + """Handle an user move.""" + nonlocal game + nonlocal done_move + nonlocal done_computer_fen + nonlocal time_control + + logging.info('user move [%s] sliding: %s', move, sliding) + if move not in game.legal_moves: + logging.warning('illegal move [%s]', move) + else: + if interaction_mode == Mode.BRAIN: + ponder_hit = (move == pb_move) + logging.info('pondering move: [%s] res: Ponder%s', pb_move, 'Hit' if ponder_hit else 'Miss') + else: + ponder_hit = False + if sliding and ponder_hit: + logging.warning('sliding detected, turn ponderhit off') + ponder_hit = False + stop_search_and_clock(ponder_hit=ponder_hit) + if interaction_mode in (Mode.NORMAL, Mode.BRAIN, Mode.OBSERVE, Mode.REMOTE) and not sliding: + time_control.add_time(game.turn) + + done_computer_fen = None + done_move = chess.Move.null() + fen = game.fen() + turn = game.turn + game.push(move) + searchmoves.reset() + if interaction_mode in (Mode.NORMAL, Mode.BRAIN): + msg = Message.USER_MOVE_DONE(move=move, fen=fen, turn=turn, game=game.copy()) + game_end = check_game_state(game, play_mode) + if game_end: + DisplayMsg.show(msg) + DisplayMsg.show(game_end) + else: + if interaction_mode == Mode.NORMAL or not ponder_hit: + if not check_game_state(game, play_mode): + logging.info('starting think()') + think(game, time_control, msg) + else: + logging.info('think() not started cause ponderhit') + DisplayMsg.show(msg) + start_clock() + engine.hit() # finally tell the engine + elif interaction_mode == Mode.REMOTE: + msg = Message.USER_MOVE_DONE(move=move, fen=fen, turn=turn, game=game.copy()) + game_end = check_game_state(game, play_mode) + if game_end: + DisplayMsg.show(msg) + DisplayMsg.show(game_end) + else: + observe(game, msg) + elif interaction_mode == Mode.OBSERVE: + msg = Message.REVIEW_MOVE_DONE(move=move, fen=fen, turn=turn, game=game.copy()) + game_end = check_game_state(game, play_mode) + if game_end: + DisplayMsg.show(msg) + DisplayMsg.show(game_end) + else: + observe(game, msg) + else: # interaction_mode in (Mode.ANALYSIS, Mode.KIBITZ, Mode.PONDER): + msg = Message.REVIEW_MOVE_DONE(move=move, fen=fen, turn=turn, game=game.copy()) + game_end = check_game_state(game, play_mode) + if game_end: + DisplayMsg.show(msg) + DisplayMsg.show(game_end) + else: + analyse(game, msg) + + def is_not_user_turn(turn): + """Return if it is users turn (only valid in normal, brain or remote mode).""" + assert interaction_mode in (Mode.NORMAL, Mode.BRAIN, Mode.REMOTE), 'wrong mode: %s' % interaction_mode + condition1 = (play_mode == PlayMode.USER_WHITE and turn == chess.BLACK) + condition2 = (play_mode == PlayMode.USER_BLACK and turn == chess.WHITE) + return condition1 or condition2 + + def process_fen(fen: str): + """Process given fen like doMove, undoMove, takebackPosition, handleSliding.""" + nonlocal last_legal_fens + nonlocal searchmoves + nonlocal legal_fens + nonlocal game + nonlocal done_move + nonlocal done_computer_fen + nonlocal pb_move + nonlocal error_fen + + handled_fen = True + # Check for same position + if fen == game.board_fen(): + logging.debug('Already in this fen: %s', fen) + + # Check if we have to undo a previous move (sliding) + elif fen in last_legal_fens: + logging.info('sliding move detected') + if interaction_mode in (Mode.NORMAL, Mode.BRAIN): + if is_not_user_turn(game.turn): + stop_search() + game.pop() + logging.info('user move in computer turn, reverting to: %s', game.fen()) + elif done_computer_fen: + done_computer_fen = None + done_move = chess.Move.null() + game.pop() + logging.info('user move while computer move is displayed, reverting to: %s', game.fen()) + else: + handled_fen = False + logging.error('last_legal_fens not cleared: %s', game.fen()) + elif interaction_mode == Mode.REMOTE: + if is_not_user_turn(game.turn): + game.pop() + logging.info('user move in remote turn, reverting to: %s', game.fen()) + elif done_computer_fen: + done_computer_fen = None + done_move = chess.Move.null() + game.pop() + logging.info('user move while remote move is displayed, reverting to: %s', game.fen()) + else: + handled_fen = False + logging.error('last_legal_fens not cleared: %s', game.fen()) + else: + game.pop() + logging.info('wrong color move -> sliding, reverting to: %s', game.fen()) + legal_moves = list(game.legal_moves) + move = legal_moves[last_legal_fens.index(fen)] # type: chess.Move + user_move(move, sliding=True) + if interaction_mode in (Mode.NORMAL, Mode.BRAIN, Mode.REMOTE): + legal_fens = [] + else: + legal_fens = compute_legal_fens(game.copy()) + + # legal move + elif fen in legal_fens: + logging.info('standard move detected') + # time_control.add_inc(game.turn) # deactivated and moved to user_move() cause tc still running :-( + legal_moves = list(game.legal_moves) + move = legal_moves[legal_fens.index(fen)] # type: chess.Move + user_move(move, sliding=False) + last_legal_fens = legal_fens + if interaction_mode in (Mode.NORMAL, Mode.BRAIN, Mode.REMOTE): + legal_fens = [] + else: + legal_fens = compute_legal_fens(game.copy()) + + # Player had done the computer or remote move on the board + elif fen == done_computer_fen: + logging.info('done move detected') + assert interaction_mode in (Mode.NORMAL, Mode.BRAIN, Mode.REMOTE), 'wrong mode: %s' % interaction_mode + DisplayMsg.show(Message.COMPUTER_MOVE_DONE()) + game.push(done_move) + done_computer_fen = None + done_move = chess.Move.null() + game_end = check_game_state(game, play_mode) + if game_end: + legal_fens = [] + DisplayMsg.show(game_end) + else: + searchmoves.reset() + time_control.add_time(not game.turn) + start_clock() + if interaction_mode == Mode.BRAIN: + brain(game, time_control) + + legal_fens = compute_legal_fens(game.copy()) + last_legal_fens = [] + + # Check if this is a previous legal position and allow user to restart from this position + else: + handled_fen = False + game_copy = copy.deepcopy(game) + while game_copy.move_stack: + game_copy.pop() + if game_copy.board_fen() == fen: + handled_fen = True + logging.info('current game fen : %s', game.fen()) + logging.info('undoing game until fen: %s', fen) + stop_search_and_clock() + while len(game_copy.move_stack) < len(game.move_stack): + game.pop() + + # its a complete new pos, delete safed values + done_computer_fen = None + done_move = pb_move = chess.Move.null() + searchmoves.reset() + + set_wait_state(Message.TAKE_BACK(game=game.copy())) # new: force stop no matter if picochess turn + break + # doing issue #152 + logging.debug('fen: %s result: %s', fen, handled_fen) + stop_fen_timer() + if handled_fen: + error_fen = None + else: + error_fen = fen + start_fen_timer() + + def set_wait_state(msg: Message, start_search=True): + """Enter engine waiting (normal mode) and maybe (by parameter) start pondering.""" + if not done_computer_fen: + nonlocal play_mode, legal_fens, last_legal_fens + legal_fens = compute_legal_fens(game.copy()) + last_legal_fens = [] + if interaction_mode in (Mode.NORMAL, Mode.BRAIN): # @todo handle Mode.REMOTE too + if done_computer_fen: + logging.debug('best move displayed, dont search and also keep play mode: %s', play_mode) + start_search = False + else: + old_mode = play_mode + play_mode = PlayMode.USER_WHITE if game.turn == chess.WHITE else PlayMode.USER_BLACK + if old_mode != play_mode: + logging.debug('new play mode: %s', play_mode) # @todo below: for the moment send it to display too + text = play_mode.value # type: str + DisplayMsg.show(Message.PLAY_MODE(play_mode=play_mode, play_mode_text=dgttranslate.text(text))) + if start_search: + assert engine.is_waiting(), 'engine not waiting! thinking status: %s' % engine.is_thinking() + # Go back to analysing or observing + if interaction_mode == Mode.BRAIN and not done_computer_fen: + brain(game, time_control) + if interaction_mode in (Mode.ANALYSIS, Mode.KIBITZ, Mode.PONDER): + analyse(game, msg) + return + if interaction_mode in (Mode.OBSERVE, Mode.REMOTE): + # observe(game) # dont want to autostart the clock => we are in newgame situation + analyse(game, msg) + return + DisplayMsg.show(msg) + stop_fen_timer() + + def transfer_time(time_list: list): + """Transfer the time list to a TimeControl Object and a Text Object.""" + def _num(time_str): + try: + value = int(time_str) + if value > 99: + value = 99 + return value + except ValueError: + return 1 + + if len(time_list) == 1: + fixed = _num(time_list[0]) + timec = TimeControl(TimeMode.FIXED, fixed=fixed) + textc = dgttranslate.text('B00_tc_fixed', timec.get_list_text()) + elif len(time_list) == 2: + blitz = _num(time_list[0]) + fisch = _num(time_list[1]) + if fisch == 0: + timec = TimeControl(TimeMode.BLITZ, blitz=blitz) + textc = dgttranslate.text('B00_tc_blitz', timec.get_list_text()) + else: + timec = TimeControl(TimeMode.FISCHER, blitz=blitz, fischer=fisch) + textc = dgttranslate.text('B00_tc_fisch', timec.get_list_text()) + else: + timec = TimeControl(TimeMode.BLITZ, blitz=5) + textc = dgttranslate.text('B00_tc_blitz', timec.get_list_text()) + return timec, textc + + def get_engine_level_dict(engine_level): + """Transfer an engine level to its level_dict plus an index.""" + installed_engines = engine.get_installed_engines() + for index in range(0, len(installed_engines)): + eng = installed_engines[index] + if eng['file'] == engine.get_file(): + level_list = sorted(eng['level_dict']) + try: + level_index = level_list.index(engine_level) + return eng['level_dict'][level_list[level_index]], level_index + except ValueError: + break + return {}, None + + def engine_mode(): + ponder_mode = analyse_mode = False + if False: # switch-case + pass + elif interaction_mode in (Mode.NORMAL, Mode.REMOTE): + pass + elif interaction_mode == Mode.BRAIN: + ponder_mode = True + elif interaction_mode in (Mode.ANALYSIS, Mode.KIBITZ, Mode.OBSERVE, Mode.PONDER): + analyse_mode = True + engine.mode(ponder=ponder_mode, analyse=analyse_mode) + + def _dgt_serial_nr(): + DisplayMsg.show(Message.DGT_SERIAL_NR(number='dont_use')) + + # Enable garbage collection - needed for engine swapping as objects orphaned + gc.enable() + + # Command line argument parsing + parser = configargparse.ArgParser(default_config_files=[os.path.join(os.path.dirname(__file__), 'picochess.ini')]) + parser.add_argument('-e', '--engine', type=str, help="UCI engine filename/path such as 'engines/armv7l/a-stockf'", + default=None) + parser.add_argument('-el', '--engine-level', type=str, help='UCI engine level', default=None) + parser.add_argument('-er', '--engine-remote', type=str, + help="UCI engine filename/path such as 'engines/armv7l/a-stockf'", default=None) + parser.add_argument('-ers', '--engine-remote-server', type=str, help='adress of the remote engine server', + default=None) + parser.add_argument('-eru', '--engine-remote-user', type=str, help='username for the remote engine server') + parser.add_argument('-erp', '--engine-remote-pass', type=str, help='password for the remote engine server') + parser.add_argument('-erk', '--engine-remote-key', type=str, help='key file for the remote engine server') + parser.add_argument('-erh', '--engine-remote-home', type=str, help='engine home path for the remote engine server', + default='') + parser.add_argument('-d', '--dgt-port', type=str, + help="enable dgt board on the given serial port such as '/dev/ttyUSB0'") + parser.add_argument('-b', '--book', type=str, help="path of book such as 'books/b-flank.bin'", + default='books/h-varied.bin') + parser.add_argument('-t', '--time', type=str, default='5 0', + help="Time settings or like '10'(move) or '5 0'(game) '3 2'(fischer). \ + All values must be below 100") + parser.add_argument('-norl', '--disable-revelation-leds', action='store_true', help='disable Revelation leds') + parser.add_argument('-l', '--log-level', choices=['notset', 'debug', 'info', 'warning', 'error', 'critical'], + default='warning', help='logging level') + parser.add_argument('-lf', '--log-file', type=str, help='log to the given file') + parser.add_argument('-pf', '--pgn-file', type=str, help='pgn file used to store the games', default='games.pgn') + parser.add_argument('-pu', '--pgn-user', type=str, help='user name for the pgn file', default=None) + parser.add_argument('-pe', '--pgn-elo', type=str, help='user elo for the pgn file', default='-') + parser.add_argument('-w', '--web-server', dest='web_server_port', nargs='?', const=80, type=int, metavar='PORT', + help='launch web server') + parser.add_argument('-m', '--email', type=str, help='email used to send pgn/log files', default=None) + parser.add_argument('-ms', '--smtp-server', type=str, help='adress of email server', default=None) + parser.add_argument('-mu', '--smtp-user', type=str, help='username for email server', default=None) + parser.add_argument('-mp', '--smtp-pass', type=str, help='password for email server', default=None) + parser.add_argument('-me', '--smtp-encryption', action='store_true', + help='use ssl encryption connection to email server') + parser.add_argument('-mf', '--smtp-from', type=str, help='From email', default='no-reply@picochess.org') + parser.add_argument('-mk', '--mailgun-key', type=str, help='key used to send emails via Mailgun Webservice', + default=None) + parser.add_argument('-bc', '--beep-config', choices=['none', 'some', 'all'], help='sets standard beep config', + default='some') + parser.add_argument('-bs', '--beep-some-level', type=int, default=0x03, + help='sets (some-)beep level from 0(=no beeps) to 15(=all beeps)') + parser.add_argument('-uv', '--user-voice', type=str, help='voice for user', default=None) + parser.add_argument('-cv', '--computer-voice', type=str, help='voice for computer', default=None) + parser.add_argument('-sv', '--speed-voice', type=int, help='voice speech factor from 0(=90%%) to 9(=135%%)', + default=2, choices=range(0, 10)) + parser.add_argument('-sp', '--enable-setpieces-voice', action='store_true', + help="speak last computer move again when 'set pieces' displayed") + parser.add_argument('-u', '--enable-update', action='store_true', help='enable picochess updates') + parser.add_argument('-ur', '--enable-update-reboot', action='store_true', help='reboot system after update') + parser.add_argument('-nocm', '--disable-confirm-message', action='store_true', help='disable confirmation messages') + parser.add_argument('-v', '--version', action='version', version='%(prog)s version {}'.format(version), + help='show current version', default=None) + parser.add_argument('-pi', '--dgtpi', action='store_true', help='use the DGTPi hardware') + parser.add_argument('-pt', '--ponder-interval', type=int, default=3, choices=range(1, 9), + help='how long each part of ponder display should be visible (default=3secs)') + parser.add_argument('-lang', '--language', choices=['en', 'de', 'nl', 'fr', 'es', 'it'], default='en', + help='picochess language') + parser.add_argument('-c', '--enable-console', action='store_true', help='use console interface') + parser.add_argument('-cl', '--enable-capital-letters', action='store_true', help='clock messages in capital letters') + parser.add_argument('-noet', '--disable-et', action='store_true', help='some clocks need this to work - deprecated') + parser.add_argument('-ss', '--slow-slide', type=int, default=0, choices=range(0, 10), + help='extra wait time factor for a stable board position (sliding detect)') + parser.add_argument('-nosn', '--disable-short-notation', action='store_true', help='disable short notation') + + args, unknown = parser.parse_known_args() + + # Enable logging + if args.log_file: + handler = RotatingFileHandler('logs' + os.sep + args.log_file, maxBytes=1.4 * 1024 * 1024, backupCount=5) + logging.basicConfig(level=getattr(logging, args.log_level.upper()), + format='%(asctime)s.%(msecs)03d %(levelname)7s %(module)10s - %(funcName)s: %(message)s', + datefmt="%Y-%m-%d %H:%M:%S", handlers=[handler]) + logging.getLogger('chess.engine').setLevel(logging.INFO) # don't want to get so many python-chess uci messages + + logging.debug('#' * 20 + ' PicoChess v%s ' + '#' * 20, version) + # log the startup parameters but hide the password fields + a_copy = copy.copy(vars(args)) + a_copy['mailgun_key'] = a_copy['smtp_pass'] = a_copy['engine_remote_key'] = a_copy['engine_remote_pass'] = '*****' + logging.debug('startup parameters: %s', a_copy) + if unknown: + logging.warning('invalid parameter given %s', unknown) + # wire some dgt classes + dgtboard = DgtBoard(args.dgt_port, args.disable_revelation_leds, args.dgtpi, args.disable_et, args.slow_slide) + dgttranslate = DgtTranslate(args.beep_config, args.beep_some_level, args.language, version) + dgtmenu = DgtMenu(args.disable_confirm_message, args.ponder_interval, + args.user_voice, args.computer_voice, args.speed_voice, args.enable_capital_letters, + args.disable_short_notation, args.log_file, args.engine_remote_server, dgttranslate) + dgtdispatcher = Dispatcher(dgtmenu) + + time_control, time_text = transfer_time(args.time.split()) + time_text.beep = False + # The class dgtDisplay fires Event (Observable) & DispatchDgt (Dispatcher) + DgtDisplay(dgttranslate, dgtmenu, time_control).start() + + # Create PicoTalker for speech output + PicoTalkerDisplay(args.user_voice, args.computer_voice, args.speed_voice, args.enable_setpieces_voice).start() + + # Launch web server + if args.web_server_port: + WebServer(args.web_server_port, dgtboard).start() + dgtdispatcher.register('web') + + if args.enable_console: + logging.debug('starting PicoChess in console mode') + RepeatedTimer(1, _dgt_serial_nr).start() # simulate the dgtboard watchdog + + sb = SensorBoard() + sb.start() + # rd = RpiDisplay() + # piDisplay().start() + #KeyboardInput(args.dgtpi).start() + BoardDisplay().start() + + else: + # Connect to DGT board + logging.debug('starting PicoChess in board mode') + if args.dgtpi: + DgtPi(dgtboard).start() + dgtdispatcher.register('i2c') + else: + logging.debug('(ser) starting the board connection') + dgtboard.run() # a clock can only be online together with the board, so we must start it infront + DgtHw(dgtboard).start() + dgtdispatcher.register('ser') + # The class Dispatcher sends DgtApi messages at the correct (delayed) time out + dgtdispatcher.start() + # Save to PGN + emailer = Emailer(email=args.email, mailgun_key=args.mailgun_key) + emailer.set_smtp(sserver=args.smtp_server, suser=args.smtp_user, spass=args.smtp_pass, + sencryption=args.smtp_encryption, sfrom=args.smtp_from) + + PgnDisplay('games' + os.sep + args.pgn_file, emailer).start() + if args.pgn_user: + user_name = args.pgn_user + else: + if args.email: + user_name = args.email.split('@')[0] + else: + user_name = 'Player' + + # Update + #if args.enable_update: + # update_picochess(args.dgtpi, args.enable_update_reboot, dgttranslate) + + # try the given engine first and if that fails the first/second from "engines.ini" then crush + engine_file = args.engine if args.engine_remote_server is None else args.engine_remote + engine_home = 'engines' + os.sep + machine() if args.engine_remote_server is None else args.engine_remote_home.rstrip(os.sep) + engine_tries = 0 + engine = engine_name = None + uci_shell = UciShell(hostname=args.engine_remote_server, username=args.engine_remote_user, + key_file=args.engine_remote_key, password=args.engine_remote_pass) + while engine_tries < 2: + if engine_file is None: + eng_ini = read_engine_ini(uci_shell.get(), engine_home) + engine_file = eng_ini[engine_tries]['file'] + engine_tries += 1 + engine_file = os.path.basename(engine_file) + # Gentlemen, start your engines... + engine = UciEngine(file=engine_file, uci_shell=uci_shell, home=engine_home) + try: + engine_name = engine.get_name() + break + except AttributeError: + logging.error('engine %s not started', engine_file) + engine_file = None + + if engine_tries == 2: + time.sleep(3) + DisplayMsg.show(Message.ENGINE_FAIL()) + time.sleep(2) + sys.exit(-1) + + # Startup - internal + game = chess.Board() # Create the current game + legal_fens = compute_legal_fens(game.copy()) # Compute the legal FENs + all_books = get_opening_books() + try: + book_index = [book['file'] for book in all_books].index(args.book) + except ValueError: + logging.warning('selected book not present, defaulting to %s', all_books[7]['file']) + book_index = 7 + bookreader = chess.polyglot.open_reader(all_books[book_index]['file']) + searchmoves = AlternativeMover() + interaction_mode = Mode.NORMAL + play_mode = PlayMode.USER_WHITE # @todo handle Mode.REMOTE too + + last_legal_fens = [] + done_computer_fen = None + done_move = chess.Move.null() + game_declared = False # User declared resignation or draw + + args.engine_level = None if args.engine_level == 'None' else args.engine_level + engine_opt, level_index = get_engine_level_dict(args.engine_level) + engine.startup(engine_opt) + engine.newgame(game.copy()) + + # Startup - external + level_name = args.engine_level + if level_name: + level_text = dgttranslate.text('B00_level', level_name) + level_text.beep = False + else: + level_text = None + level_name = '' + sys_info = {'version': version, 'engine_name': engine_name, 'user_name': user_name, 'user_elo': args.pgn_elo} + DisplayMsg.show(Message.STARTUP_INFO(info={'interaction_mode': interaction_mode, 'play_mode': play_mode, + 'books': all_books, 'book_index': book_index, + 'level_text': level_text, 'level_name': level_name, + 'tc_init': time_control.get_parameters(), 'time_text': time_text})) + DisplayMsg.show(Message.SYSTEM_INFO(info=sys_info)) + DisplayMsg.show(Message.ENGINE_STARTUP(installed_engines=engine.get_installed_engines(), file=engine.get_file(), + level_index=level_index, + has_960=engine.has_chess960(), has_ponder=engine.has_ponder())) + + ip_info_thread = threading.Timer(10, display_ip_info) # give RaspberyPi 10sec time to startup its network devices + ip_info_thread.start() + + fen_timer = threading.Timer(3, expired_fen_timer) + fen_timer_running = False + error_fen = None + + pb_move = chess.Move.null() # safes the best ponder move so far (for permanent brain use) + + # Event loop + logging.info('evt_queue ready') + while True: + try: + event = evt_queue.get() + except queue.Empty: + pass + else: + logging.debug('received event from evt_queue: %s', event) + if False: # switch-case + pass + elif isinstance(event, Event.FEN): + process_fen(event.fen) + + elif isinstance(event, Event.KEYBOARD_MOVE): + move = event.move + if game.piece_type_at(move.from_square)==chess.PAWN: + if (play_mode == PlayMode.USER_WHITE and chess.square_rank(move.to_square) == 7) or (play_mode == PlayMode.USER_BLACK and chess.square_rank(move.to_square) == 0): + move.promotion = chess.QUEEN + logging.debug('keyboard move [%s]', move) + + if move not in game.legal_moves: + logging.warning('illegal move. fen: [%s]', game.fen()) + else: + game_copy = game.copy() + game_copy.push(move) + fen = game_copy.board_fen() + DisplayMsg.show(Message.DGT_FEN(fen=fen, raw=False)) + + elif isinstance(event, Event.LEVEL): + if event.options: + engine.startup(event.options, False) + DisplayMsg.show(Message.LEVEL(level_text=event.level_text, level_name=event.level_name, + do_speak=bool(event.options))) + stop_fen_timer() + + elif isinstance(event, Event.NEW_ENGINE): + old_file = engine.get_file() + old_options = {} + raw_options = engine.get_options() + for name, value in raw_options.items(): # transfer Option to string by using the "default" value + old_options[name] = str(value.default) + engine_fallback = False + # Stop the old engine cleanly + stop_search() + # Closeout the engine process and threads + if engine.quit(): + # Load the new one and send args. + engine = UciEngine(file=event.eng['file'], uci_shell=uci_shell) + try: + engine_name = engine.get_name() + except AttributeError: + # New engine failed to start, restart old engine + logging.error('new engine failed to start, reverting to %s', old_file) + engine_fallback = True + event.options = old_options + engine = UciEngine(file=old_file, uci_shell=uci_shell) + try: + engine_name = engine.get_name() + except AttributeError: + # Help - old engine failed to restart. There is no engine + logging.error('no engines started') + DisplayMsg.show(Message.ENGINE_FAIL()) + time.sleep(3) + sys.exit(-1) + engine.startup(event.options) + engine.newgame(game.copy()) + # All done - rock'n'roll + if interaction_mode == Mode.BRAIN and not engine.has_ponder(): + logging.debug('new engine doesnt support brain mode, reverting to %s', old_file) + engine_fallback = True + if engine.quit(): + engine = UciEngine(file=old_file, uci_shell=uci_shell) + engine.startup(old_options) + engine.newgame(game.copy()) + else: + logging.error('engine shutdown failure') + engine_mode() + if engine_fallback: + msg = Message.ENGINE_FAIL() + else: + searchmoves.reset() + msg = Message.ENGINE_READY(eng=event.eng, engine_name=engine_name, + eng_text=event.eng_text, has_levels=engine.has_levels(), + has_960=engine.has_chess960(), has_ponder=engine.has_ponder(), + show_ok=event.show_ok) + # Schedule cleanup of old objects + gc.collect() + set_wait_state(msg, not engine_fallback) + if interaction_mode in (Mode.NORMAL, Mode.BRAIN): # engine isnt started/searching => stop the clock + stop_clock() + else: + logging.error('engine shutdown failure') + DisplayMsg.show(Message.ENGINE_FAIL()) + # here dont care if engine supports pondering, cause Mode.NORMAL from startup + if not engine_fallback and not args.engine_remote_server: # dont write engine(_level) if remote engine + write_picochess_ini('engine', event.eng['file']) + + elif isinstance(event, Event.SETUP_POSITION): + logging.debug('setting up custom fen: %s', event.fen) + uci960 = event.uci960 + + if game.move_stack: + if not (game.is_game_over() or game_declared): + result = GameResult.ABORT + DisplayMsg.show(Message.GAME_ENDS(result=result, play_mode=play_mode, game=game.copy())) + game = chess.Board(event.fen, uci960) + # see new_game + stop_search_and_clock() + if engine.has_chess960(): + engine.option('UCI_Chess960', uci960) + engine.send() + engine.newgame(game.copy()) + done_computer_fen = None + done_move = pb_move = chess.Move.null() + time_control.reset() + searchmoves.reset() + game_declared = False + set_wait_state(Message.START_NEW_GAME(game=game.copy(), newgame=True)) + + elif isinstance(event, Event.NEW_GAME): + newgame = game.move_stack or (game.chess960_pos() != event.pos960) + if newgame: + logging.debug('starting a new game with code: %s', event.pos960) + uci960 = event.pos960 != 518 + + if not (game.is_game_over() or game_declared): + result = GameResult.ABORT + DisplayMsg.show(Message.GAME_ENDS(result=result, play_mode=play_mode, game=game.copy())) + + game = chess.Board() + if uci960: + game.set_chess960_pos(event.pos960) + # see setup_position + stop_search_and_clock() + if engine.has_chess960(): + engine.option('UCI_Chess960', uci960) + engine.send() + engine.newgame(game.copy()) + done_computer_fen = None + done_move = pb_move = chess.Move.null() + time_control.reset() + searchmoves.reset() + game_declared = False + set_wait_state(Message.START_NEW_GAME(game=game.copy(), newgame=newgame)) + else: + logging.debug('no need to start a new game') + DisplayMsg.show(Message.START_NEW_GAME(game=game.copy(), newgame=newgame)) + + elif isinstance(event, Event.PAUSE_RESUME): + if engine.is_thinking(): + stop_clock() + engine.stop(show_best=True) + elif not done_computer_fen: + if time_control.internal_running(): + stop_clock() + else: + start_clock() + else: + logging.debug('best move displayed, dont start/stop clock') + + elif isinstance(event, Event.ALTERNATIVE_MOVE): + if done_computer_fen: + done_computer_fen = None + done_move = chess.Move.null() + if interaction_mode in (Mode.NORMAL, Mode.BRAIN): # @todo handle Mode.REMOTE too + if time_control.mode == TimeMode.FIXED: + time_control.reset() + # set computer to move - in case the user just changed the engine + play_mode = PlayMode.USER_WHITE if game.turn == chess.BLACK else PlayMode.USER_BLACK + if not check_game_state(game, play_mode): + think(game, time_control, Message.ALTERNATIVE_MOVE(game=game.copy(), play_mode=play_mode)) + else: + logging.warning('wrong function call [alternative]! mode: %s', interaction_mode) + + elif isinstance(event, Event.SWITCH_SIDES): + if interaction_mode in (Mode.NORMAL, Mode.BRAIN): + if not engine.is_waiting(): + stop_search_and_clock() + + last_legal_fens = [] + best_move_displayed = done_computer_fen + if best_move_displayed: + move = done_move + done_computer_fen = None + done_move = pb_move = chess.Move.null() + else: + move = chess.Move.null() # not really needed + + play_mode = PlayMode.USER_WHITE if play_mode == PlayMode.USER_BLACK else PlayMode.USER_BLACK + text = play_mode.value # type: str + msg = Message.PLAY_MODE(play_mode=play_mode, play_mode_text=dgttranslate.text(text)) + + if time_control.mode == TimeMode.FIXED: + time_control.reset() + + legal_fens = [] + game_end = check_game_state(game, play_mode) + if game_end: + DisplayMsg.show(msg) + else: + cond1 = game.turn == chess.WHITE and play_mode == PlayMode.USER_BLACK + cond2 = game.turn == chess.BLACK and play_mode == PlayMode.USER_WHITE + if cond1 or cond2: + time_control.reset_start_time() + think(game, time_control, msg) + else: + DisplayMsg.show(msg) + start_clock() + legal_fens = compute_legal_fens(game.copy()) + + if best_move_displayed: + DisplayMsg.show(Message.SWITCH_SIDES(game=game.copy(), move=move)) + + elif isinstance(event, Event.DRAWRESIGN): + if not game_declared: # in case user leaves kings in place while moving other pieces + stop_search_and_clock() + DisplayMsg.show(Message.GAME_ENDS(result=event.result, play_mode=play_mode, game=game.copy())) + game_declared = True + stop_fen_timer() + + elif isinstance(event, Event.REMOTE_MOVE): + if interaction_mode == Mode.REMOTE and is_not_user_turn(game.turn): + stop_search_and_clock() + DisplayMsg.show(Message.COMPUTER_MOVE(move=event.move, ponder=chess.Move.null(), game=game.copy(), + wait=False)) + game_copy = game.copy() + game_copy.push(event.move) + done_computer_fen = game_copy.board_fen() + done_move = event.move + pb_move = chess.Move.null() + else: + logging.warning('wrong function call [remote]! mode: %s turn: %s', interaction_mode, game.turn) + + elif isinstance(event, Event.BEST_MOVE): + if interaction_mode in (Mode.NORMAL, Mode.BRAIN) and is_not_user_turn(game.turn): + # clock must be stopped BEFORE the "book_move" event cause SetNRun resets the clock display + stop_clock() + # @todo 8/8/R6P/1R6/7k/2B2K1p/8/8 and sliding Ra6 over a5 to a4 - handle this in correct way!! + if game.is_game_over(): + logging.warning('illegal move on game_end - sliding? move: %s fen: %s', event.move, game.fen()) + else: + if event.inbook: + DisplayMsg.show(Message.BOOK_MOVE()) + searchmoves.add(event.move) + DisplayMsg.show(Message.COMPUTER_MOVE(move=event.move, ponder=event.ponder, game=game.copy(), + wait=event.inbook)) + game_copy = game.copy() + game_copy.push(event.move) + done_computer_fen = game_copy.board_fen() + done_move = event.move + brain_book = interaction_mode == Mode.BRAIN and event.inbook + pb_move = event.ponder if event.ponder and not brain_book else chess.Move.null() + else: + logging.warning('wrong function call [best]! mode: %s turn: %s', interaction_mode, game.turn) + + elif isinstance(event, Event.NEW_PV): + if interaction_mode == Mode.BRAIN and engine.is_pondering(): + logging.debug('in brain mode and pondering ignore pv %s', event.pv[:3]) + else: + # illegal moves can occur if a pv from the engine arrives at the same time as an user move + if game.is_legal(event.pv[0]): + DisplayMsg.show(Message.NEW_PV(pv=event.pv, mode=interaction_mode, game=game.copy())) + else: + logging.info('illegal move can not be displayed. move: %s fen: %s', event.pv[0], game.fen()) + logging.info('engine status: t:%s p:%s', engine.is_thinking(), engine.is_pondering()) + + elif isinstance(event, Event.NEW_SCORE): + if interaction_mode == Mode.BRAIN and engine.is_pondering(): + logging.debug('in brain mode and pondering, ignore score %s', event.score) + else: + DisplayMsg.show(Message.NEW_SCORE(score=event.score, mate=event.mate, mode=interaction_mode, + turn=game.turn)) + + elif isinstance(event, Event.NEW_DEPTH): + if interaction_mode == Mode.BRAIN and engine.is_pondering(): + logging.debug('in brain mode and pondering, ignore depth %s', event.depth) + else: + DisplayMsg.show(Message.NEW_DEPTH(depth=event.depth)) + + elif isinstance(event, Event.START_SEARCH): + DisplayMsg.show(Message.SEARCH_STARTED()) + + elif isinstance(event, Event.STOP_SEARCH): + DisplayMsg.show(Message.SEARCH_STOPPED()) + + elif isinstance(event, Event.SET_INTERACTION_MODE): + if event.mode not in (Mode.NORMAL, Mode.REMOTE) and done_computer_fen: # @todo check why still needed + dgtmenu.set_mode(interaction_mode) # undo the button4 stuff + logging.warning('mode cant be changed to a pondering mode as long as a move is displayed') + mode_text = dgttranslate.text('Y10_errormode') + msg = Message.INTERACTION_MODE(mode=interaction_mode, mode_text=mode_text, show_ok=False) + DisplayMsg.show(msg) + else: + stop_search_and_clock() + interaction_mode = event.mode + engine_mode() + msg = Message.INTERACTION_MODE(mode=event.mode, mode_text=event.mode_text, show_ok=event.show_ok) + set_wait_state(msg) # dont clear searchmoves here + + elif isinstance(event, Event.SET_OPENING_BOOK): + write_picochess_ini('book', event.book['file']) + logging.debug('changing opening book [%s]', event.book['file']) + bookreader = chess.polyglot.open_reader(event.book['file']) + DisplayMsg.show(Message.OPENING_BOOK(book_text=event.book_text, show_ok=event.show_ok)) + stop_fen_timer() + + elif isinstance(event, Event.SET_TIME_CONTROL): + time_control.stop_internal(log=False) + tc_init = event.tc_init + time_control = TimeControl(**tc_init) + if time_control.mode == TimeMode.BLITZ: + write_picochess_ini('time', '{:d} 0'.format(tc_init['blitz'])) + elif time_control.mode == TimeMode.FISCHER: + write_picochess_ini('time', '{:d} {:d}'.format(tc_init['blitz'], tc_init['fischer'])) + elif time_control.mode == TimeMode.FIXED: + write_picochess_ini('time', '{:d}'.format(tc_init['fixed'])) + text = Message.TIME_CONTROL(time_text=event.time_text, show_ok=event.show_ok, tc_init=tc_init) + DisplayMsg.show(text) + stop_fen_timer() + + elif isinstance(event, Event.CLOCK_TIME): + if dgtdispatcher.is_prio_device(event.dev, event.connect): # transfer only the most prio clock's time + logging.debug('setting tc clock time - prio: %s w:%s b:%s', event.dev, + hms_time(event.time_white), hms_time(event.time_black)) + time_control.set_clock_times(white_time=event.time_white, black_time=event.time_black) + # find out, if we are in bullet time (<=60secs on users clock or lowest time if user side unknown) + time_u = event.time_white + time_c = event.time_black + if interaction_mode in (Mode.NORMAL, Mode.BRAIN): # @todo handle Mode.REMOTE too + if play_mode == PlayMode.USER_BLACK: + time_u, time_c = time_c, time_u + else: # here, we use the lowest time + if time_c < time_u: + time_u, time_c = time_c, time_u + low_time = time_u <= 60 and not (time_control.mode == TimeMode.FIXED and time_control.move_time > 2) + dgtboard.low_time = low_time + DisplayMsg.show(Message.CLOCK_TIME(time_white=event.time_white, time_black=event.time_black, + low_time=low_time)) + else: + logging.debug('ignore clock time - too low prio: %s', event.dev) + + elif isinstance(event, Event.OUT_OF_TIME): + stop_search_and_clock() + result = GameResult.OUT_OF_TIME + DisplayMsg.show(Message.GAME_ENDS(result=result, play_mode=play_mode, game=game.copy())) + + elif isinstance(event, Event.SHUTDOWN): + if uci_shell.get(): + uci_shell.get().__exit__(None, None, None) # force to call __exit__ (close shell connection) + result = GameResult.ABORT + DisplayMsg.show(Message.GAME_ENDS(result=result, play_mode=play_mode, game=game.copy())) + DisplayMsg.show(Message.SYSTEM_SHUTDOWN()) + shutdown(args.dgtpi and uci_shell.get() is None, dev=event.dev) # @todo make independant of remote eng + + elif isinstance(event, Event.REBOOT): + result = GameResult.ABORT + DisplayMsg.show(Message.GAME_ENDS(result=result, play_mode=play_mode, game=game.copy())) + DisplayMsg.show(Message.SYSTEM_REBOOT()) + reboot(args.dgtpi and uci_shell.get() is None, dev=event.dev) # @todo make independant of remote eng + + elif isinstance(event, Event.EMAIL_LOG): + email_logger = Emailer(email=args.email, mailgun_key=args.mailgun_key) + email_logger.set_smtp(sserver=args.smtp_server, suser=args.smtp_user, spass=args.smtp_pass, + sencryption=args.smtp_encryption, sfrom=args.smtp_from) + body = 'You probably want to forward this file to a picochess developer ;-)' + email_logger.send('Picochess LOG', body, '/opt/picochess/logs/{}'.format(args.log_file)) + + elif isinstance(event, Event.SET_VOICE): + DisplayMsg.show(Message.SET_VOICE(type=event.type, lang=event.lang, speaker=event.speaker, + speed=event.speed)) + + elif isinstance(event, Event.KEYBOARD_BUTTON): + DisplayMsg.show(Message.DGT_BUTTON(button=event.button, dev=event.dev)) + + elif isinstance(event, Event.KEYBOARD_FEN): + + DisplayMsg.show(Message.DGT_FEN(fen = done_computer_fen, raw=False)) + + elif isinstance(event, Event.EXIT_MENU): + DisplayMsg.show(Message.EXIT_MENU()) + + elif isinstance(event, Event.UPDATE_PICO): + DisplayMsg.show(Message.UPDATE_PICO()) + checkout_tag(event.tag) + DisplayMsg.show(Message.EXIT_MENU()) + + elif isinstance(event, Event.REMOTE_ROOM): + DisplayMsg.show(Message.REMOTE_ROOM(inside=event.inside)) + + elif isinstance(event, Event.LIFT_PIECE): + mvlist = [] + src_square = int(event.square) + + for move in game.legal_moves: + if move.from_square == src_square: + # from_square = move.from_square + + sb.Light_Square(move.to_square, on=True) + + elif isinstance(event, Event.TAKE_BACK): + takeback = copy.deepcopy(game) + takeback.pop() + takeback.pop() + fen = takeback.board_fen() + process_fen(fen) + # DisplayMsg.show(Message.USER_TAKE_BACK(game = game)) + # DisplayMsg.show(Message.PLAYMOVE(fen=fen)) + + + else: # Default + logging.warning('event not handled : [%s]', event) + + evt_queue.task_done() + + +if __name__ == '__main__': + main() diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..b38942f --- /dev/null +++ b/requirements.txt @@ -0,0 +1,10 @@ +ConfigArgParse==0.12.0 +Flask==0.12.2 +paramiko==2.4.0 +pyserial==3.4 +python-chess==0.22.1 +pyOpenSSL==17.5.0 +requests==2.18.4 +spur==0.3.20 +tornado==4.5.1 +configobj==5.0.6 diff --git a/scripts/README.md b/scripts/README.md new file mode 100644 index 0000000..d2fe307 --- /dev/null +++ b/scripts/README.md @@ -0,0 +1,9 @@ +General +======= +This folder is for OLD script files. They shouldnt be needed anymore (maybe for old based system like before jessie). +The dgt board incl. its BT connection, dgt clocks, Rev2 chess computer and so on are now automatically found. + + +If you have problems please don't hassitate to contact me over eMail or skype. + +LocutusOfPenguin diff --git a/scripts/pico_dgt_bt.sh b/scripts/pico_dgt_bt.sh new file mode 100644 index 0000000..aff1386 --- /dev/null +++ b/scripts/pico_dgt_bt.sh @@ -0,0 +1,101 @@ +#!/bin/bash +################################################################ +# Script Name: pico_dgt_bt +# Date: 12/29/2012 +# Author: Eric Singer +# Description: Check for an rfcomm device for stockfish to use +# If the device doesn't exist then try to create it +#--------------------------------------------------------------- +# Modified on 1/26/2014 to automatically connect to the +# Revelation II board +#=============================================================== +# Exit Codes: 0 - Bluetooth device found and configured +# 1 - No Bluetooth device found + +DGT_BT_FOUND="" + +#################################################################### +# use the rfcomm command to see if a bluetooth device is defined ### +#################################################################### +while read RFDEV RFADDR SKIP RFCHANNEL RFSTATE +do + #################################################### + ### See if the device is the DGT bluetooth board ### + #################################################### + export DGT_BT_FOUND=`/usr/bin/hcitool info ${RFADDR} | grep -E "Device Name: DGT_BT|Device Name: PCS-REVII"` + if [[ -n ${DGT_BT_FOUND} ]] + then + break + fi +done < <(/usr/bin/rfcomm) + +####################################################### +### If the DGT board device is already defined exit ### +####################################################### +if [[ -n ${DGT_BT_FOUND} ]] +then + exit 0 +fi + +################################################################### +### At this point there isn't any bluetooth DGT boards defined. ### +### Check to see if there's a bluetooth dongle attached ########### +########################################################### +BT_DONGLE=`/usr/sbin/hciconfig|grep "^hci"|cut -d":" -f1` + +######################################## +### If BT_DONGLE doesn't exist, exit ### +########################################' +if [[ -z ${BT_DONGLE} ]] +then + exit 1 +fi + +######################################## +### Scan for the DGT bluetooth board ### +######################################## +DGT_BOARD_ADDR=`/usr/bin/hcitool scan|grep -E "DGT_BT|PCS-REVII"|awk -F' ' '{ print $1 }'` + +############################################### +### If there's no DGT board found then exit ### +############################################### +if [[ -z ${DGT_BOARD_ADDR} ]] +then + exit 1 +fi + +################################# +### Setup the blutooth device ### +################################# +echo "0000"|/usr/bin/bluez-simple-agent ${BT_DONGLE} ${DGT_BOARD_ADDR} + +################################################ +### Check to see if the device authenticated ### +################################################ +TEST_DGT_AUTH=`/usr/bin/bluez-test-device list|grep DGT_BT` + +########################################################################### +### If the DGT board did not authenticate, then try the revelation code ### +########################################################################### +if [[ -z ${TEST_DGT_AUTH} ]] +then + echo "1234"|/usr/bin/bluez-simple-agent ${BT_DONGLE} ${DGT_BOARD_ADDR} +fi + +############################################ +### Write the bluetooth bind information ### +############################################ +# Empty out file first +> /etc/bluetooth/rfcomm.conf +echo "rfcomm0 {" >> /etc/bluetooth/rfcomm.conf +echo " bind yes;" >> /etc/bluetooth/rfcomm.conf +echo " device ${DGT_BOARD_ADDR};" >> /etc/bluetooth/rfcomm.conf +echo " channel 1;" >> /etc/bluetooth/rfcomm.conf +echo ' comment "DGT Bluetooth Board";' >> /etc/bluetooth/rfcomm.conf +echo " }" >> /etc/bluetooth/rfcomm.conf + +############################################################## +### Finally restart bluetooth to get the new rfcomm device ### +############################################################## +/usr/bin/rfcomm bind all +exit 0 diff --git a/scripts/picochess.init b/scripts/picochess.init new file mode 100644 index 0000000..3e0fa3b --- /dev/null +++ b/scripts/picochess.init @@ -0,0 +1,70 @@ +#!/bin/bash +# /etc/init.d/picochess +# + +# Some things that run always +touch /var/lock/picochess + +# Carry out specific functions when asked to by the system +case "$1" in + start) + echo "Starting picochess" + if [ -e "/dev/ttyACM0" ] + then + dgt_port="/dev/ttyACM0" + elif [ -e "/dev/ttyUSB0" ] + then + dgt_port="/dev/ttyUSB0" + elif [ -e "/dev/rfcomm0" ] + then + #/opt/picochess/pico_dgt_bt.sh + dgt_port="/dev/rfcomm0" + else + # Start bluetooth detection. Call Eric Singer's script that covers both regular DGT and the REV II board. + # Should we support even more device checks? + echo "Starting bluetooth detection" + scripts/pico_dgt_bt.sh + dgt_port="/dev/rfcomm0" + fi + + # inserted for Laterunner - issue #200 + ### for testing + # hcitool scan + # rfcomm -a + # hciconfig + # hcitool scan + + var_ip=`hostname -I|grep " "|cut -d " " -f1` + var_hci=`/usr/sbin/hciconfig|grep "^hci"|cut -d":" -f1` + var_mac=`rfcomm -a|grep "channel"|cut -d" " -f2` + var_port=`rfcomm -a|grep "channel"|cut -d" " -f1` + var_connection=`rfcomm -a|grep "rfc"|cut -d" " -f5` + + echo "" + echo "IP: "$var_ip + echo "hcix: "$var_hci + echo "MAC Adresse eBoard: "$var_mac + echo "ACM0/ttyUSB/rfcomm0: "$dgt_port + echo "BT Port Status (clean/connected/closed): "$var_connection + echo "NOW PLEASE WAIT 15 secs" + echo "" + sleep 15 + # ------------end of insertion-------------------------- + + echo $dgt_port + cd /opt/picochess + screen -dmUS pc python3 picochess.py -d $dgt_port -w -lf picochess.log -l debug + ;; + stop) + echo "Stopping picochess" + pkill -9 -f picochess.py + screen -wipe + ;; + *) + echo "Usage: /etc/init.d/picochess {start|stop}" + exit 1 + ;; +esac + +exit 0 + diff --git a/server.py b/server.py new file mode 100644 index 0000000..edd2364 --- /dev/null +++ b/server.py @@ -0,0 +1,636 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import datetime +import threading +import logging +from collections import OrderedDict + +import chess +import chess.pgn as pgn + +import tornado.web +import tornado.wsgi +from tornado.ioloop import IOLoop +from tornado.websocket import WebSocketHandler + +from utilities import Observable, DisplayMsg, hms_time, RepeatedTimer +from web.picoweb import picoweb as pw + +from dgt.api import Event, Message +from dgt.util import PlayMode, Mode, ClockSide +from dgt.iface import DgtIface +from dgt.translate import DgtTranslate +from dgt.board import DgtBoard + +# This needs to be reworked to be session based (probably by token) +# Otherwise multiple clients behind a NAT can all play as the 'player' +client_ips = [] + + +class ServerRequestHandler(tornado.web.RequestHandler): + def initialize(self, shared=None): + self.shared = shared + + def data_received(self, chunk): + pass + + +class ChannelHandler(ServerRequestHandler): + def process_console_command(self, raw): + cmd = raw.lower() + + try: + # Here starts the simulation of a dgt-board! + # Let the user send events like the board would do + if cmd.startswith('fen:'): + fen = raw.split(':')[1].strip() + # dgt board only sends the basic fen => be sure it's same no matter what fen the user entered + fen = fen.split(' ')[0] + bit_board = chess.Board() # valid the fen + bit_board.set_board_fen(fen) + Observable.fire(Event.KEYBOARD_FEN(fen=fen)) + # end simulation code + elif cmd.startswith('go'): + if 'last_dgt_move_msg' in self.shared: + fen = self.shared['last_dgt_move_msg']['fen'].split(' ')[0] + Observable.fire(Event.KEYBOARD_FEN(fen=fen)) + else: + # Event.KEYBOARD_MOVE tranfers "move" to "fen" and then continues with "Message.DGT_FEN" + move = chess.Move.from_uci(cmd) + Observable.fire(Event.KEYBOARD_MOVE(move=move)) + except (ValueError, IndexError): + logging.warning('Invalid user input [%s]', raw) + + def post(self): + action = self.get_argument('action') + + if action == 'broadcast': + fen = self.get_argument('fen') + pgn_str = self.get_argument('pgn') + result = {'event': 'Broadcast', 'msg': 'Position from Spectators!', 'pgn': pgn_str, 'fen': fen} + EventHandler.write_to_clients(result) + elif action == 'move': + move = chess.Move.from_uci(self.get_argument('source') + self.get_argument('target')) + Observable.fire(Event.REMOTE_MOVE(move=move, fen=self.get_argument('fen'))) + elif action == 'clockbutton': + Observable.fire(Event.KEYBOARD_BUTTON(button=self.get_argument('button'), dev='web')) + elif action == 'room': + inside = self.get_argument('room') == 'inside' + Observable.fire(Event.REMOTE_ROOM(inside=inside)) + elif action == 'command': + self.process_console_command(self.get_argument('command')) + + +class EventHandler(WebSocketHandler): + clients = set() + + def initialize(self, shared=None): + self.shared = shared + + def on_message(self, message): + pass + + def data_received(self, chunk): + pass + + def real_ip(self): + x_real_ip = self.request.headers.get('X-Real-IP') + real_ip = x_real_ip if x_real_ip else self.request.remote_ip + return real_ip + + def open(self): + EventHandler.clients.add(self) + client_ips.append(self.real_ip()) + + def on_close(self): + EventHandler.clients.remove(self) + client_ips.remove(self.real_ip()) + + @classmethod + def write_to_clients(cls, msg): + for client in cls.clients: + client.write_message(msg) + + +class DGTHandler(ServerRequestHandler): + def get(self, *args, **kwargs): + action = self.get_argument('action') + if action == 'get_last_move': + if 'last_dgt_move_msg' in self.shared: + self.write(self.shared['last_dgt_move_msg']) + + +class InfoHandler(ServerRequestHandler): + def get(self, *args, **kwargs): + action = self.get_argument('action') + if action == 'get_system_info': + if 'system_info' in self.shared: + self.write(self.shared['system_info']) + if action == 'get_ip_info': + if 'ip_info' in self.shared: + self.write(self.shared['ip_info']) + if action == 'get_headers': + if 'headers' in self.shared: + self.write(self.shared['headers']) + if action == 'get_clock_text': + if 'clock_text' in self.shared: + self.write(self.shared['clock_text']) + + +class ChessBoardHandler(ServerRequestHandler): + def get(self): + self.render('web/picoweb/templates/clock.html') + + +class WebServer(threading.Thread): + def __init__(self, port: int, dgtboard: DgtBoard): + shared = {} + + WebDisplay(shared).start() + WebVr(shared, dgtboard).start() + super(WebServer, self).__init__() + wsgi_app = tornado.wsgi.WSGIContainer(pw) + + application = tornado.web.Application([ + (r'/', ChessBoardHandler, dict(shared=shared)), + (r'/event', EventHandler, dict(shared=shared)), + (r'/dgt', DGTHandler, dict(shared=shared)), + (r'/info', InfoHandler, dict(shared=shared)), + + (r'/channel', ChannelHandler, dict(shared=shared)), + (r'.*', tornado.web.FallbackHandler, {'fallback': wsgi_app}) + ]) + application.listen(port) + + def run(self): + """Call by threading.Thread start() function.""" + logging.info('evt_queue ready') + IOLoop.instance().start() + + +class WebVr(DgtIface): + + """Handle the web (clock) communication.""" + + def __init__(self, shared, dgtboard: DgtBoard): + super(WebVr, self).__init__(dgtboard) + self.shared = shared + self.virtual_timer = None + self.enable_dgtpi = dgtboard.is_pi + sub = 2 if dgtboard.is_pi else 0 + DisplayMsg.show(Message.DGT_CLOCK_VERSION(main=2, sub=sub, dev='web', text=None)) + self.clock_show_time = True + + # keep the last time to find out errorous DGT_MSG_BWTIME messages (error: current time > last time) + self.r_time = 3600 * 10 # max value cause 10h cant be reached by clock + self.l_time = 3600 * 10 # max value cause 10h cant be reached by clock + + def _create_clock_text(self): + if 'clock_text' not in self.shared: + self.shared['clock_text'] = {} + + def _runclock(self): + if self.side_running == ClockSide.LEFT: + time_left = self.l_time - 1 + if time_left <= 0: + logging.info('negative/zero time left: %s', time_left) + self.virtual_timer.stop() + time_left = 0 + self.l_time = time_left + if self.side_running == ClockSide.RIGHT: + time_right = self.r_time - 1 + if time_right <= 0: + logging.info('negative/zero time right: %s', time_right) + self.virtual_timer.stop() + time_right = 0 + self.r_time = time_right + logging.info('(web) clock new time received l:%s r:%s', hms_time(self.l_time), hms_time(self.r_time)) + DisplayMsg.show(Message.DGT_CLOCK_TIME(time_left=self.l_time, time_right=self.r_time, connect=True, dev='web')) + self._display_time(self.l_time, self.r_time) + + def _display_time(self, time_left: int, time_right: int): + if time_left >= 3600 * 10 or time_right >= 3600 * 10: + logging.debug('time values not set - abort function') + elif self.clock_show_time: + l_hms = hms_time(time_left) + r_hms = hms_time(time_right) + text_l = '{}:{:02d}.{:02d}'.format(l_hms[0], l_hms[1], l_hms[2]) + text_r = '{}:{:02d}.{:02d}'.format(r_hms[0], r_hms[1], r_hms[2]) + icon_d = 'fa-caret-right' if self.side_running == ClockSide.RIGHT else 'fa-caret-left' + if self.side_running == ClockSide.NONE: + icon_d = 'fa-sort' + text = text_l + '  ' + text_r + self._create_clock_text() + self.shared['clock_text'] = text + result = {'event': 'Clock', 'msg': text} + EventHandler.write_to_clients(result) + + def display_move_on_clock(self, message): + """Display a move on the web clock.""" + is_new_rev2 = self.dgtboard.is_revelation and self.dgtboard.enable_revelation_pi + if self.enable_dgt3000 or is_new_rev2 or self.enable_dgtpi: + bit_board, text = self.get_san(message, not self.enable_dgtpi) + points = '...' if message.side == ClockSide.RIGHT else '.' + if self.enable_dgtpi: + text = '{:3d}{:s}{:s}'.format(bit_board.fullmove_number, points, text) + else: + text = '{:2d}{:s}{:s}'.format(bit_board.fullmove_number % 100, points, text) + else: + text = message.move.uci() + if message.side == ClockSide.RIGHT: + text = text[:2].rjust(3) + text[2:].rjust(3) + else: + text = text[:2].ljust(3) + text[2:].ljust(3) + if self.get_name() not in message.devs: + logging.debug('ignored %s - devs: %s', text, message.devs) + return True + self.clock_show_time = False + self._create_clock_text() + logging.debug('[%s]', text) + self.shared['clock_text'] = text + result = {'event': 'Clock', 'msg': text} + DisplayMsg.show(Message.DISPLAY_TEXT(text=result)) + EventHandler.write_to_clients(result) + return True + + def display_text_on_clock(self, message): + """Display a text on the web clock.""" + is_new_rev2 = self.dgtboard.is_revelation and self.dgtboard.enable_revelation_pi + if self.enable_dgtpi or is_new_rev2: + text = message.l + else: + text = message.m if self.enable_dgt3000 else message.s + if self.get_name() not in message.devs: + logging.debug('ignored %s - devs: %s', text, message.devs) + return True + self.clock_show_time = False + self._create_clock_text() + logging.debug('[%s]', text) + self.shared['clock_text'] = text + result = {'event': 'Clock', 'msg': text} + EventHandler.write_to_clients(result) + DisplayMsg.show(Message.DISPLAY_TEXT(text=result)) + return True + + def display_time_on_clock(self, message): + """Display the time on the web clock.""" + if self.get_name() not in message.devs: + logging.debug('ignored endText - devs: %s', message.devs) + return True + if self.side_running != ClockSide.NONE or message.force: + self.clock_show_time = True + self._display_time(self.l_time, self.r_time) + else: + logging.debug('(web) clock isnt running - no need for endText') + return True + + def stop_clock(self, devs: set): + """Stop the time on the web clock.""" + if self.get_name() not in devs: + logging.debug('ignored stopClock - devs: %s', devs) + return True + if self.virtual_timer: + self.virtual_timer.stop() + return self._resume_clock(ClockSide.NONE) + + def _resume_clock(self, side: ClockSide): + self.side_running = side + return True + + def start_clock(self, side: ClockSide, devs: set): + """Start the time on the web clock.""" + if self.get_name() not in devs: + logging.debug('ignored startClock - devs: %s', devs) + return True + if self.virtual_timer and self.virtual_timer.is_running(): + self.virtual_timer.stop() + if side != ClockSide.NONE: + self.virtual_timer = RepeatedTimer(1, self._runclock) + self.virtual_timer.start() + self._resume_clock(side) + self.clock_show_time = True + self._display_time(self.l_time, self.r_time) + return True + + def set_clock(self, time_left: int, time_right: int, devs: set): + """Start the time on the web clock.""" + if self.get_name() not in devs: + logging.debug('ignored setClock - devs: %s', devs) + return True + self.l_time = time_left + self.r_time = time_right + return True + + def light_squares_on_revelation(self, uci_move): + """Light the rev2 squares.""" + result = {'event': 'Light', 'move': uci_move} + EventHandler.write_to_clients(result) + return True + + def clear_light_on_revelation(self): + """Clear all leds from rev2.""" + result = {'event': 'Clear'} + EventHandler.write_to_clients(result) + return True + + def get_name(self): + """Return name.""" + return 'web' + + def _create_task(self, msg): + IOLoop.instance().add_callback(callback=lambda: self._process_message(msg)) + + +class WebDisplay(DisplayMsg, threading.Thread): + def __init__(self, shared): + super(WebDisplay, self).__init__() + self.shared = shared + self.starttime = datetime.datetime.now().strftime('%H:%M:%S') + + def _create_game_info(self): + if 'game_info' not in self.shared: + self.shared['game_info'] = {} + + def _create_system_info(self): + if 'system_info' not in self.shared: + self.shared['system_info'] = {} + + def _create_headers(self): + if 'headers' not in self.shared: + self.shared['headers'] = OrderedDict() + + def _build_game_header(self, pgn_game: chess.pgn.Game): + # pgn_game.headers['Result'] = '*' + pgn_game.headers['Event'] = 'PicoChess game' + pgn_game.headers['Site'] = 'picochess.org' + pgn_game.headers['Date'] = datetime.datetime.today().strftime('%Y.%m.%d') + pgn_game.headers['Round'] = '?' + pgn_game.headers['White'] = '?' + pgn_game.headers['Black'] = '?' + + user_name = 'User' + engine_name = 'Picochess' + user_elo = '-' + comp_elo = 2500 + if 'system_info' in self.shared: + if 'user_name' in self.shared['system_info']: + user_name = self.shared['system_info']['user_name'] + if 'engine_name' in self.shared['system_info']: + engine_name = self.shared['system_info']['engine_name'] + if 'user_elo' in self.shared['system_info']: + user_elo = self.shared['system_info']['user_elo'] + if 'engine_elo' in self.shared['system_info']: + comp_elo = self.shared['system_info']['engine_elo'] + + if 'game_info' in self.shared: + if 'level_text' in self.shared['game_info']: + engine_level = ' ({0})'.format(self.shared['game_info']['level_text'].m) + else: + engine_level = '' + if 'level_name' in self.shared['game_info']: + level_name = self.shared['game_info']['level_name'] + if level_name.startswith('Elo@'): + comp_elo = int(level_name[4:]) + engine_level = '' + if 'play_mode' in self.shared['game_info']: + if self.shared['game_info']['play_mode'] == PlayMode.USER_WHITE: + pgn_game.headers['White'] = user_name + pgn_game.headers['Black'] = engine_name + engine_level + pgn_game.headers['WhiteElo'] = user_elo + pgn_game.headers['BlackElo'] = comp_elo + else: + pgn_game.headers['White'] = engine_name + engine_level + pgn_game.headers['Black'] = user_name + pgn_game.headers['WhiteElo'] = comp_elo + pgn_game.headers['BlackElo'] = user_elo + + if 'ip_info' in self.shared: + if 'location' in self.shared['ip_info']: + pgn_game.headers['Site'] = self.shared['ip_info']['location'] + + pgn_game.headers['Time'] = self.starttime + + def task(self, message): + def _oldstyle_fen(game: chess.Board): + builder = [] + builder.append(game.board_fen()) + builder.append('w' if game.turn == chess.WHITE else 'b') + builder.append(game.castling_xfen()) + builder.append(chess.SQUARE_NAMES[game.ep_square] if game.ep_square else '-') + builder.append(str(game.halfmove_clock)) + builder.append(str(game.fullmove_number)) + return ' '.join(builder) + + def _build_headers(): + self._create_headers() + pgn_game = pgn.Game() + self._build_game_header(pgn_game) + self.shared['headers'].update(pgn_game.headers) + + def _send_headers(): + EventHandler.write_to_clients({'event': 'Header', 'headers': self.shared['headers']}) + + def _send_title(): + EventHandler.write_to_clients({'event': 'Title', 'ip_info': self.shared['ip_info']}) + + def _transfer(game: chess.Board): + pgn_game = pgn.Game().from_board(game) + self._build_game_header(pgn_game) + self.shared['headers'] = pgn_game.headers + return pgn_game.accept(pgn.StringExporter(headers=True, comments=False, variations=False)) + + def peek_uci(game: chess.Board): + """Return last move in uci format.""" + try: + return game.peek().uci() + except IndexError: + return chess.Move.null().uci() + + if False: # switch-case + pass + elif isinstance(message, Message.START_NEW_GAME): + self.starttime = datetime.datetime.now().strftime('%H:%M:%S') + pgn_str = _transfer(message.game) + fen = message.game.fen() + result = {'pgn': pgn_str, 'fen': fen, 'event': 'Game', 'move': '0000', 'play': 'newgame'} + self.shared['last_dgt_move_msg'] = result + EventHandler.write_to_clients(result) + _send_headers() # don't need _build_headers() + + elif isinstance(message, Message.IP_INFO): + self.shared['ip_info'] = message.info + _build_headers() + _send_headers() + _send_title() + + elif isinstance(message, Message.SYSTEM_INFO): + self.shared['system_info'] = message.info + self.shared['system_info']['old_engine'] = self.shared['system_info']['engine_name'] + _build_headers() + _send_headers() + + elif isinstance(message, Message.ENGINE_STARTUP): + for index in range(0, len(message.installed_engines)): + eng = message.installed_engines[index] + if eng['file'] == message.file: + self.shared['system_info']['engine_elo'] = eng['elo'] + break + _build_headers() + _send_headers() + + elif isinstance(message, Message.ENGINE_READY): + self._create_system_info() + self.shared['system_info']['old_engine'] = self.shared['system_info']['engine_name'] = message.engine_name + self.shared['system_info']['engine_elo'] = message.eng['elo'] + if not message.has_levels: + if 'level_text' in self.shared['game_info']: + del self.shared['game_info']['level_text'] + if 'level_name' in self.shared['game_info']: + del self.shared['game_info']['level_name'] + _build_headers() + _send_headers() + + elif isinstance(message, Message.STARTUP_INFO): + self.shared['game_info'] = message.info.copy() + # change book_index to book_text + books = message.info['books'] + book_index = message.info['book_index'] + self.shared['game_info']['book_text'] = books[book_index]['text'] + del self.shared['game_info']['book_index'] + + if message.info['level_text'] is None: + del self.shared['game_info']['level_text'] + if message.info['level_name'] is None: + del self.shared['game_info']['level_name'] + + elif isinstance(message, Message.OPENING_BOOK): + self._create_game_info() + self.shared['game_info']['book_text'] = message.book_text + + elif isinstance(message, Message.INTERACTION_MODE): + self._create_game_info() + self.shared['game_info']['interaction_mode'] = message.mode + if self.shared['game_info']['interaction_mode'] == Mode.REMOTE: + self.shared['system_info']['engine_name'] = 'Remote Player' + else: + self.shared['system_info']['engine_name'] = self.shared['system_info']['old_engine'] + _build_headers() + _send_headers() + + elif isinstance(message, Message.PLAY_MODE): + self._create_game_info() + self.shared['game_info']['play_mode'] = message.play_mode + _build_headers() + _send_headers() + + elif isinstance(message, Message.TIME_CONTROL): + self._create_game_info() + self.shared['game_info']['time_text'] = message.time_text + self.shared['game_info']['tc_init'] = message.tc_init + + elif isinstance(message, Message.LEVEL): + self._create_game_info() + self.shared['game_info']['level_text'] = message.level_text + self.shared['game_info']['level_name'] = message.level_name + _build_headers() + _send_headers() + + elif isinstance(message, Message.DGT_NO_CLOCK_ERROR): + # result = {'event': 'Status', 'msg': 'Error clock'} + # EventHandler.write_to_clients(result) + pass + + elif isinstance(message, Message.DGT_CLOCK_VERSION): + if message.dev == 'ser': + attached = 'serial' + elif message.dev == 'i2c': + attached = 'i2c-pi' + else: + attached = 'server' + result = {'event': 'Status', 'msg': 'Ok clock ' + attached} + EventHandler.write_to_clients(result) + + elif isinstance(message, Message.COMPUTER_MOVE): + game_copy = message.game.copy() + game_copy.push(message.move) + pgn_str = _transfer(game_copy) + fen = _oldstyle_fen(game_copy) + mov = message.move.uci() + result = {'pgn': pgn_str, 'fen': fen, 'event': 'Fen', 'move': mov, 'play': 'computer'} + self.shared['last_dgt_move_msg'] = result # not send => keep it for COMPUTER_MOVE_DONE + + elif isinstance(message, Message.COMPUTER_MOVE_DONE): + result = self.shared['last_dgt_move_msg'] + EventHandler.write_to_clients(result) + + elif isinstance(message, Message.USER_MOVE_DONE): + pgn_str = _transfer(message.game) + fen = _oldstyle_fen(message.game) + mov = message.move.uci() + result = {'pgn': pgn_str, 'fen': fen, 'event': 'Fen', 'move': mov, 'play': 'user'} + self.shared['last_dgt_move_msg'] = result + EventHandler.write_to_clients(result) + + elif isinstance(message, Message.REVIEW_MOVE_DONE): + pgn_str = _transfer(message.game) + fen = _oldstyle_fen(message.game) + mov = message.move.uci() + result = {'pgn': pgn_str, 'fen': fen, 'event': 'Fen', 'move': mov, 'play': 'review'} + self.shared['last_dgt_move_msg'] = result + EventHandler.write_to_clients(result) + + elif isinstance(message, Message.ALTERNATIVE_MOVE): + pgn_str = _transfer(message.game) + fen = _oldstyle_fen(message.game) + mov = peek_uci(message.game) + result = {'pgn': pgn_str, 'fen': fen, 'event': 'Fen', 'move': mov, 'play': 'reload'} + self.shared['last_dgt_move_msg'] = result + EventHandler.write_to_clients(result) + + elif isinstance(message, Message.SWITCH_SIDES): + pgn_str = _transfer(message.game) + fen = _oldstyle_fen(message.game) + mov = message.move.uci() + result = {'pgn': pgn_str, 'fen': fen, 'event': 'Fen', 'move': mov, 'play': 'reload'} + self.shared['last_dgt_move_msg'] = result + EventHandler.write_to_clients(result) + + elif isinstance(message, Message.TAKE_BACK): + pgn_str = _transfer(message.game) + fen = _oldstyle_fen(message.game) + mov = peek_uci(message.game) + result = {'pgn': pgn_str, 'fen': fen, 'event': 'Fen', 'move': mov, 'play': 'reload'} + self.shared['last_dgt_move_msg'] = result + EventHandler.write_to_clients(result) + + elif isinstance(message, Message.GAME_ENDS): + pass + + else: # Default + pass + + def _create_task(self, msg): + IOLoop.instance().add_callback(callback=lambda: self.task(msg)) + + def run(self): + """Call by threading.Thread start() function.""" + logging.info('msg_queue ready') + while True: + # Check if we have something to display + message = self.msg_queue.get() + self._create_task(message) diff --git a/start.bat b/start.bat new file mode 100644 index 0000000..bdd79f9 --- /dev/null +++ b/start.bat @@ -0,0 +1 @@ +H:\Apps\Python\Python36-32\python .\picochess.py \ No newline at end of file diff --git a/tablebases/README.md b/tablebases/README.md new file mode 100644 index 0000000..b3b24a1 --- /dev/null +++ b/tablebases/README.md @@ -0,0 +1,10 @@ +General +======= +This folder is for tablebase files. Right now the 3+4 stone endgames for the syzygy format can be found here. Please notice, +that these files are not used out of the box for picochess or its engines. To make use of them you have to set the uci parameters +of each engine. + + +If you have problems please don't hassitate to contact me over eMail or skype. + +LocutusOfPenguin diff --git a/tablebases/syzygy/KBBvK.rtbw b/tablebases/syzygy/KBBvK.rtbw new file mode 100644 index 0000000..b98e1ee Binary files /dev/null and b/tablebases/syzygy/KBBvK.rtbw differ diff --git a/tablebases/syzygy/KBBvK.rtbz b/tablebases/syzygy/KBBvK.rtbz new file mode 100644 index 0000000..403c165 Binary files /dev/null and b/tablebases/syzygy/KBBvK.rtbz differ diff --git a/tablebases/syzygy/KBNvK.rtbw b/tablebases/syzygy/KBNvK.rtbw new file mode 100644 index 0000000..4cb1991 Binary files /dev/null and b/tablebases/syzygy/KBNvK.rtbw differ diff --git a/tablebases/syzygy/KBNvK.rtbz b/tablebases/syzygy/KBNvK.rtbz new file mode 100644 index 0000000..70df876 Binary files /dev/null and b/tablebases/syzygy/KBNvK.rtbz differ diff --git a/tablebases/syzygy/KBPvK.rtbw b/tablebases/syzygy/KBPvK.rtbw new file mode 100644 index 0000000..5112183 Binary files /dev/null and b/tablebases/syzygy/KBPvK.rtbw differ diff --git a/tablebases/syzygy/KBPvK.rtbz b/tablebases/syzygy/KBPvK.rtbz new file mode 100644 index 0000000..1289154 Binary files /dev/null and b/tablebases/syzygy/KBPvK.rtbz differ diff --git a/tablebases/syzygy/KBvK.rtbw b/tablebases/syzygy/KBvK.rtbw new file mode 100644 index 0000000..95919ca Binary files /dev/null and b/tablebases/syzygy/KBvK.rtbw differ diff --git a/tablebases/syzygy/KBvK.rtbz b/tablebases/syzygy/KBvK.rtbz new file mode 100644 index 0000000..d48c792 Binary files /dev/null and b/tablebases/syzygy/KBvK.rtbz differ diff --git a/tablebases/syzygy/KBvKB.rtbw b/tablebases/syzygy/KBvKB.rtbw new file mode 100644 index 0000000..b492101 Binary files /dev/null and b/tablebases/syzygy/KBvKB.rtbw differ diff --git a/tablebases/syzygy/KBvKB.rtbz b/tablebases/syzygy/KBvKB.rtbz new file mode 100644 index 0000000..a92413c Binary files /dev/null and b/tablebases/syzygy/KBvKB.rtbz differ diff --git a/tablebases/syzygy/KBvKN.rtbw b/tablebases/syzygy/KBvKN.rtbw new file mode 100644 index 0000000..c3b333b Binary files /dev/null and b/tablebases/syzygy/KBvKN.rtbw differ diff --git a/tablebases/syzygy/KBvKN.rtbz b/tablebases/syzygy/KBvKN.rtbz new file mode 100644 index 0000000..51f9fb0 Binary files /dev/null and b/tablebases/syzygy/KBvKN.rtbz differ diff --git a/tablebases/syzygy/KBvKP.rtbw b/tablebases/syzygy/KBvKP.rtbw new file mode 100644 index 0000000..e49fcab Binary files /dev/null and b/tablebases/syzygy/KBvKP.rtbw differ diff --git a/tablebases/syzygy/KBvKP.rtbz b/tablebases/syzygy/KBvKP.rtbz new file mode 100644 index 0000000..18474bc Binary files /dev/null and b/tablebases/syzygy/KBvKP.rtbz differ diff --git a/tablebases/syzygy/KNNvK.rtbw b/tablebases/syzygy/KNNvK.rtbw new file mode 100644 index 0000000..4285c50 Binary files /dev/null and b/tablebases/syzygy/KNNvK.rtbw differ diff --git a/tablebases/syzygy/KNNvK.rtbz b/tablebases/syzygy/KNNvK.rtbz new file mode 100644 index 0000000..4ca6f5d Binary files /dev/null and b/tablebases/syzygy/KNNvK.rtbz differ diff --git a/tablebases/syzygy/KNPvK.rtbw b/tablebases/syzygy/KNPvK.rtbw new file mode 100644 index 0000000..c32be85 Binary files /dev/null and b/tablebases/syzygy/KNPvK.rtbw differ diff --git a/tablebases/syzygy/KNPvK.rtbz b/tablebases/syzygy/KNPvK.rtbz new file mode 100644 index 0000000..3b8e095 Binary files /dev/null and b/tablebases/syzygy/KNPvK.rtbz differ diff --git a/tablebases/syzygy/KNvK.rtbw b/tablebases/syzygy/KNvK.rtbw new file mode 100644 index 0000000..c2d9633 Binary files /dev/null and b/tablebases/syzygy/KNvK.rtbw differ diff --git a/tablebases/syzygy/KNvK.rtbz b/tablebases/syzygy/KNvK.rtbz new file mode 100644 index 0000000..98383d6 Binary files /dev/null and b/tablebases/syzygy/KNvK.rtbz differ diff --git a/tablebases/syzygy/KNvKN.rtbw b/tablebases/syzygy/KNvKN.rtbw new file mode 100644 index 0000000..f73d2b8 Binary files /dev/null and b/tablebases/syzygy/KNvKN.rtbw differ diff --git a/tablebases/syzygy/KNvKN.rtbz b/tablebases/syzygy/KNvKN.rtbz new file mode 100644 index 0000000..f49eadb Binary files /dev/null and b/tablebases/syzygy/KNvKN.rtbz differ diff --git a/tablebases/syzygy/KNvKP.rtbw b/tablebases/syzygy/KNvKP.rtbw new file mode 100644 index 0000000..b3c6354 Binary files /dev/null and b/tablebases/syzygy/KNvKP.rtbw differ diff --git a/tablebases/syzygy/KNvKP.rtbz b/tablebases/syzygy/KNvKP.rtbz new file mode 100644 index 0000000..8347908 Binary files /dev/null and b/tablebases/syzygy/KNvKP.rtbz differ diff --git a/tablebases/syzygy/KPPvK.rtbw b/tablebases/syzygy/KPPvK.rtbw new file mode 100644 index 0000000..b42e753 Binary files /dev/null and b/tablebases/syzygy/KPPvK.rtbw differ diff --git a/tablebases/syzygy/KPPvK.rtbz b/tablebases/syzygy/KPPvK.rtbz new file mode 100644 index 0000000..ff87ec9 Binary files /dev/null and b/tablebases/syzygy/KPPvK.rtbz differ diff --git a/tablebases/syzygy/KPvK.rtbw b/tablebases/syzygy/KPvK.rtbw new file mode 100644 index 0000000..1419d56 Binary files /dev/null and b/tablebases/syzygy/KPvK.rtbw differ diff --git a/tablebases/syzygy/KPvK.rtbz b/tablebases/syzygy/KPvK.rtbz new file mode 100644 index 0000000..9830b06 Binary files /dev/null and b/tablebases/syzygy/KPvK.rtbz differ diff --git a/tablebases/syzygy/KPvKP.rtbw b/tablebases/syzygy/KPvKP.rtbw new file mode 100644 index 0000000..ccd82be Binary files /dev/null and b/tablebases/syzygy/KPvKP.rtbw differ diff --git a/tablebases/syzygy/KPvKP.rtbz b/tablebases/syzygy/KPvKP.rtbz new file mode 100644 index 0000000..26e0b23 Binary files /dev/null and b/tablebases/syzygy/KPvKP.rtbz differ diff --git a/tablebases/syzygy/KQBvK.rtbw b/tablebases/syzygy/KQBvK.rtbw new file mode 100644 index 0000000..43081b0 Binary files /dev/null and b/tablebases/syzygy/KQBvK.rtbw differ diff --git a/tablebases/syzygy/KQBvK.rtbz b/tablebases/syzygy/KQBvK.rtbz new file mode 100644 index 0000000..514c4eb Binary files /dev/null and b/tablebases/syzygy/KQBvK.rtbz differ diff --git a/tablebases/syzygy/KQNvK.rtbw b/tablebases/syzygy/KQNvK.rtbw new file mode 100644 index 0000000..24e2990 Binary files /dev/null and b/tablebases/syzygy/KQNvK.rtbw differ diff --git a/tablebases/syzygy/KQNvK.rtbz b/tablebases/syzygy/KQNvK.rtbz new file mode 100644 index 0000000..807c2d9 Binary files /dev/null and b/tablebases/syzygy/KQNvK.rtbz differ diff --git a/tablebases/syzygy/KQPvK.rtbw b/tablebases/syzygy/KQPvK.rtbw new file mode 100644 index 0000000..a0c1e17 Binary files /dev/null and b/tablebases/syzygy/KQPvK.rtbw differ diff --git a/tablebases/syzygy/KQPvK.rtbz b/tablebases/syzygy/KQPvK.rtbz new file mode 100644 index 0000000..62bd005 Binary files /dev/null and b/tablebases/syzygy/KQPvK.rtbz differ diff --git a/tablebases/syzygy/KQQvK.rtbw b/tablebases/syzygy/KQQvK.rtbw new file mode 100644 index 0000000..b783ac0 Binary files /dev/null and b/tablebases/syzygy/KQQvK.rtbw differ diff --git a/tablebases/syzygy/KQQvK.rtbz b/tablebases/syzygy/KQQvK.rtbz new file mode 100644 index 0000000..4941b1e Binary files /dev/null and b/tablebases/syzygy/KQQvK.rtbz differ diff --git a/tablebases/syzygy/KQRvK.rtbw b/tablebases/syzygy/KQRvK.rtbw new file mode 100644 index 0000000..c02f117 Binary files /dev/null and b/tablebases/syzygy/KQRvK.rtbw differ diff --git a/tablebases/syzygy/KQRvK.rtbz b/tablebases/syzygy/KQRvK.rtbz new file mode 100644 index 0000000..0f776e4 Binary files /dev/null and b/tablebases/syzygy/KQRvK.rtbz differ diff --git a/tablebases/syzygy/KQvK.rtbw b/tablebases/syzygy/KQvK.rtbw new file mode 100644 index 0000000..2cec0f0 Binary files /dev/null and b/tablebases/syzygy/KQvK.rtbw differ diff --git a/tablebases/syzygy/KQvK.rtbz b/tablebases/syzygy/KQvK.rtbz new file mode 100644 index 0000000..66d25ad Binary files /dev/null and b/tablebases/syzygy/KQvK.rtbz differ diff --git a/tablebases/syzygy/KQvKB.rtbw b/tablebases/syzygy/KQvKB.rtbw new file mode 100644 index 0000000..452736a Binary files /dev/null and b/tablebases/syzygy/KQvKB.rtbw differ diff --git a/tablebases/syzygy/KQvKB.rtbz b/tablebases/syzygy/KQvKB.rtbz new file mode 100644 index 0000000..2e45877 Binary files /dev/null and b/tablebases/syzygy/KQvKB.rtbz differ diff --git a/tablebases/syzygy/KQvKN.rtbw b/tablebases/syzygy/KQvKN.rtbw new file mode 100644 index 0000000..16f0e8c Binary files /dev/null and b/tablebases/syzygy/KQvKN.rtbw differ diff --git a/tablebases/syzygy/KQvKN.rtbz b/tablebases/syzygy/KQvKN.rtbz new file mode 100644 index 0000000..cae49f7 Binary files /dev/null and b/tablebases/syzygy/KQvKN.rtbz differ diff --git a/tablebases/syzygy/KQvKP.rtbw b/tablebases/syzygy/KQvKP.rtbw new file mode 100644 index 0000000..8623bfc Binary files /dev/null and b/tablebases/syzygy/KQvKP.rtbw differ diff --git a/tablebases/syzygy/KQvKP.rtbz b/tablebases/syzygy/KQvKP.rtbz new file mode 100644 index 0000000..d5bdcd9 Binary files /dev/null and b/tablebases/syzygy/KQvKP.rtbz differ diff --git a/tablebases/syzygy/KQvKQ.rtbw b/tablebases/syzygy/KQvKQ.rtbw new file mode 100644 index 0000000..fc74242 Binary files /dev/null and b/tablebases/syzygy/KQvKQ.rtbw differ diff --git a/tablebases/syzygy/KQvKQ.rtbz b/tablebases/syzygy/KQvKQ.rtbz new file mode 100644 index 0000000..ec17fc7 Binary files /dev/null and b/tablebases/syzygy/KQvKQ.rtbz differ diff --git a/tablebases/syzygy/KQvKR.rtbw b/tablebases/syzygy/KQvKR.rtbw new file mode 100644 index 0000000..9525455 Binary files /dev/null and b/tablebases/syzygy/KQvKR.rtbw differ diff --git a/tablebases/syzygy/KQvKR.rtbz b/tablebases/syzygy/KQvKR.rtbz new file mode 100644 index 0000000..96e65b5 Binary files /dev/null and b/tablebases/syzygy/KQvKR.rtbz differ diff --git a/tablebases/syzygy/KRBvK.rtbw b/tablebases/syzygy/KRBvK.rtbw new file mode 100644 index 0000000..46d583a Binary files /dev/null and b/tablebases/syzygy/KRBvK.rtbw differ diff --git a/tablebases/syzygy/KRBvK.rtbz b/tablebases/syzygy/KRBvK.rtbz new file mode 100644 index 0000000..dfc936e Binary files /dev/null and b/tablebases/syzygy/KRBvK.rtbz differ diff --git a/tablebases/syzygy/KRNvK.rtbw b/tablebases/syzygy/KRNvK.rtbw new file mode 100644 index 0000000..a0bbcd8 Binary files /dev/null and b/tablebases/syzygy/KRNvK.rtbw differ diff --git a/tablebases/syzygy/KRNvK.rtbz b/tablebases/syzygy/KRNvK.rtbz new file mode 100644 index 0000000..7050008 Binary files /dev/null and b/tablebases/syzygy/KRNvK.rtbz differ diff --git a/tablebases/syzygy/KRPvK.rtbw b/tablebases/syzygy/KRPvK.rtbw new file mode 100644 index 0000000..d01bf05 Binary files /dev/null and b/tablebases/syzygy/KRPvK.rtbw differ diff --git a/tablebases/syzygy/KRPvK.rtbz b/tablebases/syzygy/KRPvK.rtbz new file mode 100644 index 0000000..50c965a Binary files /dev/null and b/tablebases/syzygy/KRPvK.rtbz differ diff --git a/tablebases/syzygy/KRRvK.rtbw b/tablebases/syzygy/KRRvK.rtbw new file mode 100644 index 0000000..3636f98 Binary files /dev/null and b/tablebases/syzygy/KRRvK.rtbw differ diff --git a/tablebases/syzygy/KRRvK.rtbz b/tablebases/syzygy/KRRvK.rtbz new file mode 100644 index 0000000..0dd338a Binary files /dev/null and b/tablebases/syzygy/KRRvK.rtbz differ diff --git a/tablebases/syzygy/KRvK.rtbw b/tablebases/syzygy/KRvK.rtbw new file mode 100644 index 0000000..82e0a03 Binary files /dev/null and b/tablebases/syzygy/KRvK.rtbw differ diff --git a/tablebases/syzygy/KRvK.rtbz b/tablebases/syzygy/KRvK.rtbz new file mode 100644 index 0000000..239f4a7 Binary files /dev/null and b/tablebases/syzygy/KRvK.rtbz differ diff --git a/tablebases/syzygy/KRvKB.rtbw b/tablebases/syzygy/KRvKB.rtbw new file mode 100644 index 0000000..04e113f Binary files /dev/null and b/tablebases/syzygy/KRvKB.rtbw differ diff --git a/tablebases/syzygy/KRvKB.rtbz b/tablebases/syzygy/KRvKB.rtbz new file mode 100644 index 0000000..b9b215c Binary files /dev/null and b/tablebases/syzygy/KRvKB.rtbz differ diff --git a/tablebases/syzygy/KRvKN.rtbw b/tablebases/syzygy/KRvKN.rtbw new file mode 100644 index 0000000..5c4f885 Binary files /dev/null and b/tablebases/syzygy/KRvKN.rtbw differ diff --git a/tablebases/syzygy/KRvKN.rtbz b/tablebases/syzygy/KRvKN.rtbz new file mode 100644 index 0000000..3b73c3e Binary files /dev/null and b/tablebases/syzygy/KRvKN.rtbz differ diff --git a/tablebases/syzygy/KRvKP.rtbw b/tablebases/syzygy/KRvKP.rtbw new file mode 100644 index 0000000..9e50150 Binary files /dev/null and b/tablebases/syzygy/KRvKP.rtbw differ diff --git a/tablebases/syzygy/KRvKP.rtbz b/tablebases/syzygy/KRvKP.rtbz new file mode 100644 index 0000000..47725a8 Binary files /dev/null and b/tablebases/syzygy/KRvKP.rtbz differ diff --git a/tablebases/syzygy/KRvKR.rtbw b/tablebases/syzygy/KRvKR.rtbw new file mode 100644 index 0000000..ee2d875 Binary files /dev/null and b/tablebases/syzygy/KRvKR.rtbw differ diff --git a/tablebases/syzygy/KRvKR.rtbz b/tablebases/syzygy/KRvKR.rtbz new file mode 100644 index 0000000..91f603e Binary files /dev/null and b/tablebases/syzygy/KRvKR.rtbz differ diff --git a/talker/__init__.py b/talker/__init__.py new file mode 100644 index 0000000..cd0ffaf --- /dev/null +++ b/talker/__init__.py @@ -0,0 +1,23 @@ +#!/usr/bin/env python3 + +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +__all__ = ['picotalker'] +__author__ = 'Jürgen Précour' +__email__ = 'LocutusOfPenguin@posteo.de' +__version__ = '0.9m' diff --git a/talker/picotalker.py b/talker/picotalker.py new file mode 100644 index 0000000..24ac8e8 --- /dev/null +++ b/talker/picotalker.py @@ -0,0 +1,376 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# for this (picotalker) to work you need to run these commands (if you haven't done before) +# apt-get install vorbis-tools +# apt-get install sox + +import threading +import logging +import subprocess +import queue +from pathlib import Path +from shutil import which + +import chess +from utilities import DisplayMsg +from timecontrol import TimeControl +from dgt.api import Message +from dgt.util import GameResult, PlayMode, Voice + + +class PicoTalker(object): + + """Handle the human speaking of events.""" + + def __init__(self, localisation_id_voice, speed_factor: float): + self.voice_path = None + self.speed_factor = 1.0 + self.set_speed_factor(speed_factor) + + try: + (localisation_id, voice_name) = localisation_id_voice.split(':') + voice_path = 'talker/voices/' + localisation_id + '/' + voice_name + if Path(voice_path).exists(): + self.voice_path = voice_path + else: + logging.warning('voice path [%s] doesnt exist', voice_path) + except ValueError: + logging.warning('not valid voice parameter') + + def set_speed_factor(self, speed_factor: float): + """Set the speed voice factor.""" + self.speed_factor = speed_factor if which('play') else 1.0 # check for "sox" package + + def talk(self, sounds): + """Speak out the sound part by using ogg123/play.""" + if not self.voice_path: + logging.debug('picotalker turned off') + return False + + vpath = self.voice_path + result = False + for part in sounds: + voice_file = vpath + '/' + part + if Path(voice_file).is_file(): + if self.speed_factor == 1.0: + command = ['ogg123', voice_file] + else: + command = ['play', voice_file, 'tempo', str(self.speed_factor)] + try: # use blocking call + subprocess.call(command, shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + result = True + except OSError as os_exc: + logging.warning('OSError: %s => turn voice OFF', os_exc) + self.voice_path = None + return False + else: + logging.warning('voice file not found %s', voice_file) + return result + + +class PicoTalkerDisplay(DisplayMsg, threading.Thread): + + """Listen on messages for talking.""" + + USER = 'user' + COMPUTER = 'computer' + SYSTEM = 'system' + + def __init__(self, user_voice: str, computer_voice: str, speed_factor: int, setpieces_voice: bool): + """ + Initialize a PicoTalkerDisplay with voices for the user and/or computer players. + + :param user_voice: The voice to use for the user (eg. en:al). + :param computer_voice: The voice to use for the computer (eg. en:christina). + """ + super(PicoTalkerDisplay, self).__init__() + self.user_picotalker = None # type: PicoTalker + self.computer_picotalker = None # type: PicoTalker + self.speed_factor = (90 + (speed_factor % 10) * 5) / 100 + self.play_mode = PlayMode.USER_WHITE + self.low_time = False + self.play_game = None # saves the game after a computer move - used for "setpieces" to speak the move again + self.setpieces_voice = setpieces_voice + + if user_voice: + logging.debug('creating user voice: [%s]', str(user_voice)) + self.set_user(PicoTalker(user_voice, self.speed_factor)) + if computer_voice: + logging.debug('creating computer voice: [%s]', str(computer_voice)) + self.set_computer(PicoTalker(computer_voice, self.speed_factor)) + + def set_computer(self, picotalker): + """Set the computer talker.""" + self.computer_picotalker = picotalker + + def set_user(self, picotalker): + """Set the user talker.""" + self.user_picotalker = picotalker + + def set_factor(self, speed_factor): + """Set speech factor.""" + if self.computer_picotalker: + self.computer_picotalker.set_speed_factor(speed_factor) + if self.user_picotalker: + self.user_picotalker.set_speed_factor(speed_factor) + + def talk(self, sounds, dev=SYSTEM): + if self.low_time: + return + if False: # switch-case + pass + elif dev == self.USER: + if self.user_picotalker: + self.user_picotalker.talk(sounds) + elif dev == self.COMPUTER: + if self.computer_picotalker: + self.computer_picotalker.talk(sounds) + elif dev == self.SYSTEM: + if self.computer_picotalker: + if self.computer_picotalker.talk(sounds): + return + if self.user_picotalker: + self.user_picotalker.talk(sounds) + + def run(self): + """Start listening for Messages on our queue and generate speech as appropriate.""" + previous_move = chess.Move.null() # Ignore repeated broadcasts of a move + logging.info('msg_queue ready') + while True: + try: + # Check if we have something to say + message = self.msg_queue.get() + + if False: # switch-case + pass + elif isinstance(message, Message.ENGINE_FAIL): + logging.debug('announcing ENGINE_FAIL') + self.talk(['error.ogg']) + + elif isinstance(message, Message.START_NEW_GAME): + if message.newgame: + logging.debug('announcing START_NEW_GAME') + self.talk(['newgame.ogg']) + self.play_game = None + + elif isinstance(message, Message.COMPUTER_MOVE): + if message.move and message.game and message.move != previous_move: + logging.debug('announcing COMPUTER_MOVE [%s]', message.move) + game_copy = message.game.copy() + game_copy.push(message.move) + self.talk(self.say_last_move(game_copy), self.COMPUTER) + previous_move = message.move + self.play_game = game_copy + + elif isinstance(message, Message.COMPUTER_MOVE_DONE): + self.play_game = None + + elif isinstance(message, Message.USER_MOVE_DONE): + if message.move and message.game and message.move != previous_move: + logging.debug('announcing USER_MOVE_DONE [%s]', message.move) + self.talk(self.say_last_move(message.game), self.USER) + previous_move = message.move + self.play_game = None + + elif isinstance(message, Message.REVIEW_MOVE_DONE): + if message.move and message.game and message.move != previous_move: + logging.debug('announcing REVIEW_MOVE_DONE [%s]', message.move) + self.talk(self.say_last_move(message.game), self.USER) + previous_move = message.move + self.play_game = None # @todo why thats not set in dgtdisplay? + + elif isinstance(message, Message.GAME_ENDS): + if message.result == GameResult.OUT_OF_TIME: + logging.debug('announcing GAME_ENDS/TIME_CONTROL') + wins = 'whitewins.ogg' if message.game.turn == chess.BLACK else 'blackwins.ogg' + self.talk(['timelost.ogg', wins]) + elif message.result == GameResult.INSUFFICIENT_MATERIAL: + logging.debug('announcing GAME_ENDS/INSUFFICIENT_MATERIAL') + self.talk(['material.ogg', 'draw.ogg']) + elif message.result == GameResult.MATE: + logging.debug('announcing GAME_ENDS/MATE') + self.talk(['checkmate.ogg']) + elif message.result == GameResult.STALEMATE: + logging.debug('announcing GAME_ENDS/STALEMATE') + self.talk(['stalemate.ogg']) + elif message.result == GameResult.ABORT: + logging.debug('announcing GAME_ENDS/ABORT') + self.talk(['abort.ogg']) + elif message.result == GameResult.DRAW: + logging.debug('announcing GAME_ENDS/DRAW') + self.talk(['draw.ogg']) + elif message.result == GameResult.WIN_WHITE: + logging.debug('announcing GAME_ENDS/WHITE_WIN') + self.talk(['whitewins.ogg']) + elif message.result == GameResult.WIN_BLACK: + logging.debug('announcing GAME_ENDS/BLACK_WIN') + self.talk(['blackwins.ogg']) + elif message.result == GameResult.FIVEFOLD_REPETITION: + logging.debug('announcing GAME_ENDS/FIVEFOLD_REPETITION') + self.talk(['repetition.ogg', 'draw.ogg']) + + elif isinstance(message, Message.TAKE_BACK): + logging.debug('announcing TAKE_BACK') + self.talk(['takeback.ogg']) + self.play_game = None + previous_move = chess.Move.null() + + elif isinstance(message, Message.TIME_CONTROL): + logging.debug('announcing TIME_CONTROL') + self.talk(['oktime.ogg']) + + elif isinstance(message, Message.INTERACTION_MODE): + logging.debug('announcing INTERACTION_MODE') + self.talk(['okmode.ogg']) + + elif isinstance(message, Message.LEVEL): + if message.do_speak: + logging.debug('announcing LEVEL') + self.talk(['oklevel.ogg']) + else: + logging.debug('dont announce LEVEL cause its also an engine message') + + elif isinstance(message, Message.OPENING_BOOK): + logging.debug('announcing OPENING_BOOK') + self.talk(['okbook.ogg']) + + elif isinstance(message, Message.ENGINE_READY): + logging.debug('announcing ENGINE_READY') + self.talk(['okengine.ogg']) + + elif isinstance(message, Message.PLAY_MODE): + logging.debug('announcing PLAY_MODE') + self.play_mode = message.play_mode + userplay = 'userblack.ogg' if message.play_mode == PlayMode.USER_BLACK else 'userwhite.ogg' + self.talk([userplay]) + + elif isinstance(message, Message.STARTUP_INFO): + self.play_mode = message.info['play_mode'] + logging.debug('announcing PICOCHESS') + self.talk(['picoChess.ogg']) + + elif isinstance(message, Message.CLOCK_TIME): + self.low_time = message.low_time + if self.low_time: + logging.debug('time too low, disable voice - w: %i, b: %i', message.time_white, + message.time_black) + + elif isinstance(message, Message.ALTERNATIVE_MOVE): + self.play_mode = message.play_mode + self.play_game = None + + elif isinstance(message, Message.SYSTEM_SHUTDOWN): + logging.debug('announcing SHUTDOWN') + self.talk(['goodbye.ogg']) + + elif isinstance(message, Message.SYSTEM_REBOOT): + logging.debug('announcing REBOOT') + self.talk(['pleasewait.ogg']) + + elif isinstance(message, Message.SET_VOICE): + self.speed_factor = (90 + (message.speed % 10) * 5) / 100 + localisation_id_voice = message.lang + ':' + message.speaker + if message.type == Voice.USER: + self.set_user(PicoTalker(localisation_id_voice, self.speed_factor)) + if message.type == Voice.COMP: + self.set_computer(PicoTalker(localisation_id_voice, self.speed_factor)) + if message.type == Voice.SPEED: + self.set_factor(self.speed_factor) + + elif isinstance(message, Message.WRONG_FEN): + if self.play_game and self.setpieces_voice: + self.talk(self.say_last_move(self.play_game), self.COMPUTER) + + else: # Default + pass + except queue.Empty: + pass + + @staticmethod + def say_last_move(game: chess.Board): + """Take a chess.BitBoard instance and speaks the last move from it.""" + move_parts = { + 'K': 'king.ogg', + 'B': 'bishop.ogg', + 'N': 'knight.ogg', + 'R': 'rook.ogg', + 'Q': 'queen.ogg', + 'P': 'pawn.ogg', + '+': '', + '#': '', + 'x': 'takes.ogg', + '=': 'promote.ogg', + 'a': 'a.ogg', + 'b': 'b.ogg', + 'c': 'c.ogg', + 'd': 'd.ogg', + 'e': 'e.ogg', + 'f': 'f.ogg', + 'g': 'g.ogg', + 'h': 'h.ogg', + '1': '1.ogg', + '2': '2.ogg', + '3': '3.ogg', + '4': '4.ogg', + '5': '5.ogg', + '6': '6.ogg', + '7': '7.ogg', + '8': '8.ogg' + } + + bit_board = game.copy() + move = bit_board.pop() + san_move = bit_board.san(move) + voice_parts = [] + + if san_move.startswith('O-O-O'): + voice_parts += ['castlequeenside.ogg'] + elif san_move.startswith('O-O'): + voice_parts += ['castlekingside.ogg'] + else: + for part in san_move: + try: + sound_file = move_parts[part] + except KeyError: + logging.warning('unknown char found in san: [%s : %s]', san_move, part) + sound_file = '' + if sound_file: + voice_parts += [sound_file] + + if game.is_game_over(): + if game.is_checkmate(): + wins = 'whitewins.ogg' if game.turn == chess.BLACK else 'blackwins.ogg' + voice_parts += ['checkmate.ogg', wins] + elif game.is_stalemate(): + voice_parts += ['stalemate.ogg'] + else: + if game.is_seventyfive_moves(): + voice_parts += ['75moves.ogg', 'draw.ogg'] + elif game.is_insufficient_material(): + voice_parts += ['material.ogg', 'draw.ogg'] + elif game.is_fivefold_repetition(): + voice_parts += ['repetition.ogg', 'draw.ogg'] + else: + voice_parts += ['draw.ogg'] + elif game.is_check(): + voice_parts += ['check.ogg'] + + if bit_board.is_en_passant(move): + voice_parts += ['enpassant.ogg'] + + return voice_parts diff --git a/talker/voices/README.md b/talker/voices/README.md new file mode 100644 index 0000000..b9b1f5b --- /dev/null +++ b/talker/voices/README.md @@ -0,0 +1,17 @@ +General +======= +This folder is for the human voice in various languages. Place your voice in a name folder with max 8 chars inside the language folder. +You can take a look at the language folders for examples. Each voice folder must have the same ogg files as the other ones +(for example sounds from A-H, 1-8, the pieces names and some more special voices). +When you put your folder inside, please run "python3 /opt/picochess/build_voices.py" to activate them. + + +Get famous by providing your voice +=================================== +If you cant program in python but like this project you can help us to give such ogg files to the community back. +Lateron the whole world will hear you speaking for picochess (inside the DGTPi for example). So get famous and give back something. + + +If you have problems please don't hassitate to contact me over eMail or skype. + +LocutusOfPenguin diff --git a/talker/voices/de/christina/1.ogg b/talker/voices/de/christina/1.ogg new file mode 100644 index 0000000..187a753 Binary files /dev/null and b/talker/voices/de/christina/1.ogg differ diff --git a/talker/voices/de/christina/2.ogg b/talker/voices/de/christina/2.ogg new file mode 100644 index 0000000..ad14b2e Binary files /dev/null and b/talker/voices/de/christina/2.ogg differ diff --git a/talker/voices/de/christina/3.ogg b/talker/voices/de/christina/3.ogg new file mode 100644 index 0000000..e30e11f Binary files /dev/null and b/talker/voices/de/christina/3.ogg differ diff --git a/talker/voices/de/christina/4.ogg b/talker/voices/de/christina/4.ogg new file mode 100644 index 0000000..e2970a8 Binary files /dev/null and b/talker/voices/de/christina/4.ogg differ diff --git a/talker/voices/de/christina/5.ogg b/talker/voices/de/christina/5.ogg new file mode 100644 index 0000000..5fd8642 Binary files /dev/null and b/talker/voices/de/christina/5.ogg differ diff --git a/talker/voices/de/christina/6.ogg b/talker/voices/de/christina/6.ogg new file mode 100644 index 0000000..cf333da Binary files /dev/null and b/talker/voices/de/christina/6.ogg differ diff --git a/talker/voices/de/christina/7.ogg b/talker/voices/de/christina/7.ogg new file mode 100644 index 0000000..a03278f Binary files /dev/null and b/talker/voices/de/christina/7.ogg differ diff --git a/talker/voices/de/christina/75moves.ogg b/talker/voices/de/christina/75moves.ogg new file mode 100644 index 0000000..2a8f252 Binary files /dev/null and b/talker/voices/de/christina/75moves.ogg differ diff --git a/talker/voices/de/christina/8.ogg b/talker/voices/de/christina/8.ogg new file mode 100644 index 0000000..3d387a2 Binary files /dev/null and b/talker/voices/de/christina/8.ogg differ diff --git a/talker/voices/de/christina/a.ogg b/talker/voices/de/christina/a.ogg new file mode 100644 index 0000000..e78da5e Binary files /dev/null and b/talker/voices/de/christina/a.ogg differ diff --git a/talker/voices/de/christina/abort.ogg b/talker/voices/de/christina/abort.ogg new file mode 100644 index 0000000..cb79242 Binary files /dev/null and b/talker/voices/de/christina/abort.ogg differ diff --git a/talker/voices/de/christina/b.ogg b/talker/voices/de/christina/b.ogg new file mode 100644 index 0000000..88089f1 Binary files /dev/null and b/talker/voices/de/christina/b.ogg differ diff --git a/talker/voices/de/christina/bishop.ogg b/talker/voices/de/christina/bishop.ogg new file mode 100644 index 0000000..e552423 Binary files /dev/null and b/talker/voices/de/christina/bishop.ogg differ diff --git a/talker/voices/de/christina/blackwins.ogg b/talker/voices/de/christina/blackwins.ogg new file mode 100644 index 0000000..4fc44c4 Binary files /dev/null and b/talker/voices/de/christina/blackwins.ogg differ diff --git a/talker/voices/de/christina/c.ogg b/talker/voices/de/christina/c.ogg new file mode 100644 index 0000000..fff6fac Binary files /dev/null and b/talker/voices/de/christina/c.ogg differ diff --git a/talker/voices/de/christina/castlekingside.ogg b/talker/voices/de/christina/castlekingside.ogg new file mode 100644 index 0000000..e79d216 Binary files /dev/null and b/talker/voices/de/christina/castlekingside.ogg differ diff --git a/talker/voices/de/christina/castlequeenside.ogg b/talker/voices/de/christina/castlequeenside.ogg new file mode 100644 index 0000000..8694da0 Binary files /dev/null and b/talker/voices/de/christina/castlequeenside.ogg differ diff --git a/talker/voices/de/christina/check.ogg b/talker/voices/de/christina/check.ogg new file mode 100644 index 0000000..37addf6 Binary files /dev/null and b/talker/voices/de/christina/check.ogg differ diff --git a/talker/voices/de/christina/checkmate.ogg b/talker/voices/de/christina/checkmate.ogg new file mode 100644 index 0000000..8401903 Binary files /dev/null and b/talker/voices/de/christina/checkmate.ogg differ diff --git a/talker/voices/de/christina/d.ogg b/talker/voices/de/christina/d.ogg new file mode 100644 index 0000000..9038b02 Binary files /dev/null and b/talker/voices/de/christina/d.ogg differ diff --git a/talker/voices/de/christina/draw.ogg b/talker/voices/de/christina/draw.ogg new file mode 100644 index 0000000..cce6b61 Binary files /dev/null and b/talker/voices/de/christina/draw.ogg differ diff --git a/talker/voices/de/christina/e.ogg b/talker/voices/de/christina/e.ogg new file mode 100644 index 0000000..ed3246b Binary files /dev/null and b/talker/voices/de/christina/e.ogg differ diff --git a/talker/voices/de/christina/enpassant.ogg b/talker/voices/de/christina/enpassant.ogg new file mode 100644 index 0000000..1016b58 Binary files /dev/null and b/talker/voices/de/christina/enpassant.ogg differ diff --git a/talker/voices/de/christina/error.ogg b/talker/voices/de/christina/error.ogg new file mode 100644 index 0000000..da63b0f Binary files /dev/null and b/talker/voices/de/christina/error.ogg differ diff --git a/talker/voices/de/christina/f.ogg b/talker/voices/de/christina/f.ogg new file mode 100644 index 0000000..47a6b3b Binary files /dev/null and b/talker/voices/de/christina/f.ogg differ diff --git a/talker/voices/de/christina/g.ogg b/talker/voices/de/christina/g.ogg new file mode 100644 index 0000000..17cf339 Binary files /dev/null and b/talker/voices/de/christina/g.ogg differ diff --git a/talker/voices/de/christina/goodbye.ogg b/talker/voices/de/christina/goodbye.ogg new file mode 100644 index 0000000..89b1440 Binary files /dev/null and b/talker/voices/de/christina/goodbye.ogg differ diff --git a/talker/voices/de/christina/h.ogg b/talker/voices/de/christina/h.ogg new file mode 100644 index 0000000..33ef99d Binary files /dev/null and b/talker/voices/de/christina/h.ogg differ diff --git a/talker/voices/de/christina/king.ogg b/talker/voices/de/christina/king.ogg new file mode 100644 index 0000000..507015e Binary files /dev/null and b/talker/voices/de/christina/king.ogg differ diff --git a/talker/voices/de/christina/knight.ogg b/talker/voices/de/christina/knight.ogg new file mode 100644 index 0000000..d979921 Binary files /dev/null and b/talker/voices/de/christina/knight.ogg differ diff --git a/talker/voices/de/christina/material.ogg b/talker/voices/de/christina/material.ogg new file mode 100644 index 0000000..8a94390 Binary files /dev/null and b/talker/voices/de/christina/material.ogg differ diff --git a/talker/voices/de/christina/moveblack.ogg b/talker/voices/de/christina/moveblack.ogg new file mode 100644 index 0000000..a3bacd7 Binary files /dev/null and b/talker/voices/de/christina/moveblack.ogg differ diff --git a/talker/voices/de/christina/movewhite.ogg b/talker/voices/de/christina/movewhite.ogg new file mode 100644 index 0000000..eca087c Binary files /dev/null and b/talker/voices/de/christina/movewhite.ogg differ diff --git a/talker/voices/de/christina/newgame.ogg b/talker/voices/de/christina/newgame.ogg new file mode 100644 index 0000000..53b7f1d Binary files /dev/null and b/talker/voices/de/christina/newgame.ogg differ diff --git a/talker/voices/de/christina/ok.ogg b/talker/voices/de/christina/ok.ogg new file mode 100644 index 0000000..a62500d Binary files /dev/null and b/talker/voices/de/christina/ok.ogg differ diff --git a/talker/voices/de/christina/okbook.ogg b/talker/voices/de/christina/okbook.ogg new file mode 100644 index 0000000..2661112 Binary files /dev/null and b/talker/voices/de/christina/okbook.ogg differ diff --git a/talker/voices/de/christina/okengine.ogg b/talker/voices/de/christina/okengine.ogg new file mode 100644 index 0000000..256fc87 Binary files /dev/null and b/talker/voices/de/christina/okengine.ogg differ diff --git a/talker/voices/de/christina/oklevel.ogg b/talker/voices/de/christina/oklevel.ogg new file mode 100644 index 0000000..cbcebd5 Binary files /dev/null and b/talker/voices/de/christina/oklevel.ogg differ diff --git a/talker/voices/de/christina/okmode.ogg b/talker/voices/de/christina/okmode.ogg new file mode 100644 index 0000000..9395c8d Binary files /dev/null and b/talker/voices/de/christina/okmode.ogg differ diff --git a/talker/voices/de/christina/oktime.ogg b/talker/voices/de/christina/oktime.ogg new file mode 100644 index 0000000..0a39ed9 Binary files /dev/null and b/talker/voices/de/christina/oktime.ogg differ diff --git a/talker/voices/de/christina/pawn.ogg b/talker/voices/de/christina/pawn.ogg new file mode 100644 index 0000000..9518e43 Binary files /dev/null and b/talker/voices/de/christina/pawn.ogg differ diff --git a/talker/voices/de/christina/picoChess.ogg b/talker/voices/de/christina/picoChess.ogg new file mode 100644 index 0000000..3c5f033 Binary files /dev/null and b/talker/voices/de/christina/picoChess.ogg differ diff --git a/talker/voices/de/christina/pleasewait.ogg b/talker/voices/de/christina/pleasewait.ogg new file mode 100644 index 0000000..243e614 Binary files /dev/null and b/talker/voices/de/christina/pleasewait.ogg differ diff --git a/talker/voices/de/christina/promote.ogg b/talker/voices/de/christina/promote.ogg new file mode 100644 index 0000000..7f3667e Binary files /dev/null and b/talker/voices/de/christina/promote.ogg differ diff --git a/talker/voices/de/christina/queen.ogg b/talker/voices/de/christina/queen.ogg new file mode 100644 index 0000000..937e9f2 Binary files /dev/null and b/talker/voices/de/christina/queen.ogg differ diff --git a/talker/voices/de/christina/reboot.ogg b/talker/voices/de/christina/reboot.ogg new file mode 100644 index 0000000..d53537a Binary files /dev/null and b/talker/voices/de/christina/reboot.ogg differ diff --git a/talker/voices/de/christina/repetition.ogg b/talker/voices/de/christina/repetition.ogg new file mode 100644 index 0000000..fce942c Binary files /dev/null and b/talker/voices/de/christina/repetition.ogg differ diff --git a/talker/voices/de/christina/rook.ogg b/talker/voices/de/christina/rook.ogg new file mode 100644 index 0000000..1d987fc Binary files /dev/null and b/talker/voices/de/christina/rook.ogg differ diff --git a/talker/voices/de/christina/setpieces.ogg b/talker/voices/de/christina/setpieces.ogg new file mode 100644 index 0000000..25eeda5 Binary files /dev/null and b/talker/voices/de/christina/setpieces.ogg differ diff --git a/talker/voices/de/christina/stalemate.ogg b/talker/voices/de/christina/stalemate.ogg new file mode 100644 index 0000000..43babc6 Binary files /dev/null and b/talker/voices/de/christina/stalemate.ogg differ diff --git a/talker/voices/de/christina/takeback.ogg b/talker/voices/de/christina/takeback.ogg new file mode 100644 index 0000000..49c91ac Binary files /dev/null and b/talker/voices/de/christina/takeback.ogg differ diff --git a/talker/voices/de/christina/takes.ogg b/talker/voices/de/christina/takes.ogg new file mode 100644 index 0000000..7dacb45 Binary files /dev/null and b/talker/voices/de/christina/takes.ogg differ diff --git a/talker/voices/de/christina/timelost.ogg b/talker/voices/de/christina/timelost.ogg new file mode 100644 index 0000000..d5fd025 Binary files /dev/null and b/talker/voices/de/christina/timelost.ogg differ diff --git a/talker/voices/de/christina/userblack.ogg b/talker/voices/de/christina/userblack.ogg new file mode 100644 index 0000000..78fd1aa Binary files /dev/null and b/talker/voices/de/christina/userblack.ogg differ diff --git a/talker/voices/de/christina/userwhite.ogg b/talker/voices/de/christina/userwhite.ogg new file mode 100644 index 0000000..a127fa1 Binary files /dev/null and b/talker/voices/de/christina/userwhite.ogg differ diff --git a/talker/voices/de/christina/whitewins.ogg b/talker/voices/de/christina/whitewins.ogg new file mode 100644 index 0000000..581c4ec Binary files /dev/null and b/talker/voices/de/christina/whitewins.ogg differ diff --git a/talker/voices/de/janniclas/1.ogg b/talker/voices/de/janniclas/1.ogg new file mode 100644 index 0000000..89ad1a5 Binary files /dev/null and b/talker/voices/de/janniclas/1.ogg differ diff --git a/talker/voices/de/janniclas/2.ogg b/talker/voices/de/janniclas/2.ogg new file mode 100644 index 0000000..6f93559 Binary files /dev/null and b/talker/voices/de/janniclas/2.ogg differ diff --git a/talker/voices/de/janniclas/3.ogg b/talker/voices/de/janniclas/3.ogg new file mode 100644 index 0000000..284a10d Binary files /dev/null and b/talker/voices/de/janniclas/3.ogg differ diff --git a/talker/voices/de/janniclas/4.ogg b/talker/voices/de/janniclas/4.ogg new file mode 100644 index 0000000..cd28c02 Binary files /dev/null and b/talker/voices/de/janniclas/4.ogg differ diff --git a/talker/voices/de/janniclas/5.ogg b/talker/voices/de/janniclas/5.ogg new file mode 100644 index 0000000..e6bb894 Binary files /dev/null and b/talker/voices/de/janniclas/5.ogg differ diff --git a/talker/voices/de/janniclas/6.ogg b/talker/voices/de/janniclas/6.ogg new file mode 100644 index 0000000..59d14b8 Binary files /dev/null and b/talker/voices/de/janniclas/6.ogg differ diff --git a/talker/voices/de/janniclas/7.ogg b/talker/voices/de/janniclas/7.ogg new file mode 100644 index 0000000..ab1190b Binary files /dev/null and b/talker/voices/de/janniclas/7.ogg differ diff --git a/talker/voices/de/janniclas/75moves.ogg b/talker/voices/de/janniclas/75moves.ogg new file mode 100644 index 0000000..fd6faa0 Binary files /dev/null and b/talker/voices/de/janniclas/75moves.ogg differ diff --git a/talker/voices/de/janniclas/8.ogg b/talker/voices/de/janniclas/8.ogg new file mode 100644 index 0000000..ffc5e02 Binary files /dev/null and b/talker/voices/de/janniclas/8.ogg differ diff --git a/talker/voices/de/janniclas/a.ogg b/talker/voices/de/janniclas/a.ogg new file mode 100644 index 0000000..4615b1e Binary files /dev/null and b/talker/voices/de/janniclas/a.ogg differ diff --git a/talker/voices/de/janniclas/abort.ogg b/talker/voices/de/janniclas/abort.ogg new file mode 100644 index 0000000..129028f Binary files /dev/null and b/talker/voices/de/janniclas/abort.ogg differ diff --git a/talker/voices/de/janniclas/b.ogg b/talker/voices/de/janniclas/b.ogg new file mode 100644 index 0000000..591e487 Binary files /dev/null and b/talker/voices/de/janniclas/b.ogg differ diff --git a/talker/voices/de/janniclas/bishop.ogg b/talker/voices/de/janniclas/bishop.ogg new file mode 100644 index 0000000..e4c24fc Binary files /dev/null and b/talker/voices/de/janniclas/bishop.ogg differ diff --git a/talker/voices/de/janniclas/blackwins.ogg b/talker/voices/de/janniclas/blackwins.ogg new file mode 100644 index 0000000..74aa971 Binary files /dev/null and b/talker/voices/de/janniclas/blackwins.ogg differ diff --git a/talker/voices/de/janniclas/c.ogg b/talker/voices/de/janniclas/c.ogg new file mode 100644 index 0000000..c3b4929 Binary files /dev/null and b/talker/voices/de/janniclas/c.ogg differ diff --git a/talker/voices/de/janniclas/castlekingside.ogg b/talker/voices/de/janniclas/castlekingside.ogg new file mode 100644 index 0000000..bc88b84 Binary files /dev/null and b/talker/voices/de/janniclas/castlekingside.ogg differ diff --git a/talker/voices/de/janniclas/castlequeenside.ogg b/talker/voices/de/janniclas/castlequeenside.ogg new file mode 100644 index 0000000..ca0a6dd Binary files /dev/null and b/talker/voices/de/janniclas/castlequeenside.ogg differ diff --git a/talker/voices/de/janniclas/check.ogg b/talker/voices/de/janniclas/check.ogg new file mode 100644 index 0000000..c56d431 Binary files /dev/null and b/talker/voices/de/janniclas/check.ogg differ diff --git a/talker/voices/de/janniclas/checkmate.ogg b/talker/voices/de/janniclas/checkmate.ogg new file mode 100644 index 0000000..ae607b8 Binary files /dev/null and b/talker/voices/de/janniclas/checkmate.ogg differ diff --git a/talker/voices/de/janniclas/d.ogg b/talker/voices/de/janniclas/d.ogg new file mode 100644 index 0000000..8412fe3 Binary files /dev/null and b/talker/voices/de/janniclas/d.ogg differ diff --git a/talker/voices/de/janniclas/draw.ogg b/talker/voices/de/janniclas/draw.ogg new file mode 100644 index 0000000..21eda8e Binary files /dev/null and b/talker/voices/de/janniclas/draw.ogg differ diff --git a/talker/voices/de/janniclas/e.ogg b/talker/voices/de/janniclas/e.ogg new file mode 100644 index 0000000..e973a92 Binary files /dev/null and b/talker/voices/de/janniclas/e.ogg differ diff --git a/talker/voices/de/janniclas/end.ogg b/talker/voices/de/janniclas/end.ogg new file mode 100644 index 0000000..b777fde Binary files /dev/null and b/talker/voices/de/janniclas/end.ogg differ diff --git a/talker/voices/de/janniclas/enpassant.ogg b/talker/voices/de/janniclas/enpassant.ogg new file mode 100644 index 0000000..785a1c0 Binary files /dev/null and b/talker/voices/de/janniclas/enpassant.ogg differ diff --git a/talker/voices/de/janniclas/error.ogg b/talker/voices/de/janniclas/error.ogg new file mode 100644 index 0000000..db225ec Binary files /dev/null and b/talker/voices/de/janniclas/error.ogg differ diff --git a/talker/voices/de/janniclas/f.ogg b/talker/voices/de/janniclas/f.ogg new file mode 100644 index 0000000..33b5605 Binary files /dev/null and b/talker/voices/de/janniclas/f.ogg differ diff --git a/talker/voices/de/janniclas/g.ogg b/talker/voices/de/janniclas/g.ogg new file mode 100644 index 0000000..6bc4b09 Binary files /dev/null and b/talker/voices/de/janniclas/g.ogg differ diff --git a/talker/voices/de/janniclas/goodbye.ogg b/talker/voices/de/janniclas/goodbye.ogg new file mode 100644 index 0000000..06c9f71 Binary files /dev/null and b/talker/voices/de/janniclas/goodbye.ogg differ diff --git a/talker/voices/de/janniclas/h.ogg b/talker/voices/de/janniclas/h.ogg new file mode 100644 index 0000000..ba767bf Binary files /dev/null and b/talker/voices/de/janniclas/h.ogg differ diff --git a/talker/voices/de/janniclas/help.ogg b/talker/voices/de/janniclas/help.ogg new file mode 100644 index 0000000..c0c50c7 Binary files /dev/null and b/talker/voices/de/janniclas/help.ogg differ diff --git a/talker/voices/de/janniclas/jadoube.ogg b/talker/voices/de/janniclas/jadoube.ogg new file mode 100644 index 0000000..de7c5b6 Binary files /dev/null and b/talker/voices/de/janniclas/jadoube.ogg differ diff --git a/talker/voices/de/janniclas/king.ogg b/talker/voices/de/janniclas/king.ogg new file mode 100644 index 0000000..c919693 Binary files /dev/null and b/talker/voices/de/janniclas/king.ogg differ diff --git a/talker/voices/de/janniclas/knight.ogg b/talker/voices/de/janniclas/knight.ogg new file mode 100644 index 0000000..3715138 Binary files /dev/null and b/talker/voices/de/janniclas/knight.ogg differ diff --git a/talker/voices/de/janniclas/material.ogg b/talker/voices/de/janniclas/material.ogg new file mode 100644 index 0000000..bfb660c Binary files /dev/null and b/talker/voices/de/janniclas/material.ogg differ diff --git a/talker/voices/de/janniclas/moveblack.ogg b/talker/voices/de/janniclas/moveblack.ogg new file mode 100644 index 0000000..4aaec36 Binary files /dev/null and b/talker/voices/de/janniclas/moveblack.ogg differ diff --git a/talker/voices/de/janniclas/movewhite.ogg b/talker/voices/de/janniclas/movewhite.ogg new file mode 100644 index 0000000..59682e9 Binary files /dev/null and b/talker/voices/de/janniclas/movewhite.ogg differ diff --git a/talker/voices/de/janniclas/newgame.ogg b/talker/voices/de/janniclas/newgame.ogg new file mode 100644 index 0000000..036796d Binary files /dev/null and b/talker/voices/de/janniclas/newgame.ogg differ diff --git a/talker/voices/de/janniclas/ok.ogg b/talker/voices/de/janniclas/ok.ogg new file mode 100644 index 0000000..2c19ba9 Binary files /dev/null and b/talker/voices/de/janniclas/ok.ogg differ diff --git a/talker/voices/de/janniclas/okbook.ogg b/talker/voices/de/janniclas/okbook.ogg new file mode 100644 index 0000000..7a4e9f5 Binary files /dev/null and b/talker/voices/de/janniclas/okbook.ogg differ diff --git a/talker/voices/de/janniclas/okengine.ogg b/talker/voices/de/janniclas/okengine.ogg new file mode 100644 index 0000000..269aca9 Binary files /dev/null and b/talker/voices/de/janniclas/okengine.ogg differ diff --git a/talker/voices/de/janniclas/oklevel.ogg b/talker/voices/de/janniclas/oklevel.ogg new file mode 100644 index 0000000..28b39ec Binary files /dev/null and b/talker/voices/de/janniclas/oklevel.ogg differ diff --git a/talker/voices/de/janniclas/okmode.ogg b/talker/voices/de/janniclas/okmode.ogg new file mode 100644 index 0000000..edb09fe Binary files /dev/null and b/talker/voices/de/janniclas/okmode.ogg differ diff --git a/talker/voices/de/janniclas/oksystem.ogg b/talker/voices/de/janniclas/oksystem.ogg new file mode 100644 index 0000000..203fa10 Binary files /dev/null and b/talker/voices/de/janniclas/oksystem.ogg differ diff --git a/talker/voices/de/janniclas/oktime.ogg b/talker/voices/de/janniclas/oktime.ogg new file mode 100644 index 0000000..2a20482 Binary files /dev/null and b/talker/voices/de/janniclas/oktime.ogg differ diff --git a/talker/voices/de/janniclas/pawn.ogg b/talker/voices/de/janniclas/pawn.ogg new file mode 100644 index 0000000..1f8d65f Binary files /dev/null and b/talker/voices/de/janniclas/pawn.ogg differ diff --git a/talker/voices/de/janniclas/picoChess.ogg b/talker/voices/de/janniclas/picoChess.ogg new file mode 100644 index 0000000..7e38046 Binary files /dev/null and b/talker/voices/de/janniclas/picoChess.ogg differ diff --git a/talker/voices/de/janniclas/pleasewait.ogg b/talker/voices/de/janniclas/pleasewait.ogg new file mode 100644 index 0000000..87a4233 Binary files /dev/null and b/talker/voices/de/janniclas/pleasewait.ogg differ diff --git a/talker/voices/de/janniclas/promote.ogg b/talker/voices/de/janniclas/promote.ogg new file mode 100644 index 0000000..c944901 Binary files /dev/null and b/talker/voices/de/janniclas/promote.ogg differ diff --git a/talker/voices/de/janniclas/queen.ogg b/talker/voices/de/janniclas/queen.ogg new file mode 100644 index 0000000..55417f5 Binary files /dev/null and b/talker/voices/de/janniclas/queen.ogg differ diff --git a/talker/voices/de/janniclas/reboot.ogg b/talker/voices/de/janniclas/reboot.ogg new file mode 100644 index 0000000..cd63c58 Binary files /dev/null and b/talker/voices/de/janniclas/reboot.ogg differ diff --git a/talker/voices/de/janniclas/repetition.ogg b/talker/voices/de/janniclas/repetition.ogg new file mode 100644 index 0000000..20a12fd Binary files /dev/null and b/talker/voices/de/janniclas/repetition.ogg differ diff --git a/talker/voices/de/janniclas/rook.ogg b/talker/voices/de/janniclas/rook.ogg new file mode 100644 index 0000000..8ce29a1 Binary files /dev/null and b/talker/voices/de/janniclas/rook.ogg differ diff --git a/talker/voices/de/janniclas/setpieces.ogg b/talker/voices/de/janniclas/setpieces.ogg new file mode 100644 index 0000000..8dd5917 Binary files /dev/null and b/talker/voices/de/janniclas/setpieces.ogg differ diff --git a/talker/voices/de/janniclas/stalemate.ogg b/talker/voices/de/janniclas/stalemate.ogg new file mode 100644 index 0000000..d592cec Binary files /dev/null and b/talker/voices/de/janniclas/stalemate.ogg differ diff --git a/talker/voices/de/janniclas/takeback.ogg b/talker/voices/de/janniclas/takeback.ogg new file mode 100644 index 0000000..4aaf777 Binary files /dev/null and b/talker/voices/de/janniclas/takeback.ogg differ diff --git a/talker/voices/de/janniclas/takes.ogg b/talker/voices/de/janniclas/takes.ogg new file mode 100644 index 0000000..179c4da Binary files /dev/null and b/talker/voices/de/janniclas/takes.ogg differ diff --git a/talker/voices/de/janniclas/time.ogg b/talker/voices/de/janniclas/time.ogg new file mode 100644 index 0000000..2731f3a Binary files /dev/null and b/talker/voices/de/janniclas/time.ogg differ diff --git a/talker/voices/de/janniclas/timelost.ogg b/talker/voices/de/janniclas/timelost.ogg new file mode 100644 index 0000000..116238b Binary files /dev/null and b/talker/voices/de/janniclas/timelost.ogg differ diff --git a/talker/voices/de/janniclas/userblack.ogg b/talker/voices/de/janniclas/userblack.ogg new file mode 100644 index 0000000..db5bff3 Binary files /dev/null and b/talker/voices/de/janniclas/userblack.ogg differ diff --git a/talker/voices/de/janniclas/userwhite.ogg b/talker/voices/de/janniclas/userwhite.ogg new file mode 100644 index 0000000..2a10e9f Binary files /dev/null and b/talker/voices/de/janniclas/userwhite.ogg differ diff --git a/talker/voices/de/janniclas/whitewins.ogg b/talker/voices/de/janniclas/whitewins.ogg new file mode 100644 index 0000000..f3792a4 Binary files /dev/null and b/talker/voices/de/janniclas/whitewins.ogg differ diff --git a/talker/voices/de/janniclas/xtra_enpassant.ogg b/talker/voices/de/janniclas/xtra_enpassant.ogg new file mode 100644 index 0000000..785a1c0 Binary files /dev/null and b/talker/voices/de/janniclas/xtra_enpassant.ogg differ diff --git a/talker/voices/de/janniclas/xtra_help.ogg b/talker/voices/de/janniclas/xtra_help.ogg new file mode 100644 index 0000000..c0c50c7 Binary files /dev/null and b/talker/voices/de/janniclas/xtra_help.ogg differ diff --git a/talker/voices/de/janniclas/xtra_jadoube.ogg b/talker/voices/de/janniclas/xtra_jadoube.ogg new file mode 100644 index 0000000..de7c5b6 Binary files /dev/null and b/talker/voices/de/janniclas/xtra_jadoube.ogg differ diff --git a/talker/voices/en/al/1.ogg b/talker/voices/en/al/1.ogg new file mode 100644 index 0000000..db9bd81 Binary files /dev/null and b/talker/voices/en/al/1.ogg differ diff --git a/talker/voices/en/al/2.ogg b/talker/voices/en/al/2.ogg new file mode 100644 index 0000000..01da006 Binary files /dev/null and b/talker/voices/en/al/2.ogg differ diff --git a/talker/voices/en/al/3.ogg b/talker/voices/en/al/3.ogg new file mode 100644 index 0000000..3ff9d0d Binary files /dev/null and b/talker/voices/en/al/3.ogg differ diff --git a/talker/voices/en/al/4.ogg b/talker/voices/en/al/4.ogg new file mode 100644 index 0000000..a977644 Binary files /dev/null and b/talker/voices/en/al/4.ogg differ diff --git a/talker/voices/en/al/5.ogg b/talker/voices/en/al/5.ogg new file mode 100644 index 0000000..29f410f Binary files /dev/null and b/talker/voices/en/al/5.ogg differ diff --git a/talker/voices/en/al/6.ogg b/talker/voices/en/al/6.ogg new file mode 100644 index 0000000..98b3de3 Binary files /dev/null and b/talker/voices/en/al/6.ogg differ diff --git a/talker/voices/en/al/7.ogg b/talker/voices/en/al/7.ogg new file mode 100644 index 0000000..0643d39 Binary files /dev/null and b/talker/voices/en/al/7.ogg differ diff --git a/talker/voices/en/al/75moves.ogg b/talker/voices/en/al/75moves.ogg new file mode 100644 index 0000000..c7f246a Binary files /dev/null and b/talker/voices/en/al/75moves.ogg differ diff --git a/talker/voices/en/al/8.ogg b/talker/voices/en/al/8.ogg new file mode 100644 index 0000000..92c7e53 Binary files /dev/null and b/talker/voices/en/al/8.ogg differ diff --git a/talker/voices/en/al/a.ogg b/talker/voices/en/al/a.ogg new file mode 100644 index 0000000..3722d95 Binary files /dev/null and b/talker/voices/en/al/a.ogg differ diff --git a/talker/voices/en/al/abort.ogg b/talker/voices/en/al/abort.ogg new file mode 100644 index 0000000..8159210 Binary files /dev/null and b/talker/voices/en/al/abort.ogg differ diff --git a/talker/voices/en/al/b.ogg b/talker/voices/en/al/b.ogg new file mode 100644 index 0000000..7f88e69 Binary files /dev/null and b/talker/voices/en/al/b.ogg differ diff --git a/talker/voices/en/al/bishop.ogg b/talker/voices/en/al/bishop.ogg new file mode 100644 index 0000000..765410a Binary files /dev/null and b/talker/voices/en/al/bishop.ogg differ diff --git a/talker/voices/en/al/blackwins.ogg b/talker/voices/en/al/blackwins.ogg new file mode 100644 index 0000000..97f3e7f Binary files /dev/null and b/talker/voices/en/al/blackwins.ogg differ diff --git a/talker/voices/en/al/c.ogg b/talker/voices/en/al/c.ogg new file mode 100644 index 0000000..f083356 Binary files /dev/null and b/talker/voices/en/al/c.ogg differ diff --git a/talker/voices/en/al/castlekingside.ogg b/talker/voices/en/al/castlekingside.ogg new file mode 100644 index 0000000..62b67a1 Binary files /dev/null and b/talker/voices/en/al/castlekingside.ogg differ diff --git a/talker/voices/en/al/castlequeenside.ogg b/talker/voices/en/al/castlequeenside.ogg new file mode 100644 index 0000000..e8ff658 Binary files /dev/null and b/talker/voices/en/al/castlequeenside.ogg differ diff --git a/talker/voices/en/al/check.ogg b/talker/voices/en/al/check.ogg new file mode 100644 index 0000000..f4bc064 Binary files /dev/null and b/talker/voices/en/al/check.ogg differ diff --git a/talker/voices/en/al/checkmate.ogg b/talker/voices/en/al/checkmate.ogg new file mode 100644 index 0000000..de7e29e Binary files /dev/null and b/talker/voices/en/al/checkmate.ogg differ diff --git a/talker/voices/en/al/d.ogg b/talker/voices/en/al/d.ogg new file mode 100644 index 0000000..2b23cde Binary files /dev/null and b/talker/voices/en/al/d.ogg differ diff --git a/talker/voices/en/al/draw.ogg b/talker/voices/en/al/draw.ogg new file mode 100644 index 0000000..c1fed5c Binary files /dev/null and b/talker/voices/en/al/draw.ogg differ diff --git a/talker/voices/en/al/e.ogg b/talker/voices/en/al/e.ogg new file mode 100644 index 0000000..a404627 Binary files /dev/null and b/talker/voices/en/al/e.ogg differ diff --git a/talker/voices/en/al/enpassant.ogg b/talker/voices/en/al/enpassant.ogg new file mode 100644 index 0000000..d1687ab Binary files /dev/null and b/talker/voices/en/al/enpassant.ogg differ diff --git a/talker/voices/en/al/error.ogg b/talker/voices/en/al/error.ogg new file mode 100644 index 0000000..e71852e Binary files /dev/null and b/talker/voices/en/al/error.ogg differ diff --git a/talker/voices/en/al/f.ogg b/talker/voices/en/al/f.ogg new file mode 100644 index 0000000..bd55331 Binary files /dev/null and b/talker/voices/en/al/f.ogg differ diff --git a/talker/voices/en/al/g.ogg b/talker/voices/en/al/g.ogg new file mode 100644 index 0000000..760a88a Binary files /dev/null and b/talker/voices/en/al/g.ogg differ diff --git a/talker/voices/en/al/goodbye.ogg b/talker/voices/en/al/goodbye.ogg new file mode 100644 index 0000000..d916479 Binary files /dev/null and b/talker/voices/en/al/goodbye.ogg differ diff --git a/talker/voices/en/al/h.ogg b/talker/voices/en/al/h.ogg new file mode 100644 index 0000000..61c9e04 Binary files /dev/null and b/talker/voices/en/al/h.ogg differ diff --git a/talker/voices/en/al/king.ogg b/talker/voices/en/al/king.ogg new file mode 100644 index 0000000..1774797 Binary files /dev/null and b/talker/voices/en/al/king.ogg differ diff --git a/talker/voices/en/al/knight.ogg b/talker/voices/en/al/knight.ogg new file mode 100644 index 0000000..a73afac Binary files /dev/null and b/talker/voices/en/al/knight.ogg differ diff --git a/talker/voices/en/al/material.ogg b/talker/voices/en/al/material.ogg new file mode 100644 index 0000000..3f7318e Binary files /dev/null and b/talker/voices/en/al/material.ogg differ diff --git a/talker/voices/en/al/moveblack.ogg b/talker/voices/en/al/moveblack.ogg new file mode 100644 index 0000000..06a2a55 Binary files /dev/null and b/talker/voices/en/al/moveblack.ogg differ diff --git a/talker/voices/en/al/movewhite.ogg b/talker/voices/en/al/movewhite.ogg new file mode 100644 index 0000000..828c269 Binary files /dev/null and b/talker/voices/en/al/movewhite.ogg differ diff --git a/talker/voices/en/al/newgame.ogg b/talker/voices/en/al/newgame.ogg new file mode 100644 index 0000000..f926911 Binary files /dev/null and b/talker/voices/en/al/newgame.ogg differ diff --git a/talker/voices/en/al/ok.ogg b/talker/voices/en/al/ok.ogg new file mode 100644 index 0000000..a8c6c35 Binary files /dev/null and b/talker/voices/en/al/ok.ogg differ diff --git a/talker/voices/en/al/okbook.ogg b/talker/voices/en/al/okbook.ogg new file mode 100644 index 0000000..e1f272f Binary files /dev/null and b/talker/voices/en/al/okbook.ogg differ diff --git a/talker/voices/en/al/okengine.ogg b/talker/voices/en/al/okengine.ogg new file mode 100644 index 0000000..312820e Binary files /dev/null and b/talker/voices/en/al/okengine.ogg differ diff --git a/talker/voices/en/al/oklevel.ogg b/talker/voices/en/al/oklevel.ogg new file mode 100644 index 0000000..4bf8d57 Binary files /dev/null and b/talker/voices/en/al/oklevel.ogg differ diff --git a/talker/voices/en/al/okmode.ogg b/talker/voices/en/al/okmode.ogg new file mode 100644 index 0000000..ca84dce Binary files /dev/null and b/talker/voices/en/al/okmode.ogg differ diff --git a/talker/voices/en/al/oktime.ogg b/talker/voices/en/al/oktime.ogg new file mode 100644 index 0000000..6112eea Binary files /dev/null and b/talker/voices/en/al/oktime.ogg differ diff --git a/talker/voices/en/al/pawn.ogg b/talker/voices/en/al/pawn.ogg new file mode 100644 index 0000000..5a27a63 Binary files /dev/null and b/talker/voices/en/al/pawn.ogg differ diff --git a/talker/voices/en/al/picoChess.ogg b/talker/voices/en/al/picoChess.ogg new file mode 100644 index 0000000..a3c36ff Binary files /dev/null and b/talker/voices/en/al/picoChess.ogg differ diff --git a/talker/voices/en/al/pleasewait.ogg b/talker/voices/en/al/pleasewait.ogg new file mode 100644 index 0000000..3568644 Binary files /dev/null and b/talker/voices/en/al/pleasewait.ogg differ diff --git a/talker/voices/en/al/promote.ogg b/talker/voices/en/al/promote.ogg new file mode 100644 index 0000000..d617fff Binary files /dev/null and b/talker/voices/en/al/promote.ogg differ diff --git a/talker/voices/en/al/queen.ogg b/talker/voices/en/al/queen.ogg new file mode 100644 index 0000000..cac3ff0 Binary files /dev/null and b/talker/voices/en/al/queen.ogg differ diff --git a/talker/voices/en/al/reboot.ogg b/talker/voices/en/al/reboot.ogg new file mode 100644 index 0000000..bb23d20 Binary files /dev/null and b/talker/voices/en/al/reboot.ogg differ diff --git a/talker/voices/en/al/repetition.ogg b/talker/voices/en/al/repetition.ogg new file mode 100644 index 0000000..8871610 Binary files /dev/null and b/talker/voices/en/al/repetition.ogg differ diff --git a/talker/voices/en/al/rook.ogg b/talker/voices/en/al/rook.ogg new file mode 100644 index 0000000..9722633 Binary files /dev/null and b/talker/voices/en/al/rook.ogg differ diff --git a/talker/voices/en/al/setpieces.ogg b/talker/voices/en/al/setpieces.ogg new file mode 100644 index 0000000..6be0ecc Binary files /dev/null and b/talker/voices/en/al/setpieces.ogg differ diff --git a/talker/voices/en/al/stalemate.ogg b/talker/voices/en/al/stalemate.ogg new file mode 100644 index 0000000..cce03f8 Binary files /dev/null and b/talker/voices/en/al/stalemate.ogg differ diff --git a/talker/voices/en/al/takeback.ogg b/talker/voices/en/al/takeback.ogg new file mode 100644 index 0000000..8a588e4 Binary files /dev/null and b/talker/voices/en/al/takeback.ogg differ diff --git a/talker/voices/en/al/takes.ogg b/talker/voices/en/al/takes.ogg new file mode 100644 index 0000000..6d32357 Binary files /dev/null and b/talker/voices/en/al/takes.ogg differ diff --git a/talker/voices/en/al/timelost.ogg b/talker/voices/en/al/timelost.ogg new file mode 100644 index 0000000..815e161 Binary files /dev/null and b/talker/voices/en/al/timelost.ogg differ diff --git a/talker/voices/en/al/userblack.ogg b/talker/voices/en/al/userblack.ogg new file mode 100644 index 0000000..2636d19 Binary files /dev/null and b/talker/voices/en/al/userblack.ogg differ diff --git a/talker/voices/en/al/userwhite.ogg b/talker/voices/en/al/userwhite.ogg new file mode 100644 index 0000000..8f543c1 Binary files /dev/null and b/talker/voices/en/al/userwhite.ogg differ diff --git a/talker/voices/en/al/whitewins.ogg b/talker/voices/en/al/whitewins.ogg new file mode 100644 index 0000000..54ca1a4 Binary files /dev/null and b/talker/voices/en/al/whitewins.ogg differ diff --git a/talker/voices/en/christina/1.ogg b/talker/voices/en/christina/1.ogg new file mode 100644 index 0000000..cc4f58d Binary files /dev/null and b/talker/voices/en/christina/1.ogg differ diff --git a/talker/voices/en/christina/2.ogg b/talker/voices/en/christina/2.ogg new file mode 100644 index 0000000..85dcf89 Binary files /dev/null and b/talker/voices/en/christina/2.ogg differ diff --git a/talker/voices/en/christina/3.ogg b/talker/voices/en/christina/3.ogg new file mode 100644 index 0000000..6935b8f Binary files /dev/null and b/talker/voices/en/christina/3.ogg differ diff --git a/talker/voices/en/christina/4.ogg b/talker/voices/en/christina/4.ogg new file mode 100644 index 0000000..1fcb68f Binary files /dev/null and b/talker/voices/en/christina/4.ogg differ diff --git a/talker/voices/en/christina/5.ogg b/talker/voices/en/christina/5.ogg new file mode 100644 index 0000000..0a29db9 Binary files /dev/null and b/talker/voices/en/christina/5.ogg differ diff --git a/talker/voices/en/christina/6.ogg b/talker/voices/en/christina/6.ogg new file mode 100644 index 0000000..995b4f6 Binary files /dev/null and b/talker/voices/en/christina/6.ogg differ diff --git a/talker/voices/en/christina/7.ogg b/talker/voices/en/christina/7.ogg new file mode 100644 index 0000000..da0a028 Binary files /dev/null and b/talker/voices/en/christina/7.ogg differ diff --git a/talker/voices/en/christina/75moves.ogg b/talker/voices/en/christina/75moves.ogg new file mode 100644 index 0000000..d3bf6dc Binary files /dev/null and b/talker/voices/en/christina/75moves.ogg differ diff --git a/talker/voices/en/christina/8.ogg b/talker/voices/en/christina/8.ogg new file mode 100644 index 0000000..7b86e2d Binary files /dev/null and b/talker/voices/en/christina/8.ogg differ diff --git a/talker/voices/en/christina/a.ogg b/talker/voices/en/christina/a.ogg new file mode 100644 index 0000000..5b4f302 Binary files /dev/null and b/talker/voices/en/christina/a.ogg differ diff --git a/talker/voices/en/christina/abort.ogg b/talker/voices/en/christina/abort.ogg new file mode 100644 index 0000000..b7a497e Binary files /dev/null and b/talker/voices/en/christina/abort.ogg differ diff --git a/talker/voices/en/christina/b.ogg b/talker/voices/en/christina/b.ogg new file mode 100644 index 0000000..0014535 Binary files /dev/null and b/talker/voices/en/christina/b.ogg differ diff --git a/talker/voices/en/christina/bishop.ogg b/talker/voices/en/christina/bishop.ogg new file mode 100644 index 0000000..81a21fe Binary files /dev/null and b/talker/voices/en/christina/bishop.ogg differ diff --git a/talker/voices/en/christina/blackwins.ogg b/talker/voices/en/christina/blackwins.ogg new file mode 100644 index 0000000..e85a6b7 Binary files /dev/null and b/talker/voices/en/christina/blackwins.ogg differ diff --git a/talker/voices/en/christina/c.ogg b/talker/voices/en/christina/c.ogg new file mode 100644 index 0000000..2a5b175 Binary files /dev/null and b/talker/voices/en/christina/c.ogg differ diff --git a/talker/voices/en/christina/castlekingside.ogg b/talker/voices/en/christina/castlekingside.ogg new file mode 100644 index 0000000..d540c53 Binary files /dev/null and b/talker/voices/en/christina/castlekingside.ogg differ diff --git a/talker/voices/en/christina/castlequeenside.ogg b/talker/voices/en/christina/castlequeenside.ogg new file mode 100644 index 0000000..b9de472 Binary files /dev/null and b/talker/voices/en/christina/castlequeenside.ogg differ diff --git a/talker/voices/en/christina/check.ogg b/talker/voices/en/christina/check.ogg new file mode 100644 index 0000000..452fd0e Binary files /dev/null and b/talker/voices/en/christina/check.ogg differ diff --git a/talker/voices/en/christina/checkmate.ogg b/talker/voices/en/christina/checkmate.ogg new file mode 100644 index 0000000..9769978 Binary files /dev/null and b/talker/voices/en/christina/checkmate.ogg differ diff --git a/talker/voices/en/christina/d.ogg b/talker/voices/en/christina/d.ogg new file mode 100644 index 0000000..132cae3 Binary files /dev/null and b/talker/voices/en/christina/d.ogg differ diff --git a/talker/voices/en/christina/draw.ogg b/talker/voices/en/christina/draw.ogg new file mode 100644 index 0000000..daa450b Binary files /dev/null and b/talker/voices/en/christina/draw.ogg differ diff --git a/talker/voices/en/christina/e.ogg b/talker/voices/en/christina/e.ogg new file mode 100644 index 0000000..422b839 Binary files /dev/null and b/talker/voices/en/christina/e.ogg differ diff --git a/talker/voices/en/christina/enpassant.ogg b/talker/voices/en/christina/enpassant.ogg new file mode 100644 index 0000000..566ce4b Binary files /dev/null and b/talker/voices/en/christina/enpassant.ogg differ diff --git a/talker/voices/en/christina/error.ogg b/talker/voices/en/christina/error.ogg new file mode 100644 index 0000000..7327117 Binary files /dev/null and b/talker/voices/en/christina/error.ogg differ diff --git a/talker/voices/en/christina/f.ogg b/talker/voices/en/christina/f.ogg new file mode 100644 index 0000000..28b0d6b Binary files /dev/null and b/talker/voices/en/christina/f.ogg differ diff --git a/talker/voices/en/christina/g.ogg b/talker/voices/en/christina/g.ogg new file mode 100644 index 0000000..420d2ee Binary files /dev/null and b/talker/voices/en/christina/g.ogg differ diff --git a/talker/voices/en/christina/goodbye.ogg b/talker/voices/en/christina/goodbye.ogg new file mode 100644 index 0000000..4ef86ea Binary files /dev/null and b/talker/voices/en/christina/goodbye.ogg differ diff --git a/talker/voices/en/christina/h.ogg b/talker/voices/en/christina/h.ogg new file mode 100644 index 0000000..3b59371 Binary files /dev/null and b/talker/voices/en/christina/h.ogg differ diff --git a/talker/voices/en/christina/king.ogg b/talker/voices/en/christina/king.ogg new file mode 100644 index 0000000..5191687 Binary files /dev/null and b/talker/voices/en/christina/king.ogg differ diff --git a/talker/voices/en/christina/knight.ogg b/talker/voices/en/christina/knight.ogg new file mode 100644 index 0000000..a854261 Binary files /dev/null and b/talker/voices/en/christina/knight.ogg differ diff --git a/talker/voices/en/christina/material.ogg b/talker/voices/en/christina/material.ogg new file mode 100644 index 0000000..9f907f7 Binary files /dev/null and b/talker/voices/en/christina/material.ogg differ diff --git a/talker/voices/en/christina/moveblack.ogg b/talker/voices/en/christina/moveblack.ogg new file mode 100644 index 0000000..7057f0a Binary files /dev/null and b/talker/voices/en/christina/moveblack.ogg differ diff --git a/talker/voices/en/christina/movewhite.ogg b/talker/voices/en/christina/movewhite.ogg new file mode 100644 index 0000000..1b04598 Binary files /dev/null and b/talker/voices/en/christina/movewhite.ogg differ diff --git a/talker/voices/en/christina/newgame.ogg b/talker/voices/en/christina/newgame.ogg new file mode 100644 index 0000000..7f5b9f4 Binary files /dev/null and b/talker/voices/en/christina/newgame.ogg differ diff --git a/talker/voices/en/christina/ok.ogg b/talker/voices/en/christina/ok.ogg new file mode 100644 index 0000000..89daebc Binary files /dev/null and b/talker/voices/en/christina/ok.ogg differ diff --git a/talker/voices/en/christina/okbook.ogg b/talker/voices/en/christina/okbook.ogg new file mode 100644 index 0000000..7644f92 Binary files /dev/null and b/talker/voices/en/christina/okbook.ogg differ diff --git a/talker/voices/en/christina/okengine.ogg b/talker/voices/en/christina/okengine.ogg new file mode 100644 index 0000000..243f2ef Binary files /dev/null and b/talker/voices/en/christina/okengine.ogg differ diff --git a/talker/voices/en/christina/oklevel.ogg b/talker/voices/en/christina/oklevel.ogg new file mode 100644 index 0000000..c5076c4 Binary files /dev/null and b/talker/voices/en/christina/oklevel.ogg differ diff --git a/talker/voices/en/christina/okmode.ogg b/talker/voices/en/christina/okmode.ogg new file mode 100644 index 0000000..f6ce3db Binary files /dev/null and b/talker/voices/en/christina/okmode.ogg differ diff --git a/talker/voices/en/christina/oktime.ogg b/talker/voices/en/christina/oktime.ogg new file mode 100644 index 0000000..0f5ce71 Binary files /dev/null and b/talker/voices/en/christina/oktime.ogg differ diff --git a/talker/voices/en/christina/pawn.ogg b/talker/voices/en/christina/pawn.ogg new file mode 100644 index 0000000..3aede4a Binary files /dev/null and b/talker/voices/en/christina/pawn.ogg differ diff --git a/talker/voices/en/christina/picoChess.ogg b/talker/voices/en/christina/picoChess.ogg new file mode 100644 index 0000000..031b3b3 Binary files /dev/null and b/talker/voices/en/christina/picoChess.ogg differ diff --git a/talker/voices/en/christina/pleasewait.ogg b/talker/voices/en/christina/pleasewait.ogg new file mode 100644 index 0000000..88e7955 Binary files /dev/null and b/talker/voices/en/christina/pleasewait.ogg differ diff --git a/talker/voices/en/christina/promote.ogg b/talker/voices/en/christina/promote.ogg new file mode 100644 index 0000000..8ede223 Binary files /dev/null and b/talker/voices/en/christina/promote.ogg differ diff --git a/talker/voices/en/christina/queen.ogg b/talker/voices/en/christina/queen.ogg new file mode 100644 index 0000000..5ce358c Binary files /dev/null and b/talker/voices/en/christina/queen.ogg differ diff --git a/talker/voices/en/christina/reboot.ogg b/talker/voices/en/christina/reboot.ogg new file mode 100644 index 0000000..0465773 Binary files /dev/null and b/talker/voices/en/christina/reboot.ogg differ diff --git a/talker/voices/en/christina/repetition.ogg b/talker/voices/en/christina/repetition.ogg new file mode 100644 index 0000000..6a7d50c Binary files /dev/null and b/talker/voices/en/christina/repetition.ogg differ diff --git a/talker/voices/en/christina/rook.ogg b/talker/voices/en/christina/rook.ogg new file mode 100644 index 0000000..089f81b Binary files /dev/null and b/talker/voices/en/christina/rook.ogg differ diff --git a/talker/voices/en/christina/setpieces.ogg b/talker/voices/en/christina/setpieces.ogg new file mode 100644 index 0000000..7217560 Binary files /dev/null and b/talker/voices/en/christina/setpieces.ogg differ diff --git a/talker/voices/en/christina/stalemate.ogg b/talker/voices/en/christina/stalemate.ogg new file mode 100644 index 0000000..bbd449d Binary files /dev/null and b/talker/voices/en/christina/stalemate.ogg differ diff --git a/talker/voices/en/christina/takeback.ogg b/talker/voices/en/christina/takeback.ogg new file mode 100644 index 0000000..fb71693 Binary files /dev/null and b/talker/voices/en/christina/takeback.ogg differ diff --git a/talker/voices/en/christina/takes.ogg b/talker/voices/en/christina/takes.ogg new file mode 100644 index 0000000..f78ebbc Binary files /dev/null and b/talker/voices/en/christina/takes.ogg differ diff --git a/talker/voices/en/christina/timelost.ogg b/talker/voices/en/christina/timelost.ogg new file mode 100644 index 0000000..a7b640d Binary files /dev/null and b/talker/voices/en/christina/timelost.ogg differ diff --git a/talker/voices/en/christina/userblack.ogg b/talker/voices/en/christina/userblack.ogg new file mode 100644 index 0000000..a444428 Binary files /dev/null and b/talker/voices/en/christina/userblack.ogg differ diff --git a/talker/voices/en/christina/userwhite.ogg b/talker/voices/en/christina/userwhite.ogg new file mode 100644 index 0000000..74cd66e Binary files /dev/null and b/talker/voices/en/christina/userwhite.ogg differ diff --git a/talker/voices/en/christina/whitewins.ogg b/talker/voices/en/christina/whitewins.ogg new file mode 100644 index 0000000..c0a551e Binary files /dev/null and b/talker/voices/en/christina/whitewins.ogg differ diff --git a/talker/voices/es/christina/0capture.ogg b/talker/voices/es/christina/0capture.ogg new file mode 100644 index 0000000..99bf993 Binary files /dev/null and b/talker/voices/es/christina/0capture.ogg differ diff --git a/talker/voices/es/christina/1.ogg b/talker/voices/es/christina/1.ogg new file mode 100644 index 0000000..2329925 Binary files /dev/null and b/talker/voices/es/christina/1.ogg differ diff --git a/talker/voices/es/christina/2.ogg b/talker/voices/es/christina/2.ogg new file mode 100644 index 0000000..244c217 Binary files /dev/null and b/talker/voices/es/christina/2.ogg differ diff --git a/talker/voices/es/christina/3.ogg b/talker/voices/es/christina/3.ogg new file mode 100644 index 0000000..6afba46 Binary files /dev/null and b/talker/voices/es/christina/3.ogg differ diff --git a/talker/voices/es/christina/4.ogg b/talker/voices/es/christina/4.ogg new file mode 100644 index 0000000..84df71a Binary files /dev/null and b/talker/voices/es/christina/4.ogg differ diff --git a/talker/voices/es/christina/5.ogg b/talker/voices/es/christina/5.ogg new file mode 100644 index 0000000..1d37e0a Binary files /dev/null and b/talker/voices/es/christina/5.ogg differ diff --git a/talker/voices/es/christina/6.ogg b/talker/voices/es/christina/6.ogg new file mode 100644 index 0000000..3964e58 Binary files /dev/null and b/talker/voices/es/christina/6.ogg differ diff --git a/talker/voices/es/christina/7.ogg b/talker/voices/es/christina/7.ogg new file mode 100644 index 0000000..12ea520 Binary files /dev/null and b/talker/voices/es/christina/7.ogg differ diff --git a/talker/voices/es/christina/75moves.ogg b/talker/voices/es/christina/75moves.ogg new file mode 100644 index 0000000..9b182aa Binary files /dev/null and b/talker/voices/es/christina/75moves.ogg differ diff --git a/talker/voices/es/christina/8.ogg b/talker/voices/es/christina/8.ogg new file mode 100644 index 0000000..ddaf67d Binary files /dev/null and b/talker/voices/es/christina/8.ogg differ diff --git a/talker/voices/es/christina/a.ogg b/talker/voices/es/christina/a.ogg new file mode 100644 index 0000000..fe6e1ca Binary files /dev/null and b/talker/voices/es/christina/a.ogg differ diff --git a/talker/voices/es/christina/abort.ogg b/talker/voices/es/christina/abort.ogg new file mode 100644 index 0000000..d2db360 Binary files /dev/null and b/talker/voices/es/christina/abort.ogg differ diff --git a/talker/voices/es/christina/b.ogg b/talker/voices/es/christina/b.ogg new file mode 100644 index 0000000..45da26a Binary files /dev/null and b/talker/voices/es/christina/b.ogg differ diff --git a/talker/voices/es/christina/bishop.ogg b/talker/voices/es/christina/bishop.ogg new file mode 100644 index 0000000..3986a0c Binary files /dev/null and b/talker/voices/es/christina/bishop.ogg differ diff --git a/talker/voices/es/christina/blackwins.ogg b/talker/voices/es/christina/blackwins.ogg new file mode 100644 index 0000000..76c02e6 Binary files /dev/null and b/talker/voices/es/christina/blackwins.ogg differ diff --git a/talker/voices/es/christina/c.ogg b/talker/voices/es/christina/c.ogg new file mode 100644 index 0000000..c7261da Binary files /dev/null and b/talker/voices/es/christina/c.ogg differ diff --git a/talker/voices/es/christina/castlekingside.ogg b/talker/voices/es/christina/castlekingside.ogg new file mode 100644 index 0000000..3a8917d Binary files /dev/null and b/talker/voices/es/christina/castlekingside.ogg differ diff --git a/talker/voices/es/christina/castlequeenside.ogg b/talker/voices/es/christina/castlequeenside.ogg new file mode 100644 index 0000000..b42fb5f Binary files /dev/null and b/talker/voices/es/christina/castlequeenside.ogg differ diff --git a/talker/voices/es/christina/check.ogg b/talker/voices/es/christina/check.ogg new file mode 100644 index 0000000..fb3214d Binary files /dev/null and b/talker/voices/es/christina/check.ogg differ diff --git a/talker/voices/es/christina/checkmate.ogg b/talker/voices/es/christina/checkmate.ogg new file mode 100644 index 0000000..e09e331 Binary files /dev/null and b/talker/voices/es/christina/checkmate.ogg differ diff --git a/talker/voices/es/christina/d.ogg b/talker/voices/es/christina/d.ogg new file mode 100644 index 0000000..6608dcd Binary files /dev/null and b/talker/voices/es/christina/d.ogg differ diff --git a/talker/voices/es/christina/draw.ogg b/talker/voices/es/christina/draw.ogg new file mode 100644 index 0000000..5df3fa3 Binary files /dev/null and b/talker/voices/es/christina/draw.ogg differ diff --git a/talker/voices/es/christina/e.ogg b/talker/voices/es/christina/e.ogg new file mode 100644 index 0000000..7abed67 Binary files /dev/null and b/talker/voices/es/christina/e.ogg differ diff --git a/talker/voices/es/christina/enpassant.ogg b/talker/voices/es/christina/enpassant.ogg new file mode 100644 index 0000000..af4d613 Binary files /dev/null and b/talker/voices/es/christina/enpassant.ogg differ diff --git a/talker/voices/es/christina/error.ogg b/talker/voices/es/christina/error.ogg new file mode 100644 index 0000000..aa8ddcd Binary files /dev/null and b/talker/voices/es/christina/error.ogg differ diff --git a/talker/voices/es/christina/f.ogg b/talker/voices/es/christina/f.ogg new file mode 100644 index 0000000..628c2a9 Binary files /dev/null and b/talker/voices/es/christina/f.ogg differ diff --git a/talker/voices/es/christina/g.ogg b/talker/voices/es/christina/g.ogg new file mode 100644 index 0000000..bb9dc42 Binary files /dev/null and b/talker/voices/es/christina/g.ogg differ diff --git a/talker/voices/es/christina/goodbye.ogg b/talker/voices/es/christina/goodbye.ogg new file mode 100644 index 0000000..3ed2a3b Binary files /dev/null and b/talker/voices/es/christina/goodbye.ogg differ diff --git a/talker/voices/es/christina/h.ogg b/talker/voices/es/christina/h.ogg new file mode 100644 index 0000000..43c5728 Binary files /dev/null and b/talker/voices/es/christina/h.ogg differ diff --git a/talker/voices/es/christina/king.ogg b/talker/voices/es/christina/king.ogg new file mode 100644 index 0000000..3b3e55c Binary files /dev/null and b/talker/voices/es/christina/king.ogg differ diff --git a/talker/voices/es/christina/knight.ogg b/talker/voices/es/christina/knight.ogg new file mode 100644 index 0000000..a492f1c Binary files /dev/null and b/talker/voices/es/christina/knight.ogg differ diff --git a/talker/voices/es/christina/material.ogg b/talker/voices/es/christina/material.ogg new file mode 100644 index 0000000..2359af9 Binary files /dev/null and b/talker/voices/es/christina/material.ogg differ diff --git a/talker/voices/es/christina/moveblack.ogg b/talker/voices/es/christina/moveblack.ogg new file mode 100644 index 0000000..cff4db3 Binary files /dev/null and b/talker/voices/es/christina/moveblack.ogg differ diff --git a/talker/voices/es/christina/movewhite.ogg b/talker/voices/es/christina/movewhite.ogg new file mode 100644 index 0000000..2582710 Binary files /dev/null and b/talker/voices/es/christina/movewhite.ogg differ diff --git a/talker/voices/es/christina/newgame.ogg b/talker/voices/es/christina/newgame.ogg new file mode 100644 index 0000000..504f2d7 Binary files /dev/null and b/talker/voices/es/christina/newgame.ogg differ diff --git a/talker/voices/es/christina/ok.ogg b/talker/voices/es/christina/ok.ogg new file mode 100644 index 0000000..6d8d39e Binary files /dev/null and b/talker/voices/es/christina/ok.ogg differ diff --git a/talker/voices/es/christina/okbook.ogg b/talker/voices/es/christina/okbook.ogg new file mode 100644 index 0000000..c2a93ad Binary files /dev/null and b/talker/voices/es/christina/okbook.ogg differ diff --git a/talker/voices/es/christina/okengine.ogg b/talker/voices/es/christina/okengine.ogg new file mode 100644 index 0000000..514480d Binary files /dev/null and b/talker/voices/es/christina/okengine.ogg differ diff --git a/talker/voices/es/christina/oklevel.ogg b/talker/voices/es/christina/oklevel.ogg new file mode 100644 index 0000000..d51bc79 Binary files /dev/null and b/talker/voices/es/christina/oklevel.ogg differ diff --git a/talker/voices/es/christina/okmode.ogg b/talker/voices/es/christina/okmode.ogg new file mode 100644 index 0000000..950ac6e Binary files /dev/null and b/talker/voices/es/christina/okmode.ogg differ diff --git a/talker/voices/es/christina/oktime.ogg b/talker/voices/es/christina/oktime.ogg new file mode 100644 index 0000000..a26e7be Binary files /dev/null and b/talker/voices/es/christina/oktime.ogg differ diff --git a/talker/voices/es/christina/pawn.ogg b/talker/voices/es/christina/pawn.ogg new file mode 100644 index 0000000..02e60af Binary files /dev/null and b/talker/voices/es/christina/pawn.ogg differ diff --git a/talker/voices/es/christina/picoChess.ogg b/talker/voices/es/christina/picoChess.ogg new file mode 100644 index 0000000..697e40a Binary files /dev/null and b/talker/voices/es/christina/picoChess.ogg differ diff --git a/talker/voices/es/christina/pleasewait.ogg b/talker/voices/es/christina/pleasewait.ogg new file mode 100644 index 0000000..0fff139 Binary files /dev/null and b/talker/voices/es/christina/pleasewait.ogg differ diff --git a/talker/voices/es/christina/promote.ogg b/talker/voices/es/christina/promote.ogg new file mode 100644 index 0000000..352794e Binary files /dev/null and b/talker/voices/es/christina/promote.ogg differ diff --git a/talker/voices/es/christina/queen.ogg b/talker/voices/es/christina/queen.ogg new file mode 100644 index 0000000..83afb0b Binary files /dev/null and b/talker/voices/es/christina/queen.ogg differ diff --git a/talker/voices/es/christina/reboot.ogg b/talker/voices/es/christina/reboot.ogg new file mode 100644 index 0000000..4be9888 Binary files /dev/null and b/talker/voices/es/christina/reboot.ogg differ diff --git a/talker/voices/es/christina/repetition.ogg b/talker/voices/es/christina/repetition.ogg new file mode 100644 index 0000000..e4a5c13 Binary files /dev/null and b/talker/voices/es/christina/repetition.ogg differ diff --git a/talker/voices/es/christina/rook.ogg b/talker/voices/es/christina/rook.ogg new file mode 100644 index 0000000..b1e1efc Binary files /dev/null and b/talker/voices/es/christina/rook.ogg differ diff --git a/talker/voices/es/christina/setpieces.ogg b/talker/voices/es/christina/setpieces.ogg new file mode 100644 index 0000000..7e8acaf Binary files /dev/null and b/talker/voices/es/christina/setpieces.ogg differ diff --git a/talker/voices/es/christina/stalemate.ogg b/talker/voices/es/christina/stalemate.ogg new file mode 100644 index 0000000..2afc91d Binary files /dev/null and b/talker/voices/es/christina/stalemate.ogg differ diff --git a/talker/voices/es/christina/takeback.ogg b/talker/voices/es/christina/takeback.ogg new file mode 100644 index 0000000..4167bfa Binary files /dev/null and b/talker/voices/es/christina/takeback.ogg differ diff --git a/talker/voices/es/christina/takes.ogg b/talker/voices/es/christina/takes.ogg new file mode 100644 index 0000000..310770e Binary files /dev/null and b/talker/voices/es/christina/takes.ogg differ diff --git a/talker/voices/es/christina/timelost.ogg b/talker/voices/es/christina/timelost.ogg new file mode 100644 index 0000000..dab5d56 Binary files /dev/null and b/talker/voices/es/christina/timelost.ogg differ diff --git a/talker/voices/es/christina/userblack.ogg b/talker/voices/es/christina/userblack.ogg new file mode 100644 index 0000000..5580635 Binary files /dev/null and b/talker/voices/es/christina/userblack.ogg differ diff --git a/talker/voices/es/christina/userwhite.ogg b/talker/voices/es/christina/userwhite.ogg new file mode 100644 index 0000000..088ddb0 Binary files /dev/null and b/talker/voices/es/christina/userwhite.ogg differ diff --git a/talker/voices/es/christina/whitewins.ogg b/talker/voices/es/christina/whitewins.ogg new file mode 100644 index 0000000..114b656 Binary files /dev/null and b/talker/voices/es/christina/whitewins.ogg differ diff --git a/talker/voices/es/santiago/1.ogg b/talker/voices/es/santiago/1.ogg new file mode 100644 index 0000000..3155813 Binary files /dev/null and b/talker/voices/es/santiago/1.ogg differ diff --git a/talker/voices/es/santiago/2.ogg b/talker/voices/es/santiago/2.ogg new file mode 100644 index 0000000..90765d5 Binary files /dev/null and b/talker/voices/es/santiago/2.ogg differ diff --git a/talker/voices/es/santiago/3.ogg b/talker/voices/es/santiago/3.ogg new file mode 100644 index 0000000..60fd629 Binary files /dev/null and b/talker/voices/es/santiago/3.ogg differ diff --git a/talker/voices/es/santiago/4.ogg b/talker/voices/es/santiago/4.ogg new file mode 100644 index 0000000..e00a030 Binary files /dev/null and b/talker/voices/es/santiago/4.ogg differ diff --git a/talker/voices/es/santiago/5.ogg b/talker/voices/es/santiago/5.ogg new file mode 100644 index 0000000..68b427c Binary files /dev/null and b/talker/voices/es/santiago/5.ogg differ diff --git a/talker/voices/es/santiago/6.ogg b/talker/voices/es/santiago/6.ogg new file mode 100644 index 0000000..2bbb51f Binary files /dev/null and b/talker/voices/es/santiago/6.ogg differ diff --git a/talker/voices/es/santiago/7.ogg b/talker/voices/es/santiago/7.ogg new file mode 100644 index 0000000..978bae9 Binary files /dev/null and b/talker/voices/es/santiago/7.ogg differ diff --git a/talker/voices/es/santiago/75moves.ogg b/talker/voices/es/santiago/75moves.ogg new file mode 100644 index 0000000..dde349a Binary files /dev/null and b/talker/voices/es/santiago/75moves.ogg differ diff --git a/talker/voices/es/santiago/8.ogg b/talker/voices/es/santiago/8.ogg new file mode 100644 index 0000000..52d06fb Binary files /dev/null and b/talker/voices/es/santiago/8.ogg differ diff --git a/talker/voices/es/santiago/a.ogg b/talker/voices/es/santiago/a.ogg new file mode 100644 index 0000000..0539f3b Binary files /dev/null and b/talker/voices/es/santiago/a.ogg differ diff --git a/talker/voices/es/santiago/abort.ogg b/talker/voices/es/santiago/abort.ogg new file mode 100644 index 0000000..b7dc062 Binary files /dev/null and b/talker/voices/es/santiago/abort.ogg differ diff --git a/talker/voices/es/santiago/b.ogg b/talker/voices/es/santiago/b.ogg new file mode 100644 index 0000000..20aecf7 Binary files /dev/null and b/talker/voices/es/santiago/b.ogg differ diff --git a/talker/voices/es/santiago/bishop.ogg b/talker/voices/es/santiago/bishop.ogg new file mode 100644 index 0000000..83f8ed3 Binary files /dev/null and b/talker/voices/es/santiago/bishop.ogg differ diff --git a/talker/voices/es/santiago/blackwins.ogg b/talker/voices/es/santiago/blackwins.ogg new file mode 100644 index 0000000..d448820 Binary files /dev/null and b/talker/voices/es/santiago/blackwins.ogg differ diff --git a/talker/voices/es/santiago/c.ogg b/talker/voices/es/santiago/c.ogg new file mode 100644 index 0000000..72295bd Binary files /dev/null and b/talker/voices/es/santiago/c.ogg differ diff --git a/talker/voices/es/santiago/castlekingside.ogg b/talker/voices/es/santiago/castlekingside.ogg new file mode 100644 index 0000000..b9ddec7 Binary files /dev/null and b/talker/voices/es/santiago/castlekingside.ogg differ diff --git a/talker/voices/es/santiago/castlequeenside.ogg b/talker/voices/es/santiago/castlequeenside.ogg new file mode 100644 index 0000000..bff8b32 Binary files /dev/null and b/talker/voices/es/santiago/castlequeenside.ogg differ diff --git a/talker/voices/es/santiago/check.ogg b/talker/voices/es/santiago/check.ogg new file mode 100644 index 0000000..6c85fcf Binary files /dev/null and b/talker/voices/es/santiago/check.ogg differ diff --git a/talker/voices/es/santiago/checkmate.ogg b/talker/voices/es/santiago/checkmate.ogg new file mode 100644 index 0000000..cd5164f Binary files /dev/null and b/talker/voices/es/santiago/checkmate.ogg differ diff --git a/talker/voices/es/santiago/d.ogg b/talker/voices/es/santiago/d.ogg new file mode 100644 index 0000000..a92e93e Binary files /dev/null and b/talker/voices/es/santiago/d.ogg differ diff --git a/talker/voices/es/santiago/draw.ogg b/talker/voices/es/santiago/draw.ogg new file mode 100644 index 0000000..0e32948 Binary files /dev/null and b/talker/voices/es/santiago/draw.ogg differ diff --git a/talker/voices/es/santiago/e.ogg b/talker/voices/es/santiago/e.ogg new file mode 100644 index 0000000..3b8b0b1 Binary files /dev/null and b/talker/voices/es/santiago/e.ogg differ diff --git a/talker/voices/es/santiago/enpassant.ogg b/talker/voices/es/santiago/enpassant.ogg new file mode 100644 index 0000000..bea97c6 Binary files /dev/null and b/talker/voices/es/santiago/enpassant.ogg differ diff --git a/talker/voices/es/santiago/error.ogg b/talker/voices/es/santiago/error.ogg new file mode 100644 index 0000000..b6be1c2 Binary files /dev/null and b/talker/voices/es/santiago/error.ogg differ diff --git a/talker/voices/es/santiago/f.ogg b/talker/voices/es/santiago/f.ogg new file mode 100644 index 0000000..a13294f Binary files /dev/null and b/talker/voices/es/santiago/f.ogg differ diff --git a/talker/voices/es/santiago/g.ogg b/talker/voices/es/santiago/g.ogg new file mode 100644 index 0000000..6f79afe Binary files /dev/null and b/talker/voices/es/santiago/g.ogg differ diff --git a/talker/voices/es/santiago/goodbye.ogg b/talker/voices/es/santiago/goodbye.ogg new file mode 100644 index 0000000..b3b1a91 Binary files /dev/null and b/talker/voices/es/santiago/goodbye.ogg differ diff --git a/talker/voices/es/santiago/h.ogg b/talker/voices/es/santiago/h.ogg new file mode 100644 index 0000000..f9ffd2c Binary files /dev/null and b/talker/voices/es/santiago/h.ogg differ diff --git a/talker/voices/es/santiago/king.ogg b/talker/voices/es/santiago/king.ogg new file mode 100644 index 0000000..2280c1d Binary files /dev/null and b/talker/voices/es/santiago/king.ogg differ diff --git a/talker/voices/es/santiago/knight.ogg b/talker/voices/es/santiago/knight.ogg new file mode 100644 index 0000000..39cca49 Binary files /dev/null and b/talker/voices/es/santiago/knight.ogg differ diff --git a/talker/voices/es/santiago/material.ogg b/talker/voices/es/santiago/material.ogg new file mode 100644 index 0000000..32cacf7 Binary files /dev/null and b/talker/voices/es/santiago/material.ogg differ diff --git a/talker/voices/es/santiago/moveblack.ogg b/talker/voices/es/santiago/moveblack.ogg new file mode 100644 index 0000000..b76e9db Binary files /dev/null and b/talker/voices/es/santiago/moveblack.ogg differ diff --git a/talker/voices/es/santiago/movewhite.ogg b/talker/voices/es/santiago/movewhite.ogg new file mode 100644 index 0000000..a11aa59 Binary files /dev/null and b/talker/voices/es/santiago/movewhite.ogg differ diff --git a/talker/voices/es/santiago/newgame.ogg b/talker/voices/es/santiago/newgame.ogg new file mode 100644 index 0000000..7792b16 Binary files /dev/null and b/talker/voices/es/santiago/newgame.ogg differ diff --git a/talker/voices/es/santiago/ok.ogg b/talker/voices/es/santiago/ok.ogg new file mode 100644 index 0000000..665d927 Binary files /dev/null and b/talker/voices/es/santiago/ok.ogg differ diff --git a/talker/voices/es/santiago/okbook.ogg b/talker/voices/es/santiago/okbook.ogg new file mode 100644 index 0000000..9c99573 Binary files /dev/null and b/talker/voices/es/santiago/okbook.ogg differ diff --git a/talker/voices/es/santiago/okengine.ogg b/talker/voices/es/santiago/okengine.ogg new file mode 100644 index 0000000..99f93f4 Binary files /dev/null and b/talker/voices/es/santiago/okengine.ogg differ diff --git a/talker/voices/es/santiago/oklevel.ogg b/talker/voices/es/santiago/oklevel.ogg new file mode 100644 index 0000000..3cf7584 Binary files /dev/null and b/talker/voices/es/santiago/oklevel.ogg differ diff --git a/talker/voices/es/santiago/okmode.ogg b/talker/voices/es/santiago/okmode.ogg new file mode 100644 index 0000000..e91ee06 Binary files /dev/null and b/talker/voices/es/santiago/okmode.ogg differ diff --git a/talker/voices/es/santiago/oktime.ogg b/talker/voices/es/santiago/oktime.ogg new file mode 100644 index 0000000..2c17cc1 Binary files /dev/null and b/talker/voices/es/santiago/oktime.ogg differ diff --git a/talker/voices/es/santiago/pawn.ogg b/talker/voices/es/santiago/pawn.ogg new file mode 100644 index 0000000..89aeefb Binary files /dev/null and b/talker/voices/es/santiago/pawn.ogg differ diff --git a/talker/voices/es/santiago/picoChess.ogg b/talker/voices/es/santiago/picoChess.ogg new file mode 100644 index 0000000..9140bb6 Binary files /dev/null and b/talker/voices/es/santiago/picoChess.ogg differ diff --git a/talker/voices/es/santiago/pleasewait.ogg b/talker/voices/es/santiago/pleasewait.ogg new file mode 100644 index 0000000..a07b06f Binary files /dev/null and b/talker/voices/es/santiago/pleasewait.ogg differ diff --git a/talker/voices/es/santiago/promote.ogg b/talker/voices/es/santiago/promote.ogg new file mode 100644 index 0000000..80a14af Binary files /dev/null and b/talker/voices/es/santiago/promote.ogg differ diff --git a/talker/voices/es/santiago/queen.ogg b/talker/voices/es/santiago/queen.ogg new file mode 100644 index 0000000..b4177cf Binary files /dev/null and b/talker/voices/es/santiago/queen.ogg differ diff --git a/talker/voices/es/santiago/reboot.ogg b/talker/voices/es/santiago/reboot.ogg new file mode 100644 index 0000000..a54ba83 Binary files /dev/null and b/talker/voices/es/santiago/reboot.ogg differ diff --git a/talker/voices/es/santiago/repetition.ogg b/talker/voices/es/santiago/repetition.ogg new file mode 100644 index 0000000..7e337fc Binary files /dev/null and b/talker/voices/es/santiago/repetition.ogg differ diff --git a/talker/voices/es/santiago/rook.ogg b/talker/voices/es/santiago/rook.ogg new file mode 100644 index 0000000..0c625e2 Binary files /dev/null and b/talker/voices/es/santiago/rook.ogg differ diff --git a/talker/voices/es/santiago/setpieces.ogg b/talker/voices/es/santiago/setpieces.ogg new file mode 100644 index 0000000..48abffb Binary files /dev/null and b/talker/voices/es/santiago/setpieces.ogg differ diff --git a/talker/voices/es/santiago/stalemate.ogg b/talker/voices/es/santiago/stalemate.ogg new file mode 100644 index 0000000..fe24486 Binary files /dev/null and b/talker/voices/es/santiago/stalemate.ogg differ diff --git a/talker/voices/es/santiago/takeback.ogg b/talker/voices/es/santiago/takeback.ogg new file mode 100644 index 0000000..3f480ab Binary files /dev/null and b/talker/voices/es/santiago/takeback.ogg differ diff --git a/talker/voices/es/santiago/takes.ogg b/talker/voices/es/santiago/takes.ogg new file mode 100644 index 0000000..7b412f4 Binary files /dev/null and b/talker/voices/es/santiago/takes.ogg differ diff --git a/talker/voices/es/santiago/timelost.ogg b/talker/voices/es/santiago/timelost.ogg new file mode 100644 index 0000000..7526539 Binary files /dev/null and b/talker/voices/es/santiago/timelost.ogg differ diff --git a/talker/voices/es/santiago/whitewins.ogg b/talker/voices/es/santiago/whitewins.ogg new file mode 100644 index 0000000..bbceb3d Binary files /dev/null and b/talker/voices/es/santiago/whitewins.ogg differ diff --git a/talker/voices/fr/christina/1.ogg b/talker/voices/fr/christina/1.ogg new file mode 100644 index 0000000..c731117 Binary files /dev/null and b/talker/voices/fr/christina/1.ogg differ diff --git a/talker/voices/fr/christina/2.ogg b/talker/voices/fr/christina/2.ogg new file mode 100644 index 0000000..42d5ba0 Binary files /dev/null and b/talker/voices/fr/christina/2.ogg differ diff --git a/talker/voices/fr/christina/3.ogg b/talker/voices/fr/christina/3.ogg new file mode 100644 index 0000000..0eecbe7 Binary files /dev/null and b/talker/voices/fr/christina/3.ogg differ diff --git a/talker/voices/fr/christina/4.ogg b/talker/voices/fr/christina/4.ogg new file mode 100644 index 0000000..52f4fad Binary files /dev/null and b/talker/voices/fr/christina/4.ogg differ diff --git a/talker/voices/fr/christina/5.ogg b/talker/voices/fr/christina/5.ogg new file mode 100644 index 0000000..248befb Binary files /dev/null and b/talker/voices/fr/christina/5.ogg differ diff --git a/talker/voices/fr/christina/6.ogg b/talker/voices/fr/christina/6.ogg new file mode 100644 index 0000000..cef634c Binary files /dev/null and b/talker/voices/fr/christina/6.ogg differ diff --git a/talker/voices/fr/christina/7.ogg b/talker/voices/fr/christina/7.ogg new file mode 100644 index 0000000..298404c Binary files /dev/null and b/talker/voices/fr/christina/7.ogg differ diff --git a/talker/voices/fr/christina/75moves.ogg b/talker/voices/fr/christina/75moves.ogg new file mode 100644 index 0000000..e18f7d5 Binary files /dev/null and b/talker/voices/fr/christina/75moves.ogg differ diff --git a/talker/voices/fr/christina/8.ogg b/talker/voices/fr/christina/8.ogg new file mode 100644 index 0000000..e248984 Binary files /dev/null and b/talker/voices/fr/christina/8.ogg differ diff --git a/talker/voices/fr/christina/a.ogg b/talker/voices/fr/christina/a.ogg new file mode 100644 index 0000000..da14c39 Binary files /dev/null and b/talker/voices/fr/christina/a.ogg differ diff --git a/talker/voices/fr/christina/abort.ogg b/talker/voices/fr/christina/abort.ogg new file mode 100644 index 0000000..92df18d Binary files /dev/null and b/talker/voices/fr/christina/abort.ogg differ diff --git a/talker/voices/fr/christina/b.ogg b/talker/voices/fr/christina/b.ogg new file mode 100644 index 0000000..656982f Binary files /dev/null and b/talker/voices/fr/christina/b.ogg differ diff --git a/talker/voices/fr/christina/bishop.ogg b/talker/voices/fr/christina/bishop.ogg new file mode 100644 index 0000000..272f643 Binary files /dev/null and b/talker/voices/fr/christina/bishop.ogg differ diff --git a/talker/voices/fr/christina/blackwins.ogg b/talker/voices/fr/christina/blackwins.ogg new file mode 100644 index 0000000..0bb9869 Binary files /dev/null and b/talker/voices/fr/christina/blackwins.ogg differ diff --git a/talker/voices/fr/christina/c.ogg b/talker/voices/fr/christina/c.ogg new file mode 100644 index 0000000..6f8c341 Binary files /dev/null and b/talker/voices/fr/christina/c.ogg differ diff --git a/talker/voices/fr/christina/castlekingside.ogg b/talker/voices/fr/christina/castlekingside.ogg new file mode 100644 index 0000000..a1756ef Binary files /dev/null and b/talker/voices/fr/christina/castlekingside.ogg differ diff --git a/talker/voices/fr/christina/castlequeenside.ogg b/talker/voices/fr/christina/castlequeenside.ogg new file mode 100644 index 0000000..b8995ce Binary files /dev/null and b/talker/voices/fr/christina/castlequeenside.ogg differ diff --git a/talker/voices/fr/christina/check.ogg b/talker/voices/fr/christina/check.ogg new file mode 100644 index 0000000..2dc7f24 Binary files /dev/null and b/talker/voices/fr/christina/check.ogg differ diff --git a/talker/voices/fr/christina/checkmate.ogg b/talker/voices/fr/christina/checkmate.ogg new file mode 100644 index 0000000..9d966bd Binary files /dev/null and b/talker/voices/fr/christina/checkmate.ogg differ diff --git a/talker/voices/fr/christina/d.ogg b/talker/voices/fr/christina/d.ogg new file mode 100644 index 0000000..69e9c4b Binary files /dev/null and b/talker/voices/fr/christina/d.ogg differ diff --git a/talker/voices/fr/christina/draw.ogg b/talker/voices/fr/christina/draw.ogg new file mode 100644 index 0000000..b1408c8 Binary files /dev/null and b/talker/voices/fr/christina/draw.ogg differ diff --git a/talker/voices/fr/christina/e.ogg b/talker/voices/fr/christina/e.ogg new file mode 100644 index 0000000..a9178d5 Binary files /dev/null and b/talker/voices/fr/christina/e.ogg differ diff --git a/talker/voices/fr/christina/enpassant.ogg b/talker/voices/fr/christina/enpassant.ogg new file mode 100644 index 0000000..8c3f67a Binary files /dev/null and b/talker/voices/fr/christina/enpassant.ogg differ diff --git a/talker/voices/fr/christina/error.ogg b/talker/voices/fr/christina/error.ogg new file mode 100644 index 0000000..2f6063d Binary files /dev/null and b/talker/voices/fr/christina/error.ogg differ diff --git a/talker/voices/fr/christina/f.ogg b/talker/voices/fr/christina/f.ogg new file mode 100644 index 0000000..c05536b Binary files /dev/null and b/talker/voices/fr/christina/f.ogg differ diff --git a/talker/voices/fr/christina/g.ogg b/talker/voices/fr/christina/g.ogg new file mode 100644 index 0000000..6081cc7 Binary files /dev/null and b/talker/voices/fr/christina/g.ogg differ diff --git a/talker/voices/fr/christina/goodbye.ogg b/talker/voices/fr/christina/goodbye.ogg new file mode 100644 index 0000000..6e4cf9f Binary files /dev/null and b/talker/voices/fr/christina/goodbye.ogg differ diff --git a/talker/voices/fr/christina/h.ogg b/talker/voices/fr/christina/h.ogg new file mode 100644 index 0000000..b4a006b Binary files /dev/null and b/talker/voices/fr/christina/h.ogg differ diff --git a/talker/voices/fr/christina/king.ogg b/talker/voices/fr/christina/king.ogg new file mode 100644 index 0000000..61d6118 Binary files /dev/null and b/talker/voices/fr/christina/king.ogg differ diff --git a/talker/voices/fr/christina/knight.ogg b/talker/voices/fr/christina/knight.ogg new file mode 100644 index 0000000..402f44b Binary files /dev/null and b/talker/voices/fr/christina/knight.ogg differ diff --git a/talker/voices/fr/christina/material.ogg b/talker/voices/fr/christina/material.ogg new file mode 100644 index 0000000..844300b Binary files /dev/null and b/talker/voices/fr/christina/material.ogg differ diff --git a/talker/voices/fr/christina/moveblack.ogg b/talker/voices/fr/christina/moveblack.ogg new file mode 100644 index 0000000..7d5e6e4 Binary files /dev/null and b/talker/voices/fr/christina/moveblack.ogg differ diff --git a/talker/voices/fr/christina/movewhite.ogg b/talker/voices/fr/christina/movewhite.ogg new file mode 100644 index 0000000..c15bee7 Binary files /dev/null and b/talker/voices/fr/christina/movewhite.ogg differ diff --git a/talker/voices/fr/christina/newgame.ogg b/talker/voices/fr/christina/newgame.ogg new file mode 100644 index 0000000..076626d Binary files /dev/null and b/talker/voices/fr/christina/newgame.ogg differ diff --git a/talker/voices/fr/christina/ok.ogg b/talker/voices/fr/christina/ok.ogg new file mode 100644 index 0000000..3149adf Binary files /dev/null and b/talker/voices/fr/christina/ok.ogg differ diff --git a/talker/voices/fr/christina/okbook.ogg b/talker/voices/fr/christina/okbook.ogg new file mode 100644 index 0000000..c64b13c Binary files /dev/null and b/talker/voices/fr/christina/okbook.ogg differ diff --git a/talker/voices/fr/christina/okengine.ogg b/talker/voices/fr/christina/okengine.ogg new file mode 100644 index 0000000..d631d5a Binary files /dev/null and b/talker/voices/fr/christina/okengine.ogg differ diff --git a/talker/voices/fr/christina/oklevel.ogg b/talker/voices/fr/christina/oklevel.ogg new file mode 100644 index 0000000..f953800 Binary files /dev/null and b/talker/voices/fr/christina/oklevel.ogg differ diff --git a/talker/voices/fr/christina/okmode.ogg b/talker/voices/fr/christina/okmode.ogg new file mode 100644 index 0000000..e78f6e0 Binary files /dev/null and b/talker/voices/fr/christina/okmode.ogg differ diff --git a/talker/voices/fr/christina/oktime.ogg b/talker/voices/fr/christina/oktime.ogg new file mode 100644 index 0000000..971aee2 Binary files /dev/null and b/talker/voices/fr/christina/oktime.ogg differ diff --git a/talker/voices/fr/christina/pawn.ogg b/talker/voices/fr/christina/pawn.ogg new file mode 100644 index 0000000..3cd4913 Binary files /dev/null and b/talker/voices/fr/christina/pawn.ogg differ diff --git a/talker/voices/fr/christina/picoChess.ogg b/talker/voices/fr/christina/picoChess.ogg new file mode 100644 index 0000000..6d7c379 Binary files /dev/null and b/talker/voices/fr/christina/picoChess.ogg differ diff --git a/talker/voices/fr/christina/pleasewait.ogg b/talker/voices/fr/christina/pleasewait.ogg new file mode 100644 index 0000000..da97c28 Binary files /dev/null and b/talker/voices/fr/christina/pleasewait.ogg differ diff --git a/talker/voices/fr/christina/promote.ogg b/talker/voices/fr/christina/promote.ogg new file mode 100644 index 0000000..ae02eab Binary files /dev/null and b/talker/voices/fr/christina/promote.ogg differ diff --git a/talker/voices/fr/christina/queen.ogg b/talker/voices/fr/christina/queen.ogg new file mode 100644 index 0000000..be37043 Binary files /dev/null and b/talker/voices/fr/christina/queen.ogg differ diff --git a/talker/voices/fr/christina/reboot.ogg b/talker/voices/fr/christina/reboot.ogg new file mode 100644 index 0000000..2fed10e Binary files /dev/null and b/talker/voices/fr/christina/reboot.ogg differ diff --git a/talker/voices/fr/christina/repetition.ogg b/talker/voices/fr/christina/repetition.ogg new file mode 100644 index 0000000..f6fc804 Binary files /dev/null and b/talker/voices/fr/christina/repetition.ogg differ diff --git a/talker/voices/fr/christina/rook.ogg b/talker/voices/fr/christina/rook.ogg new file mode 100644 index 0000000..cc17e39 Binary files /dev/null and b/talker/voices/fr/christina/rook.ogg differ diff --git a/talker/voices/fr/christina/setpieces.ogg b/talker/voices/fr/christina/setpieces.ogg new file mode 100644 index 0000000..a010abe Binary files /dev/null and b/talker/voices/fr/christina/setpieces.ogg differ diff --git a/talker/voices/fr/christina/stalemate.ogg b/talker/voices/fr/christina/stalemate.ogg new file mode 100644 index 0000000..d6a418b Binary files /dev/null and b/talker/voices/fr/christina/stalemate.ogg differ diff --git a/talker/voices/fr/christina/takeback.ogg b/talker/voices/fr/christina/takeback.ogg new file mode 100644 index 0000000..ca27934 Binary files /dev/null and b/talker/voices/fr/christina/takeback.ogg differ diff --git a/talker/voices/fr/christina/takes.ogg b/talker/voices/fr/christina/takes.ogg new file mode 100644 index 0000000..e6098a9 Binary files /dev/null and b/talker/voices/fr/christina/takes.ogg differ diff --git a/talker/voices/fr/christina/timelost.ogg b/talker/voices/fr/christina/timelost.ogg new file mode 100644 index 0000000..3d1cba1 Binary files /dev/null and b/talker/voices/fr/christina/timelost.ogg differ diff --git a/talker/voices/fr/christina/userblack.ogg b/talker/voices/fr/christina/userblack.ogg new file mode 100644 index 0000000..8279288 Binary files /dev/null and b/talker/voices/fr/christina/userblack.ogg differ diff --git a/talker/voices/fr/christina/userwhite.ogg b/talker/voices/fr/christina/userwhite.ogg new file mode 100644 index 0000000..2d10fc8 Binary files /dev/null and b/talker/voices/fr/christina/userwhite.ogg differ diff --git a/talker/voices/fr/christina/whitewins.ogg b/talker/voices/fr/christina/whitewins.ogg new file mode 100644 index 0000000..f06fa9e Binary files /dev/null and b/talker/voices/fr/christina/whitewins.ogg differ diff --git a/talker/voices/it/christina/1.ogg b/talker/voices/it/christina/1.ogg new file mode 100644 index 0000000..b5af737 Binary files /dev/null and b/talker/voices/it/christina/1.ogg differ diff --git a/talker/voices/it/christina/2.ogg b/talker/voices/it/christina/2.ogg new file mode 100644 index 0000000..b2110f3 Binary files /dev/null and b/talker/voices/it/christina/2.ogg differ diff --git a/talker/voices/it/christina/3.ogg b/talker/voices/it/christina/3.ogg new file mode 100644 index 0000000..e3118c2 Binary files /dev/null and b/talker/voices/it/christina/3.ogg differ diff --git a/talker/voices/it/christina/4.ogg b/talker/voices/it/christina/4.ogg new file mode 100644 index 0000000..468292f Binary files /dev/null and b/talker/voices/it/christina/4.ogg differ diff --git a/talker/voices/it/christina/5.ogg b/talker/voices/it/christina/5.ogg new file mode 100644 index 0000000..188fe04 Binary files /dev/null and b/talker/voices/it/christina/5.ogg differ diff --git a/talker/voices/it/christina/6.ogg b/talker/voices/it/christina/6.ogg new file mode 100644 index 0000000..1eafe4b Binary files /dev/null and b/talker/voices/it/christina/6.ogg differ diff --git a/talker/voices/it/christina/7.ogg b/talker/voices/it/christina/7.ogg new file mode 100644 index 0000000..18c9d1a Binary files /dev/null and b/talker/voices/it/christina/7.ogg differ diff --git a/talker/voices/it/christina/75moves.ogg b/talker/voices/it/christina/75moves.ogg new file mode 100644 index 0000000..902b6eb Binary files /dev/null and b/talker/voices/it/christina/75moves.ogg differ diff --git a/talker/voices/it/christina/8.ogg b/talker/voices/it/christina/8.ogg new file mode 100644 index 0000000..c88b4c5 Binary files /dev/null and b/talker/voices/it/christina/8.ogg differ diff --git a/talker/voices/it/christina/a.ogg b/talker/voices/it/christina/a.ogg new file mode 100644 index 0000000..4eca400 Binary files /dev/null and b/talker/voices/it/christina/a.ogg differ diff --git a/talker/voices/it/christina/abort.ogg b/talker/voices/it/christina/abort.ogg new file mode 100644 index 0000000..d1cfde6 Binary files /dev/null and b/talker/voices/it/christina/abort.ogg differ diff --git a/talker/voices/it/christina/b.ogg b/talker/voices/it/christina/b.ogg new file mode 100644 index 0000000..35a5867 Binary files /dev/null and b/talker/voices/it/christina/b.ogg differ diff --git a/talker/voices/it/christina/bishop.ogg b/talker/voices/it/christina/bishop.ogg new file mode 100644 index 0000000..396ba25 Binary files /dev/null and b/talker/voices/it/christina/bishop.ogg differ diff --git a/talker/voices/it/christina/blackwins.ogg b/talker/voices/it/christina/blackwins.ogg new file mode 100644 index 0000000..b23f3e0 Binary files /dev/null and b/talker/voices/it/christina/blackwins.ogg differ diff --git a/talker/voices/it/christina/c.ogg b/talker/voices/it/christina/c.ogg new file mode 100644 index 0000000..b301415 Binary files /dev/null and b/talker/voices/it/christina/c.ogg differ diff --git a/talker/voices/it/christina/castlekingside.ogg b/talker/voices/it/christina/castlekingside.ogg new file mode 100644 index 0000000..46fbb2e Binary files /dev/null and b/talker/voices/it/christina/castlekingside.ogg differ diff --git a/talker/voices/it/christina/castlequeenside.ogg b/talker/voices/it/christina/castlequeenside.ogg new file mode 100644 index 0000000..49c5eda Binary files /dev/null and b/talker/voices/it/christina/castlequeenside.ogg differ diff --git a/talker/voices/it/christina/check.ogg b/talker/voices/it/christina/check.ogg new file mode 100644 index 0000000..06afec5 Binary files /dev/null and b/talker/voices/it/christina/check.ogg differ diff --git a/talker/voices/it/christina/checkmate.ogg b/talker/voices/it/christina/checkmate.ogg new file mode 100644 index 0000000..5ac87db Binary files /dev/null and b/talker/voices/it/christina/checkmate.ogg differ diff --git a/talker/voices/it/christina/d.ogg b/talker/voices/it/christina/d.ogg new file mode 100644 index 0000000..c4acf30 Binary files /dev/null and b/talker/voices/it/christina/d.ogg differ diff --git a/talker/voices/it/christina/draw.ogg b/talker/voices/it/christina/draw.ogg new file mode 100644 index 0000000..e6b40d3 Binary files /dev/null and b/talker/voices/it/christina/draw.ogg differ diff --git a/talker/voices/it/christina/e.ogg b/talker/voices/it/christina/e.ogg new file mode 100644 index 0000000..c7cb5de Binary files /dev/null and b/talker/voices/it/christina/e.ogg differ diff --git a/talker/voices/it/christina/enpassant.ogg b/talker/voices/it/christina/enpassant.ogg new file mode 100644 index 0000000..e8a0b3a Binary files /dev/null and b/talker/voices/it/christina/enpassant.ogg differ diff --git a/talker/voices/it/christina/error.ogg b/talker/voices/it/christina/error.ogg new file mode 100644 index 0000000..096ccc4 Binary files /dev/null and b/talker/voices/it/christina/error.ogg differ diff --git a/talker/voices/it/christina/f.ogg b/talker/voices/it/christina/f.ogg new file mode 100644 index 0000000..a70cea1 Binary files /dev/null and b/talker/voices/it/christina/f.ogg differ diff --git a/talker/voices/it/christina/g.ogg b/talker/voices/it/christina/g.ogg new file mode 100644 index 0000000..5848b6f Binary files /dev/null and b/talker/voices/it/christina/g.ogg differ diff --git a/talker/voices/it/christina/goodbye.ogg b/talker/voices/it/christina/goodbye.ogg new file mode 100644 index 0000000..9a5872c Binary files /dev/null and b/talker/voices/it/christina/goodbye.ogg differ diff --git a/talker/voices/it/christina/h.ogg b/talker/voices/it/christina/h.ogg new file mode 100644 index 0000000..480c3a7 Binary files /dev/null and b/talker/voices/it/christina/h.ogg differ diff --git a/talker/voices/it/christina/king.ogg b/talker/voices/it/christina/king.ogg new file mode 100644 index 0000000..fa2a867 Binary files /dev/null and b/talker/voices/it/christina/king.ogg differ diff --git a/talker/voices/it/christina/knight.ogg b/talker/voices/it/christina/knight.ogg new file mode 100644 index 0000000..dfc177b Binary files /dev/null and b/talker/voices/it/christina/knight.ogg differ diff --git a/talker/voices/it/christina/material.ogg b/talker/voices/it/christina/material.ogg new file mode 100644 index 0000000..43fe951 Binary files /dev/null and b/talker/voices/it/christina/material.ogg differ diff --git a/talker/voices/it/christina/moveblack.ogg b/talker/voices/it/christina/moveblack.ogg new file mode 100644 index 0000000..f80859a Binary files /dev/null and b/talker/voices/it/christina/moveblack.ogg differ diff --git a/talker/voices/it/christina/movewhite.ogg b/talker/voices/it/christina/movewhite.ogg new file mode 100644 index 0000000..0245943 Binary files /dev/null and b/talker/voices/it/christina/movewhite.ogg differ diff --git a/talker/voices/it/christina/newgame.ogg b/talker/voices/it/christina/newgame.ogg new file mode 100644 index 0000000..275e9de Binary files /dev/null and b/talker/voices/it/christina/newgame.ogg differ diff --git a/talker/voices/it/christina/ok.ogg b/talker/voices/it/christina/ok.ogg new file mode 100644 index 0000000..4fd9abb Binary files /dev/null and b/talker/voices/it/christina/ok.ogg differ diff --git a/talker/voices/it/christina/okbook.ogg b/talker/voices/it/christina/okbook.ogg new file mode 100644 index 0000000..7f82388 Binary files /dev/null and b/talker/voices/it/christina/okbook.ogg differ diff --git a/talker/voices/it/christina/okengine.ogg b/talker/voices/it/christina/okengine.ogg new file mode 100644 index 0000000..20e4f7c Binary files /dev/null and b/talker/voices/it/christina/okengine.ogg differ diff --git a/talker/voices/it/christina/oklevel.ogg b/talker/voices/it/christina/oklevel.ogg new file mode 100644 index 0000000..4ec77af Binary files /dev/null and b/talker/voices/it/christina/oklevel.ogg differ diff --git a/talker/voices/it/christina/okmode.ogg b/talker/voices/it/christina/okmode.ogg new file mode 100644 index 0000000..7fc7d2c Binary files /dev/null and b/talker/voices/it/christina/okmode.ogg differ diff --git a/talker/voices/it/christina/oktime.ogg b/talker/voices/it/christina/oktime.ogg new file mode 100644 index 0000000..834f98b Binary files /dev/null and b/talker/voices/it/christina/oktime.ogg differ diff --git a/talker/voices/it/christina/pawn.ogg b/talker/voices/it/christina/pawn.ogg new file mode 100644 index 0000000..7324022 Binary files /dev/null and b/talker/voices/it/christina/pawn.ogg differ diff --git a/talker/voices/it/christina/picoChess.ogg b/talker/voices/it/christina/picoChess.ogg new file mode 100644 index 0000000..4b45077 Binary files /dev/null and b/talker/voices/it/christina/picoChess.ogg differ diff --git a/talker/voices/it/christina/pleasewait.ogg b/talker/voices/it/christina/pleasewait.ogg new file mode 100644 index 0000000..d5fa49a Binary files /dev/null and b/talker/voices/it/christina/pleasewait.ogg differ diff --git a/talker/voices/it/christina/promote.ogg b/talker/voices/it/christina/promote.ogg new file mode 100644 index 0000000..b826f49 Binary files /dev/null and b/talker/voices/it/christina/promote.ogg differ diff --git a/talker/voices/it/christina/queen.ogg b/talker/voices/it/christina/queen.ogg new file mode 100644 index 0000000..e762db5 Binary files /dev/null and b/talker/voices/it/christina/queen.ogg differ diff --git a/talker/voices/it/christina/reboot.ogg b/talker/voices/it/christina/reboot.ogg new file mode 100644 index 0000000..f1dd5e3 Binary files /dev/null and b/talker/voices/it/christina/reboot.ogg differ diff --git a/talker/voices/it/christina/repetition.ogg b/talker/voices/it/christina/repetition.ogg new file mode 100644 index 0000000..3d1aad9 Binary files /dev/null and b/talker/voices/it/christina/repetition.ogg differ diff --git a/talker/voices/it/christina/rook.ogg b/talker/voices/it/christina/rook.ogg new file mode 100644 index 0000000..9f1c754 Binary files /dev/null and b/talker/voices/it/christina/rook.ogg differ diff --git a/talker/voices/it/christina/setpieces.ogg b/talker/voices/it/christina/setpieces.ogg new file mode 100644 index 0000000..87c56dc Binary files /dev/null and b/talker/voices/it/christina/setpieces.ogg differ diff --git a/talker/voices/it/christina/stalemate.ogg b/talker/voices/it/christina/stalemate.ogg new file mode 100644 index 0000000..7dda068 Binary files /dev/null and b/talker/voices/it/christina/stalemate.ogg differ diff --git a/talker/voices/it/christina/takeback.ogg b/talker/voices/it/christina/takeback.ogg new file mode 100644 index 0000000..9e823be Binary files /dev/null and b/talker/voices/it/christina/takeback.ogg differ diff --git a/talker/voices/it/christina/takes.ogg b/talker/voices/it/christina/takes.ogg new file mode 100644 index 0000000..f5dcc31 Binary files /dev/null and b/talker/voices/it/christina/takes.ogg differ diff --git a/talker/voices/it/christina/timelost.ogg b/talker/voices/it/christina/timelost.ogg new file mode 100644 index 0000000..eb4f9a4 Binary files /dev/null and b/talker/voices/it/christina/timelost.ogg differ diff --git a/talker/voices/it/christina/userblack.ogg b/talker/voices/it/christina/userblack.ogg new file mode 100644 index 0000000..a7d92f0 Binary files /dev/null and b/talker/voices/it/christina/userblack.ogg differ diff --git a/talker/voices/it/christina/userwhite.ogg b/talker/voices/it/christina/userwhite.ogg new file mode 100644 index 0000000..a3cda73 Binary files /dev/null and b/talker/voices/it/christina/userwhite.ogg differ diff --git a/talker/voices/it/christina/whitewins.ogg b/talker/voices/it/christina/whitewins.ogg new file mode 100644 index 0000000..8a0e2aa Binary files /dev/null and b/talker/voices/it/christina/whitewins.ogg differ diff --git a/talker/voices/it/luigi/1.ogg b/talker/voices/it/luigi/1.ogg new file mode 100644 index 0000000..30540a1 Binary files /dev/null and b/talker/voices/it/luigi/1.ogg differ diff --git a/talker/voices/it/luigi/2.ogg b/talker/voices/it/luigi/2.ogg new file mode 100644 index 0000000..d2df916 Binary files /dev/null and b/talker/voices/it/luigi/2.ogg differ diff --git a/talker/voices/it/luigi/3.ogg b/talker/voices/it/luigi/3.ogg new file mode 100644 index 0000000..a86e0a6 Binary files /dev/null and b/talker/voices/it/luigi/3.ogg differ diff --git a/talker/voices/it/luigi/4.ogg b/talker/voices/it/luigi/4.ogg new file mode 100644 index 0000000..f672d34 Binary files /dev/null and b/talker/voices/it/luigi/4.ogg differ diff --git a/talker/voices/it/luigi/5.ogg b/talker/voices/it/luigi/5.ogg new file mode 100644 index 0000000..434629b Binary files /dev/null and b/talker/voices/it/luigi/5.ogg differ diff --git a/talker/voices/it/luigi/6.ogg b/talker/voices/it/luigi/6.ogg new file mode 100644 index 0000000..381896d Binary files /dev/null and b/talker/voices/it/luigi/6.ogg differ diff --git a/talker/voices/it/luigi/7.ogg b/talker/voices/it/luigi/7.ogg new file mode 100644 index 0000000..6a735c4 Binary files /dev/null and b/talker/voices/it/luigi/7.ogg differ diff --git a/talker/voices/it/luigi/75moves.ogg b/talker/voices/it/luigi/75moves.ogg new file mode 100644 index 0000000..c1e094e Binary files /dev/null and b/talker/voices/it/luigi/75moves.ogg differ diff --git a/talker/voices/it/luigi/8.ogg b/talker/voices/it/luigi/8.ogg new file mode 100644 index 0000000..38eb3ec Binary files /dev/null and b/talker/voices/it/luigi/8.ogg differ diff --git a/talker/voices/it/luigi/a.ogg b/talker/voices/it/luigi/a.ogg new file mode 100644 index 0000000..24fc66d Binary files /dev/null and b/talker/voices/it/luigi/a.ogg differ diff --git a/talker/voices/it/luigi/abort.ogg b/talker/voices/it/luigi/abort.ogg new file mode 100644 index 0000000..a3f25ce Binary files /dev/null and b/talker/voices/it/luigi/abort.ogg differ diff --git a/talker/voices/it/luigi/b.ogg b/talker/voices/it/luigi/b.ogg new file mode 100644 index 0000000..213b05e Binary files /dev/null and b/talker/voices/it/luigi/b.ogg differ diff --git a/talker/voices/it/luigi/bishop.ogg b/talker/voices/it/luigi/bishop.ogg new file mode 100644 index 0000000..6b2e7ef Binary files /dev/null and b/talker/voices/it/luigi/bishop.ogg differ diff --git a/talker/voices/it/luigi/blackwins.ogg b/talker/voices/it/luigi/blackwins.ogg new file mode 100644 index 0000000..91c145d Binary files /dev/null and b/talker/voices/it/luigi/blackwins.ogg differ diff --git a/talker/voices/it/luigi/c.ogg b/talker/voices/it/luigi/c.ogg new file mode 100644 index 0000000..4542005 Binary files /dev/null and b/talker/voices/it/luigi/c.ogg differ diff --git a/talker/voices/it/luigi/castlekingside.ogg b/talker/voices/it/luigi/castlekingside.ogg new file mode 100644 index 0000000..dcb3ecf Binary files /dev/null and b/talker/voices/it/luigi/castlekingside.ogg differ diff --git a/talker/voices/it/luigi/castlequeenside.ogg b/talker/voices/it/luigi/castlequeenside.ogg new file mode 100644 index 0000000..db273a8 Binary files /dev/null and b/talker/voices/it/luigi/castlequeenside.ogg differ diff --git a/talker/voices/it/luigi/check.ogg b/talker/voices/it/luigi/check.ogg new file mode 100644 index 0000000..f8bfab5 Binary files /dev/null and b/talker/voices/it/luigi/check.ogg differ diff --git a/talker/voices/it/luigi/checkmate.ogg b/talker/voices/it/luigi/checkmate.ogg new file mode 100644 index 0000000..1749dc2 Binary files /dev/null and b/talker/voices/it/luigi/checkmate.ogg differ diff --git a/talker/voices/it/luigi/d.ogg b/talker/voices/it/luigi/d.ogg new file mode 100644 index 0000000..f9b1291 Binary files /dev/null and b/talker/voices/it/luigi/d.ogg differ diff --git a/talker/voices/it/luigi/draw.ogg b/talker/voices/it/luigi/draw.ogg new file mode 100644 index 0000000..0e89339 Binary files /dev/null and b/talker/voices/it/luigi/draw.ogg differ diff --git a/talker/voices/it/luigi/e.ogg b/talker/voices/it/luigi/e.ogg new file mode 100644 index 0000000..e672213 Binary files /dev/null and b/talker/voices/it/luigi/e.ogg differ diff --git a/talker/voices/it/luigi/enpassant.ogg b/talker/voices/it/luigi/enpassant.ogg new file mode 100644 index 0000000..5575019 Binary files /dev/null and b/talker/voices/it/luigi/enpassant.ogg differ diff --git a/talker/voices/it/luigi/error.ogg b/talker/voices/it/luigi/error.ogg new file mode 100644 index 0000000..931b8b5 Binary files /dev/null and b/talker/voices/it/luigi/error.ogg differ diff --git a/talker/voices/it/luigi/f.ogg b/talker/voices/it/luigi/f.ogg new file mode 100644 index 0000000..46cdcb5 Binary files /dev/null and b/talker/voices/it/luigi/f.ogg differ diff --git a/talker/voices/it/luigi/g.ogg b/talker/voices/it/luigi/g.ogg new file mode 100644 index 0000000..9030993 Binary files /dev/null and b/talker/voices/it/luigi/g.ogg differ diff --git a/talker/voices/it/luigi/goodbye.ogg b/talker/voices/it/luigi/goodbye.ogg new file mode 100644 index 0000000..2792b62 Binary files /dev/null and b/talker/voices/it/luigi/goodbye.ogg differ diff --git a/talker/voices/it/luigi/h.ogg b/talker/voices/it/luigi/h.ogg new file mode 100644 index 0000000..e68eca7 Binary files /dev/null and b/talker/voices/it/luigi/h.ogg differ diff --git a/talker/voices/it/luigi/king.ogg b/talker/voices/it/luigi/king.ogg new file mode 100644 index 0000000..f2520f3 Binary files /dev/null and b/talker/voices/it/luigi/king.ogg differ diff --git a/talker/voices/it/luigi/knight.ogg b/talker/voices/it/luigi/knight.ogg new file mode 100644 index 0000000..6275bfd Binary files /dev/null and b/talker/voices/it/luigi/knight.ogg differ diff --git a/talker/voices/it/luigi/material.ogg b/talker/voices/it/luigi/material.ogg new file mode 100644 index 0000000..d5e5e64 Binary files /dev/null and b/talker/voices/it/luigi/material.ogg differ diff --git a/talker/voices/it/luigi/moveblack.ogg b/talker/voices/it/luigi/moveblack.ogg new file mode 100644 index 0000000..8ec50fa Binary files /dev/null and b/talker/voices/it/luigi/moveblack.ogg differ diff --git a/talker/voices/it/luigi/movewhite.ogg b/talker/voices/it/luigi/movewhite.ogg new file mode 100644 index 0000000..af8310c Binary files /dev/null and b/talker/voices/it/luigi/movewhite.ogg differ diff --git a/talker/voices/it/luigi/newgame.ogg b/talker/voices/it/luigi/newgame.ogg new file mode 100644 index 0000000..60a4d50 Binary files /dev/null and b/talker/voices/it/luigi/newgame.ogg differ diff --git a/talker/voices/it/luigi/ok.ogg b/talker/voices/it/luigi/ok.ogg new file mode 100644 index 0000000..aafdbc4 Binary files /dev/null and b/talker/voices/it/luigi/ok.ogg differ diff --git a/talker/voices/it/luigi/okbook.ogg b/talker/voices/it/luigi/okbook.ogg new file mode 100644 index 0000000..f30a8e5 Binary files /dev/null and b/talker/voices/it/luigi/okbook.ogg differ diff --git a/talker/voices/it/luigi/okengine.ogg b/talker/voices/it/luigi/okengine.ogg new file mode 100644 index 0000000..ed76898 Binary files /dev/null and b/talker/voices/it/luigi/okengine.ogg differ diff --git a/talker/voices/it/luigi/oklevel.ogg b/talker/voices/it/luigi/oklevel.ogg new file mode 100644 index 0000000..a983eb2 Binary files /dev/null and b/talker/voices/it/luigi/oklevel.ogg differ diff --git a/talker/voices/it/luigi/okmode.ogg b/talker/voices/it/luigi/okmode.ogg new file mode 100644 index 0000000..48dbc8d Binary files /dev/null and b/talker/voices/it/luigi/okmode.ogg differ diff --git a/talker/voices/it/luigi/oktime.ogg b/talker/voices/it/luigi/oktime.ogg new file mode 100644 index 0000000..a5e3596 Binary files /dev/null and b/talker/voices/it/luigi/oktime.ogg differ diff --git a/talker/voices/it/luigi/pawn.ogg b/talker/voices/it/luigi/pawn.ogg new file mode 100644 index 0000000..94f08f9 Binary files /dev/null and b/talker/voices/it/luigi/pawn.ogg differ diff --git a/talker/voices/it/luigi/picoChess.ogg b/talker/voices/it/luigi/picoChess.ogg new file mode 100644 index 0000000..c8d3058 Binary files /dev/null and b/talker/voices/it/luigi/picoChess.ogg differ diff --git a/talker/voices/it/luigi/pleasewait.ogg b/talker/voices/it/luigi/pleasewait.ogg new file mode 100644 index 0000000..9d935b9 Binary files /dev/null and b/talker/voices/it/luigi/pleasewait.ogg differ diff --git a/talker/voices/it/luigi/promote.ogg b/talker/voices/it/luigi/promote.ogg new file mode 100644 index 0000000..ecf27ec Binary files /dev/null and b/talker/voices/it/luigi/promote.ogg differ diff --git a/talker/voices/it/luigi/queen.ogg b/talker/voices/it/luigi/queen.ogg new file mode 100644 index 0000000..63143c1 Binary files /dev/null and b/talker/voices/it/luigi/queen.ogg differ diff --git a/talker/voices/it/luigi/reboot.ogg b/talker/voices/it/luigi/reboot.ogg new file mode 100644 index 0000000..fb4b4a2 Binary files /dev/null and b/talker/voices/it/luigi/reboot.ogg differ diff --git a/talker/voices/it/luigi/repetition.ogg b/talker/voices/it/luigi/repetition.ogg new file mode 100644 index 0000000..7255c27 Binary files /dev/null and b/talker/voices/it/luigi/repetition.ogg differ diff --git a/talker/voices/it/luigi/rook.ogg b/talker/voices/it/luigi/rook.ogg new file mode 100644 index 0000000..16509ad Binary files /dev/null and b/talker/voices/it/luigi/rook.ogg differ diff --git a/talker/voices/it/luigi/setpieces.ogg b/talker/voices/it/luigi/setpieces.ogg new file mode 100644 index 0000000..76b1782 Binary files /dev/null and b/talker/voices/it/luigi/setpieces.ogg differ diff --git a/talker/voices/it/luigi/stalemate.ogg b/talker/voices/it/luigi/stalemate.ogg new file mode 100644 index 0000000..cf89d78 Binary files /dev/null and b/talker/voices/it/luigi/stalemate.ogg differ diff --git a/talker/voices/it/luigi/takeback.ogg b/talker/voices/it/luigi/takeback.ogg new file mode 100644 index 0000000..d242e13 Binary files /dev/null and b/talker/voices/it/luigi/takeback.ogg differ diff --git a/talker/voices/it/luigi/takes.ogg b/talker/voices/it/luigi/takes.ogg new file mode 100644 index 0000000..b7daa16 Binary files /dev/null and b/talker/voices/it/luigi/takes.ogg differ diff --git a/talker/voices/it/luigi/timelost.ogg b/talker/voices/it/luigi/timelost.ogg new file mode 100644 index 0000000..2a12619 Binary files /dev/null and b/talker/voices/it/luigi/timelost.ogg differ diff --git a/talker/voices/it/luigi/userblack.ogg b/talker/voices/it/luigi/userblack.ogg new file mode 100644 index 0000000..0836ebf Binary files /dev/null and b/talker/voices/it/luigi/userblack.ogg differ diff --git a/talker/voices/it/luigi/userwhite.ogg b/talker/voices/it/luigi/userwhite.ogg new file mode 100644 index 0000000..0b5a536 Binary files /dev/null and b/talker/voices/it/luigi/userwhite.ogg differ diff --git a/talker/voices/it/luigi/whitewins.ogg b/talker/voices/it/luigi/whitewins.ogg new file mode 100644 index 0000000..88d4bcf Binary files /dev/null and b/talker/voices/it/luigi/whitewins.ogg differ diff --git a/talker/voices/nl/christina/1.ogg b/talker/voices/nl/christina/1.ogg new file mode 100644 index 0000000..6822f89 Binary files /dev/null and b/talker/voices/nl/christina/1.ogg differ diff --git a/talker/voices/nl/christina/2.ogg b/talker/voices/nl/christina/2.ogg new file mode 100644 index 0000000..349cb79 Binary files /dev/null and b/talker/voices/nl/christina/2.ogg differ diff --git a/talker/voices/nl/christina/3.ogg b/talker/voices/nl/christina/3.ogg new file mode 100644 index 0000000..70422b2 Binary files /dev/null and b/talker/voices/nl/christina/3.ogg differ diff --git a/talker/voices/nl/christina/4.ogg b/talker/voices/nl/christina/4.ogg new file mode 100644 index 0000000..68d31a6 Binary files /dev/null and b/talker/voices/nl/christina/4.ogg differ diff --git a/talker/voices/nl/christina/5.ogg b/talker/voices/nl/christina/5.ogg new file mode 100644 index 0000000..e1b3b0e Binary files /dev/null and b/talker/voices/nl/christina/5.ogg differ diff --git a/talker/voices/nl/christina/6.ogg b/talker/voices/nl/christina/6.ogg new file mode 100644 index 0000000..a8f3b3d Binary files /dev/null and b/talker/voices/nl/christina/6.ogg differ diff --git a/talker/voices/nl/christina/7.ogg b/talker/voices/nl/christina/7.ogg new file mode 100644 index 0000000..495ee56 Binary files /dev/null and b/talker/voices/nl/christina/7.ogg differ diff --git a/talker/voices/nl/christina/75moves.ogg b/talker/voices/nl/christina/75moves.ogg new file mode 100644 index 0000000..c6389e9 Binary files /dev/null and b/talker/voices/nl/christina/75moves.ogg differ diff --git a/talker/voices/nl/christina/8.ogg b/talker/voices/nl/christina/8.ogg new file mode 100644 index 0000000..c4a7a04 Binary files /dev/null and b/talker/voices/nl/christina/8.ogg differ diff --git a/talker/voices/nl/christina/a.ogg b/talker/voices/nl/christina/a.ogg new file mode 100644 index 0000000..0d28dbd Binary files /dev/null and b/talker/voices/nl/christina/a.ogg differ diff --git a/talker/voices/nl/christina/abort.ogg b/talker/voices/nl/christina/abort.ogg new file mode 100644 index 0000000..7add526 Binary files /dev/null and b/talker/voices/nl/christina/abort.ogg differ diff --git a/talker/voices/nl/christina/b.ogg b/talker/voices/nl/christina/b.ogg new file mode 100644 index 0000000..d2d25b5 Binary files /dev/null and b/talker/voices/nl/christina/b.ogg differ diff --git a/talker/voices/nl/christina/bishop.ogg b/talker/voices/nl/christina/bishop.ogg new file mode 100644 index 0000000..cb9f4b1 Binary files /dev/null and b/talker/voices/nl/christina/bishop.ogg differ diff --git a/talker/voices/nl/christina/blackwins.ogg b/talker/voices/nl/christina/blackwins.ogg new file mode 100644 index 0000000..b7ae8c3 Binary files /dev/null and b/talker/voices/nl/christina/blackwins.ogg differ diff --git a/talker/voices/nl/christina/c.ogg b/talker/voices/nl/christina/c.ogg new file mode 100644 index 0000000..24ad3f5 Binary files /dev/null and b/talker/voices/nl/christina/c.ogg differ diff --git a/talker/voices/nl/christina/castlekingside.ogg b/talker/voices/nl/christina/castlekingside.ogg new file mode 100644 index 0000000..069323b Binary files /dev/null and b/talker/voices/nl/christina/castlekingside.ogg differ diff --git a/talker/voices/nl/christina/castlequeenside.ogg b/talker/voices/nl/christina/castlequeenside.ogg new file mode 100644 index 0000000..6402b02 Binary files /dev/null and b/talker/voices/nl/christina/castlequeenside.ogg differ diff --git a/talker/voices/nl/christina/check.ogg b/talker/voices/nl/christina/check.ogg new file mode 100644 index 0000000..d648077 Binary files /dev/null and b/talker/voices/nl/christina/check.ogg differ diff --git a/talker/voices/nl/christina/checkmate.ogg b/talker/voices/nl/christina/checkmate.ogg new file mode 100644 index 0000000..022e0bb Binary files /dev/null and b/talker/voices/nl/christina/checkmate.ogg differ diff --git a/talker/voices/nl/christina/d.ogg b/talker/voices/nl/christina/d.ogg new file mode 100644 index 0000000..c83fe45 Binary files /dev/null and b/talker/voices/nl/christina/d.ogg differ diff --git a/talker/voices/nl/christina/draw.ogg b/talker/voices/nl/christina/draw.ogg new file mode 100644 index 0000000..2c66ac3 Binary files /dev/null and b/talker/voices/nl/christina/draw.ogg differ diff --git a/talker/voices/nl/christina/e.ogg b/talker/voices/nl/christina/e.ogg new file mode 100644 index 0000000..bb98306 Binary files /dev/null and b/talker/voices/nl/christina/e.ogg differ diff --git a/talker/voices/nl/christina/enpassant.ogg b/talker/voices/nl/christina/enpassant.ogg new file mode 100644 index 0000000..db96099 Binary files /dev/null and b/talker/voices/nl/christina/enpassant.ogg differ diff --git a/talker/voices/nl/christina/error.ogg b/talker/voices/nl/christina/error.ogg new file mode 100644 index 0000000..48fedc0 Binary files /dev/null and b/talker/voices/nl/christina/error.ogg differ diff --git a/talker/voices/nl/christina/f.ogg b/talker/voices/nl/christina/f.ogg new file mode 100644 index 0000000..5216e63 Binary files /dev/null and b/talker/voices/nl/christina/f.ogg differ diff --git a/talker/voices/nl/christina/g.ogg b/talker/voices/nl/christina/g.ogg new file mode 100644 index 0000000..3de2d7e Binary files /dev/null and b/talker/voices/nl/christina/g.ogg differ diff --git a/talker/voices/nl/christina/goodbye.ogg b/talker/voices/nl/christina/goodbye.ogg new file mode 100644 index 0000000..54ffbb6 Binary files /dev/null and b/talker/voices/nl/christina/goodbye.ogg differ diff --git a/talker/voices/nl/christina/h.ogg b/talker/voices/nl/christina/h.ogg new file mode 100644 index 0000000..d6526da Binary files /dev/null and b/talker/voices/nl/christina/h.ogg differ diff --git a/talker/voices/nl/christina/king.ogg b/talker/voices/nl/christina/king.ogg new file mode 100644 index 0000000..0be00cb Binary files /dev/null and b/talker/voices/nl/christina/king.ogg differ diff --git a/talker/voices/nl/christina/knight.ogg b/talker/voices/nl/christina/knight.ogg new file mode 100644 index 0000000..33ae8ff Binary files /dev/null and b/talker/voices/nl/christina/knight.ogg differ diff --git a/talker/voices/nl/christina/material.ogg b/talker/voices/nl/christina/material.ogg new file mode 100644 index 0000000..49a6c13 Binary files /dev/null and b/talker/voices/nl/christina/material.ogg differ diff --git a/talker/voices/nl/christina/moveblack.ogg b/talker/voices/nl/christina/moveblack.ogg new file mode 100644 index 0000000..799d148 Binary files /dev/null and b/talker/voices/nl/christina/moveblack.ogg differ diff --git a/talker/voices/nl/christina/movewhite.ogg b/talker/voices/nl/christina/movewhite.ogg new file mode 100644 index 0000000..55e75a7 Binary files /dev/null and b/talker/voices/nl/christina/movewhite.ogg differ diff --git a/talker/voices/nl/christina/newgame.ogg b/talker/voices/nl/christina/newgame.ogg new file mode 100644 index 0000000..4bfd401 Binary files /dev/null and b/talker/voices/nl/christina/newgame.ogg differ diff --git a/talker/voices/nl/christina/ok.ogg b/talker/voices/nl/christina/ok.ogg new file mode 100644 index 0000000..18d481b Binary files /dev/null and b/talker/voices/nl/christina/ok.ogg differ diff --git a/talker/voices/nl/christina/okbook.ogg b/talker/voices/nl/christina/okbook.ogg new file mode 100644 index 0000000..4faeacd Binary files /dev/null and b/talker/voices/nl/christina/okbook.ogg differ diff --git a/talker/voices/nl/christina/okengine.ogg b/talker/voices/nl/christina/okengine.ogg new file mode 100644 index 0000000..5612b66 Binary files /dev/null and b/talker/voices/nl/christina/okengine.ogg differ diff --git a/talker/voices/nl/christina/oklevel.ogg b/talker/voices/nl/christina/oklevel.ogg new file mode 100644 index 0000000..9188e5a Binary files /dev/null and b/talker/voices/nl/christina/oklevel.ogg differ diff --git a/talker/voices/nl/christina/okmode.ogg b/talker/voices/nl/christina/okmode.ogg new file mode 100644 index 0000000..8f8c8b6 Binary files /dev/null and b/talker/voices/nl/christina/okmode.ogg differ diff --git a/talker/voices/nl/christina/oktime.ogg b/talker/voices/nl/christina/oktime.ogg new file mode 100644 index 0000000..6d80948 Binary files /dev/null and b/talker/voices/nl/christina/oktime.ogg differ diff --git a/talker/voices/nl/christina/pawn.ogg b/talker/voices/nl/christina/pawn.ogg new file mode 100644 index 0000000..c507b24 Binary files /dev/null and b/talker/voices/nl/christina/pawn.ogg differ diff --git a/talker/voices/nl/christina/picoChess.ogg b/talker/voices/nl/christina/picoChess.ogg new file mode 100644 index 0000000..f01a4a0 Binary files /dev/null and b/talker/voices/nl/christina/picoChess.ogg differ diff --git a/talker/voices/nl/christina/pleasewait.ogg b/talker/voices/nl/christina/pleasewait.ogg new file mode 100644 index 0000000..5414129 Binary files /dev/null and b/talker/voices/nl/christina/pleasewait.ogg differ diff --git a/talker/voices/nl/christina/promote.ogg b/talker/voices/nl/christina/promote.ogg new file mode 100644 index 0000000..8e26a91 Binary files /dev/null and b/talker/voices/nl/christina/promote.ogg differ diff --git a/talker/voices/nl/christina/queen.ogg b/talker/voices/nl/christina/queen.ogg new file mode 100644 index 0000000..0f3967a Binary files /dev/null and b/talker/voices/nl/christina/queen.ogg differ diff --git a/talker/voices/nl/christina/reboot.ogg b/talker/voices/nl/christina/reboot.ogg new file mode 100644 index 0000000..e4568ee Binary files /dev/null and b/talker/voices/nl/christina/reboot.ogg differ diff --git a/talker/voices/nl/christina/repetition.ogg b/talker/voices/nl/christina/repetition.ogg new file mode 100644 index 0000000..731dec8 Binary files /dev/null and b/talker/voices/nl/christina/repetition.ogg differ diff --git a/talker/voices/nl/christina/rook.ogg b/talker/voices/nl/christina/rook.ogg new file mode 100644 index 0000000..02e1155 Binary files /dev/null and b/talker/voices/nl/christina/rook.ogg differ diff --git a/talker/voices/nl/christina/setpieces.ogg b/talker/voices/nl/christina/setpieces.ogg new file mode 100644 index 0000000..00bd05a Binary files /dev/null and b/talker/voices/nl/christina/setpieces.ogg differ diff --git a/talker/voices/nl/christina/stalemate.ogg b/talker/voices/nl/christina/stalemate.ogg new file mode 100644 index 0000000..9c85e89 Binary files /dev/null and b/talker/voices/nl/christina/stalemate.ogg differ diff --git a/talker/voices/nl/christina/takeback.ogg b/talker/voices/nl/christina/takeback.ogg new file mode 100644 index 0000000..60330f7 Binary files /dev/null and b/talker/voices/nl/christina/takeback.ogg differ diff --git a/talker/voices/nl/christina/takes.ogg b/talker/voices/nl/christina/takes.ogg new file mode 100644 index 0000000..bf35fb2 Binary files /dev/null and b/talker/voices/nl/christina/takes.ogg differ diff --git a/talker/voices/nl/christina/timelost.ogg b/talker/voices/nl/christina/timelost.ogg new file mode 100644 index 0000000..1929641 Binary files /dev/null and b/talker/voices/nl/christina/timelost.ogg differ diff --git a/talker/voices/nl/christina/userblack.ogg b/talker/voices/nl/christina/userblack.ogg new file mode 100644 index 0000000..598a71a Binary files /dev/null and b/talker/voices/nl/christina/userblack.ogg differ diff --git a/talker/voices/nl/christina/userwhite.ogg b/talker/voices/nl/christina/userwhite.ogg new file mode 100644 index 0000000..c884e20 Binary files /dev/null and b/talker/voices/nl/christina/userwhite.ogg differ diff --git a/talker/voices/nl/christina/whitewins.ogg b/talker/voices/nl/christina/whitewins.ogg new file mode 100644 index 0000000..c0d1a56 Binary files /dev/null and b/talker/voices/nl/christina/whitewins.ogg differ diff --git a/talker/voices/nl/dirkjan/1.ogg b/talker/voices/nl/dirkjan/1.ogg new file mode 100644 index 0000000..3b24dd8 Binary files /dev/null and b/talker/voices/nl/dirkjan/1.ogg differ diff --git a/talker/voices/nl/dirkjan/2.ogg b/talker/voices/nl/dirkjan/2.ogg new file mode 100644 index 0000000..2e2a7b7 Binary files /dev/null and b/talker/voices/nl/dirkjan/2.ogg differ diff --git a/talker/voices/nl/dirkjan/3.ogg b/talker/voices/nl/dirkjan/3.ogg new file mode 100644 index 0000000..c588ac1 Binary files /dev/null and b/talker/voices/nl/dirkjan/3.ogg differ diff --git a/talker/voices/nl/dirkjan/4.ogg b/talker/voices/nl/dirkjan/4.ogg new file mode 100644 index 0000000..c05722f Binary files /dev/null and b/talker/voices/nl/dirkjan/4.ogg differ diff --git a/talker/voices/nl/dirkjan/5.ogg b/talker/voices/nl/dirkjan/5.ogg new file mode 100644 index 0000000..0c13ced Binary files /dev/null and b/talker/voices/nl/dirkjan/5.ogg differ diff --git a/talker/voices/nl/dirkjan/6.ogg b/talker/voices/nl/dirkjan/6.ogg new file mode 100644 index 0000000..513b5a4 Binary files /dev/null and b/talker/voices/nl/dirkjan/6.ogg differ diff --git a/talker/voices/nl/dirkjan/7.ogg b/talker/voices/nl/dirkjan/7.ogg new file mode 100644 index 0000000..05435fb Binary files /dev/null and b/talker/voices/nl/dirkjan/7.ogg differ diff --git a/talker/voices/nl/dirkjan/75moves.ogg b/talker/voices/nl/dirkjan/75moves.ogg new file mode 100644 index 0000000..7260b58 Binary files /dev/null and b/talker/voices/nl/dirkjan/75moves.ogg differ diff --git a/talker/voices/nl/dirkjan/8.ogg b/talker/voices/nl/dirkjan/8.ogg new file mode 100644 index 0000000..b187203 Binary files /dev/null and b/talker/voices/nl/dirkjan/8.ogg differ diff --git a/talker/voices/nl/dirkjan/a.ogg b/talker/voices/nl/dirkjan/a.ogg new file mode 100644 index 0000000..8ca7f0e Binary files /dev/null and b/talker/voices/nl/dirkjan/a.ogg differ diff --git a/talker/voices/nl/dirkjan/abort.ogg b/talker/voices/nl/dirkjan/abort.ogg new file mode 100644 index 0000000..e297833 Binary files /dev/null and b/talker/voices/nl/dirkjan/abort.ogg differ diff --git a/talker/voices/nl/dirkjan/b.ogg b/talker/voices/nl/dirkjan/b.ogg new file mode 100644 index 0000000..1d18ee9 Binary files /dev/null and b/talker/voices/nl/dirkjan/b.ogg differ diff --git a/talker/voices/nl/dirkjan/bishop.ogg b/talker/voices/nl/dirkjan/bishop.ogg new file mode 100644 index 0000000..824ae69 Binary files /dev/null and b/talker/voices/nl/dirkjan/bishop.ogg differ diff --git a/talker/voices/nl/dirkjan/blackwins.ogg b/talker/voices/nl/dirkjan/blackwins.ogg new file mode 100644 index 0000000..66a006a Binary files /dev/null and b/talker/voices/nl/dirkjan/blackwins.ogg differ diff --git a/talker/voices/nl/dirkjan/c.ogg b/talker/voices/nl/dirkjan/c.ogg new file mode 100644 index 0000000..ab1f3c2 Binary files /dev/null and b/talker/voices/nl/dirkjan/c.ogg differ diff --git a/talker/voices/nl/dirkjan/castlekingside.ogg b/talker/voices/nl/dirkjan/castlekingside.ogg new file mode 100644 index 0000000..d00505a Binary files /dev/null and b/talker/voices/nl/dirkjan/castlekingside.ogg differ diff --git a/talker/voices/nl/dirkjan/castlequeenside.ogg b/talker/voices/nl/dirkjan/castlequeenside.ogg new file mode 100644 index 0000000..1a72c92 Binary files /dev/null and b/talker/voices/nl/dirkjan/castlequeenside.ogg differ diff --git a/talker/voices/nl/dirkjan/check.ogg b/talker/voices/nl/dirkjan/check.ogg new file mode 100644 index 0000000..e2499de Binary files /dev/null and b/talker/voices/nl/dirkjan/check.ogg differ diff --git a/talker/voices/nl/dirkjan/checkmate.ogg b/talker/voices/nl/dirkjan/checkmate.ogg new file mode 100644 index 0000000..310cf8b Binary files /dev/null and b/talker/voices/nl/dirkjan/checkmate.ogg differ diff --git a/talker/voices/nl/dirkjan/d.ogg b/talker/voices/nl/dirkjan/d.ogg new file mode 100644 index 0000000..d4426a9 Binary files /dev/null and b/talker/voices/nl/dirkjan/d.ogg differ diff --git a/talker/voices/nl/dirkjan/draw.ogg b/talker/voices/nl/dirkjan/draw.ogg new file mode 100644 index 0000000..ee984b6 Binary files /dev/null and b/talker/voices/nl/dirkjan/draw.ogg differ diff --git a/talker/voices/nl/dirkjan/e.ogg b/talker/voices/nl/dirkjan/e.ogg new file mode 100644 index 0000000..a3b4bc5 Binary files /dev/null and b/talker/voices/nl/dirkjan/e.ogg differ diff --git a/talker/voices/nl/dirkjan/enpassant.ogg b/talker/voices/nl/dirkjan/enpassant.ogg new file mode 100644 index 0000000..76b2a1b Binary files /dev/null and b/talker/voices/nl/dirkjan/enpassant.ogg differ diff --git a/talker/voices/nl/dirkjan/error.ogg b/talker/voices/nl/dirkjan/error.ogg new file mode 100644 index 0000000..445caf9 Binary files /dev/null and b/talker/voices/nl/dirkjan/error.ogg differ diff --git a/talker/voices/nl/dirkjan/f.ogg b/talker/voices/nl/dirkjan/f.ogg new file mode 100644 index 0000000..963ca09 Binary files /dev/null and b/talker/voices/nl/dirkjan/f.ogg differ diff --git a/talker/voices/nl/dirkjan/g.ogg b/talker/voices/nl/dirkjan/g.ogg new file mode 100644 index 0000000..9e84486 Binary files /dev/null and b/talker/voices/nl/dirkjan/g.ogg differ diff --git a/talker/voices/nl/dirkjan/goodbye.ogg b/talker/voices/nl/dirkjan/goodbye.ogg new file mode 100644 index 0000000..f95392e Binary files /dev/null and b/talker/voices/nl/dirkjan/goodbye.ogg differ diff --git a/talker/voices/nl/dirkjan/h.ogg b/talker/voices/nl/dirkjan/h.ogg new file mode 100644 index 0000000..90d5dcb Binary files /dev/null and b/talker/voices/nl/dirkjan/h.ogg differ diff --git a/talker/voices/nl/dirkjan/king.ogg b/talker/voices/nl/dirkjan/king.ogg new file mode 100644 index 0000000..5b669fd Binary files /dev/null and b/talker/voices/nl/dirkjan/king.ogg differ diff --git a/talker/voices/nl/dirkjan/knight.ogg b/talker/voices/nl/dirkjan/knight.ogg new file mode 100644 index 0000000..a7d7808 Binary files /dev/null and b/talker/voices/nl/dirkjan/knight.ogg differ diff --git a/talker/voices/nl/dirkjan/material.ogg b/talker/voices/nl/dirkjan/material.ogg new file mode 100644 index 0000000..2a17a56 Binary files /dev/null and b/talker/voices/nl/dirkjan/material.ogg differ diff --git a/talker/voices/nl/dirkjan/moveblack.ogg b/talker/voices/nl/dirkjan/moveblack.ogg new file mode 100644 index 0000000..533a26e Binary files /dev/null and b/talker/voices/nl/dirkjan/moveblack.ogg differ diff --git a/talker/voices/nl/dirkjan/movewhite.ogg b/talker/voices/nl/dirkjan/movewhite.ogg new file mode 100644 index 0000000..59a1ac9 Binary files /dev/null and b/talker/voices/nl/dirkjan/movewhite.ogg differ diff --git a/talker/voices/nl/dirkjan/newgame.ogg b/talker/voices/nl/dirkjan/newgame.ogg new file mode 100644 index 0000000..d068742 Binary files /dev/null and b/talker/voices/nl/dirkjan/newgame.ogg differ diff --git a/talker/voices/nl/dirkjan/ok.ogg b/talker/voices/nl/dirkjan/ok.ogg new file mode 100644 index 0000000..7ead64b Binary files /dev/null and b/talker/voices/nl/dirkjan/ok.ogg differ diff --git a/talker/voices/nl/dirkjan/okbook.ogg b/talker/voices/nl/dirkjan/okbook.ogg new file mode 100644 index 0000000..5880627 Binary files /dev/null and b/talker/voices/nl/dirkjan/okbook.ogg differ diff --git a/talker/voices/nl/dirkjan/okengine.ogg b/talker/voices/nl/dirkjan/okengine.ogg new file mode 100644 index 0000000..93d3030 Binary files /dev/null and b/talker/voices/nl/dirkjan/okengine.ogg differ diff --git a/talker/voices/nl/dirkjan/oklevel.ogg b/talker/voices/nl/dirkjan/oklevel.ogg new file mode 100644 index 0000000..acf0f99 Binary files /dev/null and b/talker/voices/nl/dirkjan/oklevel.ogg differ diff --git a/talker/voices/nl/dirkjan/okmode.ogg b/talker/voices/nl/dirkjan/okmode.ogg new file mode 100644 index 0000000..2d046ae Binary files /dev/null and b/talker/voices/nl/dirkjan/okmode.ogg differ diff --git a/talker/voices/nl/dirkjan/oktime.ogg b/talker/voices/nl/dirkjan/oktime.ogg new file mode 100644 index 0000000..8ecb3ff Binary files /dev/null and b/talker/voices/nl/dirkjan/oktime.ogg differ diff --git a/talker/voices/nl/dirkjan/pawn.ogg b/talker/voices/nl/dirkjan/pawn.ogg new file mode 100644 index 0000000..3e7b6db Binary files /dev/null and b/talker/voices/nl/dirkjan/pawn.ogg differ diff --git a/talker/voices/nl/dirkjan/picoChess.ogg b/talker/voices/nl/dirkjan/picoChess.ogg new file mode 100644 index 0000000..cc0fae5 Binary files /dev/null and b/talker/voices/nl/dirkjan/picoChess.ogg differ diff --git a/talker/voices/nl/dirkjan/pleasewait.ogg b/talker/voices/nl/dirkjan/pleasewait.ogg new file mode 100644 index 0000000..6492fad Binary files /dev/null and b/talker/voices/nl/dirkjan/pleasewait.ogg differ diff --git a/talker/voices/nl/dirkjan/promote.ogg b/talker/voices/nl/dirkjan/promote.ogg new file mode 100644 index 0000000..431f863 Binary files /dev/null and b/talker/voices/nl/dirkjan/promote.ogg differ diff --git a/talker/voices/nl/dirkjan/queen.ogg b/talker/voices/nl/dirkjan/queen.ogg new file mode 100644 index 0000000..57d15ff Binary files /dev/null and b/talker/voices/nl/dirkjan/queen.ogg differ diff --git a/talker/voices/nl/dirkjan/reboot.ogg b/talker/voices/nl/dirkjan/reboot.ogg new file mode 100644 index 0000000..01acbff Binary files /dev/null and b/talker/voices/nl/dirkjan/reboot.ogg differ diff --git a/talker/voices/nl/dirkjan/repetition.ogg b/talker/voices/nl/dirkjan/repetition.ogg new file mode 100644 index 0000000..8697321 Binary files /dev/null and b/talker/voices/nl/dirkjan/repetition.ogg differ diff --git a/talker/voices/nl/dirkjan/rook.ogg b/talker/voices/nl/dirkjan/rook.ogg new file mode 100644 index 0000000..35cffa9 Binary files /dev/null and b/talker/voices/nl/dirkjan/rook.ogg differ diff --git a/talker/voices/nl/dirkjan/setpieces.ogg b/talker/voices/nl/dirkjan/setpieces.ogg new file mode 100644 index 0000000..d2cd5df Binary files /dev/null and b/talker/voices/nl/dirkjan/setpieces.ogg differ diff --git a/talker/voices/nl/dirkjan/stalemate.ogg b/talker/voices/nl/dirkjan/stalemate.ogg new file mode 100644 index 0000000..6789582 Binary files /dev/null and b/talker/voices/nl/dirkjan/stalemate.ogg differ diff --git a/talker/voices/nl/dirkjan/takeback.ogg b/talker/voices/nl/dirkjan/takeback.ogg new file mode 100644 index 0000000..45da879 Binary files /dev/null and b/talker/voices/nl/dirkjan/takeback.ogg differ diff --git a/talker/voices/nl/dirkjan/takes.ogg b/talker/voices/nl/dirkjan/takes.ogg new file mode 100644 index 0000000..1eee967 Binary files /dev/null and b/talker/voices/nl/dirkjan/takes.ogg differ diff --git a/talker/voices/nl/dirkjan/timelost.ogg b/talker/voices/nl/dirkjan/timelost.ogg new file mode 100644 index 0000000..f6a3c7b Binary files /dev/null and b/talker/voices/nl/dirkjan/timelost.ogg differ diff --git a/talker/voices/nl/dirkjan/userblack.ogg b/talker/voices/nl/dirkjan/userblack.ogg new file mode 100644 index 0000000..ae8a7fa Binary files /dev/null and b/talker/voices/nl/dirkjan/userblack.ogg differ diff --git a/talker/voices/nl/dirkjan/userwhite.ogg b/talker/voices/nl/dirkjan/userwhite.ogg new file mode 100644 index 0000000..26269ee Binary files /dev/null and b/talker/voices/nl/dirkjan/userwhite.ogg differ diff --git a/talker/voices/nl/dirkjan/whitewins.ogg b/talker/voices/nl/dirkjan/whitewins.ogg new file mode 100644 index 0000000..bb653e9 Binary files /dev/null and b/talker/voices/nl/dirkjan/whitewins.ogg differ diff --git a/talker/voices/voices.ini b/talker/voices/voices.ini new file mode 100644 index 0000000..38d8758 --- /dev/null +++ b/talker/voices/voices.ini @@ -0,0 +1,50 @@ +[it] + [[luigi]] + small = luigi + medium = Luigi + large = Luigi + [[christina]] + small = christ + medium = Christin + large = Christina +[es] + [[christina]] + small = christ + medium = Christin + large = Christina + [[santiago]] + small = santia + medium = Santiago + large = Santiago +[en] + [[al]] + small = al + medium = Al + large = Al + [[christina]] + small = christ + medium = Christin + large = Christina +[fr] + [[christina]] + small = christ + medium = Christin + large = Christina +[nl] + [[christina]] + small = christ + medium = Christin + large = Christina + [[dirkjan]] + small = dirkja + medium = DirkJan + large = DirkJan +[de] + [[christina]] + small = christ + medium = Christin + large = Christina + [[janniclas]] + small = jannic + medium = Jannicla + large = Janniclas diff --git a/test/Dockerfile b/test/Dockerfile new file mode 100644 index 0000000..052130c --- /dev/null +++ b/test/Dockerfile @@ -0,0 +1,27 @@ + +# Pull base image +FROM resin/rpi-raspbian +MAINTAINER Dieter Reuter + +# Install dependencies +RUN apt-get update && apt-get install -y \ + python3 \ + gcc \ + vim \ + git \ + python3-dev \ + python3-pip \ + --no-install-recommends && \ + rm -rf /var/lib/apt/lists/* + +#CMD cd /opt +# Define working directory + +#Pull Code +ADD . /picochess + +WORKDIR /picochess +RUN pip3 install -r requirements.txt + +# Define default command +CMD ["bash"] diff --git a/test/Makefile b/test/Makefile new file mode 100644 index 0000000..58d8784 --- /dev/null +++ b/test/Makefile @@ -0,0 +1,18 @@ +DOCKER_IMAGE_VERSION=1.2 +DOCKER_IMAGE_NAME=sshivaji/picochess +DOCKER_IMAGE_TAGNAME=$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_VERSION) + +default: build + +build: + docker build -t $(DOCKER_IMAGE_TAGNAME) . + docker tag -f $(DOCKER_IMAGE_TAGNAME) $(DOCKER_IMAGE_NAME):latest + +push: + docker push $(DOCKER_IMAGE_NAME) + +test: + docker run --rm $(DOCKER_IMAGE_TAGNAME) /bin/echo "Success." + +version: + docker run --rm $(DOCKER_IMAGE_TAGNAME) python3 --version diff --git a/test/README.md b/test/README.md new file mode 100644 index 0000000..27f7bec --- /dev/null +++ b/test/README.md @@ -0,0 +1,9 @@ +General +======= +This folder is for OLD files. Anything you can find here, is old or only here to keep a reference. These files are NOT +needed at all to let picochess run. + + +If you have problems please don't hassitate to contact me over eMail or skype. + +LocutusOfPenguin diff --git a/test/dgt3000.so b/test/dgt3000.so new file mode 100644 index 0000000..8686393 Binary files /dev/null and b/test/dgt3000.so differ diff --git a/test/dgtbrd-ruud.h b/test/dgtbrd-ruud.h new file mode 100644 index 0000000..81c8961 --- /dev/null +++ b/test/dgtbrd-ruud.h @@ -0,0 +1,1175 @@ +/** +* DGT Low Level EBoard Communication +* Copyright 2009 DGT +* +* Jan Krabbenbos +* $Id: dgtbrd.h 2962 2012-04-17 14:41:33Z vincent $ +*/ +#ifndef _DGTBRD_H_ +#define _DGTBRD_H_ + +/** +Protocol description for DGT chess board. +Copyright 1998-2014 DGT Projects B.V + +****************************************************************************** +This protocol is protected under trade mark registration and copyrights. +It may not be used commercially without written permission +of DGT Projects B.V. It is illegal to transfer any registered trade mark +identifications by means of this protocol between any chessboard or other +application and any computer. +****************************************************************************** + +============================================================================== +Changes +============================================================================== +|20091013|Jan |Merged draughts and chess board header file | +|20091014|Jan |Added clock message information | +|20100222|Jan |Corrected the battery message information | +|20111021|Vincent |Added clock information, swapped Left and Right in | +| |BwTime, swapped WCROWN and BDISK scan codes | +|20120127|Vincent |Changed DGT_LONG_SERIALNR to 0x22. | +| |Described EE_FOURROWS for 10x10 boards | +|20120202|Vincent |Clock commands are terminated with 0x00 | +|20120213|Vincent |Added EE_NOP2, described magic pieces | +|20120221|Jan |Added clock information for displaying icons | +|20120309|Vincent |Added notes about clock commands | +|20120404|Vincent |Described DGT_CMD_CLOCK_BEEP time duration calculation | +|20140709|Jan |Added DGT3000 ascii clock message and RevelationII LED | +| | |control commands | +|20141219|Ben |Added description of S bit in DGT_MSG_FIELD_UPDATE | +|20150720|Marius |Swapped D3 and D4 of byte9 of DGT_BWTIME to match | +| | |the actual clock behaviour (D3-right), (D4-left) | +|20170522|Jürgen |Updated the RevelationII LED control commands (Ruud) | +============================================================================= + +Main functionality of the DGT Electronic Chess Board +---------------------------------------------------- + +The DGT board is basically a sensor which senses the presense of the special +chess set pieces on the squares of the board. The situation on the board is +measured and can be communicated with an average maximum time delay of +200 mS. +Besides this detection function, the board communicates with an optional +DGT TopMatch or XL Chess Clock, to give the data of the clock available to +the general interface. +Finally the board is equipped with an internal storage of the measured +piece positions. + +The board supports two methods of communication: for single-board situations +a protocol for communication between one board and one computer is available. + +For situations with many boards a network communications protocol is +available, where many boards can be connected in a bus structure. A separate +communication protocol is available for this bus structure. + +The communication protocol for single board connections is described +in the following paragraph "Single board communication protocol". This +paragraph describes much more than only the communication protocol. All +developers should read this paragraph, even if they would only use bus +communication. + +The special bus communication protocol is derived from the single board +communication and functionality, where the main added feature is the +possibility to address a specific board on a shared communication bus. +The commands and data contens are described in the paragraph "Bus +Communication Protocol", Note however that the contens can not be understood +without reading the single board communication paragraph. + + +Paragraph: Single board communication protocol +---------------------------------------------- + +The main function of the board is to transfer piece position information. +For this, three modes are available: +1. IDLE mode. This cancelles any of the UPDATE modes. No automatic +transfer of moves. +2. UPDATE_BOARD mode. On the moment that the board detects a removal, change +or placing of a piece, it outputs a DGT_SEND_UPDATE message +3. UPDATE mode. As UPDATE_BOARD mode, where additional the clock data are send +regularly (at least every second) +4. UPDATE_NICE mode. As UPDATE mode, but clock data is only sent when it has +changed. + +The board accepts command codes from the computer RS232. The commands are +1-byte codes, sometimes followed by data (see code definition) +The board can send data to the computer. Data always carries a message header. +The message header contains a message code and the total message size in bytes. +The start of the incoming message can be recognised by the MSB of the message +identifier set to 1 (see definition). + +Board to computer communication interfaces: +RS232 for communication with computer, receiving commands, sending data +- 9600 Baud, 1 stopbit, 1 startbit, no parity +- No use of handshaking, neither software nor hardware + +Connection between Digital Game Timer TopMatch Clock and the board: +Based on NEC SBI protocol. Adaption of the definition given in +the DGT TopMatch documentation. + +Connector assignments for DGT Electronic Board: See User +and Programmers Manual + +Related to the before mentioned modes, and to piece position information +transfer, the following commands to the board are available: +1. DGT_SEND_RESET +puts the DGT Board in IDLE mode +2. DGT_SEND_CLK +on which the DGT board responds with a DGT_MSG_BWTIME message containing +clock information +3. DGT_SEND_BRD +on which the DGT Board responds with a DGT_MSG_BOARD_DUMP message containing +the actual piece exising of all fields +4. DGT_SEND_UPDATE puts the DGT Board in the UPDATE mode, FRITZ5 compatible +5. DGT_SEND_UPDATE_BRD puts the DGT Board in the UPDATE_BOARD mode +6. DGT_SEND_UPDATE_NICE puts the board in UPDATE mode, however transferring + only clocktimes when any time info changed. + +The DGT_SEND_CLK command and the DGT_SEND_BOARD command do not affect the +current board mode: i.e. when in UPDATE mode, it continues sending +DGT_SEND_UPDATE messages. + +Board Identification: +Each DGT Electronic Board carries a unique serial number, +a EEPROM configuration version number and a embedded program version number. +These data are unalterable by the users. +An identification looks like: + +"DGT Projects - This DGT board is produced by DGT Projects.\n + DGT Projects is a registered trade mark.\n + 220798 ISP/bus/8KP/8KE/P6/Fritz5 Vs 1.00. Serial nr. 00137 1.0" + +The board can be loaded by the user with a non-volatile one-byte bus number, +for future use with multiple board configurations. + +On-board EEPROM: +The board carries a 8 kB cyclic non-volatile memory, in which all position +changes and clock information is stored during all power-up time. This +file can be read and processed. + +============================================================================== +Start of Definitions: +*/ + +/* ------------------------------------------------------------------------ */ +/* COMMAND CODES FROM PC TO BOARD: */ +/* ------------------------------------------------------------------------ */ +/* Commands not resulting in returning messages: */ + +#define DGT_SEND_RESET 0x40 +/* Puts the board in IDLE mode, cancelling any UPDATE mode. + */ + +#define DGT_TO_BUSMODE 0x4a + +/* This is an addition on the other single-board commands. This command is + * recognised in single-board mode. The RS232 output goes in + * pull-up mode and bus commands are immediatly recognised hereafter. + * Note that when the board is in single-board mode, and eventually a bus + * mode command is found, this command is not processed, but the board + * switches to bus mode. The next (bus) command is processed regularly. + */ + +#define DGT_STARTBOOTLOADER 0x4e +/* Makes a long jump to the FC00 boot loader code. Start FLIP now + */ + + + + +/* ------------------------------------------------------------------------ */ +/* Commands resulting in returning message(s): */ +/* ------------------------------------------------------------------------ */ + +#define DGT_SEND_CLK 0x41 +/* Results in a DGT_MSG_BWTIME message + */ + +#define DGT_SEND_BRD 0x42 +/* Results in a DGT_MSG_BOARD_DUMP message + */ + +#define DGT_SEND_UPDATE 0x43 +/* Results in DGT_MSG_FIELD_UPDATE messages and DGT_MSG_BWTIME messages + * as long as the board is in UPDATE mode + */ + +#define DGT_SEND_UPDATE_BRD 0x44 +/* results in DGT_MSG_FIELD_UPDATE messages + * as long as the board is in UPDATE_BOARD mode + */ + +#define DGT_RETURN_SERIALNR 0x45 +/* Results in a DGT_MSG_SERIALNR message +*/ + +#define DGT_RETURN_BUSADRES 0x46 +/* Results in a DGT_MSG_BUSADRES message + */ + +#define DGT_SEND_TRADEMARK 0x47 +/* Results in a DGT_MSG_TRADEMARK message + */ + +#define DGT_SEND_EE_MOVES 0x49 +/* Results in a DGT_MSG_EE_MOVES message + */ + +#define DGT_SEND_UPDATE_NICE 0x4b +/* results in DGT_MSG_FIELD_UPDATE messages and DGT_MSG_BWTIME messages, + * the latter only at time changes, + * as long as the board is in UPDATE_NICE mode + */ + +#define DGT_SEND_BATTERY_STATUS 0x4c +/* New command for bluetooth board. Requests the + * battery status from the board. + */ + +#define DGT_SEND_VERSION 0x4d +/* Results in a DGT_MSG_VERSION message + */ + +#define DGT_SEND_BRD_50B 0x50 +/* Results in a DGT_MSG_BOARD_DUMP_50 message: only the black squares + */ + +#define DGT_SCAN_50B 0x51 +/* Sets the board in scanning only the black squares. This is written + * in EEPROM + */ + +#define DGT_SEND_BRD_50W 0x52 +/* Results in a DGT_MSG_BOARD_DUMP_50 message: only the black squares + */ + +#define DGT_SCAN_50W 0x53 +/* Sets the board in scanning only the black squares. This is written in + * EEPROM. + */ + +#define DGT_SCAN_100 0x54 +/* Sets the board in scanning all squares. This is written in EEPROM + */ + +#define DGT_RETURN_LONG_SERIALNR 0x55 +/* Results in a DGT_LONG_SERIALNR message + */ + +#define DGT_SET_LEDS 0x60 +/* Only for the Revelation II to switch a LED pattern on. This is a command that + * has three extra bytes with data: + * byte 1 - DGT_SET_LEDS (= 0x60) + * byte 2 - size (= 0x04) + * byte 3 - the pattern to display (0 - off, 1 - on, 2 - auto flags) Firmware <=3.21: only 0x01 - other values ignored + * byte 4 - the start field + * byte 5 - the end field + * byte 6 - end of message (= 0x00) + * Start and end field have the range 0..63 where 0 is a8 and 63 is h1. This + * is compliant with the DGT field coding of the board. Other values are ignored. + * + * New modes for firmware > 3.21: + * ============================== + * If "Off" mode (byte3 = 0x00) and byte4 = 0x40 (byte5 doesnt matter) all lights are cleared + * + * By default the eboard dims light on a field if a piece change is detected. This behaviour now can be switched off. + * By default the eboard reverses the board and led signalling when a reversed board is detected + * (black pieces in correct order on two bottom rows) This behaviour now can be switched off. + * byte3 = 0x02 and byte4-5: + * 0x01 0x00 : Aufo OFF functions LEDS disabled. + * 0x01 0x01 : Aufo OFF functions LEDS enabled (=default). + * 0x02 0x00 : Aufo Reverse board function disabled. + * 0x02 0x01 : Aufo Reverse board function enabled (=default). + */ + +/* ------------------------------------------------------------------------ */ +/* Clock commands, returns ACK message if mode is in UPDATE or UPDATE_NICE */ +/* ------------------------------------------------------------------------ */ +/* + * USB/Serial: You cannot send multiple clock commands directly after each + * other. After each command, you should wait for the ack before sending the + * next one. The ack is usually returned within one or two seconds. + * + * BT2.10: Clock commands are processed faster and more reliable, but note: + * - When a clock command is sent, it is possible that an empty bwtime message + * is returned (full of zeroes). This is to be ignored. + * - Within 1000ms after sending a clock command (and receiving its ack), + * subsequent clock update requests may return this ack instead of the clock + * update. This is because the clock is polled only 2-3 times a second. + * + * + */ + +#define DGT_CLOCK_MESSAGE 0x2b +/* This message contains a command for the clock. There are clock commands + * for showing text, displaying icons, setting beep, clearing display, + * and for setting clock times. All these clock commands are wrapped + * within the DGT_CLOCK_MESSAGE command. + * + * byte 1 - DGT_CLOCK_MESSAGE (= 0x2b) + * byte 2 - the size + * byte 3 - DGT_CMD_CLOCK_START_MESSAGE (= 0x03) + * byte 4 - one of the 7 clock command id's + * byte 5..n-1 - the content (can be empty) + * byte n - DGT_CMD_CLOCK_END_MESSAGE (= 0x00) + * + * The clock messages can be sent in any board mode, but a SetNRun message is + * only processed if the clock is in mode 23. + * The board responds with an DGT_MSG_ACK message if the board is in UPDATE or + * UPDATE_NICE mode. If the board is in IDLE or UPDATE_BRD mode, then no + * ack message is returned. + */ + +#define DGT_CMD_CLOCK_DISPLAY 0x01 +/* + * This command can control the segments of six 7-segment characters, + * two dots, two semicolons and the two '1' symbols. + * These are arranged as follows: "1A:BC 1D:EF" and thus capable of + * showing clock times or movetext of up to 6 chars (not counting the dots/'1'). + * "1A:BC 1D:EF" : the A..F are six characters with 7 segments, the '1' is a + * single segment and the ':' has both a dot and semicolon segment. + * + * byte 1 - DGT_CMD_CLOCK_MESSAGE (= 0x2b) + * byte 2 - Size (= 0x0b) + * byte 3 - DGT_CMD_CLOCK_START_MESSAGE (= 0x03) + * byte 4 - DGT_CMD_CLOCK_DISPLAY (= 0x01) + * byte 5 - 'C' location segments. Bits: 0x01=top segment, 0x02=right top, + * 0x04=right bottom, 0x08=bottom, 0x10=left bottom, 0x20=left top, + * 0x40=center segment. + * byte 6 - 'B' location segments. See 'C' location for the available bits. + * byte 7 - 'A' location segments. + * byte 8 - 'F' location segments. + * byte 9 - 'E' location segments. + * byte 10 - 'D' location segments. + * byte 11 - icons: Bitmask for displaying dots and one's. 0x01=right dot, + * 0x02=right semicolon, 0x04=right '1', 0x08=left dot, + * 0x10=left semicolon, 0x20=left '1'. + * byte 12 - 0x03 if beep, 0x01 if no beep + * byte 13 - DGT_CMD_CLOCK_END_MESSAGE (= 0x00) +*/ + +#define DGT_CMD_CLOCK_ICONS 0x02 +/* + * Used to control the clock icons like flags etc. + * + * byte 1 - DGT_CMD_CLOCK_MESSAGE (= 0x2b) + * byte 2 - Size (= 0x0b) + * byte 3 - DGT_CMD_CLOCK_START_MESSAGE (= 0x03) + * byte 4 - DGT_CMD_CLOCK_ICONS (= 0x02) + * byte 5 - Icon data byte 0 + * bit 0 - left TIME symbol + * bit 1 - left FISCH symbol + * bit 2 - left DELAY symbol + * bit 3 - left HGLASS symbol + * bit 4 - left UPCNT symbol + * bit 5 - left BYO symbol + * bit 6 - left END symbol + * bit 7 - not in use + * byte 6 - Icon data byte 1 + * bit 0 - right TIME symbol + * bit 1 - right FISCH symbol + * bit 2 - right DELAY symbol + * bit 3 - right HGLASS symbol + * bit 4 - right UPCNT symbol + * bit 5 - right BYO symbol + * bit 6 - right END symbol + * bit 7 - not in use + * byte 7 - Icon data byte 2 + * bit 0 - left period '1' symbol + * bit 1 - left period '2' symbol + * bit 2 - left period '3' symbol + * bit 3 - left period '4' symbol + * bit 4 - left period '5' symbol + * bit 5 - left flag symbol + * bit 6 - not in use + * bit 7 - not in use + * byte 8 - Icon data byte 3 + * bit 0 - right period '1' symbol + * bit 1 - right period '2' symbol + * bit 2 - right period '3' symbol + * bit 3 - right period '4' symbol + * bit 4 - right period '5' symbol + * bit 5 - right flag symbol + * bit 6 - not in use + * bit 7 - not in use + * byte 9 - Special (clr / condat) + * bit 0 - if "1" all icons are cleared, if "0" no switch off + * bit 1 - sound symbol + * bit 2 - black - white symbol + * bit 3 - white - black symbol + * bit 4 - BAT signal + * bit 5 - sound symbol (again!) + * bit 6 - display pool selec "0" icons clear after time change + * "1" icons stay visible + * bit 7 - + * byte 10 - Reserved (= 0x00) + * byte 11 - Reserved (= 0x00) + * byte 12 - Reserved (= 0x00) + * byte 13 - DGT_CMD_CLOCK_END_MESSAGE (= 0x00) + */ + +#define DGT_CMD_CLOCK_END 0x03 +/* This command clears the message and brings the clock back to the + * normal display (showing clock times). + * byte 1 - DGT_CMD_CLOCK_MESSAGE (= 0x2b) + * byte 2 - Size (= 0x03) + * byte 3 - DGT_CMD_CLOCK_START_MESSAGE (= 0x03) + * byte 4 - DGT_CMD_CLOCK_END (= 0x03) + * byte 5 - DGT_CMD_CLOCK_END_MESSAGE (= 0x00) +*/ + +#define DGT_CMD_CLOCK_BUTTON 0x08 +/* + * Requests the current button pressed (if any). + * byte 1 - DGT_CMD_CLOCK_MESSAGE (= 0x2b) + * byte 2 - Size (= 0x03) + * byte 3 - DGT_CMD_CLOCK_START_MESSAGE (= 0x03) + * byte 4 - DGT_CMD_CLOCK_BUTTON (= 0x08) + * byte 5 - DGT_CMD_CLOCK_END_MESSAGE (= 0x00) + */ + +#define DGT_CMD_CLOCK_VERSION 0x09 +/* This commands requests the clock version. + * byte 1 - DGT_CMD_CLOCK_MESSAGE (= 0x2b) + * byte 2 - Size (= 0x03) + * byte 3 - DGT_CMD_CLOCK_START_MESSAGE (= 0x03) + * byte 4 - DGT_CMD_CLOCK_VERSION (= 0x09) + * byte 5 - DGT_CMD_CLOCK_END_MESSAGE (= 0x00) +*/ + +#define DGT_CMD_CLOCK_SETNRUN 0x0a +/* This commands controls the clock times and counting direction, when + * the clock is in mode 23. A clock can be paused or counting down. But + * counting up isn't supported on current DGT XL's (1.14 and lower) yet. + * + * byte 1 - DGT_CMD_CLOCK_MESSAGE (= 0x2b) + * byte 2 - Size (= 0x0a) + * byte 3 - DGT_CMD_CLOCK_START_MESSAGE (= 0x03) + * byte 4 - DGT_CMD_CLOCK_SETNRUN (= 0x0a) + * byte 5 - left hours (|0x10 if left counts up, but not supported) + * byte 6 - left minutes + * byte 7 - left seconds + * byte 8 - right hours (|0x10 if right counts up, but not supported) + * byte 9 - right minutes + * byte 10 - right seconds + * byte 11 - 0x01: left counts down. 0x02: right counts down. + 0x04: pause clock. 0x08: toggle player at lever change. + * byte 12 - DGT_CMD_CLOCK_END_MESSAGE (= 0x00) +*/ + +#define DGT_CMD_CLOCK_BEEP 0x0b +/* + * This clock command turns the beep on, for a specified time (64ms * byte 5) + * byte 1 - DGT_CMD_CLOCK_MESSAGE (= 0x2b) + * byte 2 - Size (= 0x04) + * byte 3 - DGT_CLOCK_START_MESSAGE (= 0x03) + * byte 4 - CMD_CLOCK_BEEP (= 0x0b) + * byte 5 - The time in multiplies of 64ms. E.g. a value of 16 plays the beep for 16*64=1024ms. + * byte 6 - DGT_CMD_CLOCK_END_MESSAGE (= 0x00) + */ + +#define DGT_CMD_CLOCK_ASCII 0x0c +/* + * This clock commands sends a ASCII message to the clock that can be displayed only by + * the DGT3000. + * byte 1 - DGT_CMD_CLOCK_MESSAGE (= 0x2b) + * byte 2 - Size (= 0x0c) + * byte 3 - DGT_CLOCK_START_MESSAGE (= 0x03) + * byte 4 - CMD_CLOCK_ASCII (= 0x0c) + * byte 5 - Character 1 + * byte 6 - Character 2 + * byte 7 - Character 3 + * byte 8 - Character 4 + * byte 9 - Character 5 + * byte 10 - Character 6 + * byte 11 - Character 7 + * byte 12 - Character 8 + * byte 13 - Beep value 0 - 15, 0 is no beep, else else 62.5ms + (value / 16) * 1000ms + * byte 14 - DGT_CMD_CLOCK_END_MESSAGE (= 0x00) + */ + +/* ------------------------------------------------------------------------ */ +/* DESCRIPTION OF THE MESSAGES FROM BOARD TO PC + +A message consists of three header bytes: +MESSAGE ID one byte, MSB (MESSAGE BIT) always 1 +MSB of MESSAGE SIZE one byte, MSB always 0, carrying D13 to D7 of the + total message length, including the 3 header byte +LSB of MESSAGE SIZE one byte, MSB always 0, carrying D6 to D0 of the + total message length, including the 3 header bytes +followed by the data: +0 to ((2 EXP 14) minus 3) data bytes, of which the MSB is always zero. +*/ + +/* ------------------------------------------------------------------------ */ +/* DEFINITION OF THE BOARD-TO-PC MESSAGE ID CODES and message descriptions */ + +/* the Message ID is the logical OR of MESSAGE_BIT and ID code */ +#define MESSAGE_BIT 0x80 + +/* ID codes: */ +#define DGT_NONE 0x00 +#define DGT_BOARD_DUMP 0x06 +#define DGT_BWTIME 0x0d +#define DGT_FIELD_UPDATE 0x0e +#define DGT_EE_MOVES 0x0f +#define DGT_BUSADRES 0x10 +#define DGT_SERIALNR 0x11 +#define DGT_TRADEMARK 0x12 +#define DGT_VERSION 0x13 +/* Added for Draughts board */ +#define DGT_BOARD_DUMP_50B 0x14 +#define DGT_BOARD_DUMP_50W 0x15 +/* Added for Bluetooth board */ +#define DGT_BATTERY_STATUS 0x20 +#define DGT_LONG_SERIALNR 0x22 + +/* ------------------------------------------------------------------------ */ +/* Macros for message length coding (to avoid MSB set to 1) */ + +#define BYTE char + +#define LLL_SEVEN(a) ((BYTE)(a & 0x7f)) /* 0000 0000 0111 1111 */ +#define LLH_SEVEN(a) ((BYTE)((a & 0x3F80)>>7)) /* 0011 1111 1000 0000 */ + + +/* ------------------------------------------------------------------------ */ +/* DGT_MSG_BOARD_DUMP is the message that follows on a DGT_SEND_BOARD + * command + */ +#define DGT_MSG_BOARD_DUMP (MESSAGE_BIT | DGT_BOARD_DUMP) +#define DGT_SIZE_BOARD_DUMP 67 +#define DGT_SIZE_BOARD_DUMP_DRAUGHTS 103 +/* message format: + * byte 0: DGT_MSG_BOARD_DUMP + * byte 1: LLH_SEVEN(DGT_SIZE_BOARD_DUMP) (=0 fixed) + * byte 2: LLL_SEVEN(DGT_SIZE_BOARD_DUMP) (=67 fixed) + * byte 3-66: Pieces on position 0-63 + * + * Board fields are numbered from 0 to 63, row by row, in normal reading + * sequence. When the connector is on the left hand, counting starts at + * the top left square. The board itself does not rotate the numbering, + * when black instead of white plays with the clock/connector on the left hand. + * In non-rotated board use, the field numbering is as follows: + * + * Field A8 is numbered 0 + * Field B8 is numbered 1 + * Field C8 is numbered 2 + * .. + * Field A7 is numbered 8 + * .. + * Field H1 is numbered 63 + * + * So the board always numbers the black edge field closest to the connector + * as 57. + */ + + +/* Piece codes for chess pieces: */ +#define EMPTY 0x00 +#define WPAWN 0x01 +#define WROOK 0x02 +#define WKNIGHT 0x03 +#define WBISHOP 0x04 +#define WKING 0x05 +#define WQUEEN 0x06 +#define BPAWN 0x07 +#define BROOK 0x08 +#define BKNIGHT 0x09 +#define BBISHOP 0x0a +#define BKING 0x0b +#define BQUEEN 0x0c +#define PIECE1 0x0d /* Magic piece: Draw */ +#define PIECE2 0x0e /* Magic piece: White win */ +#define PIECE3 0x0f /* Magic piece: Black win */ + +/* For the draughts board */ +#define WDISK 0x01 +#define BDISK 0x04 +#define WCROWN 0x07 +#define BCROWN 0x0a + +/* ------------------------------------------------------------------------ */ +/* message format DGT_MSG_BOARD_DUMP_50B */ +#define DGT_MSG_BOARD_DUMP_50B (MESSAGE_BIT|DGT_BOARD_DUMP_50B) +#define DGT_SIZE_BOARD_DUMP_50B 53 +/* byte 0: DGT_MSG_BOARD_DUMP_50B + * byte 1: LLH_SEVEN(DGT_SIZE_BOARD_DUMP) (=0 fixed) + * byte 2: LLL_SEVEN(DGT_SIZE_BOARD_DUMP) (=53 fixed) + * byte 3-52: Pieces on position 0-50 + */ + +/* ------------------------------------------------------------------------ */ +/* message format DGT_MSG_BOARD_DUMP_50W */ +#define DGT_MSG_BOARD_DUMP_50W (MESSAGE_BIT|DGT_BOARD_DUMP_50W) +#define DGT_SIZE_BOARD_DUMP_50W 53 +/* byte 0: DGT_MSG_BOARD_DUMP_50w + * byte 1: LLH_SEVEN(DGT_SIZE_BOARD_DUMP) (=0 fixed) + * byte 2: LLL_SEVEN(DGT_SIZE_BOARD_DUMP) (=53 fixed) + * byte 3-52: Pieces on position 0-50 + */ + +/* ------------------------------------------------------------------------ */ +/* message format DGT_MSG_BWTIME */ +#define DGT_MSG_BWTIME (MESSAGE_BIT | DGT_BWTIME) +#define DGT_SIZE_BWTIME 10 +/* + * There are two possible distinct BwTime messages: 1) Clock Times, 2) Clock Ack. + * The total size is always 10 bytes and the first byte is always DGT_MSG_BWTIME (=0x4d). + * If the (4th byte & 0x0f) equals 0x0a, or if the (7th byte & 0x0f) equals 0x0a, then the + * message is a Clock Ack message. Otherwise it is a Clock Times message. + * + * Clock Times: + * + * byte 0: DGT_MSG_BWTIME + * byte 1: LLH_SEVEN(DGT_SIZE_BWTIME) (=0 fixed) + * byte 2: LLL_SEVEN(DGT_SIZE_BWTIME) (=10 fixed) + * byte 3: + * D0-D3: Hours (units, 0-9 Binary coded) of right player. + * (If (byte 3 & 0x0f) is 0x0a, then the msg is a Clock Ack message instead) + * D4: 1 = Flag fallen for right player, and clock blocked to zero + * 0 = not the above situation + * D5: 1 = Time per move indicator on for right player ( i.e. Bronstein, Fischer) + * 0 = Time per move indicator off for right player + * D6: 1 = Right players flag fallen and indicated on display, + * clock possibly still running (e.g. activation of next time period) + * 0 = not the above situation + * (D7 is MSB) + * byte 4: Minutes (0-59, BCD coded) + * byte 5: Seconds (0-59, BCD coded) + * byte 6-8: the same for the left player + * byte 9: Clock status byte: 7 bits + * D0 (LSB): 1 = Clock running + * 0 = Clock stopped by Start/Stop + * D1: 1 = tumbler position high on right player (front view: / , right side high) + * 0 = tumbler position high on left player (front view: \, left side high) + * D2: 1 = Battery low indication on display + * 0 = no battery low indication on display + * D3: 1 = Right player's turn + * 0 = not Right player's turn + * D4: 1 = Left player's turn + * 0 = not Left player's turn + * D5: 1 = No clock connected; reading invalid + * 0 = clock connected, reading valid + * D6: not used (read as 0) + * D7: Always 0 + * + * + * Clock Ack: + * + * byte 0: DGT_MSG_BWTIME + * byte 1: LLH_SEVEN(DGT_SIZE_BWTIME) (=0 fixed) + * byte 2: LLL_SEVEN(DGT_SIZE_BWTIME) (=10 fixed) + * byte 3-9: used to construct a 4-byte ack message in the following way: + * + * ack0 = ((byte4) & 0x7f) | ((byte6 << 3) & 0x80); + * ack1 = ((byte5) & 0x7f) | ((byte6 << 2) & 0x80); + * ack2 = ((byte7) & 0x7f) | ((byte3 << 3) & 0x80); + * ack3 = ((byte8) & 0x7f) | ((byte3 << 2) & 0x80); + * + * So ack0 is constructed from bits 0-6 from byte4, and bit 4 from byte6 (which goes + * to ack0's 7th bit). + * + * ack0: 0x40 indicates an error, e.g. sending a CMD_CLOCK_SETNRUN while the + * clock is not in mode 23. + * ack0 is 0x10 for normal ack messages. + * ack1: if 8th bit set (i.e. (ack1 & 0x80)==0x80), then it is an auto-generated ack. + * Otherwise it is a response to a command. + * + * Auto-generated acks: + * ack1==0x81: ready + * ack1==0x88: Button pressed. ack3: Back=0x31; Plus=0x32; Run=0x33; Minus=0x34; OK=0x35. + * ack1==0x8a: mode 23? ack3 contains the mode? + * ack1==0x90: not in mode 23? + * + * Response to command ack's: + * ack1 is the command that was ack'ed. + * ack1==0x01: Display ack. + * ack1==0x08: Buttons ack, but no button information is returned though. + * ack1==0x09: Version ack. ack2>>4 is main version, ack2&0x0f is sub version. + * ack1==0x0a: SetNRun ack. + * ack1==0x0b: Beep ack. + * + * + */ + +/* ------------------------------------------------------------------------ */ +/* message format DGT_MSG_FIELD_UPDATE: */ +#define DGT_MSG_FIELD_UPDATE (MESSAGE_BIT | DGT_FIELD_UPDATE) +#define DGT_SIZE_FIELD_UPDATE 5 +/* byte 0: DGT_MSG_FIELD_UPDATE + * byte 1: LLH_SEVEN(DGT_SIZE_FIELD_UPDATE) (=0 fixed) + * byte 2: LLL_SEVEN(DGT_SIZE_FIELD_UPDATE) (=5 fixed) + * byte 3: field number (0-63) which changed the piece code + * byte 4: piece code including EMPTY, where a non-empty field became empty + */ + +/* ------------------------------------------------------------------------ */ +/* message format: DGT_MSG_TRADEMARK which returns a trade mark message */ +#define DGT_MSG_TRADEMARK (MESSAGE_BIT | DGT_TRADEMARK) +/* byte 0: DGT_MSG_TRADEMARK + * byte 1: LLH_SEVEN(DGT_SIZE_TRADEMARK) + * byte 2: LLL_SEVEN(DGT_SIZE_TRADEMARK) + * byte 3-end: ASCII TRADEMARK MESSAGE, codes 0 to 0x3F + * The value of DGT_SIZE_TRADEMARK is not known beforehand, and may be in the + * range of 0 to 256 + * Current trade mark message: ... + */ + +/* ------------------------------------------------------------------------ */ +/* Message format DGT_MSG_BUSADRES return message with bus adres */ +#define DGT_MSG_BUSADRES (MESSAGE_BIT | DGT_BUSADRES) +#define DGT_SIZE_BUSADRES 5 +/* byte 0: DGT_MSG_BUSADRES + * byte 1: LLH_SEVEN(DGT_SIZE_BUSADRES) + * byte 2: LLL_SEVEN(DGT_SIZE_BUSADRES) + * byte 3,4: Busadres in 2 bytes of 7 bits hexadecimal value + * byte 3: 0bbb bbbb with bus adres MSB 7 bits + * byte 4: 0bbb bbbb with bus adres LSB 7 bits + * The value of the 14-bit busadres is het hexadecimal representation + * of the (decimal coded) serial number + * i.e. When the serial number is "01025 1.0" the busadres will be + * byte 3: 0000 1000 (0x08) + * byte 4: 0000 0001 (0x01) + */ + +/* ------------------------------------------------------------------------ */ +/* Message format DGT_MSG_SERIALNR return message with bus adres */ +#define DGT_MSG_SERIALNR (MESSAGE_BIT | DGT_SERIALNR) +#define DGT_SIZE_SERIALNR 8 +/* Returns 5 ASCII decimal serial number: + * byte 0-5 serial number string, sixth byte is LSByte + */ + +/* ------------------------------------------------------------------------ */ +/* Message format DGT_LONG_SERIALNR */ +#define DGT_MSG_LONG_SERIALNR (MESSAGE_BIT | DGT_LONG_SERIALNR) +#define DGT_SIZE_LONG_SERIALNR 13 +/* byte 0: DGT_LONG_SERIALNR + * byte 1: 0 + * byte 2: DGT_SIZE_ LONG_SERIALNR + * byte 3-12: 10 ASCII decimal serial number + * The 10th character is Least Significant + */ + +/* ------------------------------------------------------------------------ */ +/* Message format DGT_MSG_VERSION return message with bus adres */ +#define DGT_MSG_VERSION (MESSAGE_BIT | DGT_VERSION) +#define DGT_SIZE_VERSION 5 +/* byte 0: DGT_MSG_VERSION + * byte 1: LLH_SEVEN(DGT_SIZE_VERSION) + * byte 2: LLL_SEVEN(DGT_SIZE_VERSION) + * byte 3,4: Version in 2 bytes of 7 bits hexadecimal value + * byte 3: 0bbb bbbb with main version number MSB 7 bits + * byte 4: 0bbb bbbb with sub version number LSB 7 bits + * The value of the version is coded in binary + * i.e. When the number is "1.02" the busadres will be + * byte 3: 0000 0001 (0x01) + * byte 4: 0000 0010 (0x02) + */ + +/* ------------------------------------------------------------------------ */ +/* Retrieve the battery status from the Bluetooth board */ +#define DGT_MSG_BATTERY_STATUS (MESSAGE_BIT | DGT_BATTERY_STATUS) +#define DGT_SIZE_BATTERY_STATUS 7 +/* byte 0: DGT_MSG_BATTERY_STATUS + * byte 1: LLH_SEVEN(DGT_SIZE_BATTERY_STATUS) + * byte 2: LLL_SEVEN(DGT_SIZE_BATTERY_STATUS) + * byte 3: Current battery capacity left in % + * byte 4: Running/Charging time left (hours) (0x7f is N/A) + * byte 5: Running/Charging time left (minutes) (0x7f is N/A) + * byte 6: On time (hours) + * byte 7: On time (minutes) + * byte 8: Standby time (days) + * byte 9: Standby time (hours) + * byte 10: Standby time (minutes) + * byte 11: Status bits + * bit 0: Charge status + * bit 1: Discharge status + * bit 2: Not yet implemented + * bit 3: Not yet implemented + * bit 4: Not yet implemented + * bit 5: Not yet implemented + * bit 6: Not yet implemented + * bit 7: Not yet implemented + */ + + + +/* ------------------------------------------------------------------------ */ +/* DGT_SIZE_EE_MOVES is defined in dgt_ee1.h: current (0x2000-0x100+3) */ +#define DGT_MSG_EE_MOVES (MESSAGE_BIT | DGT_EE_MOVES) +/* Message format DGT_MSG_EE_MOVES, which is the contens of the storage array + * byte 0: DGT_MSG_EE_MOVES + * byte 1: LLH_SEVEN(DGT_SIZE_EE_MOVES) + * byte 2: LLL_SEVEN(DGT_SIZE_EE_MOVES) + * byte 3-end: field change storage stream: See defines below for contents + * + * The DGT_MSG_EE_MOVES message contains the contens of the storage, + * starting with the oldest data, until the last written changes, and will + * always end with EE_EOF + */ + +/* ------------------------------------------------------------------------ */ + +/* +Description of the EEPROM data storage and dump format +------------------------------------------------------ + +General: The internal EEPROM storage can be seen as a cyclic buffer with length +0x1f00 bytes, with one pointer, pointing to the last written byte in the buffer. +Only at this pointer location, data can be written, incrementing the pointer. +The written data always overwrites the oldest data. +In this buffer, sequentially messages are written. The messages are of various +length, from 1 byte to 5 bytes, specific for every message. +Various events generate a message that is written in the storage, in the +sequence as the events occur. When the buffer is downloaded and read, the event +messages can be found, starting with the oldest event, and the latest event in +the end of the buffer, followed by EE_EOF. + +- At power-on, three tags EE_NOP are written, followed by a one-byte +EE_POWERUP message. +After this, an UPDATE_BOARD message is written (in virtually random sequence) +for every piece that is found on the board, at power-on. +When the board is equipped with a watchdog timer, and the watchdog times out, +an EE_WATCHDOG_ACTION is written and after that, the above described power-up +procedure takes place. + +- When at any time a normal starting position for chess is found, with the +player for white having the board connector on his left hand, an EE_BEGINPOS tag +is written, and an EE_BEGINPOS_ROT tag is written when white has the +connector at his right hand (rotated) + +- 8x8 board: When 16 chess figures are found on the board, all in the A, B, G +and H row, which are not(!) in a normal chess starting position, the one-byte +EE_FOURROWS message is written, to be tolerant on erroneous placement and i.e. +to be able to play the "Random Chess" as proposed by Bobby +Fischer. The exact position of the pieces has to be analyzed on the context: +or found in the previous piece move messages, or found in the +coming piece move messages. + +- For 10x10 boards, EE_FOURROWS indicates a position of which the center TWO +rows are empty and all other fields are occupied. + +When an empty board is detected, the one-byte EE_EMPTYBOARD message is +written. + +The above described detection of begin positions or empty-board has a certain +hysteresis: only after more than two pieces have been out of the begin +positions the search for begin positions is restarted, resulting in possibly +new tag writing. This to avoid flushing the buffer full with data, only because +of one bad positioned and flashing piece. + +When the data of the internal storage are sent upon reception of the +DGT_SEND_EE_MOVES command, the one-byte EE_DOWNLOADED message is sent + +On every detected change of piece positions this change is written to EEPROM +in a 2-byte message, which cover exactly the same data as is sent to the PC +in the UPDATE_BOARD mode. +The formatting of the 2-byte piece update tag is: +First byte: 0t0r nnnn (n is piece code, see before) + (piece code EMPTY when a piece is removed) + (t is recognition bit, always 1) + (r is '1' when the time since the previous update + tag was written is less than approx. 250 ms, + otherwise '0') + so the first byte of this tag is always in the + range 0x40 to 0x5f +Second byte: 00ii iiii (i = 0 to 63 (0x3f), the field number as + defined before) + +NB: when one piece only is changing, the new value is overwrites the +piece update field described above, instead of generating a new message +in the internal storage. +The same kind of optimization is included for begin-position tags: +a EE_BEGINPOS or EE_BEGINPOS_ROT or EE_FOURROWS is not written, when +between the previous written tags and the new occurence of the begin- +situation only 2 or 1 piece were out of the tagged beginsituation. + +On the pressing of the clock, the time of the halted clock is written in +a time message. It might be that when the moves are done very fast, the +storage is skipped. Note: the two clock sides are identified only by +left and right side of the clock: When the board is swapped, the clock +data are not (!) swapped. + +The clock data are written on tumbler position change, so at the beginning +of the game, the game starting times will be lost. + +Format of a three-byte time message: +First byte: 0uuf hhhh (f=1 for time in left clock screen, seen from + the front) + ( hhhh: hours, valued 0 to 9) + (uu recognition bits, both 1, so byte 0 has the + ( value range of 0x60 to 0x69, or 0x70 to 0x79) +Second byte: 0MMM mmmm (MMM: Tens of minutes (range 0 to 5), + (mmmm: minute units, range 0 to 9) + +Third byte: 0SSS ssss (SSS: tens of seconds, range 0-5) + (ssss: seconds units, range 0-9) + +On the recognition of the first byte of a message: The above definitions +imply that the first byte of a message is always ranged +from 40-5f for a field change message, 60-69 or 70-79 for a time message, +and 6a to 6f, or 7a to 7f for a 1-byte message. +(all values hexadecimal) +*/ + +/* Definition of the one-byte EEPROM message codes */ + +#define EE_POWERUP 0x6a +#define EE_EOF 0x6b +#define EE_FOURROWS 0x6c +#define EE_EMPTYBOARD 0x6d +#define EE_DOWNLOADED 0x6e +#define EE_BEGINPOS 0x6f +#define EE_BEGINPOS_ROT 0x7a +#define EE_START_TAG 0x7b +#define EE_WATCHDOG_ACTION 0x7c +#define EE_FUTURE_1 0x7d +#define EE_FUTURE_2 0x7e +#define EE_NOP 0x7f +#define EE_NOP2 0x00 + +/* 7d and 7e are reserved for future use*/ + +/* +Notes on the communication dynamics: +The squares of the board are sampled one by one, where a full scan takes +about 200-250 ms. Due to this scan time, it can be, that a piece that is +moved from square e.g. A2 to A3 can be seen on both squares, in the same +scan. On a next scan of course, the old position is not seen anymore. +When in UPDATE mode, this means, that the information on changes on the +squares can come in opposite sequence: first the new occurence is reported, +then the clearing of the old position is sent. +When a piece B on C4 is taken by piece A on B3, it can be that the following +changes are reported: +A on C4 +Empty on B3 +(and Empty on C4 is never seen) +An other extreme situation can occur e.g. when a queen on C1 takes a pawn +on C4. The reported changes can be (in sequence): +Empty on C4 (the pawn is taken by one hand) +Queen on C2 +Queen on C3 +Empty on C1 +Empty on C2 +Queen on C4 +Empty on C3 +For writing software it is important to take these dynamics into account. +Some effort needs to be made to reconstruct the actual moves of the pieces. +See also the programmers and users manual + +------------------------------------------------------------------------------ + +Paragraph: Bus communication protocol +------------------------------------- + +Differencens between busmode and single board mode: +* In bus mode, RS232 input and RS232 output are connected to all boards. +The RS232 output of the board is configured as a pull-up driver: with a +pull-down resistor on the RS232 pull-up line. Now all boards receive all +commands from the computer, and can all send data to the computer. +* In single board mode the board has a small incoming commands +buffer (10 bytes). +* The bus mode has only a one-command incoming commands buffer +* When entered in single board mode, the board status always switches to IDLE: +changes are not send automatically + +Bus mode is default power up mode of the board. The board recognises +bus commands from the start. +However, single board commands are recognised and answered. +The board switches to single board mode on the moment, a single board +command is recognised. Switching back to bus mode is invoked by the +extra command DGT_TO_BUSMODE or by sending a busmode command. (NB This +busmode command causing the swithing is not processed!) + +For all detailed hardware descriptions: call. +*/ + + +/* ------------------------------------------------------------------------ */ +/* Bus mode commands: */ +#define DGT_BUS_SEND_CLK (0x01 | MESSAGE_BIT) +#define DGT_BUS_SEND_BRD (0x02 | MESSAGE_BIT) +#define DGT_BUS_SEND_CHANGES (0x03 | MESSAGE_BIT) +#define DGT_BUS_REPEAT_CHANGES (0x04 | MESSAGE_BIT) +#define DGT_BUS_SET_START_GAME (0x05 | MESSAGE_BIT) +#define DGT_BUS_SEND_FROM_START (0x06 | MESSAGE_BIT) +#define DGT_BUS_PING (0x07 | MESSAGE_BIT) +#define DGT_BUS_END_BUSMODE (0x08 | MESSAGE_BIT) +#define DGT_BUS_RESET (0x09 | MESSAGE_BIT) +#define DGT_BUS_IGNORE_NEXT_BUS_PING (0x0a | MESSAGE_BIT) +#define DGT_BUS_SEND_VERSION (0x0b | MESSAGE_BIT) +#define DGT_BUS_SEND_BRD_50B (0x0c | MESSAGE_BIT) +// sends consequitively: CHANGES, CLOCK, BOARD: +#define DGT_BUS_SEND_ALL_D (0x0d | MESSAGE_BIT) + + +/* ------------------------------------------------------------------------ */ +/* extra return headers for bus mode: */ +#define DGT_MSG_BUS_BRD_DUMP (0x03 | MESSAGE_BIT) +#define DGT_MSG_BUS_BWTIME (0x04 | MESSAGE_BIT) +#define DGT_MSG_BUS_UPDATE (0x05 | MESSAGE_BIT) +#define DGT_MSG_BUS_FROM_START (0x06 | MESSAGE_BIT) +#define DGT_MSG_BUS_PING (0x07 | MESSAGE_BIT) +#define DGT_MSG_BUS_START_GAME_WRITTEN (0x08 | MESSAGE_BIT) +#define DGT_MSG_BUS_VERSION (0x09 | MESSAGE_BIT) +#define DGT_MSG_BUS_BRD_DUMP_50B (0x0a | MESSAGE_BIT) + +/* ------------------------------------------------------------------------ */ +/* extra defines for bus length info: */ +#define DGT_SIZE_BUS_PING 6 +#define DGT_SIZE_BUS_START_GAME_WRITTEN 6 +#define DGT_SIZE_BUS_VERSION 8 /* was 6 up to version 1.2 */ + +/* ------------------------------------------------------------------------ */ +/* Definition of different commands & data + +All commands DGT_BUS_xx have the following format: +byte 1: command, i.e. DGT_BUS_SEND_BDR (D7 always 1) +byte 2: MSB of addressed board (D7 always 0) +byte 3: LSB of addressed board (D7 always 0) +byte 4: checksum: this is the sum of all bytes from start of the message + upto the last byte before the checksum. (D7 always 0) + I.e. message code 0x81 0x10 0x06 will carry checksum byte 0x17 + +DGT_BUS_SEND_CLK +asks for clock information of addressed board. +Will result in a DGT_MSG_BUS_BWTIME message from the board. + +DGT_BUS_SEND_BRD +asks for a board dump of addressed board. +Will result in a DGT_MSG_BUS_BRD_DUMP message from the board. + +DGT_BUS_SEND_CHANGES +asks for all stored information changes from the moment of the last +DGT_BUS_SEND_CHANGES. Will result in a DGT_MSG_BUS_UPDATE message from +the board. +In case these data do not arrive properly, the data can be asked again +with the DGT_BUS_REPEAT_CHANGES command. + +DGT_BUS_REPEAT_CHANGES +Causes the board to send last sent packet of changes again. + +DGT_BUS_SET_START_GAME +sets an EE_START_TAG tag in the internal board changes buffer, for use in the +following command DGT_BUS_SEND_FROM_START. After this EE_START_TAG the +positions of the pieces are all logged in the file. +The command is answered with a DGT_MSG_BUS_START_GAME_WRITTEN message, +about 70 msec. after receipt of DGT_BUS_SET_START_GAME + +DGT_BUS_SEND_FROM_START +causes the board to send a DGT_MSG_BUS_FROM_START message, containing +all update information starting with EE_START_TAG until the last registered +changes (excluding the moves that are to be sent with the DGT_BUS_SEND_CHANGES +command). Remember that after the EE_START_TAG all piece positions are written +in the eeprom file. + +DGT_BUS_PING +causes the addressed board to send a DGT_MSG_BUS_PING message. +NB: when the DGT_BUS_PING command is sent with board address 0 (zero ) +all connected boards will reply with a DGT_MSG_BUS_PING message, randomly +spread over a 1100 msec. interval. This to avoid collision. For reliable +identification of all connected boards, this process should be repeated +sometimes with checking of checksums! + +DGT_IGNORE_NEXT_BUS_PING +is used in the process of detecting connected boards on a bus. After this +command (which itself sends a DGT_MSG_BUS_PING as handshake) the first +following DGT_BUS_PING with address zero (!) is ignored. This command +can be used to suppress response of already detected boards, and decreases +the chance of bus collisions. +This command responds immediately with a DGT_MSG_BUS_PING. + +DGT_BUS_END_BUSMODE +causes the board to quit busmode, and go into single-connection mode. +Be careful not to use this command in a multiple board configuration! +NOTE: Any single-board command arriving during bus mode will +switch a board to single-board mode and will be processed. When sent +with address 0 the command is processed on all connected boards + +DGT_BUS_RESET +forces a power-up reset procedure. NB: this procedure takes some seconds. +When sent with address 0 the command is processed on all conected boards + +------------------------------------------------------------------------------ + +DEFINITION OF THE MESSAGE DATA FORMATS FROM BOARD TO PC +------------------------------------------------------------------------------ + +General: the message format is: +byte 1: message type byte (MSB = 1) +byte 2: message length MSB (from byte 1 to checksum) (D7=0) +byte 3: message length LSB (containing D0 to D6 of the length (D7 = 0) +byte 4: board address MSB (D7=0) +byte 5: board address LSB (D7=0) +< data bytes: 0 to theoretically 16K-6 bytes > +last byte: checksum. This is the sum of all byte values from byte 1 to + the byte before this checksum. D7 is forced to 0 + +DGT_MSG_BUS_BRD_DUMP +the data area contains the piece codes from field 1 to field 64, in format +identical as the single board command + +DGT_MSG_BUS_BWTIME +the data area contains the clock time information, in format identical as +the single board command + +DGT_MSG_BUS_UPDATE +the data area contains a variable amount of change information, formatted +as described in the DGT_DUMP_EEMOVES message + +DGT_MSG_BUS_FROM_START +the data area contains a variable amount of change information, formatted +as described in the DGT_DUMP_EEMOVES message + +DGT_MSG_BUS_PING +the data area is empty: a message of 6 bytes is returned. + +DGT_MSG_BUS_START_GAME_WRITTEN +The same format as for DGT_MSG_BUS_PING + +DGT_MSG_BUS_VERSION +The two data bytes contain binary version number: first byte main number +second byte sub number. + +Tips for usage of the bus mode: + +A. On connection of power and starting of the communication process: +- Check communication with addressed DGT_BUS_PING commands to all expected + boards. +LOOP: +- Send DGT_BUS_IGNORE_NEXT_PING to all found boards +- Check eventually extra boards or unknown board busnumbers by using + a DGT_BUS_PING with address zero. +- Register the found boards, and go to LOOP:, until no more boards are found + + +B. At the start of an event: when all boards have pieces in starting + position, send DGT_BUS_SET_START_GAME commands to all boards. +- Read full clock times from all boards. + +C. During a game: send DGT_BUS_SEND_CHANGES to all boards sequentially, + once every few seconds. The returned data should logically match + with the expected piece positions. When any mismatch occurs: ask full + position with DGT_BUS_SEND_BRD. + +D. When previous data are lost: send a DGT_BUS_SEND_FROM_START command + which returns the full registered changes from the starting position. + +On every sent message: The responce time at the board is within milliseconds +normally, except when the board is storing a measured change in the +internal EEPROM: Then the responce time can be up to 20 milliseconds. +So allow a time-out on sent messages of say 80 mS. + +Checksum errors: when a received checksum does not match, resend the command +except on the DGT_BUS_SEND_CHANGES: then the command DGT_BUS_REPEAT_CHANGES +should be used, to avoid discarding of the changes sent by the board. + +On clock data: +- reading data out of the clock and make them available + for communication causes a delay of up to 1 second between clock display + and received data. +*/ +#endif + diff --git a/test/dgtnixVirtualBoard.py b/test/dgtnixVirtualBoard.py new file mode 100644 index 0000000..44ed12d --- /dev/null +++ b/test/dgtnixVirtualBoard.py @@ -0,0 +1,684 @@ +# GPL v2 licence, Pierre Boulenguez 2007 +import os +import sys +import select +import binascii +import socket +import os, os.path +import types +import time +import threading +from curses import ascii +import string +import array +import struct + +init = "false" +gameExample = "s/600/600,e2e4,o,z/1,e7e5,o,z/1,g1f3,o,z/1,b8c6,o,z/1,f1b5,o,z/1,,o,z/1,a7a6,o,z/1,b5a4,o,z/1,g8f6,o,z/1,e1g1,o,z/1,h1f1,o,z/1,f8e7,o,z/1,f1e1,o,z/1,b7b5,o,z/1,a4b3,o,z/1,d7d6,o,z/1,c2c3,o,z/1,e8g8,o,z/1,h8f8,o,z/1,h2h3,o,z/1,c6b8,o,z/1,10,o,z/1,d2d4,o,z/1,b8d7,o,z/1,c3c4,o,z/1,c7c6,o,z/1,c4b5,o,z/1,a6b5,o,z/1,b1c3,o,z/1,c8b7,o,z/1,c1g5,o,z/1,b5b4,o,z/1,c3b1,o,z/1,h7h6,o,z/1,g5h4,o,z/1,c6c5,o,z/1,d4e5,o,z/1,f6e4,o,z/1,h4e7,o,z/1,d8e7,o,z/1,e5d6,o,z/1,e7f6,o,z/1,20,o,z/1,b1d2,o,z/1,e4d6,o,z/1,d2c4,o,z/1,d6c4,o,z/1,b3c4,o,z/1,d7b6,o,z/1,f3e5,o,z/1,a8e8,o,z/1,c4f7,o,z/1,f8f7,o,z/1,e5f7,o,z/1,e8e1,o,z/1,d1e1,o,z/1,g8f7,o,z/1,e1e3,o,z/1,f6g5,o,z/1,e3g5,o,z/1,h6g5,o,z/1,b2b3,o,z/1,f7e6,o,z/1,a2a3,o,z/1,e6d6,o,z/1,a3b4,o,z/1,c5b4,o,z/1,a1a5,o,z/1,b6d5,o,z/1,f2f3,o,z/1,b7c8,o,z/1,g1f2,o,z/1,c8f5,o,z/1,a5a7,o,z/1,g7g6,o,z/1,a7a6,o,z/1,d6c5,o,z/1,f2e1,o,z/1,d5f4,o,z/1,g2g3,o,z/1,f4h3,o,z/1,e1d2,o,z/1,c5b5,o,z/1,40,o,z/1,a6d6,o,z/1,b5c5,o,z/1,d6a6,o,z/1,h3f2,o,z/1,g3g4,o,z/1,f5d3,o,z/1,a6e6\n" +_DGTNIX_SEND_CLK = binascii.a2b_hex("41") +_DGTNIX_SEND_BRD = binascii.a2b_hex("42") +_DGTNIX_SEND_UPDATE = binascii.a2b_hex("43") +_DGTNIX_SEND_UPDATE_BRD = binascii.a2b_hex("44") +_DGTNIX_SEND_SERIALNR = binascii.a2b_hex("45") +_DGTNIX_SEND_BUSADDRESS = binascii.a2b_hex("46") +_DGTNIX_SEND_TRADEMARK = binascii.a2b_hex("47") +_DGTNIX_SEND_VERSION = binascii.a2b_hex("4d") +_DGTNIX_SEND_UPDATE_NICE = binascii.a2b_hex("4b") +_DGTNIX_SEND_EE_MOVES = binascii.a2b_hex("49") +_DGTNIX_SEND_RESET = binascii.a2b_hex("40") + +_DGTNIX_NONE = binascii.a2b_hex("00") +## ALL FOLLOWING MESSAGES ARE BINARY & TO 128 !! +_DGTNIX_BOARD_DUMP = binascii.a2b_hex("86") +_DGTNIX_BWTIME = binascii.a2b_hex("8d") +_DGTNIX_FIELD_UPDATE = binascii.a2b_hex("8e") +_DGTNIX_EE_MOVES = binascii.a2b_hex("8f") +_DGTNIX_BUSADDRESS = binascii.a2b_hex("90") +_DGTNIX_SERIALNR = binascii.a2b_hex("91") +_DGTNIX_TRADEMARK = binascii.a2b_hex("92") +_DGTNIX_VERSION = binascii.a2b_hex("93") + +_DGTNIX_EMPTY = binascii.a2b_hex("00") +_DGTNIX_WPAWN = binascii.a2b_hex("01") +_DGTNIX_WROOK = binascii.a2b_hex("02") +_DGTNIX_WKNIGHT = binascii.a2b_hex("03") +_DGTNIX_WBISHOP = binascii.a2b_hex("04") +_DGTNIX_WKING = binascii.a2b_hex("05") +_DGTNIX_WQUEEN = binascii.a2b_hex("06") +_DGTNIX_BPAWN = binascii.a2b_hex("07") +_DGTNIX_BROOK = binascii.a2b_hex("08") +_DGTNIX_BKNIGHT = binascii.a2b_hex("09") +_DGTNIX_BBISHOP = binascii.a2b_hex("0a") +_DGTNIX_BKING = binascii.a2b_hex("0b") +_DGTNIX_BQUEEN = binascii.a2b_hex("0c") + +_DGTNIX_CLOCK_MESSAGE_HEADER = binascii.a2b_hex("2b") +_DGTNIX_CLOCK_MESSAGE_FIRST_BIT = binascii.a2b_hex("0b") +_DGTNIX_CLOCK_MESSAGE_SECOND_BIT = binascii.a2b_hex("03") +_DGTNIX_CLOCK_MESSAGE_THIRD_BIT = binascii.a2b_hex("01") +_DGTNIX_CLOCK_MESSAGE_10 = binascii.a2b_hex("10") +_DGTNIX_CLOCK_MESSAGE_16 = binascii.a2b_hex("16") +_DGTNIX_CLOCK_ACK = binascii.a2b_hex("0a") + + +def timeMessageThread(client, lock): + global clockon + global wtime + global btime + global wturn + second = False + + # Should send clock ack (if needed) and time messages + + while True: + try: + # time.sleep(1) + data = client.recv(1) + manageClockMessage(client, data) + # lock.acquire() + # sendTimeMessage(client, clockon, wtime, btime, wturn) + # if second == True: + # if wturn: + # wtime -= 1 + # else: + # btime -= 1 + # if wtime < 0: + # wtime = 0 + # if btime < 0: + # btime = 0 + # second = False + # else: + # second = True + # lock.release() + except socket.error: + print("") + print("client closed, press enter to quit") + clockon = "end" + + +# not yet safe, obviously :) +def safesend(client, message): + client.send(message) + + +def initBoard(): + board = array.array("c") + for i in range(64): + board.append(_DGTNIX_EMPTY) + return board + + +def convertStrangeCharValue(v): + s = ( + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, + 25, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, + 42, 43, 44, 45, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 50, 51, 52, 53, 54, 55, 56, 57, 58, + 59, 60, 61, 62, 63, 64, 65, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 70, 71, 72, 73, 74, 75, + 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 90, 91, 92, + 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, + 111, 112, 113, 114, 115, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 130, 131, 132, 133, 134, 135, 136, 137, 138, + 139, 140, 141, 142, 143, 144, 145, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165) + for i in range(0, 255): + if s[i] == v: + return i + + +def setPiece(board, line, column, piece): + board[(line - 1) * 8 + column - 1] = piece + + +def getPiece(board, line, column): + return board[(line - 1) * 8 + column - 1] + + +def printBoard(board): + pr = " A B C D E F G H\n" + for i in range(64): + if (i % 8) == 0 and i != 0: + pr += "|\n" + if i % 8 == 0: + pr += str(8 - i / 8) + pr += " " + c, d = pieceToChar(board[i]) + pr += "|%c" % c + pr += "|\n" + sys.stdout.write(pr) + + +def waitForInitialisationMessages(client): + while init == "false": + try: + data = client.recv(1) + manageMessage(client, data) + + except socket.error: + print("client closed") + return + + +def secondsToHMS(seconds): + return (seconds / 3600, (seconds % 3600) / 60, (seconds % 3600) % 60) + + +def convertToTimeFormat(value): + value = (value << 4) / 10 + return value + + +def sendTimeMessage(client, clockon, wtime, btime, wturn): + (bhour, bmin, bsecond) = secondsToHMS(btime) + (whour, wmin, wsecond) = secondsToHMS(wtime) + bhour = convertStrangeCharValue(bhour) + bmin = convertStrangeCharValue(bmin) + bsecond = convertStrangeCharValue(bsecond) + whour = convertStrangeCharValue(whour) + wmin = convertStrangeCharValue(wmin) + wsecond = convertStrangeCharValue(wsecond) + # print "sending time message %d:%d:%d %d:%d:%d" % (whour, wmin, wsecond, bhour, bmin, bsecond) + safesend(client, _DGTNIX_BWTIME) + safesend(client, chr(0)) + safesend(client, chr(10)) + safesend(client, chr(bhour)) + safesend(client, chr(bmin)) + safesend(client, chr(bsecond)) + safesend(client, chr(0)) + safesend(client, chr(wmin)) + safesend(client, chr(wsecond)) + if not clockon: + safesend(client, chr(0)) + elif wturn == True: + safesend(client, chr(1)) + else: + safesend(client, chr(255)) + btime -= 1 + wtime -= 1 + if wturn == True: + wturn = False + else: + wturn = True + + +def int2byte(i): + return struct.pack("!B", i) + + +def manageClockMessage(client, data): + if data == _DGTNIX_CLOCK_MESSAGE_HEADER: + # print "Got a clock message" + # Handling a clock message + first_bit = client.recv(1) + second_bit = client.recv(1) + third_bit = client.recv(1) + assert first_bit == _DGTNIX_CLOCK_MESSAGE_FIRST_BIT + assert second_bit == _DGTNIX_CLOCK_MESSAGE_SECOND_BIT + assert third_bit == _DGTNIX_CLOCK_MESSAGE_THIRD_BIT + + message = [] + + for i in range(6): + message.append(convertLCDToChar(client.recv(1))) + + # For some (obscure?) reason, these bits must be swapped for the DGT XL clock + message[0], message[2] = message[2], message[0] + message[3], message[5] = message[5], message[3] + + for i in range(3): + client.recv(1) + + print("Clock message received: [%s] " % message) + client.send(_DGTNIX_BWTIME) + client.send(_DGTNIX_NONE) + + client.send(_DGTNIX_CLOCK_MESSAGE_10) + client.send(_DGTNIX_WPAWN) + client.send(_DGTNIX_CLOCK_MESSAGE_10) + client.send(_DGTNIX_NONE) + client.send(_DGTNIX_CLOCK_ACK) + client.send(_DGTNIX_NONE) + + +def convertLCDToChar(b): + lcd_char_map = {0x01 | 0x02 | 0x20 | 0x08 | 0x04 | 0x10: '0', + 0x02 | 0x04: '1', + 0x01 | 0x40 | 0x08 | 0x02 | 0x10: '2', + 0x01 | 0x40 | 0x08 | 0x02 | 0x04: '3', + 0x20 | 0x04 | 0x40 | 0x02: '4', + 0x01 | 0x40 | 0x08 | 0x20 | 0x04: '5', + 0x01 | 0x40 | 0x08 | 0x20 | 0x04 | 0x10: '6', + + 0x02 | 0x04 | 0x01: '7', + 0x01 | 0x02 | 0x20 | 0x40 | 0x04 | 0x10 | 0x08: '8', + 0x01 | 0x40 | 0x08 | 0x02 | 0x04 | 0x20: '9', + 0x01 | 0x02 | 0x20 | 0x40 | 0x04 | 0x10: 'a', + 0x20 | 0x04 | 0x40 | 0x08 | 0x10: 'b', + 0x01 | 0x20 | 0x10 | 0x08: 'c', + 0x10 | 0x40 | 0x08 | 0x02 | 0x04: 'd', + 0x01 | 0x40 | 0x08 | 0x20 | 0x10: 'e', + 0x01 | 0x40 | 0x20 | 0x10: 'f', + 0x01 | 0x20 | 0x10 | 0x08 | 0x04: 'g', + 0x20 | 0x10 | 0x04 | 0x40: 'h', + 0x02 | 0x04: 'i', + 0x02 | 0x04 | 0x08 | 0x10: 'j', + 0x01 | 0x20 | 0x40 | 0x04 | 0x10: 'k', + 0x20 | 0x10 | 0x08: 'l', + 0x01 | 0x40 | 0x04 | 0x10: 'm', + 0x40 | 0x04 | 0x10: 'n', + 0x40 | 0x04 | 0x10 | 0x08: 'o', + 0x01 | 0x40 | 0x20 | 0x10 | 0x02: 'p', + 0x01 | 0x40 | 0x20 | 0x04 | 0x02: 'q', + 0x40 | 0x10: 'r', + 0x01 | 0x40 | 0x08 | 0x20 | 0x04: 's', + 0x20 | 0x10 | 0x08 | 0x40: 't', + 0x08 | 0x02 | 0x20 | 0x04 | 0x10: 'u', + 0x08 | 0x02 | 0x20: 'v', + 0x40 | 0x08 | 0x20 | 0x02: 'w', + 0x20 | 0x10 | 0x04 | 0x40 | 0x02: 'x', + 0x20 | 0x08 | 0x04 | 0x40 | 0x02: 'y', + 0x01 | 0x40 | 0x08 | 0x02 | 0x10: 'z'} + if ord(b) in lcd_char_map: + return lcd_char_map[ord(b)] + return ' ' + + +def manageMessage(client, data): + message = "" + global init + if data != "": + if data == _DGTNIX_SEND_BRD: + message = "received DGTNIX_SEND_BRD" + safesend(client, _DGTNIX_BOARD_DUMP) + safesend(client, _DGTNIX_NONE) + safesend(client, binascii.a2b_hex("43")) + # the board is initially set to be empty + for x in range(64): + safesend(client, _DGTNIX_EMPTY) + elif data == _DGTNIX_SEND_UPDATE_BRD: + message = "received DGTNIX_SEND_UPDATE_BRD" + sys.exit() + elif data == _DGTNIX_SEND_SERIALNR: + message = "received DGTNIX_SEND_SERIALNR" + safesend(client, _DGTNIX_SERIALNR) + safesend(client, _DGTNIX_NONE) + safesend(client, binascii.a2b_hex("06")) + safesend(client, '0') + safesend(client, '.') + safesend(client, '0') + elif data == _DGTNIX_SEND_BUSADDRESS: + message = "received DGTNIX_SEND_BUSADDRESS" + safesend(client, _DGTNIX_BUSADDRESS) + safesend(client, _DGTNIX_NONE) + safesend(client, binascii.a2b_hex("05")) + safesend(client, binascii.a2b_hex("00")) + safesend(client, binascii.a2b_hex("00")) + elif data == _DGTNIX_SEND_TRADEMARK: + message = "received DGTNIX_SEND_TRADEMARK" + safesend(client, _DGTNIX_TRADEMARK) + safesend(client, _DGTNIX_NONE) + trademark = "dgtnix virtual board, http://dgtnix.sourceforge.net/" + safesend(client, chr(len(trademark) + 3)) + safesend(client, trademark) + elif data == _DGTNIX_SEND_VERSION: + message = "received DGTNIX_SEND_VERSION" + safesend(client, _DGTNIX_VERSION) + safesend(client, _DGTNIX_NONE) + safesend(client, binascii.a2b_hex("05")) + safesend(client, binascii.a2b_hex("00")) + safesend(client, binascii.a2b_hex("00")) + elif data == _DGTNIX_SEND_UPDATE_NICE: + message = "received DGTNIX_SEND_UPDATE_NICE" + elif data == _DGTNIX_SEND_RESET: + message = "received DGTNIX_SEND_RESET" + elif data == _DGTNIX_SEND_UPDATE: + print("received DGTNIX_SEND_UPDATE") + init = "true" + + ####################This message are not handled by dgtnix ! + elif data == _DGTNIX_SEND_EE_MOVES: + print("received DGTNIX_SEND_EE_MOVES") + print("this message is not handled by dgtnix") + sys.exit() + elif data == _DGTNIX_SEND_CLK: + print("received DGTNIX_SEND_CLK") + print("this message is not handled by dgtnix") + sys.exit() + else: + message = "unrecognized message from dgtnix:%c" % data # + print(message) + sys.exit() + + +def pieceToChar(piece): + if piece == _DGTNIX_WPAWN: + return 'P', "white pawn" + elif piece == _DGTNIX_WROOK: + return 'R', "white rook" + elif piece == _DGTNIX_WKNIGHT: + return 'N', "white knight" + elif piece == _DGTNIX_WBISHOP: + return 'B', "white bishop" + elif piece == _DGTNIX_WKING: + return 'K', "white king" + elif piece == _DGTNIX_WQUEEN: + return 'Q', "white queen" + elif piece == _DGTNIX_BPAWN: + return 'p', "black pawn" + elif piece == _DGTNIX_BROOK: + return 'r', "black rook" + elif piece == _DGTNIX_BKNIGHT: + return 'n', "black knight" + elif piece == _DGTNIX_BBISHOP: + return 'b', "black bishop" + elif piece == _DGTNIX_BKING: + return 'k', "black king" + elif piece == _DGTNIX_BQUEEN: + return 'q', "black queen" + elif piece == _DGTNIX_EMPTY: + return ' ', "empty" + else: + return 0, "error" + + +def toColumnLine(c, l): + if ascii.isalpha(c) == False: + print("invalid column") + return -1, -1 + if ascii.isupper(c): + cColumn = c.lower() + else: + cColumn = c + column = ord(cColumn) - ord('a') + if column < 0 or column > 7: + print("invalid column") + return -1, -1 + if ascii.isdigit(l) == False: + print("invalid line") + return -1, -1 + line = int(l) - 1 + line = 7 - line + if line < 0 or line > 7: + print("invalid line") + return -1, -1 + return column, line + + +def charToPiece(char): + if char == 'P': + return _DGTNIX_WPAWN, "white pawn" + elif char == 'R': + return _DGTNIX_WROOK, "white rook" + elif char == 'N': + return _DGTNIX_WKNIGHT, "white knight" + elif char == 'B': + return _DGTNIX_WBISHOP, "white bishop" + elif char == 'K': + return _DGTNIX_WKING, "white king" + elif char == 'Q': + return _DGTNIX_WQUEEN, "white queen" + elif char == 'p': + return _DGTNIX_BPAWN, "black pawn" + elif char == 'r': + return _DGTNIX_BROOK, "black rook" + elif char == 'n': + return _DGTNIX_BKNIGHT, "black knight" + elif char == 'b': + return _DGTNIX_BBISHOP, "black bishop" + elif char == 'k': + return _DGTNIX_BKING, "black king" + elif char == 'q': + return _DGTNIX_BQUEEN, "black queen" + elif char == 'd' or char == 'D': + return _DGTNIX_EMPTY, "nothing" + else: + return 0, "error" + + +def manageStandardMove(c, board): + if len(c) != 4: + print("invalid command :%s " % c) + return 0 + column_i, line_i = toColumnLine(c[0], c[1]) + if column_i == -1: + return 0 + column_f, line_f = toColumnLine(c[2], c[3]) + if column_f == -1: + return 0 + if getPiece(board, line_i + 1, column_i + 1) == _DGTNIX_EMPTY: + print("move piece from %c%c impossible, the square is empty" % (c[0], c[1])) + return 0 + piece = getPiece(board, line_i + 1, column_i + 1) + msgRemove = "t" + chr(ord('a') + column_i) + str(8 - line_i) + if manageRemovePiece(msgRemove, board) == 0: + return 0 + + if getPiece(board, line_f + 1, column_f + 1) != _DGTNIX_EMPTY: + msgRemove = "t" + chr(ord('a') + column_f) + str(8 - line_f) + manageRemovePiece(msgRemove, board) + + piece, s = pieceToChar(piece) + msgAdd = piece + chr(ord('a') + column_f) + str(8 - line_f) + manageAddPiece(msgAdd, board) + return 1 + + +def manageRemovePiece(c, board): + if len(c) != 3: + print("invalid command") + return 0 + column, line = toColumnLine(c[1], c[2]) + if column == -1: + return 0 + position = column + line * 8 + if getPiece(board, line + 1, column + 1) == _DGTNIX_EMPTY: + print("cannot take piece from %c%c, the square is empty" % (c[1], c[2])) + return 1 + piece, sPiece = pieceToChar(getPiece(board, line + 1, column + 1)) + print("Removing %s from %c%c" % (sPiece, c[1], c[2])) + safesend(client, _DGTNIX_FIELD_UPDATE) + safesend(client, _DGTNIX_NONE) + safesend(client, chr(5)) + safesend(client, chr(position)) + safesend(client, _DGTNIX_EMPTY) + setPiece(board, line + 1, column + 1, _DGTNIX_EMPTY) + return 1 + + +def manageAddPiece(c, board): + if len(c) != 3: + print("invalid command") + return 0 + piece, sPiece = charToPiece(c[0]) + if piece == 0: + print("invalid piece") + return 0 + column, line = toColumnLine(c[1], c[2]) + if column == -1: + return 0 + + position = column + line * 8 + if getPiece(board, line + 1, column + 1) != _DGTNIX_EMPTY: + print("cannot add piece on %c%c, the square is not empty!" % (c[1], c[2])) + return 2, column, line + print("Adding %s on %c%c" % (sPiece, c[1], c[2])) + safesend(client, _DGTNIX_FIELD_UPDATE) + safesend(client, _DGTNIX_NONE) + safesend(client, chr(5)) + safesend(client, chr(position)) + safesend(client, piece) + setPiece(board, line + 1, column + 1, piece) + return 1 + + +filename = "" +print("**************************") +print("* dgtnix virtual board *") +print("**************************") +if len(sys.argv) == 1: + filename = "/tmp/dgtnixBoard" + print("Using default filename for socket(%s)" % filename) + print("(you can change it by passing the filename as first argument)") + print("Use this name as the port for the dgtnixInit(const char *port) function") +elif len(sys.argv) == 2: + filename = sys.argv[1] + print("using %s filename for socket" % sys.argv[1]) +else: + print("usage:%s " % sys.argv[0]) + sys.exit() + +if os.path.exists(filename): + os.remove(filename) +try: + sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) + sock.bind(filename) +except socket.error as msg: + # print "open->I/O error(%s): %s" % (errno, strerror) + print('open->I/O error(%s)', msg) + if os.path.exists(filename): + os.remove(filename) + sys.exit() + +sock.listen(1) +while 1: + print("Waiting for a client to connect on %s (Ctrl-c to quit)" % filename) + (client, address) = sock.accept() + print("*Connected*") + board = initBoard() + waitForInitialisationMessages(client) + clockon = False + + # clockAckNeeded = False + + btime = 10000 + wtime = 1000 + wturn = True + # lock=thread.allocate_lock() + # thread.start_new_thread(timeMessageThread, (client, lock, )) + lock = threading.Lock + x = threading.Thread(timeMessageThread, (client, lock,)).setDaemon(True).start() + lock = x.lock + + savedCommands = "" + print("command mode(h for help)") + try: + while 1: + sys.stdout.write("command:") + c = sys.stdin.readline() + c = c.strip('\n') + if c == "start": + c = "Rh1, Ng1, Bf1, Ke1, Qd1, Bc1, Nb1, Ra1," + c += "Ph2, Pg2, Pf2, Pe2, Pd2, Pc2, Pb2, Pa2," + c += "rh8, ng8, bf8, ke8, qd8, bc8, nb8, ra8," + c += "ph7, pg7, pf7, pe7, pd7, pc7, pb7, pa7" + elif c == "setup": + c = "Qa1,Qh1" + elif c == "clear": + board = initBoard() + continue + elif c == "custom": + c = "Kg2, kg7,Pg3,ta1,th1" + for command in c.split(','): + if clockon == "end": + sys.exit(1) + + command = command.strip() + result = 1 + if command == "": + continue + if command == "quit" or command == "q": + print("bye") + client.close() + sys.exit() + elif command == "help" or command == "h" or command == "?": + print("Here is a list of the implemented commands :") + print(" -h or help or ? : display this help") + print(" -q or quit : quit") + print(" -d or display : display the board") + print(" -c or commands : display previous commands") + print(" -add piece simply by typing the piece and the square") + print(" white pieces :K,Q,R,B,N,P") + print(" black pieces :k,q,r,b,n,p") + print(" the square notation (as for example a8) is case independant") + print(" example, Qa8 add a white queen on a8 (if the square is free)") + print(" -t : take/remove a piece followed square ") + print(" ta4 remove piece from a4 if exists example") + print(" -e2e4 : you can append move in the standard form ") + print(" a piece 'take' will be generated and ") + print(" a second if the destination square is not empty ") + print(" and then a piece add") + print(" -s/whitetime/blacktime or swatch/whitetime/blacktime") + print(" turn the clock on with times whitetime and blacktime") + print(" or turn the clock off if the clock was on (in this case ") + print(" whitetime and blacktime are obviously facultatives") + print(" example: s/600/1200 start the clock with white time 10 minutes") + print(" and black time 20 minutes") + print(" time values are integers in seconds !!") + print(" -o or otherplayer") + print(" simulate a push on the clock button") + print(" if it was white's turns, then it is now black's turns and") + print(" reciprocally") + print(" -z/time or zzz/time") + print(" simply sleep for time seconds") + print(" time value is real number in seconds !!") + print("") + print("You can combine multiple commands by separating them with comma") + print("For example you can generate an initial position by typing :") + sys.stdout.write("Rh1, Ng1, Bf1, Ke1, Qd1, Bc1, Nb1, Ra1,") + sys.stdout.write("Ph2, Pg2, Pf2, Pe2, Pd2, Pc2, Pb2, Pa2,") + sys.stdout.write("rh8, ng8, bf8, ke8, qd8, bc8, nb8, ra8,") + sys.stdout.write("ph7, pg7, pf7, pe7, pd7, pc7, pb7, pa7\n") + print("and you can even simulate a real game (here Fischer/Spassky 1992.11.04)") + print("by issuing such commands :") + sys.stdout.write(gameExample) + print("Note that at the connection, the virtual board is clear of any piece.") + elif command == "display" or command == "d": + printBoard(board) + elif command == "commands" or command == "c": + print(savedCommands) + continue + elif command.startswith("swatch") or command[0] == "s": + lock.acquire() + if clockon == True: + clockon = False + print("clock off") + else: + wtime = int(command.split('/')[1]) + btime = int(command.split('/')[2]) + clockon = True + wturn = True + print("clock set to on, white player, times :%ds / %ds" % (wtime, btime)) + lock.release() + elif command == "otherplayer" or command == "o": + lock.acquire() + if wturn == True: + print("changed player's turn to black's turn") + wturn = False + else: + print("changed player's turn to white's turn") + wturn = True + lock.release() + elif command.startswith("zzz") or command[0] == "z": + print("sleeping for %1.2f seconds" % float(command.split('/')[1])) + time.sleep(float(command.split('/')[1])) + elif len(command) == 4: + lock.acquire() + result = manageStandardMove(command, board) + lock.release() + elif command[0] == 't': + lock.acquire() + result = manageRemovePiece(command, board) + lock.release() + else: + lock.acquire() + result = manageAddPiece(command, board) + lock.release() + if result == 1: + if savedCommands == "": + savedCommands = command + else: + savedCommands = savedCommands + "," + command + except (KeyboardInterrupt, SystemExit): + client.close() + if os.path.exists(filename): + os.remove(filename) + sys.exit() diff --git a/test/dgtpicom-debug.so b/test/dgtpicom-debug.so new file mode 100644 index 0000000..e1b4639 Binary files /dev/null and b/test/dgtpicom-debug.so differ diff --git a/test/webserver73.jpg b/test/webserver73.jpg new file mode 100644 index 0000000..e968b14 Binary files /dev/null and b/test/webserver73.jpg differ diff --git a/test/webserver85.jpg b/test/webserver85.jpg new file mode 100644 index 0000000..814ff6f Binary files /dev/null and b/test/webserver85.jpg differ diff --git a/test/x86_64/a-stockfish b/test/x86_64/a-stockfish new file mode 100644 index 0000000..8823ac7 Binary files /dev/null and b/test/x86_64/a-stockfish differ diff --git a/test/x86_64/a-stockfish.uci b/test/x86_64/a-stockfish.uci new file mode 100644 index 0000000..1b75fec --- /dev/null +++ b/test/x86_64/a-stockfish.uci @@ -0,0 +1,63 @@ +[Level@00] +skill level = 0 + +[Level@01] +skill level = 1 + +[Level@02] +skill level = 2 + +[Level@03] +skill level = 3 + +[Level@04] +skill level = 4 + +[Level@05] +skill level = 5 + +[Level@06] +skill level = 6 + +[Level@07] +skill level = 7 + +[Level@08] +skill level = 8 + +[Level@09] +skill level = 9 + +[Level@10] +skill level = 10 + +[Level@11] +skill level = 11 + +[Level@12] +skill level = 12 + +[Level@13] +skill level = 13 + +[Level@14] +skill level = 14 + +[Level@15] +skill level = 15 + +[Level@16] +skill level = 16 + +[Level@17] +skill level = 17 + +[Level@18] +skill level = 18 + +[Level@19] +skill level = 19 + +[Level@20] +skill level = 20 + diff --git a/test/x86_64/engines.ini b/test/x86_64/engines.ini new file mode 100644 index 0000000..74a180d --- /dev/null +++ b/test/x86_64/engines.ini @@ -0,0 +1,5 @@ +[a-stockfish] +small = stockfish +large = Stockfish7 +name = Stockfish 7 64 +medium = stockfish diff --git a/timecontrol.py b/timecontrol.py new file mode 100644 index 0000000..d36ae22 --- /dev/null +++ b/timecontrol.py @@ -0,0 +1,211 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import time +import threading +import logging +import copy +from math import floor + +from utilities import Observable, hms_time +import chess +from dgt.api import Event +from dgt.util import TimeMode + + +class TimeControl(object): + + """Control the picochess internal clock.""" + + def __init__(self, mode=TimeMode.FIXED, fixed=0, blitz=0, fischer=0, internal_time=None): + super(TimeControl, self).__init__() + self.mode = mode + self.move_time = fixed + self.game_time = blitz + self.fisch_inc = fischer + self.internal_time = internal_time + + self.clock_time = {chess.WHITE: 0, chess.BLACK: 0} # saves the sended clock time for white/black + self.timer = None + self.run_color = None + self.active_color = None + self.start_time = None + + if internal_time: # preset the clock (received) time already + self.clock_time[chess.WHITE] = int(internal_time[chess.WHITE]) + self.clock_time[chess.BLACK] = int(internal_time[chess.BLACK]) + else: + self.reset() + + def __eq__(self, other): + chk_mode = self.mode == other.mode + chk_secs = self.move_time == other.move_time + chk_mins = self.game_time == other.game_time + chk_finc = self.fisch_inc == other.fisch_inc + return chk_mode and chk_secs and chk_mins and chk_finc + + def __hash__(self): + value = str(self.mode) + str(self.move_time) + str(self.game_time) + str(self.fisch_inc) + return hash(value) + + def get_parameters(self): + """Return the state of this class for generating a new instance.""" + return {'mode': self.mode, 'fixed': self.move_time, 'blitz': self.game_time, + 'fischer': self.fisch_inc, 'internal_time': self.internal_time} + + def get_list_text(self): + """Get the clock list text for the current time setting.""" + if self.mode == TimeMode.FIXED: + return '{:2d}'.format(self.move_time) + if self.mode == TimeMode.BLITZ: + return '{:2d}'.format(self.game_time) + if self.mode == TimeMode.FISCHER: + return '{:2d} {:2d}'.format(self.game_time, self.fisch_inc) + return 'errtm' + + def reset(self): + """Reset the clock's times for both players.""" + if self.mode == TimeMode.BLITZ: + self.clock_time[chess.WHITE] = self.clock_time[chess.BLACK] = self.game_time * 60 + + elif self.mode == TimeMode.FISCHER: + self.clock_time[chess.WHITE] = self.clock_time[chess.BLACK] = self.game_time * 60 + self.fisch_inc + + elif self.mode == TimeMode.FIXED: + self.clock_time[chess.WHITE] = self.clock_time[chess.BLACK] = self.move_time + + self.internal_time = {chess.WHITE: float(self.clock_time[chess.WHITE]), + chess.BLACK: float(self.clock_time[chess.BLACK])} + self.active_color = None + + def _log_time(self): + time_w, time_b = self.get_internal_time(flip_board=False) + return hms_time(time_w), hms_time(time_b) + + def get_internal_time(self, flip_board=False): + """Return the startup time for setting the clock at beginning.""" + i_time = copy.copy(self.internal_time) + if flip_board: + i_time[chess.WHITE], i_time[chess.BLACK] = i_time[chess.BLACK], i_time[chess.WHITE] + return int(i_time[chess.WHITE]), int(i_time[chess.BLACK]) + + def set_clock_times(self, white_time: int, black_time: int): + """Set the times send from the clock.""" + logging.info('set clock times w:%s b:%s', hms_time(white_time), hms_time(black_time)) + self.clock_time[chess.WHITE] = white_time + self.clock_time[chess.BLACK] = black_time + + def reset_start_time(self): + """Set the start time to the current time.""" + self.start_time = time.time() + + def _out_of_time(self, time_start): + """Fire an OUT_OF_TIME event.""" + self.run_color = None + if self.mode == TimeMode.FIXED: + logging.debug('timeout - but in "MoveTime" mode, dont fire event') + elif self.active_color is not None: + display_color = 'WHITE' if self.active_color == chess.WHITE else 'BLACK' + txt = 'current clock time (before subtracting) is %f and color is %s, out of time event started from %f' + logging.debug(txt, self.internal_time[self.active_color], display_color, time_start) + Observable.fire(Event.OUT_OF_TIME(color=self.active_color)) + + def add_time(self, color): + """Add the increment value to the color given.""" + assert self.internal_running() is False, 'internal clock still running for: %s' % self.run_color + if self.mode == TimeMode.FISCHER: + # log times - issue #184 + w_hms, b_hms = self._log_time() + logging.info('before internal time w:%s - b:%s', w_hms, b_hms) + + self.internal_time[color] += self.fisch_inc + self.clock_time[color] += self.fisch_inc + + # log times - issue #184 + w_hms, b_hms = self._log_time() + logging.info('after internal time w:%s - b:%s', w_hms, b_hms) + + if self.mode == TimeMode.FIXED: + self.reset() + + def start_internal(self, color, log=True): + """Start the internal clock.""" + if not self.internal_running(): + if self.mode in (TimeMode.BLITZ, TimeMode.FISCHER): + self.active_color = color + self.reset_start_time() + + if log: + w_hms, b_hms = self._log_time() + logging.info('start internal time w:%s - b:%s [ign]', w_hms, b_hms) + logging.info('received clock time w:%s - b:%s [use]', + hms_time(self.clock_time[chess.WHITE]), hms_time(self.clock_time[chess.BLACK])) + + self.internal_time[chess.WHITE] = self.clock_time[chess.WHITE] + self.internal_time[chess.BLACK] = self.clock_time[chess.BLACK] + + # Only start thread if not already started for same color, and the player has not already lost on time + if self.internal_time[color] > 0 and self.active_color is not None and self.run_color != self.active_color: + self.timer = threading.Timer(copy.copy(self.internal_time[color]), self._out_of_time, + [copy.copy(self.internal_time[color])]) + self.timer.start() + logging.debug('internal timer started - color: %s run: %s active: %s', + color, self.run_color, self.active_color) + self.run_color = self.active_color + + def stop_internal(self, log=True): + """Stop the internal clock.""" + if self.internal_running() and self.mode in (TimeMode.BLITZ, TimeMode.FISCHER): + if log: + w_hms, b_hms = self._log_time() + logging.info('old internal time w:%s b:%s', w_hms, b_hms) + + if self.timer: + self.timer.cancel() + self.timer.join() + else: + logging.warning('time=%s', self.internal_time) + used_time = floor((time.time() - self.start_time) * 10) / 10 + if log: + logging.info('used time: %s secs', used_time) + self.internal_time[self.active_color] -= used_time + if self.internal_time[self.active_color] < 0: + self.internal_time[self.active_color] = 0 + + if log: + w_hms, b_hms = self._log_time() + logging.info('new internal time w:%s b:%s', w_hms, b_hms) + self.run_color = self.active_color = None + + def internal_running(self): + """Return if the internal clock is running.""" + return self.active_color is not None + + def uci(self): + """Return remaining time for both players in an UCI dict.""" + uci_dict = {} + if self.mode in (TimeMode.BLITZ, TimeMode.FISCHER): + uci_dict['wtime'] = str(int(self.internal_time[chess.WHITE] * 1000)) + uci_dict['btime'] = str(int(self.internal_time[chess.BLACK] * 1000)) + + if self.mode == TimeMode.FISCHER: + uci_dict['winc'] = str(self.fisch_inc * 1000) + uci_dict['binc'] = str(self.fisch_inc * 1000) + elif self.mode == TimeMode.FIXED: + uci_dict['movetime'] = str(self.move_time * 1000) + + return uci_dict diff --git a/uci/__init__.py b/uci/__init__.py new file mode 100644 index 0000000..cbd6413 --- /dev/null +++ b/uci/__init__.py @@ -0,0 +1,23 @@ +#!/usr/bin/env python3 + +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +__all__ = ['engine', 'informer', 'read', 'write'] +__author__ = 'Jürgen Précour' +__email__ = 'LocutusOfPenguin@posteo.de' +__version__ = '0.9m' diff --git a/uci/engine.py b/uci/engine.py new file mode 100644 index 0000000..fd0bfc0 --- /dev/null +++ b/uci/engine.py @@ -0,0 +1,278 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import logging +import os +import configparser +import spur +import paramiko + +from subprocess import DEVNULL +from dgt.api import Event +from utilities import Observable +import chess.uci +from chess import Board +from uci.informer import Informer +from uci.read import read_engine_ini + + +class UciShell(object): + + """Handle the uci engine shell.""" + + def __init__(self, hostname=None, username=None, key_file=None, password=None): + super(UciShell, self).__init__() + if hostname: + logging.info('connecting to [%s]', hostname) + if key_file: + self.shell = spur.SshShell(hostname=hostname, username=username, private_key_file=key_file, + missing_host_key=paramiko.AutoAddPolicy()) + else: + self.shell = spur.SshShell(hostname=hostname, username=username, password=password, + missing_host_key=paramiko.AutoAddPolicy()) + else: + self.shell = None + + def get(self): + return self.shell + + +class UciEngine(object): + + """Handle the uci engine communication.""" + + def __init__(self, file: str, uci_shell: UciShell, home=''): + super(UciEngine, self).__init__() + try: + self.shell = uci_shell.get() + if home: + file = home + os.sep + file + if self.shell: + self.engine = chess.uci.spur_spawn_engine(self.shell, [file]) + else: + self.engine = chess.uci.popen_engine(file, stderr=DEVNULL) + + self.file = file + if self.engine: + handler = Informer() + self.engine.info_handlers.append(handler) + self.engine.uci() + else: + logging.error('engine executable [%s] not found', file) + self.options = {} + self.future = None + self.show_best = True + + self.res = None + self.level_support = False + self.installed_engines = read_engine_ini(self.shell, (file.rsplit(os.sep, 1))[0]) + + except OSError: + logging.exception('OS error in starting engine') + except TypeError: + logging.exception('engine executable not found') + + def get_name(self): + """Get engine name.""" + return self.engine.name + + def get_options(self): + """Get engine options.""" + return self.engine.options + + def option(self, name, value): + """Set OptionName with value.""" + self.options[name] = value + + def send(self): + """Send options to engine.""" + self.engine.setoption(self.options) + + def has_levels(self): + """Return engine level support.""" + has_lv = self.has_skill_level() or self.has_handicap_level() or self.has_limit_strength() or self.has_strength() + return self.level_support or has_lv + + def has_skill_level(self): + """Return engine skill level support.""" + return 'Skill Level' in self.engine.options + + def has_handicap_level(self): + """Return engine handicap level support.""" + return 'Handicap Level' in self.engine.options + + def has_limit_strength(self): + """Return engine limit strength support.""" + return 'UCI_LimitStrength' in self.engine.options + + def has_strength(self): + """Return engine strength support.""" + return 'Strength' in self.engine.options + + def has_chess960(self): + """Return chess960 support.""" + return 'UCI_Chess960' in self.engine.options + + def has_ponder(self): + """Return ponder support.""" + return 'Ponder' in self.engine.options + + def get_file(self): + """Get File.""" + return self.file + + def get_installed_engines(self): + """Get installed engines.""" + return self.installed_engines + + def position(self, game: Board): + """Set position.""" + self.engine.position(game) + + def quit(self): + """Quit engine.""" + if self.engine.quit(): # Ask nicely + if self.engine.terminate(): # If you won't go nicely.... + if self.engine.kill(): # Right that does it! + return False + return True + + def uci(self): + """Send start uci command.""" + self.engine.uci() + + def stop(self, show_best=False): + """Stop engine.""" + logging.info('show_best old: %s new: %s', self.show_best, show_best) + self.show_best = show_best + if self.is_waiting(): + logging.info('engine already stopped') + return self.res + try: + self.engine.stop() + except chess.uci.EngineTerminatedException: + logging.error('Engine terminated') # @todo find out, why this can happen! + return self.future.result() + + def go(self, time_dict: dict): + """Go engine.""" + self.show_best = True + time_dict['async_callback'] = self.callback + + # Observable.fire(Event.START_SEARCH()) + self.future = self.engine.go(**time_dict) + return self.future + + def ponder(self): + """Ponder engine.""" + self.show_best = False + + # Observable.fire(Event.START_SEARCH()) + self.future = self.engine.go(ponder=True, infinite=True, async_callback=self.callback) + return self.future + + def brain(self, time_dict: dict): + """Permanent brain.""" + self.show_best = True + time_dict['ponder'] = True + time_dict['async_callback'] = self.callback3 + + # Observable.fire(Event.START_SEARCH()) + self.future = self.engine.go(**time_dict) + return self.future + + def hit(self): + """Send a ponder hit.""" + logging.info('show_best: %s', self.show_best) + self.engine.ponderhit() + self.show_best = True + + def callback(self, command): + """Callback function.""" + try: + self.res = command.result() + except chess.uci.EngineTerminatedException: + logging.error('Engine terminated') # @todo find out, why this can happen! + self.show_best = False + logging.info('res: %s', self.res) + # Observable.fire(Event.STOP_SEARCH()) + if self.show_best and self.res: + Observable.fire(Event.BEST_MOVE(move=self.res.bestmove, ponder=self.res.ponder, inbook=False)) + else: + logging.info('event best_move not fired') + + def callback3(self, command): + """Callback function.""" + try: + self.res = command.result() + except chess.uci.EngineTerminatedException: + logging.error('Engine terminated') # @todo find out, why this can happen! + self.show_best = False + logging.info('res: %s', self.res) + # Observable.fire(Event.STOP_SEARCH()) + if self.show_best and self.res: + Observable.fire(Event.BEST_MOVE(move=self.res.bestmove, ponder=self.res.ponder, inbook=False)) + else: + logging.info('event best_move not fired') + + def is_thinking(self): + """Engine thinking.""" + return not self.engine.idle and not self.engine.pondering + + def is_pondering(self): + """Engine pondering.""" + return not self.engine.idle and self.engine.pondering + + def is_waiting(self): + """Engine waiting.""" + return self.engine.idle + + def newgame(self, game: Board): + """Engine sometimes need this to setup internal values.""" + self.engine.ucinewgame() + self.engine.position(game) + + def mode(self, ponder: bool, analyse: bool): + """Set engine mode.""" + self.engine.setoption({'Ponder': ponder, 'UCI_AnalyseMode': analyse}) + + def startup(self, options: dict, show=True): + """Startup engine.""" + parser = configparser.ConfigParser() + parser.optionxform = str + + if not options: + if self.shell is None: + success = parser.read(self.get_file() + '.uci') + else: + try: + with self.shell.open(self.get_file() + '.uci', 'r') as file: + parser.read_file(file) + success = True + except FileNotFoundError: + success = False + if success: + options = dict(parser[parser.sections().pop()]) + + self.level_support = bool(options) + + logging.debug('setting engine with options %s', options) + self.options = options + self.send() + if show: + logging.debug('Loaded engine [%s]', self.get_name()) + logging.debug('Supported options [%s]', self.get_options()) diff --git a/uci/informer.py b/uci/informer.py new file mode 100644 index 0000000..a880b74 --- /dev/null +++ b/uci/informer.py @@ -0,0 +1,96 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +from threading import Timer + +from utilities import Observable +from dgt.api import Event +import chess.uci + + +class Informer(chess.uci.InfoHandler): + + """Internal uci engine info handler.""" + + def __init__(self): + super(Informer, self).__init__() + self.allow_score = True + self.allow_pv = True + self.allow_depth = True + + def on_go(self): + """Engine sends GO.""" + self.allow_score = True + self.allow_pv = True + self.allow_depth = True + Observable.fire(Event.START_SEARCH()) + super().on_go() + + def on_bestmove(self, bestmove, ponder): + Observable.fire(Event.STOP_SEARCH()) + super().on_bestmove(bestmove, ponder) + + def _reset_allow_score(self): + self.allow_score = True + + def _reset_allow_pv(self): + self.allow_pv = True + + def _reset_allow_depth(self): + self.allow_depth = True + + def _allow_fire_score(self): + if self.allow_score: + self.allow_score = False + Timer(0.5, self._reset_allow_score).start() + return True + else: + return False + + def _allow_fire_pv(self): + if self.allow_pv: + self.allow_pv = False + Timer(0.5, self._reset_allow_pv).start() + return True + else: + return False + + def _allow_fire_depth(self): + if self.allow_depth: + self.allow_depth = False + Timer(0.5, self._reset_allow_depth).start() + return True + else: + return False + + def score(self, cp, mate, lowerbound, upperbound): + """Engine sends SCORE.""" + if self._allow_fire_score(): + Observable.fire(Event.NEW_SCORE(score=cp, mate=mate)) + super().score(cp, mate, lowerbound, upperbound) + + def pv(self, moves): + """Call when engine sends PV.""" + if self._allow_fire_pv() and moves: + Observable.fire(Event.NEW_PV(pv=moves)) + super().pv(moves) + + def depth(self, dep): + """Engine sends DEPTH.""" + if self._allow_fire_depth(): + Observable.fire(Event.NEW_DEPTH(depth=dep)) + super().depth(dep) diff --git a/uci/read.py b/uci/read.py new file mode 100644 index 0000000..bc8f1e1 --- /dev/null +++ b/uci/read.py @@ -0,0 +1,73 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import platform +import configparser +import os +from dgt.api import Dgt + + +def read_engine_ini(engine_shell=None, engine_path=None): + """Read engine.ini and creates a library list out of it.""" + config = configparser.ConfigParser() + config.optionxform = str + try: + if engine_shell is None: + if not engine_path: + program_path = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) + engine_path = program_path + os.sep + 'engines' + os.sep + platform.machine() + config.read(engine_path + os.sep + 'engines.ini') + else: + with engine_shell.open(engine_path + os.sep + 'engines.ini', 'r') as file: + config.read_file(file) + except FileNotFoundError: + pass + + library = [] + for section in config.sections(): + parser = configparser.ConfigParser() + parser.optionxform = str + + level_dict = {} + if engine_shell is None: + success = parser.read(engine_path + os.sep + section + '.uci') + else: + try: + with engine_shell.open(engine_path + os.sep + section + '.uci', 'r') as file: + parser.read_file(file) + success = True + except FileNotFoundError: + success = False + if success: + for p_section in parser.sections(): + level_dict[p_section] = {} + for option in parser.options(p_section): + level_dict[p_section][option] = parser[p_section][option] + + confsect = config[section] + text = Dgt.DISPLAY_TEXT(l=confsect['large'], m=confsect['medium'], s=confsect['small'], wait=True, beep=False, + maxtime=0, devs={'ser', 'i2c', 'web'}) + library.append( + { + 'file': engine_path + os.sep + section, + 'level_dict': level_dict, + 'text': text, + 'name': confsect['name'], + 'elo': confsect['elo'] + } + ) + return library diff --git a/uci/write.py b/uci/write.py new file mode 100644 index 0000000..2ccc15a --- /dev/null +++ b/uci/write.py @@ -0,0 +1,143 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import platform +import configparser +import os +from uci.engine import UciShell, UciEngine + + +def write_engine_ini(engine_path=None): + """Read the engine folder and create the engine.ini file.""" + def write_level_ini(engine_filename: str): + """Write the level part for the engine.ini file.""" + def calc_inc(diflevel: int): + """Calculate the increment for (max 20) levels.""" + if diflevel > 1000: + inc = int(diflevel / 100) + else: + inc = int(diflevel / 10) + if 20 * inc < diflevel: + inc = int(diflevel / 20) + return inc + + parser = configparser.ConfigParser() + parser.optionxform = str + if not parser.read(engine_path + os.sep + engine_filename + '.uci'): + options = engine.get_options() + if engine.has_limit_strength(): + uelevel = options['UCI_Elo'] + minelo = uelevel.min + maxelo = uelevel.max + minlevel, maxlevel = min(minelo, maxelo), max(minelo, maxelo) + lvl_inc = calc_inc(maxlevel - minlevel) + level = minlevel + while level < maxlevel: + parser['Elo@{:04d}'.format(level)] = {'UCI_LimitStrength': 'true', 'UCI_Elo': str(level)} + level += lvl_inc + parser['Elo@{:04d}'.format(maxlevel)] = {'UCI_LimitStrength': 'false', 'UCI_Elo': str(maxlevel)} + if engine.has_skill_level(): + sklevel = options['Skill Level'] + minlevel = sklevel.min + maxlevel = sklevel.max + minlevel, maxlevel = min(minlevel, maxlevel), max(minlevel, maxlevel) + for level in range(minlevel, maxlevel + 1): + parser['Level@{:02d}'.format(level)] = {'Skill Level': str(level)} + if engine.has_handicap_level(): + sklevel = options['Handicap Level'] + minlevel = sklevel.min + maxlevel = sklevel.max + minlevel, maxlevel = min(minlevel, maxlevel), max(minlevel, maxlevel) + for level in range(minlevel, maxlevel + 1): + parser['Level@{:02d}'.format(level)] = {'Handicap Level': str(level)} + if engine.has_strength(): + sklevel = options['Strength'] + minlevel = sklevel.min + maxlevel = sklevel.max + minlevel, maxlevel = min(minlevel, maxlevel), max(minlevel, maxlevel) + lvl_inc = calc_inc(maxlevel - minlevel) + level = minlevel + count = 0 + while level < maxlevel: + parser['Level@{:02d}'.format(count)] = {'Strength': str(level)} + level += lvl_inc + count += 1 + parser['Level@{:02d}'.format(count)] = {'Strength': str(maxlevel)} + with open(engine_path + os.sep + engine_filename + '.uci', 'w') as configfile: + parser.write(configfile) + + def is_exe(fpath: str): + """Check if fpath is an executable.""" + return os.path.isfile(fpath) and os.access(fpath, os.X_OK) + + def name_build(parts: list, maxlength: int, default_name: str): + """Get a (clever formed) cut name for the part list.""" + eng_name = '' + for token in parts: + if len(eng_name) + len(token) > maxlength: + break + eng_name += token + return eng_name if eng_name else default_name + + if not engine_path: + program_path = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) + engine_path = program_path + os.sep + 'engines' + os.sep + platform.machine() + engine_list = sorted(os.listdir(engine_path)) + config = configparser.ConfigParser() + config.optionxform = str + uci_shell = UciShell() + for engine_file_name in engine_list: + if is_exe(engine_path + os.sep + engine_file_name): + engine = UciEngine(file=engine_path + os.sep + engine_file_name, uci_shell=uci_shell) + if engine: + print(engine_file_name) + try: + if engine.has_levels(): + write_level_ini(engine_file_name) + engine_name = engine.get_name() + + name_parts = engine_name.replace('.', '').split(' ') + name_small = name_build(name_parts, 6, engine_file_name[2:]) + name_medium = name_build(name_parts, 8, name_small) + name_large = name_build(name_parts, 11, name_medium) + + config[engine_file_name] = {} + + # config[engine_file_name][';available options'] = 'itsDefaultValue' + engine_options = engine.get_options() + for option in engine_options: + config[engine_file_name][str(';' + option)] = str(engine_options[option].default) + + comp_elo = 2500 + engine_elo = {'stockfish': 3360, 'texel': 3050, 'rodent': 2920, + 'zurichess': 2790, 'wyld': 2630, 'sayuri': 1850} + for name, elo in engine_elo.items(): + if engine_name.lower().startswith(name): + comp_elo = elo + break + + config[engine_file_name]['name'] = engine_name + config[engine_file_name]['small'] = name_small + config[engine_file_name]['medium'] = name_medium + config[engine_file_name]['large'] = name_large + config[engine_file_name]['elo'] = str(comp_elo) + + except AttributeError: + pass + engine.quit() + with open(engine_path + os.sep + 'engines.ini', 'w') as configfile: + config.write(configfile) diff --git a/utilities.py b/utilities.py new file mode 100644 index 0000000..57d6d5d --- /dev/null +++ b/utilities.py @@ -0,0 +1,283 @@ +# Copyright (C) 2013-2018 Jean-Francois Romang (jromang@posteo.de) +# Shivkumar Shivaji () +# Jürgen Précour (LocutusOfPenguin@posteo.de) +# +# This program 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. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +import logging +import queue +import os +import platform +import urllib.request +import socket +import json +import time +import copy +import configparser + +from threading import Timer +from subprocess import Popen, PIPE + +from dgt.translate import DgtTranslate +from dgt.api import Dgt + +from configobj import ConfigObj, ConfigObjError, DuplicateError + +# picochess version +version = '09n' + +evt_queue = queue.Queue() +dispatch_queue = queue.Queue() + +msgdisplay_devices = [] +dgtdisplay_devices = [] + + +class Observable(object): + + """Input devices are observable.""" + + def __init__(self): + super(Observable, self).__init__() + + @staticmethod + def fire(event): + """Put an event on the Queue.""" + evt_queue.put(copy.deepcopy(event)) + + +class DispatchDgt(object): + + """Input devices are observable.""" + + def __init__(self): + super(DispatchDgt, self).__init__() + + @staticmethod + def fire(dgt): + """Put an event on the Queue.""" + dispatch_queue.put(copy.deepcopy(dgt)) + + +class DisplayMsg(object): + + """Display devices (DGT XL clock, Piface LCD, pgn file...).""" + + def __init__(self): + super(DisplayMsg, self).__init__() + self.msg_queue = queue.Queue() + msgdisplay_devices.append(self) + + @staticmethod + def show(message): + """Send a message on each display device.""" + for display in msgdisplay_devices: + display.msg_queue.put(copy.deepcopy(message)) + + +class DisplayDgt(object): + + """Display devices (DGT XL clock, Piface LCD, pgn file...).""" + + def __init__(self): + super(DisplayDgt, self).__init__() + self.dgt_queue = queue.Queue() + dgtdisplay_devices.append(self) + + @staticmethod + def show(message): + """Send a message on each display device.""" + for display in dgtdisplay_devices: + display.dgt_queue.put(copy.deepcopy(message)) + + +class RepeatedTimer(object): + + """Call function on a given interval.""" + + def __init__(self, interval, function, *args, **kwargs): + self._timer = None + self.interval = interval + self.function = function + self.args = args + self.kwargs = kwargs + self.timer_running = False + + def _run(self): + self.timer_running = False + self.start() + self.function(*self.args, **self.kwargs) + + def is_running(self): + """Return the running status.""" + return self.timer_running + + def start(self): + """Start the RepeatedTimer.""" + if not self.timer_running: + self._timer = Timer(self.interval, self._run) + self._timer.start() + self.timer_running = True + else: + logging.info('repeated timer already running - strange!') + + def stop(self): + """Stop the RepeatedTimer.""" + if self.timer_running: + self._timer.cancel() + self.timer_running = False + else: + logging.info('repeated timer already stopped - strange!') + + +def get_opening_books(): + """Build an opening book lib.""" + config = configparser.ConfigParser() + config.optionxform = str + program_path = os.path.dirname(os.path.realpath(__file__)) + os.sep + book_path = program_path + 'books' + config.read(book_path + os.sep + 'books.ini') + + library = [] + for section in config.sections(): + text = Dgt.DISPLAY_TEXT(l=config[section]['large'], m=config[section]['medium'], s=config[section]['small'], + wait=True, beep=False, maxtime=0, devs={'ser', 'i2c', 'web'}) + library.append( + { + 'file': 'books' + os.sep + section, + 'text': text + } + ) + return library + + +def hms_time(seconds: int): + """Transfer a seconds integer to hours,mins,secs.""" + if seconds < 0: + logging.warning('negative time %i', seconds) + return 0, 0, 0 + mins, secs = divmod(seconds, 60) + hours, mins = divmod(mins, 60) + return hours, mins, secs + + +def do_popen(command, log=True, force_en_env=False): + """Connect via Popen and log the result.""" + if force_en_env: # force an english environment + force_en_env = os.environ.copy() + force_en_env['LC_ALL'] = 'C' + stdout, stderr = Popen(command, stdout=PIPE, stderr=PIPE, env=force_en_env).communicate() + else: + stdout, stderr = Popen(command, stdout=PIPE, stderr=PIPE).communicate() + if log: + logging.debug([output.decode(encoding='UTF-8') for output in [stdout, stderr]]) + return stdout.decode(encoding='UTF-8') + + +def git_name(): + """Get the git execute name.""" + return 'git.exe' if platform.system() == 'Windows' else 'git' + + +def get_tags(): + """Get the last 3 tags from git.""" + #git = git_name() + #tags = [(tags, tags[1] + tags[-2:]) for tags in do_popen([git, 'tag'], log=False).split('\n')[-4:-1]] + #return tags # returns something like [('v0.9j', 09j'), ('v0.9k', '09k'), ('v0.9l', '09l')] + + +def checkout_tag(tag): + """Update picochess by tag from git.""" + git = git_name() + do_popen([git, 'checkout', tag]) + do_popen(['pip3', 'install', '-r', 'requirements.txt']) + + +def update_picochess(dgtpi: bool, auto_reboot: bool, dgttranslate: DgtTranslate): + """Update picochess from git.""" + git = git_name() + + branch = do_popen([git, 'rev-parse', '--abbrev-ref', 'HEAD'], log=False).rstrip() + if branch == 'master': + # Fetch remote repo + do_popen([git, 'remote', 'update']) + # Check if update is needed - need to make sure, we get english answers + output = do_popen([git, 'status', '-uno'], force_en_env=True) + if 'up-to-date' not in output and 'Your branch is ahead of' not in output: + DispatchDgt.fire(dgttranslate.text('Y25_update')) + # Update + logging.debug('updating picochess') + do_popen([git, 'pull', 'origin', branch]) + do_popen(['pip3', 'install', '-r', 'requirements.txt']) + if auto_reboot: + reboot(dgtpi, dev='web') + else: + time.sleep(2) # give time to display the "update" message + else: + logging.debug('no update available') + else: + logging.warning('wrong branch %s', branch) + + +def shutdown(dgtpi: bool, dev: str): + """Shutdown picochess.""" + logging.debug('shutting down system requested by (%s)', dev) + time.sleep(3) # give some time to send out the pgn file or speak the event + if platform.system() == 'Windows': + os.system('shutdown /s') + elif dgtpi: + os.system('systemctl isolate dgtpistandby.target') + else: + os.system('shutdown -h now') + + +def reboot(dgtpi: bool, dev: str): + """Reboot picochess.""" + logging.debug('rebooting system requested by (%s)', dev) + time.sleep(3) # give some time to send out the pgn file or speak the event + if platform.system() == 'Windows': + os.system('shutdown /r') + elif dgtpi: + os.system('systemctl restart picochess') + else: + os.system('reboot') + + +def get_location(): + """Return the location of the user and the external and interal ip adr.""" + try: + sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) + sock.connect(('8.8.8.8', 80)) + int_ip = sock.getsockname()[0] + sock.close() + + response = urllib.request.urlopen('http://will6.de/freegeoip') + j = json.loads(response.read().decode()) + country_name = j['country_name'] + ' ' if 'country_name' in j else '' + country_code = j['country_code'] + ' ' if 'country_code' in j else '' + ext_ip = j['ip'] if 'ip' in j else None + city = j['city'] + ', ' if 'city' in j else '' + return (city + country_name + country_code).strip(), ext_ip, int_ip + except: + return '?', None, None + + +def write_picochess_ini(key: str, value): + """Update picochess.ini config file with key/value.""" + try: + config = ConfigObj('picochess.ini') + config[key] = value + config.write() + except (ConfigObjError, DuplicateError) as conf_exc: + logging.exception(conf_exc) diff --git a/web/.gitattributes b/web/.gitattributes new file mode 100644 index 0000000..176a458 --- /dev/null +++ b/web/.gitattributes @@ -0,0 +1 @@ +* text=auto diff --git a/web/.gitignore b/web/.gitignore new file mode 100644 index 0000000..5fdb39b --- /dev/null +++ b/web/.gitignore @@ -0,0 +1,4 @@ +.DS_Store +*~ +*.pyc +.sass-cache diff --git a/web/Gruntfile.js b/web/Gruntfile.js new file mode 100644 index 0000000..66c0854 --- /dev/null +++ b/web/Gruntfile.js @@ -0,0 +1,194 @@ +module.exports = function( grunt ) { + 'use strict'; + // + // Grunt configuration: + // + // https://github.com/cowboy/grunt/blob/master/docs/getting_started.md + // + grunt.initConfig({ + + // Project configuration + // --------------------- + + // specify an alternate install location for Bower + bower: { + dir: 'picoweb/components' + }, + + // Coffee to JS compilation + coffee: { + compile: { + files: { + 'temp/js/*.js': 'picoweb/static/js/*.coffee' + }, + options: { + basePath: 'picoweb/static/js' + } + } + }, + + // compile .scss/.sass to .css using Compass + compass: { + dist: { + // http://compass-style.org/help/tutorials/configuration-reference/#configuration-properties + options: { + css_dir: 'picoweb/static/css', + sass_dir: 'picoweb/static/css', + images_dir: 'picoweb/static/img', + javascripts_dir: 'picoweb/static/js', + force: true + } + } + }, + + // generate application cache manifest + manifest:{ + dest: '' + }, + + // headless testing through PhantomJS + mocha: { + all: ['test/**/*.html'] + }, + + // default watch configuration + watch: { + coffee: { + files: 'picoweb/static/js/*.coffee', + tasks: 'coffee reload' + }, + compass: { + files: [ + 'picoweb/static/css/*.{scss,sass}' + ], + tasks: 'compass reload' + }, + reload: { + files: [ + 'picoweb/templates/*.html', + 'picoweb/static/css/**/*.css', + 'picoweb/static/js/**/*.js', + 'picoweb/static/img/**/*' + ], + tasks: 'reload' + } + }, + + // default lint configuration, change this to match your setup: + // https://github.com/cowboy/grunt/blob/master/docs/task_lint.md#lint-built-in-task + lint: { + files: [ + 'Gruntfile.js', + 'picoweb/static/js/**/*.js', + 'spec/**/*.js' + ] + }, + + // specifying JSHint options and globals + // https://github.com/cowboy/grunt/blob/master/docs/task_lint.md#specifying-jshint-options-and-globals + jshint: { + options: { + curly: true, + eqeqeq: true, + immed: true, + latedef: true, + newcap: true, + noarg: true, + sub: true, + undef: true, + boss: true, + eqnull: true, + browser: true + }, + globals: { + jQuery: true + } + }, + + // Build configuration + // ------------------- + + // the staging directory used during the process + staging: 'temp', + // final build output + output: 'dist', + + mkdirs: { + staging: 'picoweb/' + }, + + // Below, all paths are relative to the staging directory, which is a copy + // of the picoweb/ directory. Any .gitignore, .ignore and .buildignore file + // that might appear in the picoweb/ tree are used to ignore these values + // during the copy process. + + // concat css/**/*.css files, inline @import, output a single minified css + css: { + 'css/main.css': ['css/**/*.css'] + }, + + // renames JS/CSS to prepend a hash of their contents for easier + // versioning + rev: { + js: 'js/**/*.js', + css: 'css/**/*.css', + img: 'img/**' + }, + + // usemin handler should point to the file containing + // the usemin blocks to be parsed + 'usemin-handler': { + html: 'index.html' + }, + + // update references in HTML/CSS to revved files + usemin: { + html: ['**/*.html'], + css: ['**/*.css'] + }, + + // HTML minification + html: { + files: ['**/*.html'] + }, + + // Optimizes JPGs and PNGs (with jpegtran & optipng) + img: { + dist: '' + }, + + // rjs configuration. You don't necessarily need to specify the typical + // `path` configuration, the rjs task will parse these values from your + // main module, using http://requirejs.org/docs/optimization.html#mainConfigFile + // + // name / out / mainConfig file should be used. You can let it blank if + // you're using usemin-handler to parse rjs config from markup (default + // setup) + rjs: { + mainFile: '../picoweb/templates/base.html', + // no minification, is done by the min task + optimize: 'none', + baseUrl: '../picoweb/static/js', + wrap: true, + name: 'main', + out: '../web/static/js/script.js' + }, + + // While Yeoman handles concat/min when using + // usemin blocks, you can still use them manually + concat: { + dist: '' + }, + + min: { + dist: '' + } + }); + + // Alias the `test` task to run the `mocha` task instead + grunt.registerTask('test', 'server:phantom mocha'); + + // Load the build task + grunt.loadNpmTasks('yeoman-flask'); + +}; diff --git a/web/__init__.py b/web/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/web/picoweb/__init__.py b/web/picoweb/__init__.py new file mode 100644 index 0000000..667542f --- /dev/null +++ b/web/picoweb/__init__.py @@ -0,0 +1,15 @@ +import os +from flask import Flask, url_for + +picoweb = Flask(__name__) + +# Determines the destination of the build. Only usefull if you're using Frozen-Flask +picoweb.config['FREEZER_DESTINATION'] = os.path.dirname(os.path.abspath(__file__)) + '/../build' + +# Function to easily find your assets +# In your template use +picoweb.jinja_env.globals['static'] = ( + lambda filename: url_for('static', filename=filename) +) + +# from web.picoweb import views diff --git a/web/picoweb/static/css/bootstrap-3.3.7.min.css b/web/picoweb/static/css/bootstrap-3.3.7.min.css new file mode 100644 index 0000000..ed3905e --- /dev/null +++ b/web/picoweb/static/css/bootstrap-3.3.7.min.css @@ -0,0 +1,6 @@ +/*! + * Bootstrap v3.3.7 (http://getbootstrap.com) + * Copyright 2011-2016 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\002a"}.glyphicon-plus:before{content:"\002b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{background-color:transparent;border:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=time].form-control,input[type=datetime-local].form-control,input[type=month].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{padding-right:15px;padding-left:15px;border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;filter:alpha(opacity=0);opacity:0;line-break:auto}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);background-color:rgba(0,0,0,0);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.modal-header:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}} +/*# sourceMappingURL=bootstrap.min.css.map */ \ No newline at end of file diff --git a/web/picoweb/static/css/bootstrap.min.css.map b/web/picoweb/static/css/bootstrap.min.css.map new file mode 100644 index 0000000..6c7fa40 --- /dev/null +++ b/web/picoweb/static/css/bootstrap.min.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["less/normalize.less","less/print.less","bootstrap.css","dist/css/bootstrap.css","less/glyphicons.less","less/scaffolding.less","less/mixins/vendor-prefixes.less","less/mixins/tab-focus.less","less/mixins/image.less","less/type.less","less/mixins/text-emphasis.less","less/mixins/background-variant.less","less/mixins/text-overflow.less","less/code.less","less/grid.less","less/mixins/grid.less","less/mixins/grid-framework.less","less/tables.less","less/mixins/table-row.less","less/forms.less","less/mixins/forms.less","less/buttons.less","less/mixins/buttons.less","less/mixins/opacity.less","less/component-animations.less","less/dropdowns.less","less/mixins/nav-divider.less","less/mixins/reset-filter.less","less/button-groups.less","less/mixins/border-radius.less","less/input-groups.less","less/navs.less","less/navbar.less","less/mixins/nav-vertical-align.less","less/utilities.less","less/breadcrumbs.less","less/pagination.less","less/mixins/pagination.less","less/pager.less","less/labels.less","less/mixins/labels.less","less/badges.less","less/jumbotron.less","less/thumbnails.less","less/alerts.less","less/mixins/alerts.less","less/progress-bars.less","less/mixins/gradients.less","less/mixins/progress-bar.less","less/media.less","less/list-group.less","less/mixins/list-group.less","less/panels.less","less/mixins/panels.less","less/responsive-embed.less","less/wells.less","less/close.less","less/modals.less","less/tooltip.less","less/mixins/reset-text.less","less/popovers.less","less/carousel.less","less/mixins/clearfix.less","less/mixins/center-block.less","less/mixins/hide-text.less","less/responsive-utilities.less","less/mixins/responsive-visibility.less"],"names":[],"mappings":";;;;4EAQA,KACE,YAAA,WACA,yBAAA,KACA,qBAAA,KAOF,KACE,OAAA,EAaF,QAAA,MAAA,QAAA,WAAA,OAAA,OAAA,OAAA,OAAA,KAAA,KAAA,IAAA,QAAA,QAaE,QAAA,MAQF,MAAA,OAAA,SAAA,MAIE,QAAA,aACA,eAAA,SAQF,sBACE,QAAA,KACA,OAAA,EAQF,SAAA,SAEE,QAAA,KAUF,EACE,iBAAA,YAQF,SAAA,QAEE,QAAA,EAUF,YACE,cAAA,IAAA,OAOF,EAAA,OAEE,YAAA,IAOF,IACE,WAAA,OAQF,GACE,OAAA,MAAA,EACA,UAAA,IAOF,KACE,MAAA,KACA,WAAA,KAOF,MACE,UAAA,IAOF,IAAA,IAEE,SAAA,SACA,UAAA,IACA,YAAA,EACA,eAAA,SAGF,IACE,IAAA,MAGF,IACE,OAAA,OAUF,IACE,OAAA,EAOF,eACE,SAAA,OAUF,OACE,OAAA,IAAA,KAOF,GACE,OAAA,EAAA,mBAAA,YAAA,gBAAA,YACA,WAAA,YAOF,IACE,SAAA,KAOF,KAAA,IAAA,IAAA,KAIE,YAAA,UAAA,UACA,UAAA,IAkBF,OAAA,MAAA,SAAA,OAAA,SAKE,OAAA,EACA,KAAA,QACA,MAAA,QAOF,OACE,SAAA,QAUF,OAAA,OAEE,eAAA,KAWF,OAAA,wBAAA,kBAAA,mBAIE,mBAAA,OACA,OAAA,QAOF,iBAAA,qBAEE,OAAA,QAOF,yBAAA,wBAEE,QAAA,EACA,OAAA,EAQF,MACE,YAAA,OAWF,qBAAA,kBAEE,mBAAA,WAAA,gBAAA,WAAA,WAAA,WACA,QAAA,EASF,8CAAA,8CAEE,OAAA,KAQF,mBACE,mBAAA,YACA,gBAAA,YAAA,WAAA,YAAA,mBAAA,UASF,iDAAA,8CAEE,mBAAA,KAOF,SACE,QAAA,MAAA,OAAA,MACA,OAAA,EAAA,IACA,OAAA,IAAA,MAAA,OAQF,OACE,QAAA,EACA,OAAA,EAOF,SACE,SAAA,KAQF,SACE,YAAA,IAUF,MACE,eAAA,EACA,gBAAA,SAGF,GAAA,GAEE,QAAA,uFCjUF,aA7FI,EAAA,OAAA,QAGI,MAAA,eACA,YAAA,eACA,WAAA,cAAA,mBAAA,eACA,WAAA,eAGJ,EAAA,UAEI,gBAAA,UAGJ,cACI,QAAA,KAAA,WAAA,IAGJ,kBACI,QAAA,KAAA,YAAA,IAKJ,6BAAA,mBAEI,QAAA,GAGJ,WAAA,IAEI,OAAA,IAAA,MAAA,KC4KL,kBAAA,MDvKK,MC0KL,QAAA,mBDrKK,IE8KN,GDLC,kBAAA,MDrKK,ICwKL,UAAA,eCUD,GF5KM,GE2KN,EF1KM,QAAA,ECuKL,OAAA,ECSD,GF3KM,GCsKL,iBAAA,MD/JK,QCkKL,QAAA,KCSD,YFtKU,oBCiKT,iBAAA,eD7JK,OCgKL,OAAA,IAAA,MAAA,KD5JK,OC+JL,gBAAA,mBCSD,UFpKU,UC+JT,iBAAA,eDzJS,mBEkKV,mBDLC,OAAA,IAAA,MAAA,gBEjPD,WACA,YAAA,uBFsPD,IAAA,+CE7OC,IAAK,sDAAuD,4BAA6B,iDAAkD,gBAAiB,gDAAiD,eAAgB,+CAAgD,mBAAoB,2EAA4E,cAE7W,WACA,SAAA,SACA,IAAA,IACA,QAAA,aACA,YAAA,uBACA,WAAA,OACA,YAAA,IACA,YAAA,EAIkC,uBAAA,YAAW,wBAAA,UACX,2BAAW,QAAA,QAEX,uBDuPlC,QAAS,QCtPyB,sBFiPnC,uBEjP8C,QAAA,QACX,wBAAW,QAAA,QACX,wBAAW,QAAA,QACX,2BAAW,QAAA,QACX,yBAAW,QAAA,QACX,wBAAW,QAAA,QACX,wBAAW,QAAA,QACX,yBAAW,QAAA,QACX,wBAAW,QAAA,QACX,uBAAW,QAAA,QACX,6BAAW,QAAA,QACX,uBAAW,QAAA,QACX,uBAAW,QAAA,QACX,2BAAW,QAAA,QACX,qBAAW,QAAA,QACX,0BAAW,QAAA,QACX,qBAAW,QAAA,QACX,yBAAW,QAAA,QACX,0BAAW,QAAA,QACX,2BAAW,QAAA,QACX,sBAAW,QAAA,QACX,yBAAW,QAAA,QACX,sBAAW,QAAA,QACX,wBAAW,QAAA,QACX,uBAAW,QAAA,QACX,uBAAW,QAAA,QACX,uBAAW,QAAA,QACX,uBAAW,QAAA,QACX,+BAAW,QAAA,QACX,2BAAW,QAAA,QACX,yBAAW,QAAA,QACX,wBAAW,QAAA,QACX,8BAAW,QAAA,QACX,yBAAW,QAAA,QACX,0BAAW,QAAA,QACX,2BAAW,QAAA,QACX,uBAAW,QAAA,QACX,uBAAW,QAAA,QACX,6BAAW,QAAA,QACX,6BAAW,QAAA,QACX,8BAAW,QAAA,QACX,4BAAW,QAAA,QACX,yBAAW,QAAA,QACX,0BAAW,QAAA,QACX,sBAAW,QAAA,QACX,uBAAW,QAAA,QACX,uBAAW,QAAA,QACX,2BAAW,QAAA,QACX,wBAAW,QAAA,QACX,yBAAW,QAAA,QACX,uBAAW,QAAA,QACX,uBAAW,QAAA,QACX,yBAAW,QAAA,QACX,8BAAW,QAAA,QACX,6BAAW,QAAA,QACX,6BAAW,QAAA,QACX,+BAAW,QAAA,QACX,8BAAW,QAAA,QACX,gCAAW,QAAA,QACX,uBAAW,QAAA,QACX,8BAAW,QAAA,QACX,+BAAW,QAAA,QACX,iCAAW,QAAA,QACX,0BAAW,QAAA,QACX,6BAAW,QAAA,QACX,yBAAW,QAAA,QACX,uBAAW,QAAA,QACX,uBAAW,QAAA,QACX,wBAAW,QAAA,QACX,wBAAW,QAAA,QACX,uBAAW,QAAA,QACX,gCAAW,QAAA,QACX,gCAAW,QAAA,QACX,2BAAW,QAAA,QACX,uBAAW,QAAA,QACX,wBAAW,QAAA,QACX,uBAAW,QAAA,QACX,0BAAW,QAAA,QACX,+BAAW,QAAA,QACX,+BAAW,QAAA,QACX,wBAAW,QAAA,QACX,+BAAW,QAAA,QACX,gCAAW,QAAA,QACX,4BAAW,QAAA,QACX,6BAAW,QAAA,QACX,8BAAW,QAAA,QACX,0BAAW,QAAA,QACX,gCAAW,QAAA,QACX,4BAAW,QAAA,QACX,6BAAW,QAAA,QACX,gCAAW,QAAA,QACX,4BAAW,QAAA,QACX,6BAAW,QAAA,QACX,6BAAW,QAAA,QACX,8BAAW,QAAA,QACX,2BAAW,QAAA,QACX,6BAAW,QAAA,QACX,4BAAW,QAAA,QACX,8BAAW,QAAA,QACX,+BAAW,QAAA,QACX,mCAAW,QAAA,QACX,uBAAW,QAAA,QACX,uBAAW,QAAA,QACX,uBAAW,QAAA,QACX,2BAAW,QAAA,QACX,4BAAW,QAAA,QACX,+BAAW,QAAA,QACX,wBAAW,QAAA,QACX,2BAAW,QAAA,QACX,yBAAW,QAAA,QACX,0BAAW,QAAA,QACX,yBAAW,QAAA,QACX,6BAAW,QAAA,QACX,+BAAW,QAAA,QACX,0BAAW,QAAA,QACX,gCAAW,QAAA,QACX,+BAAW,QAAA,QACX,8BAAW,QAAA,QACX,kCAAW,QAAA,QACX,oCAAW,QAAA,QACX,sBAAW,QAAA,QACX,2BAAW,QAAA,QACX,uBAAW,QAAA,QACX,8BAAW,QAAA,QACX,4BAAW,QAAA,QACX,8BAAW,QAAA,QACX,6BAAW,QAAA,QACX,4BAAW,QAAA,QACX,0BAAW,QAAA,QACX,4BAAW,QAAA,QACX,qCAAW,QAAA,QACX,oCAAW,QAAA,QACX,kCAAW,QAAA,QACX,oCAAW,QAAA,QACX,wBAAW,QAAA,QACX,yBAAW,QAAA,QACX,wBAAW,QAAA,QACX,yBAAW,QAAA,QACX,4BAAW,QAAA,QACX,6BAAW,QAAA,QACX,4BAAW,QAAA,QACX,4BAAW,QAAA,QACX,8BAAW,QAAA,QACX,uBAAW,QAAA,QACX,wBAAW,QAAA,QACX,0BAAW,QAAA,QACX,sBAAW,QAAA,QACX,sBAAW,QAAA,QACX,uBAAW,QAAA,QACX,mCAAW,QAAA,QACX,uCAAW,QAAA,QACX,gCAAW,QAAA,QACX,oCAAW,QAAA,QACX,qCAAW,QAAA,QACX,yCAAW,QAAA,QACX,4BAAW,QAAA,QACX,yBAAW,QAAA,QACX,gCAAW,QAAA,QACX,8BAAW,QAAA,QACX,yBAAW,QAAA,QACX,wBAAW,QAAA,QACX,0BAAW,QAAA,QACX,6BAAW,QAAA,QACX,yBAAW,QAAA,QACX,uBAAW,QAAA,QACX,uBAAW,QAAA,QACX,wBAAW,QAAA,QACX,yBAAW,QAAA,QACX,yBAAW,QAAA,QACX,uBAAW,QAAA,QACX,8BAAW,QAAA,QACX,+BAAW,QAAA,QACX,gCAAW,QAAA,QACX,8BAAW,QAAA,QACX,8BAAW,QAAA,QACX,8BAAW,QAAA,QACX,2BAAW,QAAA,QACX,0BAAW,QAAA,QACX,yBAAW,QAAA,QACX,6BAAW,QAAA,QACX,2BAAW,QAAA,QACX,4BAAW,QAAA,QACX,wBAAW,QAAA,QACX,wBAAW,QAAA,QACX,2BAAW,QAAA,QACX,2BAAW,QAAA,QACX,4BAAW,QAAA,QACX,+BAAW,QAAA,QACX,8BAAW,QAAA,QACX,4BAAW,QAAA,QACX,4BAAW,QAAA,QACX,4BAAW,QAAA,QACX,iCAAW,QAAA,QACX,oCAAW,QAAA,QACX,iCAAW,QAAA,QACX,+BAAW,QAAA,QACX,+BAAW,QAAA,QACX,iCAAW,QAAA,QACX,qBAAW,QAAA,QACX,4BAAW,QAAA,QACX,4BAAW,QAAA,QACX,2BAAW,QAAA,QACX,uBAAW,QAAA,QASX,wBAAW,QAAA,QACX,wBAAW,QAAA,QACX,4BAAW,QAAA,QACX,uBAAW,QAAA,QACX,wBAAW,QAAA,QACX,uBAAW,QAAA,QACX,yBAAW,QAAA,QACX,yBAAW,QAAA,QACX,+BAAW,QAAA,QACX,uBAAW,QAAA,QACX,6BAAW,QAAA,QACX,sBAAW,QAAA,QACX,wBAAW,QAAA,QACX,wBAAW,QAAA,QACX,4BAAW,QAAA,QACX,uBAAW,QAAA,QACX,4BAAW,QAAA,QACX,6BAAW,QAAA,QACX,2BAAW,QAAA,QACX,0BAAW,QAAA,QACX,sBAAW,QAAA,QACX,sBAAW,QAAA,QACX,sBAAW,QAAA,QACX,sBAAW,QAAA,QACX,wBAAW,QAAA,QACX,sBAAW,QAAA,QACX,wBAAW,QAAA,QACX,4BAAW,QAAA,QACX,mCAAW,QAAA,QACX,4BAAW,QAAA,QACX,oCAAW,QAAA,QACX,kCAAW,QAAA,QACX,iCAAW,QAAA,QACX,+BAAW,QAAA,QACX,sBAAW,QAAA,QACX,wBAAW,QAAA,QACX,6BAAW,QAAA,QACX,4BAAW,QAAA,QACX,6BAAW,QAAA,QACX,kCAAW,QAAA,QACX,mCAAW,QAAA,QACX,sCAAW,QAAA,QACX,0CAAW,QAAA,QACX,oCAAW,QAAA,QACX,wCAAW,QAAA,QACX,qCAAW,QAAA,QACX,iCAAW,QAAA,QACX,gCAAW,QAAA,QACX,kCAAW,QAAA,QACX,+BAAW,QAAA,QACX,0BAAW,QAAA,QACX,8BAAW,QAAA,QACX,4BAAW,QAAA,QACX,4BAAW,QAAA,QACX,6BAAW,QAAA,QACX,4BAAW,QAAA,QCtS/C,0BCgEE,QAAA,QHi+BF,EDNC,mBAAA,WGxhCI,gBAAiB,WFiiCZ,WAAY,WGl+BZ,OADL,QJg+BJ,mBAAA,WGthCI,gBAAiB,WACpB,WAAA,WHyhCD,KGrhCC,UAAW,KAEX,4BAAA,cAEA,KACA,YAAA,iBAAA,UAAA,MAAA,WHuhCD,UAAA,KGnhCC,YAAa,WF4hCb,MAAO,KACP,iBAAkB,KExhClB,OADA,MAEA,OHqhCD,SG/gCC,YAAa,QACb,UAAA,QACA,YAAA,QAEA,EFwhCA,MAAO,QEthCL,gBAAA,KAIF,QH8gCD,QKjkCC,MAAA,QACA,gBAAA,UF6DF,QACE,QAAA,IAAA,KAAA,yBHygCD,eAAA,KGlgCC,OHqgCD,OAAA,ECSD,IACE,eAAgB,ODDjB,4BM/kCC,0BLklCF,gBKnlCE,iBADA,eH4EA,QAAS,MACT,UAAA,KHugCD,OAAA,KGhgCC,aACA,cAAA,IAEA,eACA,QAAA,aC6FA,UAAA,KACK,OAAA,KACG,QAAA,IEvLR,YAAA,WACA,iBAAA,KACA,OAAA,IAAA,MAAA,KN+lCD,cAAA,IGjgCC,mBAAoB,IAAI,IAAI,YAC5B,cAAA,IAAA,IAAA,YHmgCD,WAAA,IAAA,IAAA,YG5/BC,YACA,cAAA,IAEA,GH+/BD,WAAA,KGv/BC,cAAe,KACf,OAAA,EACA,WAAA,IAAA,MAAA,KAEA,SACA,SAAA,SACA,MAAA,IACA,OAAA,IACA,QAAA,EHy/BD,OAAA,KGj/BC,SAAA,OF0/BA,KAAM,cEx/BJ,OAAA,EAEA,0BACA,yBACA,SAAA,OACA,MAAA,KHm/BH,OAAA,KGx+BC,OAAQ,EACR,SAAA,QH0+BD,KAAA,KCSD,cACE,OAAQ,QAQV,IACA,IMlpCE,IACA,IACA,IACA,INwoCF,GACA,GACA,GACA,GACA,GACA,GDAC,YAAA,QOlpCC,YAAa,IN2pCb,YAAa,IACb,MAAO,QAoBT,WAZA,UAaA,WAZA,UM5pCI,WN6pCJ,UM5pCI,WN6pCJ,UM5pCI,WN6pCJ,UDMC,WCLD,UACA,UAZA,SAaA,UAZA,SAaA,UAZA,SAaA,UAZA,SAaA,UAZA,SAaA,UAZA,SMppCE,YAAa,INwqCb,YAAa,EACb,MAAO,KAGT,IMxqCE,IAJF,IN2qCA,GAEA,GDLC,GCSC,WAAY,KACZ,cAAe,KASjB,WANA,UDCC,WCCD,UM5qCA,WN8qCA,UACA,UANA,SM5qCI,UN8qCJ,SM3qCA,UN6qCA,SAQE,UAAW,IAGb,IMprCE,IAJF,INurCA,GAEA,GDLC,GCSC,WAAY,KACZ,cAAe,KASjB,WANA,UDCC,WCCD,UMvrCA,WNyrCA,UACA,UANA,SMxrCI,UN0rCJ,SMtrCA,UNwrCA,SMxrCU,UAAA,IACV,IAAA,GAAU,UAAA,KACV,IAAA,GAAU,UAAA,KACV,IAAA,GAAU,UAAA,KACV,IAAA,GAAU,UAAA,KACV,IAAA,GAAU,UAAA,KAOR,IADF,GPssCC,UAAA,KCSD,EMzsCE,OAAA,EAAA,EAAA,KAEA,MPosCD,cAAA,KO/rCC,UAAW,KAwOX,YAAa,IA1OX,YAAA,IPssCH,yBO7rCC,MNssCE,UAAW,MMjsCf,OAAA,MAEE,UAAA,IAKF,MP0rCC,KO1rCsB,QAAA,KP6rCtB,iBAAA,QO5rCsB,WP+rCtB,WAAA,KO9rCsB,YPisCtB,WAAA,MOhsCsB,aPmsCtB,WAAA,OOlsCsB,cPqsCtB,WAAA,QOlsCsB,aPqsCtB,YAAA,OOpsCsB,gBPusCtB,eAAA,UOtsCsB,gBPysCtB,eAAA,UOrsCC,iBPwsCD,eAAA,WQ3yCC,YR8yCD,MAAA,KCSD,cOpzCI,MAAA,QAHF,qBDwGF,qBP6sCC,MAAA,QCSD,cO3zCI,MAAA,QAHF,qBD2GF,qBPitCC,MAAA,QCSD,WOl0CI,MAAA,QAHF,kBD8GF,kBPqtCC,MAAA,QCSD,cOz0CI,MAAA,QAHF,qBDiHF,qBPytCC,MAAA,QCSD,aOh1CI,MAAA,QDwHF,oBAHF,oBExHE,MAAA,QACA,YR01CA,MAAO,KQx1CL,iBAAA,QAHF,mBF8HF,mBP2tCC,iBAAA,QCSD,YQ/1CI,iBAAA,QAHF,mBFiIF,mBP+tCC,iBAAA,QCSD,SQt2CI,iBAAA,QAHF,gBFoIF,gBPmuCC,iBAAA,QCSD,YQ72CI,iBAAA,QAHF,mBFuIF,mBPuuCC,iBAAA,QCSD,WQp3CI,iBAAA,QF6IF,kBADF,kBAEE,iBAAA,QPsuCD,aO7tCC,eAAgB,INsuChB,OAAQ,KAAK,EAAE,KMpuCf,cAAA,IAAA,MAAA,KAFF,GPkuCC,GCSC,WAAY,EACZ,cAAe,KM9tCf,MP0tCD,MO3tCD,MAPI,MASF,cAAA,EAIF,eALE,aAAA,EACA,WAAA,KPkuCD,aO9tCC,aAAc,EAKZ,YAAA,KACA,WAAA,KP6tCH,gBOvtCC,QAAS,aACT,cAAA,IACA,aAAA,IAEF,GNguCE,WAAY,EM9tCZ,cAAA,KAGA,GADF,GP0tCC,YAAA,WOttCC,GPytCD,YAAA,IOnnCD,GAvFM,YAAA,EAEA,yBACA,kBGtNJ,MAAA,KACA,MAAA,MACA,SAAA,OVq6CC,MAAA,KO7nCC,WAAY,MAhFV,cAAA,SPgtCH,YAAA,OOtsCD,kBNgtCE,YAAa,OM1sCjB,0BPssCC,YOrsCC,OAAA,KA9IqB,cAAA,IAAA,OAAA,KAmJvB,YACE,UAAA,IACA,eAAA,UAEA,WPssCD,QAAA,KAAA,KOjsCG,OAAA,EAAA,EAAA,KN0sCF,UAAW,OACX,YAAa,IAAI,MAAM,KMptCzB,yBP+sCC,wBO/sCD,yBNytCE,cAAe,EMnsCb,kBAFA,kBACA,iBPksCH,QAAA,MO/rCG,UAAA,INwsCF,YAAa,WACb,MAAO,KMhsCT,yBP2rCC,yBO3rCD,wBAEE,QAAA,cAEA,oBACA,sBACA,cAAA,KP6rCD,aAAA,EOvrCG,WAAA,MNgsCF,aAAc,IAAI,MAAM,KACxB,YAAa,EMhsCX,kCNksCJ,kCMnsCe,iCACX,oCNmsCJ,oCDLC,mCCUC,QAAS,GMjsCX,iCNmsCA,iCMzsCM,gCAOJ,mCNmsCF,mCDLC,kCO7rCC,QAAA,cPksCD,QWv+CC,cAAe,KVg/Cf,WAAY,OACZ,YAAa,WU7+Cb,KXy+CD,IWr+CD,IACE,KACA,YAAA,MAAA,OAAA,SAAA,cAAA,UAEA,KACA,QAAA,IAAA,IXu+CD,UAAA,IWn+CC,MAAO,QACP,iBAAA,QACA,cAAA,IAEA,IACA,QAAA,IAAA,IACA,UAAA,IV4+CA,MU5+CA,KXq+CD,iBAAA,KW3+CC,cAAe,IASb,mBAAA,MAAA,EAAA,KAAA,EAAA,gBACA,WAAA,MAAA,EAAA,KAAA,EAAA,gBAEA,QV6+CF,QU7+CE,EXq+CH,UAAA,KWh+CC,YAAa,IACb,mBAAA,KACA,WAAA,KAEA,IACA,QAAA,MACA,QAAA,MACA,OAAA,EAAA,EAAA,KACA,UAAA,KACA,YAAA,WACA,MAAA,KACA,WAAA,UXk+CD,UAAA,WW7+CC,iBAAkB,QAehB,OAAA,IAAA,MAAA,KACA,cAAA,IAEA,SACA,QAAA,EACA,UAAA,QXi+CH,MAAA,QW59CC,YAAa,SACb,iBAAA,YACA,cAAA,EC1DF,gBCHE,WAAA,MACA,WAAA,OAEA,Wb8hDD,cAAA,KYxhDC,aAAA,KAqEA,aAAc,KAvEZ,YAAA,KZ+hDH,yBY1hDC,WAkEE,MAAO,OZ69CV,yBY5hDC,WA+DE,MAAO,OZk+CV,0BYzhDC,WCvBA,MAAA,QAGA,iBbmjDD,cAAA,KYthDC,aAAc,KCvBd,aAAA,KACA,YAAA,KCAE,KACE,aAAA,MAEA,YAAA,MAGA,UAAA,WAAA,WAAA,WAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,WAAA,WAAA,WAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,WAAA,WAAA,WAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,WAAA,WAAA,WAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UdgjDL,SAAA,SchiDG,WAAA,IACE,cAAA,KdkiDL,aAAA,Kc1hDG,UAAA,WAAA,WAAA,WAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,Ud6hDH,MAAA,Kc7hDG,WdgiDH,MAAA,KchiDG,WdmiDH,MAAA,acniDG,WdsiDH,MAAA,actiDG,UdyiDH,MAAA,IcziDG,Ud4iDH,MAAA,ac5iDG,Ud+iDH,MAAA,ac/iDG,UdkjDH,MAAA,IcljDG,UdqjDH,MAAA,acrjDG,UdwjDH,MAAA,acxjDG,Ud2jDH,MAAA,Ic3jDG,Ud8jDH,MAAA,ac/iDG,UdkjDH,MAAA,YcljDG,gBdqjDH,MAAA,KcrjDG,gBdwjDH,MAAA,acxjDG,gBd2jDH,MAAA,ac3jDG,ed8jDH,MAAA,Ic9jDG,edikDH,MAAA,acjkDG,edokDH,MAAA,acpkDG,edukDH,MAAA,IcvkDG,ed0kDH,MAAA,ac1kDG,ed6kDH,MAAA,ac7kDG,edglDH,MAAA,IchlDG,edmlDH,MAAA,ac9kDG,edilDH,MAAA,YchmDG,edmmDH,MAAA,KcnmDG,gBdsmDH,KAAA,KctmDG,gBdymDH,KAAA,aczmDG,gBd4mDH,KAAA,ac5mDG,ed+mDH,KAAA,Ic/mDG,edknDH,KAAA,aclnDG,edqnDH,KAAA,acrnDG,edwnDH,KAAA,IcxnDG,ed2nDH,KAAA,ac3nDG,ed8nDH,KAAA,ac9nDG,edioDH,KAAA,IcjoDG,edooDH,KAAA,ac/nDG,edkoDH,KAAA,YcnnDG,edsnDH,KAAA,KctnDG,kBdynDH,YAAA,KcznDG,kBd4nDH,YAAA,ac5nDG,kBd+nDH,YAAA,ac/nDG,iBdkoDH,YAAA,IcloDG,iBdqoDH,YAAA,acroDG,iBdwoDH,YAAA,acxoDG,iBd2oDH,YAAA,Ic3oDG,iBd8oDH,YAAA,ac9oDG,iBdipDH,YAAA,acjpDG,iBdopDH,YAAA,IcppDG,iBdupDH,YAAA,acvpDG,iBd0pDH,YAAA,Yc5rDG,iBACE,YAAA,EAOJ,yBACE,UAAA,WAAA,WAAA,WAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,Ud0rDD,MAAA,Kc1rDC,Wd6rDD,MAAA,Kc7rDC,WdgsDD,MAAA,achsDC,WdmsDD,MAAA,acnsDC,UdssDD,MAAA,IctsDC,UdysDD,MAAA,aczsDC,Ud4sDD,MAAA,ac5sDC,Ud+sDD,MAAA,Ic/sDC,UdktDD,MAAA,acltDC,UdqtDD,MAAA,acrtDC,UdwtDD,MAAA,IcxtDC,Ud2tDD,MAAA,ac5sDC,Ud+sDD,MAAA,Yc/sDC,gBdktDD,MAAA,KcltDC,gBdqtDD,MAAA,acrtDC,gBdwtDD,MAAA,acxtDC,ed2tDD,MAAA,Ic3tDC,ed8tDD,MAAA,ac9tDC,ediuDD,MAAA,acjuDC,edouDD,MAAA,IcpuDC,eduuDD,MAAA,acvuDC,ed0uDD,MAAA,ac1uDC,ed6uDD,MAAA,Ic7uDC,edgvDD,MAAA,ac3uDC,ed8uDD,MAAA,Yc7vDC,edgwDD,MAAA,KchwDC,gBdmwDD,KAAA,KcnwDC,gBdswDD,KAAA,actwDC,gBdywDD,KAAA,aczwDC,ed4wDD,KAAA,Ic5wDC,ed+wDD,KAAA,ac/wDC,edkxDD,KAAA,aclxDC,edqxDD,KAAA,IcrxDC,edwxDD,KAAA,acxxDC,ed2xDD,KAAA,ac3xDC,ed8xDD,KAAA,Ic9xDC,ediyDD,KAAA,ac5xDC,ed+xDD,KAAA,YchxDC,edmxDD,KAAA,KcnxDC,kBdsxDD,YAAA,KctxDC,kBdyxDD,YAAA,aczxDC,kBd4xDD,YAAA,ac5xDC,iBd+xDD,YAAA,Ic/xDC,iBdkyDD,YAAA,aclyDC,iBdqyDD,YAAA,acryDC,iBdwyDD,YAAA,IcxyDC,iBd2yDD,YAAA,ac3yDC,iBd8yDD,YAAA,ac9yDC,iBdizDD,YAAA,IcjzDC,iBdozDD,YAAA,acpzDC,iBduzDD,YAAA,YY9yDD,iBE3CE,YAAA,GAQF,yBACE,UAAA,WAAA,WAAA,WAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,Udw1DD,MAAA,Kcx1DC,Wd21DD,MAAA,Kc31DC,Wd81DD,MAAA,ac91DC,Wdi2DD,MAAA,acj2DC,Udo2DD,MAAA,Icp2DC,Udu2DD,MAAA,acv2DC,Ud02DD,MAAA,ac12DC,Ud62DD,MAAA,Ic72DC,Udg3DD,MAAA,ach3DC,Udm3DD,MAAA,acn3DC,Uds3DD,MAAA,Ict3DC,Udy3DD,MAAA,ac12DC,Ud62DD,MAAA,Yc72DC,gBdg3DD,MAAA,Kch3DC,gBdm3DD,MAAA,acn3DC,gBds3DD,MAAA,act3DC,edy3DD,MAAA,Icz3DC,ed43DD,MAAA,ac53DC,ed+3DD,MAAA,ac/3DC,edk4DD,MAAA,Icl4DC,edq4DD,MAAA,acr4DC,edw4DD,MAAA,acx4DC,ed24DD,MAAA,Ic34DC,ed84DD,MAAA,acz4DC,ed44DD,MAAA,Yc35DC,ed85DD,MAAA,Kc95DC,gBdi6DD,KAAA,Kcj6DC,gBdo6DD,KAAA,acp6DC,gBdu6DD,KAAA,acv6DC,ed06DD,KAAA,Ic16DC,ed66DD,KAAA,ac76DC,edg7DD,KAAA,ach7DC,edm7DD,KAAA,Icn7DC,eds7DD,KAAA,act7DC,edy7DD,KAAA,acz7DC,ed47DD,KAAA,Ic57DC,ed+7DD,KAAA,ac17DC,ed67DD,KAAA,Yc96DC,edi7DD,KAAA,Kcj7DC,kBdo7DD,YAAA,Kcp7DC,kBdu7DD,YAAA,acv7DC,kBd07DD,YAAA,ac17DC,iBd67DD,YAAA,Ic77DC,iBdg8DD,YAAA,ach8DC,iBdm8DD,YAAA,acn8DC,iBds8DD,YAAA,Ict8DC,iBdy8DD,YAAA,acz8DC,iBd48DD,YAAA,ac58DC,iBd+8DD,YAAA,Ic/8DC,iBdk9DD,YAAA,acl9DC,iBdq9DD,YAAA,YYz8DD,iBE9CE,YAAA,GAQF,0BACE,UAAA,WAAA,WAAA,WAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,UAAA,Uds/DD,MAAA,Kct/DC,Wdy/DD,MAAA,Kcz/DC,Wd4/DD,MAAA,ac5/DC,Wd+/DD,MAAA,ac//DC,UdkgED,MAAA,IclgEC,UdqgED,MAAA,acrgEC,UdwgED,MAAA,acxgEC,Ud2gED,MAAA,Ic3gEC,Ud8gED,MAAA,ac9gEC,UdihED,MAAA,acjhEC,UdohED,MAAA,IcphEC,UduhED,MAAA,acxgEC,Ud2gED,MAAA,Yc3gEC,gBd8gED,MAAA,Kc9gEC,gBdihED,MAAA,acjhEC,gBdohED,MAAA,acphEC,eduhED,MAAA,IcvhEC,ed0hED,MAAA,ac1hEC,ed6hED,MAAA,ac7hEC,edgiED,MAAA,IchiEC,edmiED,MAAA,acniEC,edsiED,MAAA,actiEC,edyiED,MAAA,IcziEC,ed4iED,MAAA,acviEC,ed0iED,MAAA,YczjEC,ed4jED,MAAA,Kc5jEC,gBd+jED,KAAA,Kc/jEC,gBdkkED,KAAA,aclkEC,gBdqkED,KAAA,acrkEC,edwkED,KAAA,IcxkEC,ed2kED,KAAA,ac3kEC,ed8kED,KAAA,ac9kEC,edilED,KAAA,IcjlEC,edolED,KAAA,acplEC,edulED,KAAA,acvlEC,ed0lED,KAAA,Ic1lEC,ed6lED,KAAA,acxlEC,ed2lED,KAAA,Yc5kEC,ed+kED,KAAA,Kc/kEC,kBdklED,YAAA,KcllEC,kBdqlED,YAAA,acrlEC,kBdwlED,YAAA,acxlEC,iBd2lED,YAAA,Ic3lEC,iBd8lED,YAAA,ac9lEC,iBdimED,YAAA,acjmEC,iBdomED,YAAA,IcpmEC,iBdumED,YAAA,acvmEC,iBd0mED,YAAA,ac1mEC,iBd6mED,YAAA,Ic7mEC,iBdgnED,YAAA,achnEC,iBdmnED,YAAA,YetrED,iBACA,YAAA,GAGA,MACA,iBAAA,YAEA,QfyrED,YAAA,IevrEC,eAAgB,IAChB,MAAA,KfyrED,WAAA,KelrEC,GACA,WAAA,KfsrED,OexrEC,MAAO,KdmsEP,UAAW,KACX,cAAe,KcvrET,mBd0rER,mBczrEQ,mBAHA,mBACA,mBd0rER,mBDHC,QAAA,IensEC,YAAa,WAoBX,eAAA,IACA,WAAA,IAAA,MAAA,KArBJ,mBdktEE,eAAgB,OAChB,cAAe,IAAI,MAAM,KDJ1B,uCCMD,uCcrtEA,wCdstEA,wCclrEI,2CANI,2CforEP,WAAA,EezqEG,mBf4qEH,WAAA,IAAA,MAAA,KCWD,cACE,iBAAkB,Kc/pEpB,6BdkqEA,6BcjqEE,6BAZM,6BfsqEP,6BCMD,6BDHC,QAAA,ICWD,gBACE,OAAQ,IAAI,MAAM,Kc1qEpB,4Bd6qEA,4Bc7qEA,4BAQQ,4Bf8pEP,4BCMD,4Bc7pEM,OAAA,IAAA,MAAA,KAYF,4BAFJ,4BfopEC,oBAAA,IevoEG,yCf0oEH,iBAAA,QehoEC,4BACA,iBAAA,QfooED,uBe9nEG,SAAA,OdyoEF,QAAS,acxoEL,MAAA,KAEA,sBfioEL,sBgB7wEC,SAAA,OfwxEA,QAAS,WACT,MAAO,KAST,0BerxEE,0Bf+wEF,0BAGA,0BexxEM,0BAMJ,0BfgxEF,0BAGA,0BACA,0BDNC,0BCAD,0BAGA,0BASE,iBAAkB,QDLnB,sCgBlyEC,sCAAA,oCfyyEF,sCetxEM,sCf2xEJ,iBAAkB,QASpB,2Be1yEE,2BfoyEF,2BAGA,2Be7yEM,2BAMJ,2BfqyEF,2BAGA,2BACA,2BDNC,2BCAD,2BAGA,2BASE,iBAAkB,QDLnB,uCgBvzEC,uCAAA,qCf8zEF,uCe3yEM,uCfgzEJ,iBAAkB,QASpB,wBe/zEE,wBfyzEF,wBAGA,wBel0EM,wBAMJ,wBf0zEF,wBAGA,wBACA,wBDNC,wBCAD,wBAGA,wBASE,iBAAkB,QDLnB,oCgB50EC,oCAAA,kCfm1EF,oCeh0EM,oCfq0EJ,iBAAkB,QASpB,2Bep1EE,2Bf80EF,2BAGA,2Bev1EM,2BAMJ,2Bf+0EF,2BAGA,2BACA,2BDNC,2BCAD,2BAGA,2BASE,iBAAkB,QDLnB,uCgBj2EC,uCAAA,qCfw2EF,uCer1EM,uCf01EJ,iBAAkB,QASpB,0Bez2EE,0Bfm2EF,0BAGA,0Be52EM,0BAMJ,0Bfo2EF,0BAGA,0BACA,0BDNC,0BCAD,0BAGA,0BASE,iBAAkB,QDLnB,sCehtEC,sCADF,oCdwtEA,sCe12EM,sCDoJJ,iBAAA,QA6DF,kBACE,WAAY,KA3DV,WAAA,KAEA,oCACA,kBACA,MAAA,KfotED,cAAA,Ke7pEC,WAAY,OAnDV,mBAAA,yBfmtEH,OAAA,IAAA,MAAA,KCWD,yBACE,cAAe,Ec5qEjB,qCd+qEA,qCcjtEI,qCARM,qCfktET,qCCMD,qCDHC,YAAA,OCWD,kCACE,OAAQ,EcvrEV,0Dd0rEA,0Dc1rEA,0DAzBU,0Df4sET,0DCMD,0DAME,YAAa,Ec/rEf,yDdksEA,yDclsEA,yDArBU,yDfgtET,yDCMD,yDAME,aAAc,EDLjB,yDe1sEW,yDEzNV,yDjBk6EC,yDiBj6ED,cAAA,GAMA,SjBk6ED,UAAA,EiB/5EC,QAAS,EACT,OAAA,EACA,OAAA,EAEA,OACA,QAAA,MACA,MAAA,KACA,QAAA,EACA,cAAA,KACA,UAAA,KjBi6ED,YAAA,QiB95EC,MAAO,KACP,OAAA,EACA,cAAA,IAAA,MAAA,QAEA,MjBg6ED,QAAA,aiBr5EC,UAAW,Kb4BX,cAAA,IACG,YAAA,IJ63EJ,mBiBr5EC,mBAAoB,WhBg6EjB,gBAAiB,WgB95EpB,WAAA,WjBy5ED,qBiBv5EC,kBAGA,OAAQ,IAAI,EAAE,EACd,WAAA,MjBs5ED,YAAA,OiBj5EC,iBACA,QAAA,MAIF,kBhB25EE,QAAS,MgBz5ET,MAAA,KAIF,iBAAA,ahB05EE,OAAQ,KI99ER,uBY2EF,2BjB64EC,wBiB54EC,QAAA,IAAA,KAAA,yBACA,eAAA,KAEA,OACA,QAAA,MjB+4ED,YAAA,IiBr3EC,UAAW,KACX,YAAA,WACA,MAAA,KAEA,cACA,QAAA,MACA,MAAA,KACA,OAAA,KACA,QAAA,IAAA,KACA,UAAA,KACA,YAAA,WACA,MAAA,KbxDA,iBAAA,KACQ,iBAAA,KAyHR,OAAA,IAAA,MAAA,KACK,cAAA,IACG,mBAAA,MAAA,EAAA,IAAA,IAAA,iBJwzET,WAAA,MAAA,EAAA,IAAA,IAAA,iBkBh8EC,mBAAA,aAAA,YAAA,KAAA,mBAAA,YAAA,KACE,cAAA,aAAA,YAAA,KAAA,WAAA,YAAA,KACA,WAAA,aAAA,YAAA,KAAA,WAAA,YAAA,KdWM,oBJy7ET,aAAA,QIx5EC,QAAA,EACE,mBAAA,MAAA,EAAA,IAAA,IAAA,iBAAA,EAAA,EAAA,IAAA,qBACA,WAAA,MAAA,EAAA,IAAA,IAAA,iBAAA,EAAA,EAAA,IAAA,qBAEF,gCAA0B,MAAA,KJ25E3B,QAAA,EI15EiC,oCJ65EjC,MAAA,KiBh4EG,yCACA,MAAA,KAQF,0BhBs4EA,iBAAkB,YAClB,OAAQ,EgBn4EN,wBjB63EH,wBiB13EC,iChBq4EA,iBAAkB,KgBn4EhB,QAAA,EAIF,wBACE,iCjB03EH,OAAA,YiB72EC,sBjBg3ED,OAAA,KiB91EG,mBhB02EF,mBAAoB,KAEtB,qDgB32EM,8BjBo2EH,8BiBj2EC,wCAAA,+BhB62EA,YAAa,KgB32EX,iCjBy2EH,iCiBt2EC,2CAAA,kChB02EF,0BACA,0BACA,oCACA,2BAKE,YAAa,KgBh3EX,iCjB82EH,iCACF,2CiBp2EC,kChBu2EA,0BACA,0BACA,oCACA,2BgBz2EA,YAAA,MhBi3EF,YgBv2EE,cAAA,KAGA,UADA,OjBi2ED,SAAA,SiBr2EC,QAAS,MhBg3ET,WAAY,KgBx2EV,cAAA,KAGA,gBADA,aAEA,WAAA,KjBi2EH,aAAA,KiB91EC,cAAe,EhBy2Ef,YAAa,IACb,OAAQ,QgBp2ER,+BjBg2ED,sCiBl2EC,yBACA,gCAIA,SAAU,ShBw2EV,WAAY,MgBt2EZ,YAAA,MAIF,oBAAA,cAEE,WAAA,KAGA,iBADA,cAEA,SAAA,SACA,QAAA,aACA,aAAA,KjB61ED,cAAA,EiB31EC,YAAa,IhBs2Eb,eAAgB,OgBp2EhB,OAAA,QAUA,kCjBo1ED,4BCWC,WAAY,EACZ,YAAa,KgBv1Eb,wCAAA,qCjBm1ED,8BCOD,+BgBh2EI,2BhB+1EJ,4BAME,OAAQ,YDNT,0BiBv1EG,uBAMF,oCAAA,iChB61EA,OAAQ,YDNT,yBiBp1EK,sBAaJ,mCAFF,gCAGE,OAAA,YAGA,qBjBy0ED,WAAA,KiBv0EC,YAAA,IhBk1EA,eAAgB,IgBh1Ed,cAAA,EjB00EH,8BiB5zED,8BCnQE,cAAA,EACA,aAAA,EAEA,UACA,OAAA,KlBkkFD,QAAA,IAAA,KkBhkFC,UAAA,KACE,YAAA,IACA,cAAA,IAGF,gBjB0kFA,OAAQ,KiBxkFN,YAAA,KD2PA,0BAFJ,kBAGI,OAAA,KAEA,6BACA,OAAA,KjBy0EH,QAAA,IAAA,KiB/0EC,UAAW,KAST,YAAA,IACA,cAAA,IAVJ,mChB81EE,OAAQ,KgBh1EN,YAAA,KAGA,6CAjBJ,qCAkBI,OAAA,KAEA,oCACA,OAAA,KjBy0EH,WAAA,KiBr0EC,QAAS,IAAI,KC/Rb,UAAA,KACA,YAAA,IAEA,UACA,OAAA,KlBumFD,QAAA,KAAA,KkBrmFC,UAAA,KACE,YAAA,UACA,cAAA,IAGF,gBjB+mFA,OAAQ,KiB7mFN,YAAA,KDuRA,0BAFJ,kBAGI,OAAA,KAEA,6BACA,OAAA,KjBk1EH,QAAA,KAAA,KiBx1EC,UAAW,KAST,YAAA,UACA,cAAA,IAVJ,mChBu2EE,OAAQ,KgBz1EN,YAAA,KAGA,6CAjBJ,qCAkBI,OAAA,KAEA,oCACA,OAAA,KjBk1EH,WAAA,KiBz0EC,QAAS,KAAK,KAEd,UAAA,KjB00ED,YAAA,UiBt0EG,cjBy0EH,SAAA,SiBp0EC,4BACA,cAAA,OAEA,uBACA,SAAA,SACA,IAAA,EACA,MAAA,EACA,QAAA,EACA,QAAA,MACA,MAAA,KjBu0ED,OAAA,KiBr0EC,YAAa,KhBg1Eb,WAAY,OACZ,eAAgB,KDLjB,oDiBv0EC,uCADA,iCAGA,MAAO,KhBg1EP,OAAQ,KACR,YAAa,KDLd,oDiBv0EC,uCADA,iCAKA,MAAO,KhB80EP,OAAQ,KACR,YAAa,KAKf,uBAEA,8BAJA,4BADA,yBAEA,oBAEA,2BDNC,4BkBruFG,mCAJA,yBD0ZJ,gCbvWE,MAAA,QJ2rFD,2BkBxuFG,aAAA,QACE,mBAAA,MAAA,EAAA,IAAA,IAAA,iBd4CJ,WAAA,MAAA,EAAA,IAAA,IAAA,iBJgsFD,iCiBz1EC,aAAc,QC5YZ,mBAAA,MAAA,EAAA,IAAA,IAAA,iBAAA,EAAA,EAAA,IAAA,QACA,WAAA,MAAA,EAAA,IAAA,IAAA,iBAAA,EAAA,EAAA,IAAA,QlByuFH,gCiB91EC,MAAO,QCtYL,iBAAA,QlBuuFH,aAAA,QCWD,oCACE,MAAO,QAKT,uBAEA,8BAJA,4BADA,yBAEA,oBAEA,2BDNC,4BkBnwFG,mCAJA,yBD6ZJ,gCb1WE,MAAA,QJytFD,2BkBtwFG,aAAA,QACE,mBAAA,MAAA,EAAA,IAAA,IAAA,iBd4CJ,WAAA,MAAA,EAAA,IAAA,IAAA,iBJ8tFD,iCiBp3EC,aAAc,QC/YZ,mBAAA,MAAA,EAAA,IAAA,IAAA,iBAAA,EAAA,EAAA,IAAA,QACA,WAAA,MAAA,EAAA,IAAA,IAAA,iBAAA,EAAA,EAAA,IAAA,QlBuwFH,gCiBz3EC,MAAO,QCzYL,iBAAA,QlBqwFH,aAAA,QCWD,oCACE,MAAO,QAKT,qBAEA,4BAJA,0BADA,uBAEA,kBAEA,yBDNC,0BkBjyFG,iCAJA,uBDgaJ,8Bb7WE,MAAA,QJuvFD,yBkBpyFG,aAAA,QACE,mBAAA,MAAA,EAAA,IAAA,IAAA,iBd4CJ,WAAA,MAAA,EAAA,IAAA,IAAA,iBJ4vFD,+BiB/4EC,aAAc,QClZZ,mBAAA,MAAA,EAAA,IAAA,IAAA,iBAAA,EAAA,EAAA,IAAA,QACA,WAAA,MAAA,EAAA,IAAA,IAAA,iBAAA,EAAA,EAAA,IAAA,QlBqyFH,8BiBp5EC,MAAO,QC5YL,iBAAA,QlBmyFH,aAAA,QiB/4EG,kCjBk5EH,MAAA,QiB/4EG,2CjBk5EH,IAAA,KiBv4EC,mDACA,IAAA,EAEA,YjB04ED,QAAA,MiBvzEC,WAAY,IAwEZ,cAAe,KAtIX,MAAA,QAEA,yBjBy3EH,yBiBrvEC,QAAS,aA/HP,cAAA,EACA,eAAA,OjBw3EH,2BiB1vEC,QAAS,aAxHP,MAAA,KjBq3EH,eAAA,OiBj3EG,kCACA,QAAA,aAmHJ,0BhB4wEE,QAAS,aACT,eAAgB,OgBr3Ed,wCjB82EH,6CiBtwED,2CjBywEC,MAAA,KiB72EG,wCACA,MAAA,KAmGJ,4BhBwxEE,cAAe,EgBp3Eb,eAAA,OAGA,uBADA,oBjB82EH,QAAA,aiBpxEC,WAAY,EhB+xEZ,cAAe,EgBr3EX,eAAA,OAsFN,6BAAA,0BAjFI,aAAA,EAiFJ,4CjB6xEC,sCiBx2EG,SAAA,SjB22EH,YAAA,EiBh2ED,kDhB42EE,IAAK,GgBl2EL,2BjB+1EH,kCiBh2EG,wBAEA,+BAXF,YAAa,IhBo3Eb,WAAY,EgBn2EV,cAAA,EJviBF,2BIshBF,wBJrhBE,WAAA,KI4jBA,6BAyBA,aAAc,MAnCV,YAAA,MAEA,yBjBw1EH,gCACF,YAAA,IiBx3EG,cAAe,EAwCf,WAAA,OAwBJ,sDAdQ,MAAA,KjB80EL,yBACF,+CiBn0EC,YAAA,KAEE,UAAW,MjBs0EZ,yBACF,+CmBp6FG,YAAa,IACf,UAAA,MAGA,KACA,QAAA,aACA,QAAA,IAAA,KAAA,cAAA,EACA,UAAA,KACA,YAAA,IACA,YAAA,WACA,WAAA,OC0CA,YAAA,OACA,eAAA,OACA,iBAAA,aACA,aAAA,ahB+JA,OAAA,QACG,oBAAA,KACC,iBAAA,KACI,gBAAA,KJ+tFT,YAAA,KmBv6FG,iBAAA,KlBm7FF,OAAQ,IAAI,MAAM,YAClB,cAAe,IkB96Ff,kBdzBA,kBACA,WLk8FD,kBCOD,kBADA,WAME,QAAS,IAAI,KAAK,yBAClB,eAAgB,KkBh7FhB,WnBy6FD,WmB56FG,WlBw7FF,MAAO,KkBn7FL,gBAAA,Kf6BM,YADR,YJk5FD,iBAAA,KmBz6FC,QAAA,ElBq7FA,mBAAoB,MAAM,EAAE,IAAI,IAAI,iBAC5B,WAAY,MAAM,EAAE,IAAI,IAAI,iBoBh+FpC,cAGA,ejB8DA,wBACQ,OAAA,YJ05FT,OAAA,kBmBz6FG,mBAAA,KlBq7FM,WAAY,KkBn7FhB,QAAA,IASN,eC3DE,yBACA,eAAA,KpBi+FD,aoB99FC,MAAA,KnB0+FA,iBAAkB,KmBx+FhB,aAAA,KpBk+FH,mBoBh+FO,mBAEN,MAAA,KACE,iBAAA,QACA,aAAA,QpBi+FH,mBoB99FC,MAAA,KnB0+FA,iBAAkB,QAClB,aAAc,QmBt+FR,oBADJ,oBpBi+FH,mCoB99FG,MAAA,KnB0+FF,iBAAkB,QAClB,aAAc,QmBt+FN,0BnB4+FV,0BAHA,0BmB1+FM,0BnB4+FN,0BAHA,0BDFC,yCoBx+FK,yCnB4+FN,yCmBv+FE,MAAA,KnB++FA,iBAAkB,QAClB,aAAc,QmBx+FZ,oBpBg+FH,oBoBh+FG,mCnB6+FF,iBAAkB,KmBz+FV,4BnB8+FV,4BAHA,4BDHC,6BCOD,6BAHA,6BkB39FA,sCClBM,sCnB8+FN,sCmBx+FI,iBAAA,KACA,aAAA,KDcJ,oBC9DE,MAAA,KACA,iBAAA,KpB0hGD,aoBvhGC,MAAA,KnBmiGA,iBAAkB,QmBjiGhB,aAAA,QpB2hGH,mBoBzhGO,mBAEN,MAAA,KACE,iBAAA,QACA,aAAA,QpB0hGH,mBoBvhGC,MAAA,KnBmiGA,iBAAkB,QAClB,aAAc,QmB/hGR,oBADJ,oBpB0hGH,mCoBvhGG,MAAA,KnBmiGF,iBAAkB,QAClB,aAAc,QmB/hGN,0BnBqiGV,0BAHA,0BmBniGM,0BnBqiGN,0BAHA,0BDFC,yCoBjiGK,yCnBqiGN,yCmBhiGE,MAAA,KnBwiGA,iBAAkB,QAClB,aAAc,QmBjiGZ,oBpByhGH,oBoBzhGG,mCnBsiGF,iBAAkB,KmBliGV,4BnBuiGV,4BAHA,4BDHC,6BCOD,6BAHA,6BkBjhGA,sCCrBM,sCnBuiGN,sCmBjiGI,iBAAA,QACA,aAAA,QDkBJ,oBClEE,MAAA,QACA,iBAAA,KpBmlGD,aoBhlGC,MAAA,KnB4lGA,iBAAkB,QmB1lGhB,aAAA,QpBolGH,mBoBllGO,mBAEN,MAAA,KACE,iBAAA,QACA,aAAA,QpBmlGH,mBoBhlGC,MAAA,KnB4lGA,iBAAkB,QAClB,aAAc,QmBxlGR,oBADJ,oBpBmlGH,mCoBhlGG,MAAA,KnB4lGF,iBAAkB,QAClB,aAAc,QmBxlGN,0BnB8lGV,0BAHA,0BmB5lGM,0BnB8lGN,0BAHA,0BDFC,yCoB1lGK,yCnB8lGN,yCmBzlGE,MAAA,KnBimGA,iBAAkB,QAClB,aAAc,QmB1lGZ,oBpBklGH,oBoBllGG,mCnB+lGF,iBAAkB,KmB3lGV,4BnBgmGV,4BAHA,4BDHC,6BCOD,6BAHA,6BkBtkGA,sCCzBM,sCnBgmGN,sCmB1lGI,iBAAA,QACA,aAAA,QDsBJ,oBCtEE,MAAA,QACA,iBAAA,KpB4oGD,UoBzoGC,MAAA,KnBqpGA,iBAAkB,QmBnpGhB,aAAA,QpB6oGH,gBoB3oGO,gBAEN,MAAA,KACE,iBAAA,QACA,aAAA,QpB4oGH,gBoBzoGC,MAAA,KnBqpGA,iBAAkB,QAClB,aAAc,QmBjpGR,iBADJ,iBpB4oGH,gCoBzoGG,MAAA,KnBqpGF,iBAAkB,QAClB,aAAc,QmBjpGN,uBnBupGV,uBAHA,uBmBrpGM,uBnBupGN,uBAHA,uBDFC,sCoBnpGK,sCnBupGN,sCmBlpGE,MAAA,KnB0pGA,iBAAkB,QAClB,aAAc,QmBnpGZ,iBpB2oGH,iBoB3oGG,gCnBwpGF,iBAAkB,KmBppGV,yBnBypGV,yBAHA,yBDHC,0BCOD,0BAHA,0BkB3nGA,mCC7BM,mCnBypGN,mCmBnpGI,iBAAA,QACA,aAAA,QD0BJ,iBC1EE,MAAA,QACA,iBAAA,KpBqsGD,aoBlsGC,MAAA,KnB8sGA,iBAAkB,QmB5sGhB,aAAA,QpBssGH,mBoBpsGO,mBAEN,MAAA,KACE,iBAAA,QACA,aAAA,QpBqsGH,mBoBlsGC,MAAA,KnB8sGA,iBAAkB,QAClB,aAAc,QmB1sGR,oBADJ,oBpBqsGH,mCoBlsGG,MAAA,KnB8sGF,iBAAkB,QAClB,aAAc,QmB1sGN,0BnBgtGV,0BAHA,0BmB9sGM,0BnBgtGN,0BAHA,0BDFC,yCoB5sGK,yCnBgtGN,yCmB3sGE,MAAA,KnBmtGA,iBAAkB,QAClB,aAAc,QmB5sGZ,oBpBosGH,oBoBpsGG,mCnBitGF,iBAAkB,KmB7sGV,4BnBktGV,4BAHA,4BDHC,6BCOD,6BAHA,6BkBhrGA,sCCjCM,sCnBktGN,sCmB5sGI,iBAAA,QACA,aAAA,QD8BJ,oBC9EE,MAAA,QACA,iBAAA,KpB8vGD,YoB3vGC,MAAA,KnBuwGA,iBAAkB,QmBrwGhB,aAAA,QpB+vGH,kBoB7vGO,kBAEN,MAAA,KACE,iBAAA,QACA,aAAA,QpB8vGH,kBoB3vGC,MAAA,KnBuwGA,iBAAkB,QAClB,aAAc,QmBnwGR,mBADJ,mBpB8vGH,kCoB3vGG,MAAA,KnBuwGF,iBAAkB,QAClB,aAAc,QmBnwGN,yBnBywGV,yBAHA,yBmBvwGM,yBnBywGN,yBAHA,yBDFC,wCoBrwGK,wCnBywGN,wCmBpwGE,MAAA,KnB4wGA,iBAAkB,QAClB,aAAc,QmBrwGZ,mBpB6vGH,mBoB7vGG,kCnB0wGF,iBAAkB,KmBtwGV,2BnB2wGV,2BAHA,2BDHC,4BCOD,4BAHA,4BkBruGA,qCCrCM,qCnB2wGN,qCmBrwGI,iBAAA,QACA,aAAA,QDuCJ,mBACE,MAAA,QACA,iBAAA,KnB+tGD,UmB5tGC,YAAA,IlBwuGA,MAAO,QACP,cAAe,EAEjB,UGzwGE,iBemCE,iBflCM,oBJkwGT,6BmB7tGC,iBAAA,YlByuGA,mBAAoB,KACZ,WAAY,KkBtuGlB,UAEF,iBAAA,gBnB6tGD,gBmB3tGG,aAAA,YnBiuGH,gBmB/tGG,gBAIA,MAAA,QlBuuGF,gBAAiB,UACjB,iBAAkB,YDNnB,0BmBhuGK,0BAUN,mCATM,mClB2uGJ,MAAO,KmB1yGP,gBAAA,KAGA,mBADA,QpBmyGD,QAAA,KAAA,KmBztGC,UAAW,KlBquGX,YAAa,UmBjzGb,cAAA,IAGA,mBADA,QpB0yGD,QAAA,IAAA,KmB5tGC,UAAW,KlBwuGX,YAAa,ImBxzGb,cAAA,IAGA,mBADA,QpBizGD,QAAA,IAAA,ImB3tGC,UAAW,KACX,YAAA,IACA,cAAA,IAIF,WACE,QAAA,MnB2tGD,MAAA,KCYD,sBACE,WAAY,IqBz3GZ,6BADF,4BtBk3GC,6BI7rGC,MAAA,KAEQ,MJisGT,QAAA,EsBr3GC,mBAAA,QAAA,KAAA,OACE,cAAA,QAAA,KAAA,OtBu3GH,WAAA,QAAA,KAAA,OsBl3GC,StBq3GD,QAAA,EsBn3Ga,UtBs3Gb,QAAA,KsBr3Ga,atBw3Gb,QAAA,MsBv3Ga,etB03Gb,QAAA,UsBt3GC,kBACA,QAAA,gBlBwKA,YACQ,SAAA,SAAA,OAAA,EAOR,SAAA,OACQ,mCAAA,KAAA,8BAAA,KAGR,2BAAA,KACQ,4BAAA,KAAA,uBAAA,KJ2sGT,oBAAA,KuBr5GC,4BAA6B,OAAQ,WACrC,uBAAA,OAAA,WACA,oBAAA,OAAA,WAEA,OACA,QAAA,aACA,MAAA,EACA,OAAA,EACA,YAAA,IACA,eAAA,OvBu5GD,WAAA,IAAA,OuBn5GC,WAAY,IAAI,QtBk6GhB,aAAc,IAAI,MAAM,YsBh6GxB,YAAA,IAAA,MAAA,YAKA,UADF,QvBo5GC,SAAA,SuB94GC,uBACA,QAAA,EAEA,eACA,SAAA,SACA,IAAA,KACA,KAAA,EACA,QAAA,KACA,QAAA,KACA,MAAA,KACA,UAAA,MACA,QAAA,IAAA,EACA,OAAA,IAAA,EAAA,EACA,UAAA,KACA,WAAA,KACA,WAAA,KnBsBA,iBAAA,KACQ,wBAAA,YmBrBR,gBAAA,YtB+5GA,OsB/5GA,IAAA,MAAA,KvBk5GD,OAAA,IAAA,MAAA,gBuB74GC,cAAA,IACE,mBAAA,EAAA,IAAA,KAAA,iBACA,WAAA,EAAA,IAAA,KAAA,iBAzBJ,0BCzBE,MAAA,EACA,KAAA,KAEA,wBxBo8GD,OAAA,IuB96GC,OAAQ,IAAI,EAmCV,SAAA,OACA,iBAAA,QAEA,oBACA,QAAA,MACA,QAAA,IAAA,KACA,MAAA,KvB84GH,YAAA,IuBx4GC,YAAA,WtBw5GA,MAAO,KsBt5GL,YAAA,OvB44GH,0BuB14GG,0BAMF,MAAA,QtBo5GA,gBAAiB,KACjB,iBAAkB,QsBj5GhB,yBAEA,+BADA,+BvBu4GH,MAAA,KuB73GC,gBAAA,KtB64GA,iBAAkB,QAClB,QAAS,EDZV,2BuB33GC,iCAAA,iCAEE,MAAA,KEzGF,iCF2GE,iCAEA,gBAAA,KvB63GH,OAAA,YuBx3GC,iBAAkB,YAGhB,iBAAA,KvBw3GH,OAAA,0DuBn3GG,qBvBs3GH,QAAA,MuB72GC,QACA,QAAA,EAQF,qBACE,MAAA,EACA,KAAA,KAIF,oBACE,MAAA,KACA,KAAA,EAEA,iBACA,QAAA,MACA,QAAA,IAAA,KvBw2GD,UAAA,KuBp2GC,YAAa,WACb,MAAA,KACA,YAAA,OAEA,mBACA,SAAA,MACA,IAAA,EvBs2GD,MAAA,EuBl2GC,OAAQ,EACR,KAAA,EACA,QAAA,IAQF,2BtB42GE,MAAO,EsBx2GL,KAAA,KAEA,eACA,sCvB41GH,QAAA,GuBn2GC,WAAY,EtBm3GZ,cAAe,IAAI,OsBx2GjB,cAAA,IAAA,QAEA,uBvB41GH,8CuBv0GC,IAAK,KAXL,OAAA,KApEA,cAAA,IvB25GC,yBuBv1GD,6BA1DA,MAAA,EACA,KAAA,KvBq5GD,kC0BpiHG,MAAO,KzBojHP,KAAM,GyBhjHR,W1BsiHD,oB0B1iHC,SAAU,SzB0jHV,QAAS,ayBpjHP,eAAA,OAGA,yB1BsiHH,gBCgBC,SAAU,SACV,MAAO,KyB7iHT,gC1BsiHC,gCCYD,+BAFA,+ByBhjHA,uBANM,uBzBujHN,sBAFA,sBAQE,QAAS,EyBljHP,qB1BuiHH,2B0BliHD,2BACE,iC1BoiHD,YAAA,KCgBD,aACE,YAAa,KDZd,kB0B1iHD,wBAAA,0BzB2jHE,MAAO,KDZR,kB0B/hHD,wBACE,0B1BiiHD,YAAA,I0B5hHC,yE1B+hHD,cAAA,E2BhlHC,4BACG,YAAA,EDsDL,mEzB6iHE,wBAAyB,E0B5lHzB,2BAAA,E3BilHD,6C0B5hHD,8CACE,uBAAA,E1B8hHD,0BAAA,E0B3hHC,sB1B8hHD,MAAA,KCgBD,8D0B/mHE,cAAA,E3BomHD,mE0B3hHD,oECjEE,wBAAA,EACG,2BAAA,EDqEL,oEzB0iHE,uBAAwB,EyBxiHxB,0BAAA,EAiBF,mCACE,iCACA,QAAA,EAEF,iCACE,cAAA,IACA,aAAA,IAKF,oCtB/CE,cAAA,KACQ,aAAA,KsBkDR,iCtBnDA,mBAAA,MAAA,EAAA,IAAA,IAAA,iBACQ,WAAA,MAAA,EAAA,IAAA,IAAA,iBsByDV,0CACE,mBAAA,K1BugHD,WAAA,K0BngHC,YACA,YAAA,EAGF,eACE,aAAA,IAAA,IAAA,E1BqgHD,oBAAA,ECgBD,uBACE,aAAc,EAAE,IAAI,IyB1gHlB,yBACA,+BACA,oC1B+/GH,QAAA,M0BtgHC,MAAO,KAcH,MAAA,K1B2/GL,UAAA,KCgBD,oCACE,MAAO,KyBpgHL,8BACA,oC1By/GH,oC0Bp/GC,0CACE,WAAA,K1Bs/GH,YAAA,E2B/pHC,4DACC,cAAA,EAQA,sD3B4pHF,uBAAA,I0Bt/GC,wBAAA,IC/KA,2BAAA,EACC,0BAAA,EAQA,sD3BkqHF,uBAAA,E0Bv/GC,wBAAyB,EACzB,2BAAA,I1By/GD,0BAAA,ICgBD,uE0BtrHE,cAAA,E3B2qHD,4E0Bt/GD,6EC7LE,2BAAA,EACC,0BAAA,EDoMH,6EACE,uBAAA,EACA,wBAAA,EAEA,qB1Bo/GD,QAAA,M0Bx/GC,MAAO,KzBwgHP,aAAc,MyBjgHZ,gBAAA,SAEA,0B1Bq/GH,gC0B9/GC,QAAS,WAYP,MAAA,K1Bq/GH,MAAA,G0Bj/GG,qC1Bo/GH,MAAA,KCgBD,+CACE,KAAM,KyB7+GF,gDAFA,6C1Bs+GL,2D0Br+GK,wDEzOJ,SAAU,SACV,KAAA,cACA,eAAA,K5BitHD,a4B7sHC,SAAA,SACE,QAAA,MACA,gBAAA,S5BgtHH,0B4BxtHC,MAAO,KAeL,cAAA,EACA,aAAA,EAOA,2BACA,SAAA,S5BusHH,QAAA,E4BrsHG,MAAA,KACE,MAAA,K5BusHL,cAAA,ECgBD,iCACE,QAAS,EiBnrHT,8BACA,mCACA,sCACA,OAAA,KlBwqHD,QAAA,KAAA,KkBtqHC,UAAA,KjBsrHA,YAAa,UACb,cAAe,IiBrrHb,oClB0qHH,yCkBvqHC,4CjBurHA,OAAQ,KACR,YAAa,KDTd,8C4B/sHD,mDAAA,sD3B0tHA,sCACA,2CiBzrHI,8CjB8rHF,OAAQ,KiB1sHR,8BACA,mCACA,sCACA,OAAA,KlB+rHD,QAAA,IAAA,KkB7rHC,UAAA,KjB6sHA,YAAa,IACb,cAAe,IiB5sHb,oClBisHH,yCkB9rHC,4CjB8sHA,OAAQ,KACR,YAAa,KDTd,8C4B7tHD,mDAAA,sD3BwuHA,sCACA,2CiBhtHI,8CjBqtHF,OAAQ,K2BzuHR,2B5B6tHD,mB4B7tHC,iB3B8uHA,QAAS,W2BzuHX,8D5B6tHC,sD4B7tHD,oDAEE,cAAA,EAEA,mB5B+tHD,iB4B1tHC,MAAO,GACP,YAAA,OACA,eAAA,OAEA,mBACA,QAAA,IAAA,KACA,UAAA,KACA,YAAA,IACA,YAAA,EACA,MAAA,K5B4tHD,WAAA,O4BztHC,iBAAA,KACE,OAAA,IAAA,MAAA,KACA,cAAA,I5B4tHH,4B4BztHC,QAAA,IAAA,KACE,UAAA,KACA,cAAA,I5B4tHH,4B4B/uHC,QAAS,KAAK,K3B+vHd,UAAW,K2BruHT,cAAA,IAKJ,wCAAA,qC3BquHE,WAAY,EAEd,uCACA,+BACA,kC0B70HE,6CACG,8CC4GL,6D5BqtHC,wE4BptHC,wBAAA,E5ButHD,2BAAA,ECgBD,+BACE,aAAc,EAEhB,sCACA,8B2BhuHA,+D5BstHC,oDCWD,iC0Bl1HE,4CACG,6CCiHH,uBAAA,E5BwtHD,0BAAA,E4BltHC,8BAGA,YAAA,E5BotHD,iB4BxtHC,SAAU,SAUR,UAAA,E5BitHH,YAAA,O4B/sHK,sB5BktHL,SAAA,SCgBD,2BACE,YAAa,K2BxtHb,6BAAA,4B5B4sHD,4B4BzsHK,QAAA,EAGJ,kCAAA,wCAGI,aAAA,K5B4sHL,iC6B12HD,uCACE,QAAA,EACA,YAAA,K7B62HD,K6B/2HC,aAAc,EAOZ,cAAA,EACA,WAAA,KARJ,QAWM,SAAA,SACA,QAAA,M7B42HL,U6B12HK,SAAA,S5B03HJ,QAAS,M4Bx3HH,QAAA,KAAA,KAMJ,gB7Bu2HH,gB6Bt2HK,gBAAA,K7By2HL,iBAAA,KCgBD,mB4Br3HQ,MAAA,KAGA,yBADA,yB7B02HP,MAAA,K6Bl2HG,gBAAA,K5Bk3HF,OAAQ,YACR,iBAAkB,Y4B/2Hd,aAzCN,mB7B64HC,mBwBh5HC,iBAAA,KACA,aAAA,QAEA,kBxBm5HD,OAAA,I6Bn5HC,OAAQ,IAAI,EA0DV,SAAA,O7B41HH,iBAAA,Q6Bl1HC,c7Bq1HD,UAAA,K6Bn1HG,UAEA,cAAA,IAAA,MAAA,KALJ,aASM,MAAA,KACA,cAAA,KAEA,e7Bo1HL,aAAA,I6Bn1HK,YAAA,WACE,OAAA,IAAA,MAAA,Y7Bq1HP,cAAA,IAAA,IAAA,EAAA,ECgBD,qBACE,aAAc,KAAK,KAAK,K4B51HlB,sBAEA,4BADA,4BAEA,MAAA,K7Bi1HP,OAAA,Q6B50HC,iBAAA,KAqDA,OAAA,IAAA,MAAA,KA8BA,oBAAA,YAnFA,wBAwDE,MAAA,K7B2xHH,cAAA,E6BzxHK,2BACA,MAAA,KA3DJ,6BAgEE,cAAA,IACA,WAAA,OAYJ,iDA0DE,IAAK,KAjED,KAAA,K7B0xHH,yB6BztHD,2BA9DM,QAAA,W7B0xHL,MAAA,G6Bn2HD,6BAuFE,cAAA,GAvFF,6B5Bw3HA,aAAc,EACd,cAAe,IDZhB,kC6BtuHD,wCA3BA,wCATM,OAAA,IAAA,MAAA,K7B+wHH,yB6B3uHD,6B5B2vHE,cAAe,IAAI,MAAM,KACzB,cAAe,IAAI,IAAI,EAAE,EDZ1B,kC6B92HD,wC7B+2HD,wC6B72HG,oBAAA,MAIE,c7B+2HL,MAAA,K6B52HK,gB7B+2HL,cAAA,ICgBD,iBACE,YAAa,I4Bv3HP,uBAQR,6B7Bo2HC,6B6Bl2HG,MAAA,K7Bq2HH,iBAAA,Q6Bn2HK,gBACA,MAAA,KAYN,mBACE,WAAA,I7B41HD,YAAA,E6Bz1HG,e7B41HH,MAAA,K6B11HK,kBACA,MAAA,KAPN,oBAYI,cAAA,IACA,WAAA,OAYJ,wCA0DE,IAAK,KAjED,KAAA,K7B21HH,yB6B1xHD,kBA9DM,QAAA,W7B21HL,MAAA,G6Bl1HD,oBACA,cAAA,GAIE,oBACA,cAAA,EANJ,yB5B02HE,aAAc,EACd,cAAe,IDZhB,8B6B1yHD,oCA3BA,oCATM,OAAA,IAAA,MAAA,K7Bm1HH,yB6B/yHD,yB5B+zHE,cAAe,IAAI,MAAM,KACzB,cAAe,IAAI,IAAI,EAAE,EDZ1B,8B6Bx0HD,oC7By0HD,oC6Bv0HG,oBAAA,MAGA,uB7B00HH,QAAA,K6B/zHC,qBF3OA,QAAA,M3B+iID,yB8BxiIC,WAAY,KACZ,uBAAA,EACA,wBAAA,EAEA,Q9B0iID,SAAA,S8BliIC,WAAY,KA8nBZ,cAAe,KAhoBb,OAAA,IAAA,MAAA,Y9ByiIH,yB8BzhIC,QAgnBE,cAAe,K9B86GlB,yB8BjhIC,eACA,MAAA,MAGA,iBACA,cAAA,KAAA,aAAA,KAEA,WAAA,Q9BkhID,2BAAA,M8BhhIC,WAAA,IAAA,MAAA,YACE,mBAAA,MAAA,EAAA,IAAA,EAAA,qB9BkhIH,WAAA,MAAA,EAAA,IAAA,EAAA,qB8Bz7GD,oBArlBI,WAAA,KAEA,yBAAA,iB9BkhID,MAAA,K8BhhIC,WAAA,EACE,mBAAA,KACA,WAAA,KAEA,0B9BkhIH,QAAA,gB8B/gIC,OAAA,eACE,eAAA,E9BihIH,SAAA,kBCkBD,oBACE,WAAY,QDZf,sC8B/gIK,mC9B8gIH,oC8BzgIC,cAAe,E7B4hIf,aAAc,G6Bj+GlB,sCAnjBE,mC7ByhIA,WAAY,MDdX,4D8BngID,sC9BogID,mCCkBG,WAAY,O6B3gId,kCANE,gC9BsgIH,4B8BvgIG,0BAuiBF,aAAc,M7Bm/Gd,YAAa,MAEf,yBDZC,kC8B3gIK,gC9B0gIH,4B8B3gIG,0BAcF,aAAc,EAChB,YAAA,GAMF,mBA8gBE,QAAS,KAhhBP,aAAA,EAAA,EAAA,I9BkgIH,yB8B7/HC,mB7B+gIE,cAAe,G6B1gIjB,qBADA,kB9BggID,SAAA,M8Bz/HC,MAAO,EAggBP,KAAM,E7B4gHN,QAAS,KDdR,yB8B7/HD,qB9B8/HD,kB8B7/HC,cAAA,GAGF,kBACE,IAAA,EACA,aAAA,EAAA,EAAA,I9BigID,qB8B1/HC,OAAQ,EACR,cAAA,EACA,aAAA,IAAA,EAAA,EAEA,cACA,MAAA,K9B4/HD,OAAA,K8B1/HC,QAAA,KAAA,K7B4gIA,UAAW,K6B1gIT,YAAA,KAIA,oBAbJ,oB9BwgIC,gBAAA,K8Bv/HG,kB7B0gIF,QAAS,MDdR,yBACF,iC8Bh/HC,uCACA,YAAA,OAGA,eC9LA,SAAA,SACA,MAAA,MD+LA,QAAA,IAAA,KACA,WAAA,IACA,aAAA,KACA,cAAA,I9Bm/HD,iBAAA,Y8B/+HC,iBAAA,KACE,OAAA,IAAA,MAAA,Y9Bi/HH,cAAA,I8B5+HG,qBACA,QAAA,EAEA,yB9B++HH,QAAA,M8BrgIC,MAAO,KAyBL,OAAA,I9B++HH,cAAA,I8BpjHD,mCAvbI,WAAA,I9Bg/HH,yB8Bt+HC,eACA,QAAA,MAGE,YACA,OAAA,MAAA,M9By+HH,iB8B58HC,YAAA,KA2YA,eAAgB,KAjaZ,YAAA,KAEA,yBACA,iCACA,SAAA,OACA,MAAA,KACA,MAAA,KAAA,WAAA,E9Bs+HH,iBAAA,Y8B3kHC,OAAQ,E7B8lHR,mBAAoB,K6Bt/HhB,WAAA,KAGA,kDAqZN,sC9BklHC,QAAA,IAAA,KAAA,IAAA,KCmBD,sC6Bv/HQ,YAAA,KAmBR,4C9Bs9HD,4C8BvlHG,iBAAkB,M9B4lHnB,yB8B5lHD,YAtYI,MAAA,K9Bq+HH,OAAA,E8Bn+HK,eACA,MAAA,K9Bu+HP,iB8B39HG,YAAa,KACf,eAAA,MAGA,aACA,QAAA,KAAA,K1B9NA,WAAA,IACQ,aAAA,M2B/DR,cAAA,IACA,YAAA,M/B4vID,WAAA,IAAA,MAAA,YiBtuHC,cAAe,IAAI,MAAM,YAwEzB,mBAAoB,MAAM,EAAE,IAAI,EAAE,qBAAyB,EAAE,IAAI,EAAE,qBAtI/D,WAAA,MAAA,EAAA,IAAA,EAAA,qBAAA,EAAA,IAAA,EAAA,qBAEA,yBjBwyHH,yBiBpqHC,QAAS,aA/HP,cAAA,EACA,eAAA,OjBuyHH,2BiBzqHC,QAAS,aAxHP,MAAA,KjBoyHH,eAAA,OiBhyHG,kCACA,QAAA,aAmHJ,0BhBmsHE,QAAS,aACT,eAAgB,OgB5yHd,wCjB6xHH,6CiBrrHD,2CjBwrHC,MAAA,KiB5xHG,wCACA,MAAA,KAmGJ,4BhB+sHE,cAAe,EgB3yHb,eAAA,OAGA,uBADA,oBjB6xHH,QAAA,aiBnsHC,WAAY,EhBstHZ,cAAe,EgB5yHX,eAAA,OAsFN,6BAAA,0BAjFI,aAAA,EAiFJ,4CjB4sHC,sCiBvxHG,SAAA,SjB0xHH,YAAA,E8BngID,kDAmWE,IAAK,GAvWH,yBACE,yB9B8gIL,cAAA,I8B5/HD,oCAoVE,cAAe,GA1Vf,yBACA,aACA,MAAA,KACA,YAAA,E1BzPF,eAAA,EACQ,aAAA,EJmwIP,YAAA,EACF,OAAA,E8BngIG,mBAAoB,KACtB,WAAA,M9BugID,8B8BngIC,WAAY,EACZ,uBAAA,EHzUA,wBAAA,EAQA,mDACC,cAAA,E3By0IF,uBAAA,I8B//HC,wBAAyB,IChVzB,2BAAA,EACA,0BAAA,EDkVA,YCnVA,WAAA,IACA,cAAA,IDqVA,mBCtVA,WAAA,KACA,cAAA,KD+VF,mBChWE,WAAA,KACA,cAAA,KDuWF,aAsSE,WAAY,KA1SV,cAAA,KAEA,yB9B+/HD,aACF,MAAA,K8Bl+HG,aAAc,KAhBhB,YAAA,MACA,yBE5WA,aF8WE,MAAA,eAFF,cAKI,MAAA,gB9Bu/HH,aAAA,M8B7+HD,4BACA,aAAA,GADF,gBAKI,iBAAA,Q9Bg/HH,aAAA,QCmBD,8B6BhgIM,MAAA,KARN,oC9B0/HC,oC8B5+HG,MAAA,Q9B++HH,iBAAA,Y8B1+HK,6B9B6+HL,MAAA,KCmBD,iC6B5/HQ,MAAA,KAKF,uC9By+HL,uCCmBC,MAAO,KACP,iBAAkB,Y6Bz/HZ,sCAIF,4C9Bu+HL,4CCmBC,MAAO,KACP,iBAAkB,Q6Bv/HZ,wCAxCR,8C9BihIC,8C8Bn+HG,MAAA,K9Bs+HH,iBAAA,YCmBD,+B6Bt/HM,aAAA,KAGA,qCApDN,qC9B2hIC,iBAAA,KCmBD,yC6Bp/HI,iBAAA,KAOE,iCAAA,6B7Bk/HJ,aAAc,Q6B9+HR,oCAiCN,0C9B+7HD,0C8B3xHC,MAAO,KA7LC,iBAAA,QACA,yB7B8+HR,sD6B5+HU,MAAA,KAKF,4D9By9HP,4DCmBC,MAAO,KACP,iBAAkB,Y6Bz+HV,2DAIF,iE9Bu9HP,iECmBC,MAAO,KACP,iBAAkB,Q6Bv+HV,6D9B09HX,mEADE,mE8B1jIC,MAAO,KA8GP,iBAAA,aAEE,6B9Bi9HL,MAAA,K8B58HG,mC9B+8HH,MAAA,KCmBD,0B6B/9HM,MAAA,KAIA,gCAAA,gC7Bg+HJ,MAAO,K6Bt9HT,0CARQ,0CASN,mD9Bu8HD,mD8Bt8HC,MAAA,KAFF,gBAKI,iBAAA,K9B08HH,aAAA,QCmBD,8B6B19HM,MAAA,QARN,oC9Bo9HC,oC8Bt8HG,MAAA,K9By8HH,iBAAA,Y8Bp8HK,6B9Bu8HL,MAAA,QCmBD,iC6Bt9HQ,MAAA,QAKF,uC9Bm8HL,uCCmBC,MAAO,KACP,iBAAkB,Y6Bn9HZ,sCAIF,4C9Bi8HL,4CCmBC,MAAO,KACP,iBAAkB,Q6Bj9HZ,wCAxCR,8C9B2+HC,8C8B57HG,MAAA,K9B+7HH,iBAAA,YCmBD,+B6B/8HM,aAAA,KAGA,qCArDN,qC9Bq/HC,iBAAA,KCmBD,yC6B78HI,iBAAA,KAME,iCAAA,6B7B48HJ,aAAc,Q6Bx8HR,oCAuCN,0C9Bm5HD,0C8B33HC,MAAO,KAvDC,iBAAA,QAuDV,yBApDU,kE9Bs7HP,aAAA,Q8Bn7HO,0D9Bs7HP,iBAAA,QCmBD,sD6Bt8HU,MAAA,QAKF,4D9Bm7HP,4DCmBC,MAAO,KACP,iBAAkB,Y6Bn8HV,2DAIF,iE9Bi7HP,iECmBC,MAAO,KACP,iBAAkB,Q6Bj8HV,6D9Bo7HX,mEADE,mE8B1hIC,MAAO,KA+GP,iBAAA,aAEE,6B9Bg7HL,MAAA,Q8B36HG,mC9B86HH,MAAA,KCmBD,0B6B97HM,MAAA,QAIA,gCAAA,gC7B+7HJ,MAAO,KgCvkJT,0CH0oBQ,0CGzoBN,mDjCwjJD,mDiCvjJC,MAAA,KAEA,YACA,QAAA,IAAA,KjC2jJD,cAAA,KiChkJC,WAAY,KAQV,iBAAA,QjC2jJH,cAAA,IiCxjJK,eACA,QAAA,ajC4jJL,yBiCxkJC,QAAS,EAAE,IAkBT,MAAA,KjCyjJH,QAAA,SkC5kJC,oBACA,MAAA,KAEA,YlC+kJD,QAAA,akCnlJC,aAAc,EAOZ,OAAA,KAAA,ElC+kJH,cAAA,ICmBD,eiC/lJM,QAAA,OAEA,iBACA,oBACA,SAAA,SACA,MAAA,KACA,QAAA,IAAA,KACA,YAAA,KACA,YAAA,WlCglJL,MAAA,QkC9kJG,gBAAA,KjCimJF,iBAAkB,KiC9lJZ,OAAA,IAAA,MAAA,KPVH,6B3B2lJJ,gCkC7kJG,YAAA,EjCgmJF,uBAAwB,I0BvnJxB,0BAAA,I3BymJD,4BkCxkJG,+BjC2lJF,wBAAyB,IACzB,2BAA4B,IiCxlJxB,uBAFA,uBAGA,0BAFA,0BlC8kJL,QAAA,EkCtkJG,MAAA,QjCylJF,iBAAkB,KAClB,aAAc,KAEhB,sBiCvlJM,4BAFA,4BjC0lJN,yBiCvlJM,+BAFA,+BAGA,QAAA,ElC2kJL,MAAA,KkCloJC,OAAQ,QjCqpJR,iBAAkB,QAClB,aAAc,QiCnlJV,wBAEA,8BADA,8BjColJN,2BiCtlJM,iCjCulJN,iCDZC,MAAA,KkC/jJC,OAAQ,YjCklJR,iBAAkB,KkC7pJd,aAAA,KAEA,oBnC8oJL,uBmC5oJG,QAAA,KAAA,KlC+pJF,UAAW,K0B1pJX,YAAA,U3B4oJD,gCmC3oJG,mClC8pJF,uBAAwB,I0BvqJxB,0BAAA,I3BypJD,+BkC1kJD,kCjC6lJE,wBAAyB,IkC7qJrB,2BAAA,IAEA,oBnC8pJL,uBmC5pJG,QAAA,IAAA,KlC+qJF,UAAW,K0B1qJX,YAAA,I3B4pJD,gCmC3pJG,mClC8qJF,uBAAwB,I0BvrJxB,0BAAA,I3ByqJD,+BoC3qJD,kCACE,wBAAA,IACA,2BAAA,IAEA,OpC6qJD,aAAA,EoCjrJC,OAAQ,KAAK,EAOX,WAAA,OpC6qJH,WAAA,KCmBD,UmC7rJM,QAAA,OAEA,YACA,eACA,QAAA,apC8qJL,QAAA,IAAA,KoC5rJC,iBAAkB,KnC+sJlB,OAAQ,IAAI,MAAM,KmC5rJd,cAAA,KAnBN,kBpCisJC,kBCmBC,gBAAiB,KmCzrJb,iBAAA,KA3BN,eAAA,kBAkCM,MAAA,MAlCN,mBAAA,sBnC6tJE,MAAO,KmClrJH,mBAEA,yBADA,yBpCqqJL,sBqCltJC,MAAO,KACP,OAAA,YACA,iBAAA,KAEA,OACA,QAAA,OACA,QAAA,KAAA,KAAA,KACA,UAAA,IACA,YAAA,IACA,YAAA,EACA,MAAA,KrCotJD,WAAA,OqChtJG,YAAA,OpCmuJF,eAAgB,SoCjuJZ,cAAA,MrCotJL,cqCltJK,cAKJ,MAAA,KACE,gBAAA,KrC+sJH,OAAA,QqC1sJG,aACA,QAAA,KAOJ,YCtCE,SAAA,StC+uJD,IAAA,KCmBD,eqC7vJM,iBAAA,KALJ,2BD0CF,2BrC4sJC,iBAAA,QCmBD,eqCpwJM,iBAAA,QALJ,2BD8CF,2BrC+sJC,iBAAA,QCmBD,eqC3wJM,iBAAA,QALJ,2BDkDF,2BrCktJC,iBAAA,QCmBD,YqClxJM,iBAAA,QALJ,wBDsDF,wBrCqtJC,iBAAA,QCmBD,eqCzxJM,iBAAA,QALJ,2BD0DF,2BrCwtJC,iBAAA,QCmBD,cqChyJM,iBAAA,QCDJ,0BADF,0BAEE,iBAAA,QAEA,OACA,QAAA,aACA,UAAA,KACA,QAAA,IAAA,IACA,UAAA,KACA,YAAA,IACA,YAAA,EACA,MAAA,KACA,WAAA,OvCqxJD,YAAA,OuClxJC,eAAA,OACE,iBAAA,KvCoxJH,cAAA,KuC/wJG,aACA,QAAA,KAGF,YtCkyJA,SAAU,SsChyJR,IAAA,KAMA,0BvC4wJH,eCmBC,IAAK,EsC7xJD,QAAA,IAAA,IvCgxJL,cuC9wJK,cAKJ,MAAA,KtC4xJA,gBAAiB,KsC1xJf,OAAA,QvC4wJH,+BuCxwJC,4BACE,MAAA,QvC0wJH,iBAAA,KuCtwJG,wBvCywJH,MAAA,MuCrwJG,+BvCwwJH,aAAA,IwCj0JC,uBACA,YAAA,IAEA,WACA,YAAA,KxCo0JD,eAAA,KwCz0JC,cAAe,KvC41Jf,MAAO,QuCn1JL,iBAAA,KAIA,eAbJ,cAcI,MAAA,QxCo0JH,awCl1JC,cAAe,KAmBb,UAAA,KxCk0JH,YAAA,ICmBD,cuCh1JI,iBAAA,QAEA,sBxCi0JH,4BwC31JC,cAAe,KA8Bb,aAAA,KxCg0JH,cAAA,IwC7yJD,sBAfI,UAAA,KxCi0JD,oCwC9zJC,WvCi1JA,YAAa,KuC/0JX,eAAA,KxCi0JH,sBwCvzJD,4BvC00JE,cAAe,KuC90Jb,aAAA,KC5CJ,ezC42JD,cyC32JC,UAAA,MAGA,WACA,QAAA,MACA,QAAA,IACA,cAAA,KrCiLA,YAAA,WACK,iBAAA,KACG,OAAA,IAAA,MAAA,KJ8rJT,cAAA,IyCx3JC,mBAAoB,OAAO,IAAI,YxC24J1B,cAAe,OAAO,IAAI,YwC93J7B,WAAA,OAAA,IAAA,YAKF,iBzC22JD,eCmBC,aAAc,KACd,YAAa,KwCv3JX,mBA1BJ,kBzCk4JC,kByCv2JG,aAAA,QCzBJ,oBACE,QAAA,IACA,MAAA,KAEA,O1Cs4JD,QAAA,K0C14JC,cAAe,KAQb,OAAA,IAAA,MAAA,YAEA,cAAA,IAVJ,UAeI,WAAA,E1Ck4JH,MAAA,QCmBD,mByC/4JI,YAAA,IArBJ,SAyBI,U1C+3JH,cAAA,ECmBD,WyCx4JE,WAAA,IAFF,mBAAA,mBAMI,cAAA,KAEA,0BACA,0B1Cy3JH,SAAA,S0Cj3JC,IAAK,KCvDL,MAAA,MACA,MAAA,Q3C46JD,e0Ct3JC,MAAO,QClDL,iBAAA,Q3C26JH,aAAA,Q2Cx6JG,kB3C26JH,iBAAA,Q2Cn7JC,2BACA,MAAA,Q3Cu7JD,Y0C73JC,MAAO,QCtDL,iBAAA,Q3Cs7JH,aAAA,Q2Cn7JG,e3Cs7JH,iBAAA,Q2C97JC,wBACA,MAAA,Q3Ck8JD,e0Cp4JC,MAAO,QC1DL,iBAAA,Q3Ci8JH,aAAA,Q2C97JG,kB3Ci8JH,iBAAA,Q2Cz8JC,2BACA,MAAA,Q3C68JD,c0C34JC,MAAO,QC9DL,iBAAA,Q3C48JH,aAAA,Q2Cz8JG,iB3C48JH,iBAAA,Q4C78JC,0BAAQ,MAAA,QACR,wCAAQ,K5Cm9JP,oBAAA,KAAA,E4C/8JD,GACA,oBAAA,EAAA,GACA,mCAAQ,K5Cq9JP,oBAAA,KAAA,E4Cv9JD,GACA,oBAAA,EAAA,GACA,gCAAQ,K5Cq9JP,oBAAA,KAAA,E4C78JD,GACA,oBAAA,EAAA,GAGA,UACA,OAAA,KxCsCA,cAAA,KACQ,SAAA,OJ26JT,iBAAA,Q4C78JC,cAAe,IACf,mBAAA,MAAA,EAAA,IAAA,IAAA,eACA,WAAA,MAAA,EAAA,IAAA,IAAA,eAEA,cACA,MAAA,KACA,MAAA,EACA,OAAA,KACA,UAAA,KxCyBA,YAAA,KACQ,MAAA,KAyHR,WAAA,OACK,iBAAA,QACG,mBAAA,MAAA,EAAA,KAAA,EAAA,gBJ+zJT,WAAA,MAAA,EAAA,KAAA,EAAA,gB4C18JC,mBAAoB,MAAM,IAAI,K3Cq+JzB,cAAe,MAAM,IAAI,K4Cp+J5B,WAAA,MAAA,IAAA,KDEF,sBCAE,gCDAF,iBAAA,yK5C88JD,iBAAA,oK4Cv8JC,iBAAiB,iK3Cm+JjB,wBAAyB,KAAK,KG/gK9B,gBAAA,KAAA,KJy/JD,qBIv/JS,+BwCmDR,kBAAmB,qBAAqB,GAAG,OAAO,SErElD,aAAA,qBAAA,GAAA,OAAA,S9C4gKD,UAAA,qBAAA,GAAA,OAAA,S6Cz9JG,sBACA,iBAAA,Q7C69JH,wC4Cx8JC,iBAAkB,yKEzElB,iBAAA,oK9CohKD,iBAAA,iK6Cj+JG,mBACA,iBAAA,Q7Cq+JH,qC4C58JC,iBAAkB,yKE7ElB,iBAAA,oK9C4hKD,iBAAA,iK6Cz+JG,sBACA,iBAAA,Q7C6+JH,wC4Ch9JC,iBAAkB,yKEjFlB,iBAAA,oK9CoiKD,iBAAA,iK6Cj/JG,qBACA,iBAAA,Q7Cq/JH,uC+C5iKC,iBAAkB,yKAElB,iBAAA,oK/C6iKD,iBAAA,iK+C1iKG,O/C6iKH,WAAA,KC4BD,mB8CnkKE,WAAA,E/C4iKD,O+CxiKD,YACE,SAAA,O/C0iKD,KAAA,E+CtiKC,Y/CyiKD,MAAA,Q+CriKG,c/CwiKH,QAAA,MC4BD,4B8C9jKE,UAAA,KAGF,aAAA,mBAEE,aAAA,KAGF,YAAA,kB9C+jKE,cAAe,K8CxjKjB,YAHE,Y/CoiKD,a+ChiKC,QAAA,W/CmiKD,eAAA,I+C/hKC,c/CkiKD,eAAA,O+C7hKC,cACA,eAAA,OAMF,eACE,WAAA,EACA,cAAA,ICvDF,YAEE,aAAA,EACA,WAAA,KAQF,YACE,aAAA,EACA,cAAA,KAGA,iBACA,SAAA,SACA,QAAA,MhD6kKD,QAAA,KAAA,KgD1kKC,cAAA,KrB3BA,iBAAA,KACC,OAAA,IAAA,MAAA,KqB6BD,6BACE,uBAAA,IrBvBF,wBAAA,I3BsmKD,4BgDpkKC,cAAe,E/CgmKf,2BAA4B,I+C9lK5B,0BAAA,IAFF,kBAAA,uBAKI,MAAA,KAIF,2CAAA,gD/CgmKA,MAAO,K+C5lKL,wBAFA,wBhDykKH,6BgDxkKG,6BAKF,MAAO,KACP,gBAAA,KACA,iBAAA,QAKA,uB/C4lKA,MAAO,KACP,WAAY,K+CzlKV,0BhDmkKH,gCgDlkKG,gCALF,MAAA,K/CmmKA,OAAQ,YACR,iBAAkB,KDxBnB,mDgD5kKC,yDAAA,yD/CymKA,MAAO,QDxBR,gDgDhkKC,sDAAA,sD/C6lKA,MAAO,K+CzlKL,wBAEA,8BADA,8BhDmkKH,QAAA,EgDxkKC,MAAA,K/ComKA,iBAAkB,QAClB,aAAc,QAEhB,iDDpBC,wDCuBD,uDADA,uD+CzmKE,8DAYI,6D/C4lKN,uD+CxmKE,8D/C2mKF,6DAKE,MAAO,QDxBR,8CiD1qKG,oDADF,oDAEE,MAAA,QAEA,yBhDusKF,MAAO,QgDrsKH,iBAAA,QAFF,0BAAA,+BAKI,MAAA,QAGF,mDAAA,wDhDwsKJ,MAAO,QDtBR,gCiDhrKO,gCAGF,qCAFE,qChD2sKN,MAAO,QACP,iBAAkB,QAEpB,iCgDvsKQ,uCAFA,uChD0sKR,sCDtBC,4CiDnrKO,4CArBN,MAAA,KACE,iBAAA,QACA,aAAA,QAEA,sBhDouKF,MAAO,QgDluKH,iBAAA,QAFF,uBAAA,4BAKI,MAAA,QAGF,gDAAA,qDhDquKJ,MAAO,QDtBR,6BiD7sKO,6BAGF,kCAFE,kChDwuKN,MAAO,QACP,iBAAkB,QAEpB,8BgDpuKQ,oCAFA,oChDuuKR,mCDtBC,yCiDhtKO,yCArBN,MAAA,KACE,iBAAA,QACA,aAAA,QAEA,yBhDiwKF,MAAO,QgD/vKH,iBAAA,QAFF,0BAAA,+BAKI,MAAA,QAGF,mDAAA,wDhDkwKJ,MAAO,QDtBR,gCiD1uKO,gCAGF,qCAFE,qChDqwKN,MAAO,QACP,iBAAkB,QAEpB,iCgDjwKQ,uCAFA,uChDowKR,sCDtBC,4CiD7uKO,4CArBN,MAAA,KACE,iBAAA,QACA,aAAA,QAEA,wBhD8xKF,MAAO,QgD5xKH,iBAAA,QAFF,yBAAA,8BAKI,MAAA,QAGF,kDAAA,uDhD+xKJ,MAAO,QDtBR,+BiDvwKO,+BAGF,oCAFE,oChDkyKN,MAAO,QACP,iBAAkB,QAEpB,gCgD9xKQ,sCAFA,sChDiyKR,qCDtBC,2CiD1wKO,2CDkGN,MAAO,KACP,iBAAA,QACA,aAAA,QAEF,yBACE,WAAA,EACA,cAAA,IE1HF,sBACE,cAAA,EACA,YAAA,IAEA,O9C0DA,cAAA,KACQ,iBAAA,KJ6uKT,OAAA,IAAA,MAAA,YkDnyKC,cAAe,IACf,mBAAA,EAAA,IAAA,IAAA,gBlDqyKD,WAAA,EAAA,IAAA,IAAA,gBkD/xKC,YACA,QAAA,KvBnBC,e3BuzKF,QAAA,KAAA,KkDtyKC,cAAe,IAAI,MAAM,YAMvB,uBAAA,IlDmyKH,wBAAA,IkD7xKC,0CACA,MAAA,QAEA,alDgyKD,WAAA,EkDpyKC,cAAe,EjDg0Kf,UAAW,KACX,MAAO,QDtBR,oBkD1xKC,sBjDkzKF,eiDxzKI,mBAKJ,qBAEE,MAAA,QvBvCA,cACC,QAAA,KAAA,K3Bs0KF,iBAAA,QkDrxKC,WAAY,IAAI,MAAM,KjDizKtB,2BAA4B,IiD9yK1B,0BAAA,IAHJ,mBAAA,mCAMM,cAAA,ElDwxKL,oCkDnxKG,oDjD+yKF,aAAc,IAAI,EiD7yKZ,cAAA,EvBtEL,4D3B61KF,4EkDjxKG,WAAA,EjD6yKF,uBAAwB,IiD3yKlB,wBAAA,IvBtEL,0D3B21KF,0EkD1yKC,cAAe,EvB1Df,2BAAA,IACC,0BAAA,IuB0FH,+EAEI,uBAAA,ElD8wKH,wBAAA,EkD1wKC,wDlD6wKD,iBAAA,EC4BD,0BACE,iBAAkB,EiDlyKpB,8BlD0wKC,ckD1wKD,gCjDuyKE,cAAe,EiDvyKjB,sCAQM,sBlDwwKL,wCC4BC,cAAe,K0Br5Kf,aAAA,KuByGF,wDlDqxKC,0BC4BC,uBAAwB,IACxB,wBAAyB,IiDlzK3B,yFAoBQ,yFlDwwKP,2DkDzwKO,2DjDqyKN,uBAAwB,IACxB,wBAAyB,IAK3B,wGiD9zKA,wGjD4zKA,wGDtBC,wGCuBD,0EiD7zKA,0EjD2zKA,0EiDnyKU,0EjD2yKR,uBAAwB,IAK1B,uGiDx0KA,uGjDs0KA,uGDtBC,uGCuBD,yEiDv0KA,yEjDq0KA,yEiDzyKU,yEvB7HR,wBAAA,IuBiGF,sDlDqzKC,yBC4BC,2BAA4B,IAC5B,0BAA2B,IiDxyKrB,qFA1CR,qFAyCQ,wDlDmxKP,wDC4BC,2BAA4B,IAC5B,0BAA2B,IAG7B,oGDtBC,oGCwBD,oGiD91KA,oGjD21KA,uEiD7yKU,uEjD+yKV,uEiD71KA,uEjDm2KE,0BAA2B,IAG7B,mGDtBC,mGCwBD,mGiDx2KA,mGjDq2KA,sEiDnzKU,sEjDqzKV,sEiDv2KA,sEjD62KE,2BAA4B,IiDlzK1B,0BlD2xKH,qCkDt1KD,0BAAA,qCA+DI,WAAA,IAAA,MAAA,KA/DJ,kDAAA,kDAmEI,WAAA,EAnEJ,uBAAA,yCjD23KE,OAAQ,EiDjzKA,+CjDqzKV,+CiD/3KA,+CjDi4KA,+CAEA,+CANA,+CDjBC,iECoBD,iEiDh4KA,iEjDk4KA,iEAEA,iEANA,iEAWE,YAAa,EiD3zKL,8CjD+zKV,8CiD74KA,8CjD+4KA,8CAEA,8CANA,8CDjBC,gECoBD,gEiD94KA,gEjDg5KA,gEAEA,gEANA,gEAWE,aAAc,EAIhB,+CiD35KA,+CjDy5KA,+CiDl0KU,+CjDq0KV,iEiD55KA,iEjD05KA,iEDtBC,iEC6BC,cAAe,EAEjB,8CiDn0KU,8CjDq0KV,8CiDr6KA,8CjDo6KA,gEDtBC,gECwBD,gEiDh0KI,gEACA,cAAA,EAUJ,yBACE,cAAA,ElDmyKD,OAAA,EkD/xKG,aACA,cAAA,KANJ,oBASM,cAAA,ElDkyKL,cAAA,IkD7xKG,2BlDgyKH,WAAA,IC4BD,4BiDxzKM,cAAA,EAKF,wDAvBJ,wDlDqzKC,WAAA,IAAA,MAAA,KkD5xKK,2BlD+xKL,WAAA,EmDlhLC,uDnDqhLD,cAAA,IAAA,MAAA,KmDlhLG,eACA,aAAA,KnDshLH,8BmDxhLC,MAAA,KAMI,iBAAA,QnDqhLL,aAAA,KmDlhLK,0DACA,iBAAA,KAGJ,qCAEI,MAAA,QnDmhLL,iBAAA,KmDpiLC,yDnDuiLD,oBAAA,KmDpiLG,eACA,aAAA,QnDwiLH,8BmD1iLC,MAAA,KAMI,iBAAA,QnDuiLL,aAAA,QmDpiLK,0DACA,iBAAA,QAGJ,qCAEI,MAAA,QnDqiLL,iBAAA,KmDtjLC,yDnDyjLD,oBAAA,QmDtjLG,eACA,aAAA,QnD0jLH,8BmD5jLC,MAAA,QAMI,iBAAA,QnDyjLL,aAAA,QmDtjLK,0DACA,iBAAA,QAGJ,qCAEI,MAAA,QnDujLL,iBAAA,QmDxkLC,yDnD2kLD,oBAAA,QmDxkLG,YACA,aAAA,QnD4kLH,2BmD9kLC,MAAA,QAMI,iBAAA,QnD2kLL,aAAA,QmDxkLK,uDACA,iBAAA,QAGJ,kCAEI,MAAA,QnDykLL,iBAAA,QmD1lLC,sDnD6lLD,oBAAA,QmD1lLG,eACA,aAAA,QnD8lLH,8BmDhmLC,MAAA,QAMI,iBAAA,QnD6lLL,aAAA,QmD1lLK,0DACA,iBAAA,QAGJ,qCAEI,MAAA,QnD2lLL,iBAAA,QmD5mLC,yDnD+mLD,oBAAA,QmD5mLG,cACA,aAAA,QnDgnLH,6BmDlnLC,MAAA,QAMI,iBAAA,QnD+mLL,aAAA,QmD5mLK,yDACA,iBAAA,QAGJ,oCAEI,MAAA,QnD6mLL,iBAAA,QoD5nLC,wDACA,oBAAA,QAEA,kBACA,SAAA,SpD+nLD,QAAA,MoDpoLC,OAAQ,EnDgqLR,QAAS,EACT,SAAU,OAEZ,yCmDtpLI,wBADA,yBAEA,yBACA,wBACA,SAAA,SACA,IAAA,EACA,OAAA,EpD+nLH,KAAA,EoD1nLC,MAAO,KACP,OAAA,KpD4nLD,OAAA,EoDvnLC,wBpD0nLD,eAAA,OqDppLC,uBACA,eAAA,IAEA,MACA,WAAA,KACA,QAAA,KjDwDA,cAAA,KACQ,iBAAA,QJgmLT,OAAA,IAAA,MAAA,QqD/pLC,cAAe,IASb,mBAAA,MAAA,EAAA,IAAA,IAAA,gBACA,WAAA,MAAA,EAAA,IAAA,IAAA,gBAKJ,iBACE,aAAA,KACA,aAAA,gBAEF,SACE,QAAA,KACA,cAAA,ICtBF,SACE,QAAA,IACA,cAAA,IAEA,OACA,MAAA,MACA,UAAA,KjCRA,YAAA,IAGA,YAAA,ErBqrLD,MAAA,KsD7qLC,YAAA,EAAA,IAAA,EAAA,KrDysLA,OAAQ,kBqDvsLN,QAAA,GjCbF,aiCeE,ajCZF,MAAA,KrB6rLD,gBAAA,KsDzqLC,OAAA,QACE,OAAA,kBACA,QAAA,GAEA,aACA,mBAAA,KtD2qLH,QAAA,EuDhsLC,OAAQ,QACR,WAAA,IvDksLD,OAAA,EuD7rLC,YACA,SAAA,OAEA,OACA,SAAA,MACA,IAAA,EACA,MAAA,EACA,OAAA,EACA,KAAA,EAIA,QAAA,KvD6rLD,QAAA,KuD1rLC,SAAA,OnD+GA,2BAAA,MACI,QAAA,EAEI,0BAkER,mBAAA,kBAAA,IAAA,SAEK,cAAA,aAAA,IAAA,SACG,WAAA,UAAA,IAAA,SJ6gLT,kBAAA,kBuDhsLC,cAAA,kBnD2GA,aAAA,kBACI,UAAA,kBAEI,wBJwlLT,kBAAA,euDpsLK,cAAe,eACnB,aAAA,eACA,UAAA,eAIF,mBACE,WAAA,OACA,WAAA,KvDqsLD,cuDhsLC,SAAU,SACV,MAAA,KACA,OAAA,KAEA,eACA,SAAA,SnDaA,iBAAA,KACQ,wBAAA,YmDZR,gBAAA,YtD4tLA,OsD5tLA,IAAA,MAAA,KAEA,OAAA,IAAA,MAAA,evDksLD,cAAA,IuD9rLC,QAAS,EACT,mBAAA,EAAA,IAAA,IAAA,eACA,WAAA,EAAA,IAAA,IAAA,eAEA,gBACA,SAAA,MACA,IAAA,EACA,MAAA,EvDgsLD,OAAA,EuD9rLC,KAAA,ElCrEA,QAAA,KAGA,iBAAA,KkCmEA,qBlCtEA,OAAA,iBAGA,QAAA,EkCwEF,mBACE,OAAA,kBACA,QAAA,GAIF,cACE,QAAA,KvDgsLD,cAAA,IAAA,MAAA,QuD3rLC,qBACA,WAAA,KAKF,aACE,OAAA,EACA,YAAA,WAIF,YACE,SAAA,SACA,QAAA,KvD0rLD,cuD5rLC,QAAS,KAQP,WAAA,MACA,WAAA,IAAA,MAAA,QATJ,wBAaI,cAAA,EvDsrLH,YAAA,IuDlrLG,mCvDqrLH,YAAA,KuD/qLC,oCACA,YAAA,EAEA,yBACA,SAAA,SvDkrLD,IAAA,QuDhqLC,MAAO,KAZP,OAAA,KACE,SAAA,OvDgrLD,yBuD7qLD,cnDvEA,MAAA,MACQ,OAAA,KAAA,KmD2ER,eAAY,mBAAA,EAAA,IAAA,KAAA,evD+qLX,WAAA,EAAA,IAAA,KAAA,euDzqLD,UAFA,MAAA,OvDirLD,yBwD/zLC,UACA,MAAA,OCNA,SAEA,SAAA,SACA,QAAA,KACA,QAAA,MACA,YAAA,iBAAA,UAAA,MAAA,WACA,UAAA,KACA,WAAA,OACA,YAAA,IACA,YAAA,WACA,WAAA,KACA,WAAA,MACA,gBAAA,KACA,YAAA,KACA,eAAA,KACA,eAAA,ODHA,WAAA,OnCVA,aAAA,OAGA,UAAA,OrBs1LD,YAAA,OwD30LC,OAAA,iBnCdA,QAAA,ErB61LD,WAAA,KwD90LY,YAAmB,OAAA,kBxDk1L/B,QAAA,GwDj1LY,aAAmB,QAAA,IAAA,ExDq1L/B,WAAA,KwDp1LY,eAAmB,QAAA,EAAA,IxDw1L/B,YAAA,IwDv1LY,gBAAmB,QAAA,IAAA,ExD21L/B,WAAA,IwDt1LC,cACA,QAAA,EAAA,IACA,YAAA,KAEA,eACA,UAAA,MxDy1LD,QAAA,IAAA,IwDr1LC,MAAO,KACP,WAAA,OACA,iBAAA,KACA,cAAA,IAEA,exDu1LD,SAAA,SwDn1LC,MAAA,EACE,OAAA,EACA,aAAA,YACA,aAAA,MAEA,4BxDq1LH,OAAA,EwDn1LC,KAAA,IACE,YAAA,KACA,aAAA,IAAA,IAAA,EACA,iBAAA,KAEA,iCxDq1LH,MAAA,IwDn1LC,OAAA,EACE,cAAA,KACA,aAAA,IAAA,IAAA,EACA,iBAAA,KAEA,kCxDq1LH,OAAA,EwDn1LC,KAAA,IACE,cAAA,KACA,aAAA,IAAA,IAAA,EACA,iBAAA,KAEA,8BxDq1LH,IAAA,IwDn1LC,KAAA,EACE,WAAA,KACA,aAAA,IAAA,IAAA,IAAA,EACA,mBAAA,KAEA,6BxDq1LH,IAAA,IwDn1LC,MAAA,EACE,WAAA,KACA,aAAA,IAAA,EAAA,IAAA,IACA,kBAAA,KAEA,+BxDq1LH,IAAA,EwDn1LC,KAAA,IACE,YAAA,KACA,aAAA,EAAA,IAAA,IACA,oBAAA,KAEA,oCxDq1LH,IAAA,EwDn1LC,MAAA,IACE,WAAA,KACA,aAAA,EAAA,IAAA,IACA,oBAAA,KAEA,qCxDq1LH,IAAA,E0Dl7LC,KAAM,IACN,WAAA,KACA,aAAA,EAAA,IAAA,IACA,oBAAA,KAEA,SACA,SAAA,SACA,IAAA,EDXA,KAAA,EAEA,QAAA,KACA,QAAA,KACA,UAAA,MACA,QAAA,IACA,YAAA,iBAAA,UAAA,MAAA,WACA,UAAA,KACA,WAAA,OACA,YAAA,IACA,YAAA,WACA,WAAA,KACA,WAAA,MACA,gBAAA,KACA,YAAA,KACA,eAAA,KCAA,eAAA,OAEA,WAAA,OACA,aAAA,OAAA,UAAA,OACA,YAAA,OACA,iBAAA,KACA,wBAAA,YtD8CA,gBAAA,YACQ,OAAA,IAAA,MAAA,KJk5LT,OAAA,IAAA,MAAA,e0D77LC,cAAA,IAAY,mBAAA,EAAA,IAAA,KAAA,e1Dg8Lb,WAAA,EAAA,IAAA,KAAA,e0D/7La,WAAA,KACZ,aAAY,WAAA,MACZ,eAAY,YAAA,KAGd,gBACE,WAAA,KAEA,cACA,YAAA,MAEA,e1Dq8LD,QAAA,IAAA,K0Dl8LC,OAAQ,EACR,UAAA,K1Do8LD,iBAAA,Q0D57LC,cAAA,IAAA,MAAA,QzDy9LA,cAAe,IAAI,IAAI,EAAE,EyDt9LvB,iBACA,QAAA,IAAA,KAEA,gBACA,sB1D87LH,SAAA,S0D37LC,QAAS,MACT,MAAA,E1D67LD,OAAA,E0D37LC,aAAc,YACd,aAAA,M1D87LD,gB0Dz7LC,aAAA,KAEE,sBACA,QAAA,GACA,aAAA,KAEA,oB1D27LH,OAAA,M0D17LG,KAAA,IACE,YAAA,MACA,iBAAA,KACA,iBAAA,gBACA,oBAAA,E1D67LL,0B0Dz7LC,OAAA,IACE,YAAA,MACA,QAAA,IACA,iBAAA,KACA,oBAAA,EAEA,sB1D27LH,IAAA,I0D17LG,KAAA,MACE,WAAA,MACA,mBAAA,KACA,mBAAA,gBACA,kBAAA,E1D67LL,4B0Dz7LC,OAAA,MACE,KAAA,IACA,QAAA,IACA,mBAAA,KACA,kBAAA,EAEA,uB1D27LH,IAAA,M0D17LG,KAAA,IACE,YAAA,MACA,iBAAA,EACA,oBAAA,KACA,oBAAA,gB1D67LL,6B0Dx7LC,IAAA,IACE,YAAA,MACA,QAAA,IACA,iBAAA,EACA,oBAAA,KAEA,qB1D07LH,IAAA,I0Dz7LG,MAAA,MACE,WAAA,MACA,mBAAA,EACA,kBAAA,KACA,kBAAA,gB1D47LL,2B2DpjMC,MAAO,IACP,OAAA,M3DsjMD,QAAA,I2DnjMC,mBAAoB,EACpB,kBAAA,KAEA,U3DqjMD,SAAA,S2DljMG,gBACA,SAAA,SvD6KF,MAAA,KACK,SAAA,OJ04LN,sB2D/jMC,SAAU,S1D4lMV,QAAS,K0D9kML,mBAAA,IAAA,YAAA,K3DqjML,cAAA,IAAA,YAAA,K2D3hMC,WAAA,IAAA,YAAA,KvDmKK,4BAFL,0BAGQ,YAAA,EA3JA,qDA+GR,sBAEQ,mBAAA,kBAAA,IAAA,YJ86LP,cAAA,aAAA,IAAA,Y2DzjMG,WAAA,UAAA,IAAA,YvDmHJ,4BAAA,OACQ,oBAAA,OuDjHF,oBAAA,O3D4jML,YAAA,OI58LD,mCHs+LA,2BGr+LQ,KAAA,EuD5GF,kBAAA,sB3D6jML,UAAA,sBC2BD,kCADA,2BG5+LA,KAAA,EACQ,kBAAA,uBuDtGF,UAAA,uBArCN,6B3DomMD,gC2DpmMC,iC1D+nME,KAAM,E0DllMN,kBAAA,mB3D4jMH,UAAA,oBAGA,wB2D5mMD,sBAAA,sBAsDI,QAAA,MAEA,wB3D0jMH,KAAA,E2DtjMG,sB3DyjMH,sB2DrnMC,SAAU,SA+DR,IAAA,E3DyjMH,MAAA,KC0BD,sB0D/kMI,KAAA,KAnEJ,sBAuEI,KAAA,MAvEJ,2BA0EI,4B3DwjMH,KAAA,E2D/iMC,6BACA,KAAA,MAEA,8BACA,KAAA,KtC3FA,kBsC6FA,SAAA,SACA,IAAA,EACA,OAAA,EACA,KAAA,EACA,MAAA,I3DmjMD,UAAA,K2D9iMC,MAAA,KdnGE,WAAA,OACA,YAAA,EAAA,IAAA,IAAA,eACA,iBAAA,cAAA,OAAA,kBACA,QAAA,G7CqpMH,uB2DljMC,iBAAA,sEACE,iBAAA,iEACA,iBAAA,uFdxGA,iBAAA,kEACA,OAAA,+GACA,kBAAA,SACA,wBACA,MAAA,E7C6pMH,KAAA,K2DpjMC,iBAAA,sE1DglMA,iBAAiB,iE0D9kMf,iBAAA,uFACA,iBAAA,kEACA,OAAA,+GtCvHF,kBAAA,SsCyFF,wB3DslMC,wBC4BC,MAAO,KACP,gBAAiB,KACjB,OAAQ,kB0D7kMN,QAAA,EACA,QAAA,G3DwjMH,0C2DhmMD,2CA2CI,6BADA,6B1DklMF,SAAU,S0D7kMR,IAAA,IACA,QAAA,E3DqjMH,QAAA,a2DrmMC,WAAY,MAqDV,0CADA,6B3DsjMH,KAAA,I2D1mMC,YAAa,MA0DX,2CADA,6BAEA,MAAA,IACA,aAAA,MAME,6BADF,6B3DmjMH,MAAA,K2D9iMG,OAAA,KACE,YAAA,M3DgjML,YAAA,E2DriMC,oCACA,QAAA,QAEA,oCACA,QAAA,QAEA,qBACA,SAAA,SACA,OAAA,K3DwiMD,KAAA,I2DjjMC,QAAS,GAYP,MAAA,IACA,aAAA,EACA,YAAA,KACA,WAAA,OACA,WAAA,KAEA,wBACA,QAAA,aAWA,MAAA,KACA,OAAA,K3D8hMH,OAAA,I2D7jMC,YAAa,OAkCX,OAAA,QACA,iBAAA,OACA,iBAAA,cACA,OAAA,IAAA,MAAA,K3D8hMH,cAAA,K2DthMC,6BACA,MAAA,KACA,OAAA,KACA,OAAA,EACA,iBAAA,KAEA,kBACA,SAAA,SACA,MAAA,IACA,OAAA,K3DyhMD,KAAA,I2DxhMC,QAAA,GACE,YAAA,K3D0hMH,eAAA,K2Dj/LC,MAAO,KAhCP,WAAA,O1D8iMA,YAAa,EAAE,IAAI,IAAI,eAEzB,uB0D3iMM,YAAA,KAEA,oCACA,0C3DmhMH,2C2D3hMD,6BAAA,6BAYI,MAAA,K3DmhMH,OAAA,K2D/hMD,WAAA,M1D2jME,UAAW,KDxBZ,0C2D9gMD,6BACE,YAAA,MAEA,2C3DghMD,6B2D5gMD,aAAA,M3D+gMC,kBACF,MAAA,I4D7wMC,KAAA,I3DyyME,eAAgB,KAElB,qBACE,OAAQ,MAkBZ,qCADA,sCADA,mBADA,oBAXA,gBADA,iBAOA,uBADA,wBADA,iBADA,kBADA,wBADA,yBASA,mCADA,oC2DpzME,oBAAA,qBAAA,oBAAA,qB3D2zMF,WADA,YAOA,uBADA,wBADA,qBADA,sBADA,cADA,e2D/zMI,a3Dq0MJ,cDvBC,kB4D7yMG,mB3DqzMJ,WADA,YAwBE,QAAS,MACT,QAAS,IASX,qCADA,mBANA,gBAGA,uBADA,iBADA,wBAIA,mCDhBC,oB6D/0MC,oB5Dk2MF,W+B51MA,uBhCo0MC,qB4D5zMG,cChBF,aACA,kB5D+1MF,W+Br1ME,MAAO,KhCy0MR,cgCt0MC,QAAS,MACT,aAAA,KhCw0MD,YAAA,KgC/zMC,YhCk0MD,MAAA,gBgC/zMC,WhCk0MD,MAAA,egC/zMC,MhCk0MD,QAAA,e8Dz1MC,MACA,QAAA,gBAEA,WACA,WAAA,O9B8BF,WACE,KAAA,EAAA,EAAA,EhCg0MD,MAAA,YgCzzMC,YAAa,KACb,iBAAA,YhC2zMD,OAAA,E+D31MC,Q/D81MD,QAAA,eC4BD,OACE,SAAU,M+Dn4MV,chE42MD,MAAA,aC+BD,YADA,YADA,YADA,YAIE,QAAS,e+Dp5MT,kBhEs4MC,mBgEr4MD,yBhEi4MD,kB+Dl1MD,mBA6IA,yB9D4tMA,kBACA,mB8Dj3ME,yB9D62MF,kBACA,mBACA,yB+Dv5MY,QAAA,eACV,yBAAU,YhE04MT,QAAA,gBC4BD,iB+Dp6MU,QAAA,gBhE64MX,c+D51MG,QAAS,oB/Dg2MV,c+Dl2MC,c/Dm2MH,QAAA,sB+D91MG,yB/Dk2MD,kBACF,QAAA,iB+D91MG,yB/Dk2MD,mBACF,QAAA,kBgEh6MC,yBhEo6MC,yBgEn6MD,QAAA,wBACA,+CAAU,YhEw6MT,QAAA,gBC4BD,iB+Dl8MU,QAAA,gBhE26MX,c+Dr2MG,QAAS,oB/Dy2MV,c+D32MC,c/D42MH,QAAA,sB+Dv2MG,+C/D22MD,kBACF,QAAA,iB+Dv2MG,+C/D22MD,mBACF,QAAA,kBgE97MC,+ChEk8MC,yBgEj8MD,QAAA,wBACA,gDAAU,YhEs8MT,QAAA,gBC4BD,iB+Dh+MU,QAAA,gBhEy8MX,c+D92MG,QAAS,oB/Dk3MV,c+Dp3MC,c/Dq3MH,QAAA,sB+Dh3MG,gD/Do3MD,kBACF,QAAA,iB+Dh3MG,gD/Do3MD,mBACF,QAAA,kBgE59MC,gDhEg+MC,yBgE/9MD,QAAA,wBACA,0BAAU,YhEo+MT,QAAA,gBC4BD,iB+D9/MU,QAAA,gBhEu+MX,c+Dv3MG,QAAS,oB/D23MV,c+D73MC,c/D83MH,QAAA,sB+Dz3MG,0B/D63MD,kBACF,QAAA,iB+Dz3MG,0B/D63MD,mBACF,QAAA,kBgEl/MC,0BhEs/MC,yBACF,QAAA,wBgEv/MC,yBhE2/MC,WACF,QAAA,gBgE5/MC,+ChEggNC,WACF,QAAA,gBgEjgNC,gDhEqgNC,WACF,QAAA,gBAGA,0B+Dh3MC,WA4BE,QAAS,gBC5LX,eAAU,QAAA,eACV,aAAU,ehEyhNT,QAAA,gBC4BD,oB+DnjNU,QAAA,gBhE4hNX,iB+D93MG,QAAS,oBAMX,iB/D23MD,iB+Dt2MG,QAAS,sB/D22MZ,qB+D/3MC,QAAS,e/Dk4MV,a+D53MC,qBAcE,QAAS,iB/Dm3MZ,sB+Dh4MC,QAAS,e/Dm4MV,a+D73MC,sBAOE,QAAS,kB/D23MZ,4B+D53MC,QAAS,eCpLT,ahEojNC,4BACF,QAAA,wBC6BD,aACE,cACE,QAAS","sourcesContent":["/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */\n\n//\n// 1. Set default font family to sans-serif.\n// 2. Prevent iOS and IE text size adjust after device orientation change,\n// without disabling user zoom.\n//\n\nhtml {\n font-family: sans-serif; // 1\n -ms-text-size-adjust: 100%; // 2\n -webkit-text-size-adjust: 100%; // 2\n}\n\n//\n// Remove default margin.\n//\n\nbody {\n margin: 0;\n}\n\n// HTML5 display definitions\n// ==========================================================================\n\n//\n// Correct `block` display not defined for any HTML5 element in IE 8/9.\n// Correct `block` display not defined for `details` or `summary` in IE 10/11\n// and Firefox.\n// Correct `block` display not defined for `main` in IE 11.\n//\n\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n display: block;\n}\n\n//\n// 1. Correct `inline-block` display not defined in IE 8/9.\n// 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.\n//\n\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block; // 1\n vertical-align: baseline; // 2\n}\n\n//\n// Prevent modern browsers from displaying `audio` without controls.\n// Remove excess height in iOS 5 devices.\n//\n\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n\n//\n// Address `[hidden]` styling not present in IE 8/9/10.\n// Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.\n//\n\n[hidden],\ntemplate {\n display: none;\n}\n\n// Links\n// ==========================================================================\n\n//\n// Remove the gray background color from active links in IE 10.\n//\n\na {\n background-color: transparent;\n}\n\n//\n// Improve readability of focused elements when they are also in an\n// active/hover state.\n//\n\na:active,\na:hover {\n outline: 0;\n}\n\n// Text-level semantics\n// ==========================================================================\n\n//\n// Address styling not present in IE 8/9/10/11, Safari, and Chrome.\n//\n\nabbr[title] {\n border-bottom: 1px dotted;\n}\n\n//\n// Address style set to `bolder` in Firefox 4+, Safari, and Chrome.\n//\n\nb,\nstrong {\n font-weight: bold;\n}\n\n//\n// Address styling not present in Safari and Chrome.\n//\n\ndfn {\n font-style: italic;\n}\n\n//\n// Address variable `h1` font-size and margin within `section` and `article`\n// contexts in Firefox 4+, Safari, and Chrome.\n//\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n//\n// Address styling not present in IE 8/9.\n//\n\nmark {\n background: #ff0;\n color: #000;\n}\n\n//\n// Address inconsistent and variable font size in all browsers.\n//\n\nsmall {\n font-size: 80%;\n}\n\n//\n// Prevent `sub` and `sup` affecting `line-height` in all browsers.\n//\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsup {\n top: -0.5em;\n}\n\nsub {\n bottom: -0.25em;\n}\n\n// Embedded content\n// ==========================================================================\n\n//\n// Remove border when inside `a` element in IE 8/9/10.\n//\n\nimg {\n border: 0;\n}\n\n//\n// Correct overflow not hidden in IE 9/10/11.\n//\n\nsvg:not(:root) {\n overflow: hidden;\n}\n\n// Grouping content\n// ==========================================================================\n\n//\n// Address margin not present in IE 8/9 and Safari.\n//\n\nfigure {\n margin: 1em 40px;\n}\n\n//\n// Address differences between Firefox and other browsers.\n//\n\nhr {\n box-sizing: content-box;\n height: 0;\n}\n\n//\n// Contain overflow in all browsers.\n//\n\npre {\n overflow: auto;\n}\n\n//\n// Address odd `em`-unit font size rendering in all browsers.\n//\n\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\n\n// Forms\n// ==========================================================================\n\n//\n// Known limitation: by default, Chrome and Safari on OS X allow very limited\n// styling of `select`, unless a `border` property is set.\n//\n\n//\n// 1. Correct color not being inherited.\n// Known issue: affects color of disabled elements.\n// 2. Correct font properties not being inherited.\n// 3. Address margins set differently in Firefox 4+, Safari, and Chrome.\n//\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n color: inherit; // 1\n font: inherit; // 2\n margin: 0; // 3\n}\n\n//\n// Address `overflow` set to `hidden` in IE 8/9/10/11.\n//\n\nbutton {\n overflow: visible;\n}\n\n//\n// Address inconsistent `text-transform` inheritance for `button` and `select`.\n// All other form control elements do not inherit `text-transform` values.\n// Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.\n// Correct `select` style inheritance in Firefox.\n//\n\nbutton,\nselect {\n text-transform: none;\n}\n\n//\n// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`\n// and `video` controls.\n// 2. Correct inability to style clickable `input` types in iOS.\n// 3. Improve usability and consistency of cursor style between image-type\n// `input` and others.\n//\n\nbutton,\nhtml input[type=\"button\"], // 1\ninput[type=\"reset\"],\ninput[type=\"submit\"] {\n -webkit-appearance: button; // 2\n cursor: pointer; // 3\n}\n\n//\n// Re-set default cursor for disabled elements.\n//\n\nbutton[disabled],\nhtml input[disabled] {\n cursor: default;\n}\n\n//\n// Remove inner padding and border in Firefox 4+.\n//\n\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n\n//\n// Address Firefox 4+ setting `line-height` on `input` using `!important` in\n// the UA stylesheet.\n//\n\ninput {\n line-height: normal;\n}\n\n//\n// It's recommended that you don't attempt to style these elements.\n// Firefox's implementation doesn't respect box-sizing, padding, or width.\n//\n// 1. Address box sizing set to `content-box` in IE 8/9/10.\n// 2. Remove excess padding in IE 8/9/10.\n//\n\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n box-sizing: border-box; // 1\n padding: 0; // 2\n}\n\n//\n// Fix the cursor style for Chrome's increment/decrement buttons. For certain\n// `font-size` values of the `input`, it causes the cursor style of the\n// decrement button to change from `default` to `text`.\n//\n\ninput[type=\"number\"]::-webkit-inner-spin-button,\ninput[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n//\n// 1. Address `appearance` set to `searchfield` in Safari and Chrome.\n// 2. Address `box-sizing` set to `border-box` in Safari and Chrome.\n//\n\ninput[type=\"search\"] {\n -webkit-appearance: textfield; // 1\n box-sizing: content-box; //2\n}\n\n//\n// Remove inner padding and search cancel button in Safari and Chrome on OS X.\n// Safari (but not Chrome) clips the cancel button when the search input has\n// padding (and `textfield` appearance).\n//\n\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n//\n// Define consistent border, margin, and padding.\n//\n\nfieldset {\n border: 1px solid #c0c0c0;\n margin: 0 2px;\n padding: 0.35em 0.625em 0.75em;\n}\n\n//\n// 1. Correct `color` not being inherited in IE 8/9/10/11.\n// 2. Remove padding so people aren't caught out if they zero out fieldsets.\n//\n\nlegend {\n border: 0; // 1\n padding: 0; // 2\n}\n\n//\n// Remove default vertical scrollbar in IE 8/9/10/11.\n//\n\ntextarea {\n overflow: auto;\n}\n\n//\n// Don't inherit the `font-weight` (applied by a rule above).\n// NOTE: the default cannot safely be changed in Chrome and Safari on OS X.\n//\n\noptgroup {\n font-weight: bold;\n}\n\n// Tables\n// ==========================================================================\n\n//\n// Remove most spacing between table cells.\n//\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n\ntd,\nth {\n padding: 0;\n}\n","/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */\n\n// ==========================================================================\n// Print styles.\n// Inlined to avoid the additional HTTP request: h5bp.com/r\n// ==========================================================================\n\n@media print {\n *,\n *:before,\n *:after {\n background: transparent !important;\n color: #000 !important; // Black prints faster: h5bp.com/s\n box-shadow: none !important;\n text-shadow: none !important;\n }\n\n a,\n a:visited {\n text-decoration: underline;\n }\n\n a[href]:after {\n content: \" (\" attr(href) \")\";\n }\n\n abbr[title]:after {\n content: \" (\" attr(title) \")\";\n }\n\n // Don't show links that are fragment identifiers,\n // or use the `javascript:` pseudo protocol\n a[href^=\"#\"]:after,\n a[href^=\"javascript:\"]:after {\n content: \"\";\n }\n\n pre,\n blockquote {\n border: 1px solid #999;\n page-break-inside: avoid;\n }\n\n thead {\n display: table-header-group; // h5bp.com/t\n }\n\n tr,\n img {\n page-break-inside: avoid;\n }\n\n img {\n max-width: 100% !important;\n }\n\n p,\n h2,\n h3 {\n orphans: 3;\n widows: 3;\n }\n\n h2,\n h3 {\n page-break-after: avoid;\n }\n\n // Bootstrap specific changes start\n\n // Bootstrap components\n .navbar {\n display: none;\n }\n .btn,\n .dropup > .btn {\n > .caret {\n border-top-color: #000 !important;\n }\n }\n .label {\n border: 1px solid #000;\n }\n\n .table {\n border-collapse: collapse !important;\n\n td,\n th {\n background-color: #fff !important;\n }\n }\n .table-bordered {\n th,\n td {\n border: 1px solid #ddd !important;\n }\n }\n\n // Bootstrap specific changes end\n}\n","/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */\n/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */\nhtml {\n font-family: sans-serif;\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n}\nbody {\n margin: 0;\n}\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n display: block;\n}\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block;\n vertical-align: baseline;\n}\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n[hidden],\ntemplate {\n display: none;\n}\na {\n background-color: transparent;\n}\na:active,\na:hover {\n outline: 0;\n}\nabbr[title] {\n border-bottom: 1px dotted;\n}\nb,\nstrong {\n font-weight: bold;\n}\ndfn {\n font-style: italic;\n}\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\nmark {\n background: #ff0;\n color: #000;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsup {\n top: -0.5em;\n}\nsub {\n bottom: -0.25em;\n}\nimg {\n border: 0;\n}\nsvg:not(:root) {\n overflow: hidden;\n}\nfigure {\n margin: 1em 40px;\n}\nhr {\n box-sizing: content-box;\n height: 0;\n}\npre {\n overflow: auto;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n color: inherit;\n font: inherit;\n margin: 0;\n}\nbutton {\n overflow: visible;\n}\nbutton,\nselect {\n text-transform: none;\n}\nbutton,\nhtml input[type=\"button\"],\ninput[type=\"reset\"],\ninput[type=\"submit\"] {\n -webkit-appearance: button;\n cursor: pointer;\n}\nbutton[disabled],\nhtml input[disabled] {\n cursor: default;\n}\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\ninput {\n line-height: normal;\n}\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n box-sizing: border-box;\n padding: 0;\n}\ninput[type=\"number\"]::-webkit-inner-spin-button,\ninput[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\ninput[type=\"search\"] {\n -webkit-appearance: textfield;\n box-sizing: content-box;\n}\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\nfieldset {\n border: 1px solid #c0c0c0;\n margin: 0 2px;\n padding: 0.35em 0.625em 0.75em;\n}\nlegend {\n border: 0;\n padding: 0;\n}\ntextarea {\n overflow: auto;\n}\noptgroup {\n font-weight: bold;\n}\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\ntd,\nth {\n padding: 0;\n}\n/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */\n@media print {\n *,\n *:before,\n *:after {\n background: transparent !important;\n color: #000 !important;\n box-shadow: none !important;\n text-shadow: none !important;\n }\n a,\n a:visited {\n text-decoration: underline;\n }\n a[href]:after {\n content: \" (\" attr(href) \")\";\n }\n abbr[title]:after {\n content: \" (\" attr(title) \")\";\n }\n a[href^=\"#\"]:after,\n a[href^=\"javascript:\"]:after {\n content: \"\";\n }\n pre,\n blockquote {\n border: 1px solid #999;\n page-break-inside: avoid;\n }\n thead {\n display: table-header-group;\n }\n tr,\n img {\n page-break-inside: avoid;\n }\n img {\n max-width: 100% !important;\n }\n p,\n h2,\n h3 {\n orphans: 3;\n widows: 3;\n }\n h2,\n h3 {\n page-break-after: avoid;\n }\n .navbar {\n display: none;\n }\n .btn > .caret,\n .dropup > .btn > .caret {\n border-top-color: #000 !important;\n }\n .label {\n border: 1px solid #000;\n }\n .table {\n border-collapse: collapse !important;\n }\n .table td,\n .table th {\n background-color: #fff !important;\n }\n .table-bordered th,\n .table-bordered td {\n border: 1px solid #ddd !important;\n }\n}\n@font-face {\n font-family: 'Glyphicons Halflings';\n src: url('../fonts/glyphicons-halflings-regular.eot');\n src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');\n}\n.glyphicon {\n position: relative;\n top: 1px;\n display: inline-block;\n font-family: 'Glyphicons Halflings';\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.glyphicon-asterisk:before {\n content: \"\\002a\";\n}\n.glyphicon-plus:before {\n content: \"\\002b\";\n}\n.glyphicon-euro:before,\n.glyphicon-eur:before {\n content: \"\\20ac\";\n}\n.glyphicon-minus:before {\n content: \"\\2212\";\n}\n.glyphicon-cloud:before {\n content: \"\\2601\";\n}\n.glyphicon-envelope:before {\n content: \"\\2709\";\n}\n.glyphicon-pencil:before {\n content: \"\\270f\";\n}\n.glyphicon-glass:before {\n content: \"\\e001\";\n}\n.glyphicon-music:before {\n content: \"\\e002\";\n}\n.glyphicon-search:before {\n content: \"\\e003\";\n}\n.glyphicon-heart:before {\n content: \"\\e005\";\n}\n.glyphicon-star:before {\n content: \"\\e006\";\n}\n.glyphicon-star-empty:before {\n content: \"\\e007\";\n}\n.glyphicon-user:before {\n content: \"\\e008\";\n}\n.glyphicon-film:before {\n content: \"\\e009\";\n}\n.glyphicon-th-large:before {\n content: \"\\e010\";\n}\n.glyphicon-th:before {\n content: \"\\e011\";\n}\n.glyphicon-th-list:before {\n content: \"\\e012\";\n}\n.glyphicon-ok:before {\n content: \"\\e013\";\n}\n.glyphicon-remove:before {\n content: \"\\e014\";\n}\n.glyphicon-zoom-in:before {\n content: \"\\e015\";\n}\n.glyphicon-zoom-out:before {\n content: \"\\e016\";\n}\n.glyphicon-off:before {\n content: \"\\e017\";\n}\n.glyphicon-signal:before {\n content: \"\\e018\";\n}\n.glyphicon-cog:before {\n content: \"\\e019\";\n}\n.glyphicon-trash:before {\n content: \"\\e020\";\n}\n.glyphicon-home:before {\n content: \"\\e021\";\n}\n.glyphicon-file:before {\n content: \"\\e022\";\n}\n.glyphicon-time:before {\n content: \"\\e023\";\n}\n.glyphicon-road:before {\n content: \"\\e024\";\n}\n.glyphicon-download-alt:before {\n content: \"\\e025\";\n}\n.glyphicon-download:before {\n content: \"\\e026\";\n}\n.glyphicon-upload:before {\n content: \"\\e027\";\n}\n.glyphicon-inbox:before {\n content: \"\\e028\";\n}\n.glyphicon-play-circle:before {\n content: \"\\e029\";\n}\n.glyphicon-repeat:before {\n content: \"\\e030\";\n}\n.glyphicon-refresh:before {\n content: \"\\e031\";\n}\n.glyphicon-list-alt:before {\n content: \"\\e032\";\n}\n.glyphicon-lock:before {\n content: \"\\e033\";\n}\n.glyphicon-flag:before {\n content: \"\\e034\";\n}\n.glyphicon-headphones:before {\n content: \"\\e035\";\n}\n.glyphicon-volume-off:before {\n content: \"\\e036\";\n}\n.glyphicon-volume-down:before {\n content: \"\\e037\";\n}\n.glyphicon-volume-up:before {\n content: \"\\e038\";\n}\n.glyphicon-qrcode:before {\n content: \"\\e039\";\n}\n.glyphicon-barcode:before {\n content: \"\\e040\";\n}\n.glyphicon-tag:before {\n content: \"\\e041\";\n}\n.glyphicon-tags:before {\n content: \"\\e042\";\n}\n.glyphicon-book:before {\n content: \"\\e043\";\n}\n.glyphicon-bookmark:before {\n content: \"\\e044\";\n}\n.glyphicon-print:before {\n content: \"\\e045\";\n}\n.glyphicon-camera:before {\n content: \"\\e046\";\n}\n.glyphicon-font:before {\n content: \"\\e047\";\n}\n.glyphicon-bold:before {\n content: \"\\e048\";\n}\n.glyphicon-italic:before {\n content: \"\\e049\";\n}\n.glyphicon-text-height:before {\n content: \"\\e050\";\n}\n.glyphicon-text-width:before {\n content: \"\\e051\";\n}\n.glyphicon-align-left:before {\n content: \"\\e052\";\n}\n.glyphicon-align-center:before {\n content: \"\\e053\";\n}\n.glyphicon-align-right:before {\n content: \"\\e054\";\n}\n.glyphicon-align-justify:before {\n content: \"\\e055\";\n}\n.glyphicon-list:before {\n content: \"\\e056\";\n}\n.glyphicon-indent-left:before {\n content: \"\\e057\";\n}\n.glyphicon-indent-right:before {\n content: \"\\e058\";\n}\n.glyphicon-facetime-video:before {\n content: \"\\e059\";\n}\n.glyphicon-picture:before {\n content: \"\\e060\";\n}\n.glyphicon-map-marker:before {\n content: \"\\e062\";\n}\n.glyphicon-adjust:before {\n content: \"\\e063\";\n}\n.glyphicon-tint:before {\n content: \"\\e064\";\n}\n.glyphicon-edit:before {\n content: \"\\e065\";\n}\n.glyphicon-share:before {\n content: \"\\e066\";\n}\n.glyphicon-check:before {\n content: \"\\e067\";\n}\n.glyphicon-move:before {\n content: \"\\e068\";\n}\n.glyphicon-step-backward:before {\n content: \"\\e069\";\n}\n.glyphicon-fast-backward:before {\n content: \"\\e070\";\n}\n.glyphicon-backward:before {\n content: \"\\e071\";\n}\n.glyphicon-play:before {\n content: \"\\e072\";\n}\n.glyphicon-pause:before {\n content: \"\\e073\";\n}\n.glyphicon-stop:before {\n content: \"\\e074\";\n}\n.glyphicon-forward:before {\n content: \"\\e075\";\n}\n.glyphicon-fast-forward:before {\n content: \"\\e076\";\n}\n.glyphicon-step-forward:before {\n content: \"\\e077\";\n}\n.glyphicon-eject:before {\n content: \"\\e078\";\n}\n.glyphicon-chevron-left:before {\n content: \"\\e079\";\n}\n.glyphicon-chevron-right:before {\n content: \"\\e080\";\n}\n.glyphicon-plus-sign:before {\n content: \"\\e081\";\n}\n.glyphicon-minus-sign:before {\n content: \"\\e082\";\n}\n.glyphicon-remove-sign:before {\n content: \"\\e083\";\n}\n.glyphicon-ok-sign:before {\n content: \"\\e084\";\n}\n.glyphicon-question-sign:before {\n content: \"\\e085\";\n}\n.glyphicon-info-sign:before {\n content: \"\\e086\";\n}\n.glyphicon-screenshot:before {\n content: \"\\e087\";\n}\n.glyphicon-remove-circle:before {\n content: \"\\e088\";\n}\n.glyphicon-ok-circle:before {\n content: \"\\e089\";\n}\n.glyphicon-ban-circle:before {\n content: \"\\e090\";\n}\n.glyphicon-arrow-left:before {\n content: \"\\e091\";\n}\n.glyphicon-arrow-right:before {\n content: \"\\e092\";\n}\n.glyphicon-arrow-up:before {\n content: \"\\e093\";\n}\n.glyphicon-arrow-down:before {\n content: \"\\e094\";\n}\n.glyphicon-share-alt:before {\n content: \"\\e095\";\n}\n.glyphicon-resize-full:before {\n content: \"\\e096\";\n}\n.glyphicon-resize-small:before {\n content: \"\\e097\";\n}\n.glyphicon-exclamation-sign:before {\n content: \"\\e101\";\n}\n.glyphicon-gift:before {\n content: \"\\e102\";\n}\n.glyphicon-leaf:before {\n content: \"\\e103\";\n}\n.glyphicon-fire:before {\n content: \"\\e104\";\n}\n.glyphicon-eye-open:before {\n content: \"\\e105\";\n}\n.glyphicon-eye-close:before {\n content: \"\\e106\";\n}\n.glyphicon-warning-sign:before {\n content: \"\\e107\";\n}\n.glyphicon-plane:before {\n content: \"\\e108\";\n}\n.glyphicon-calendar:before {\n content: \"\\e109\";\n}\n.glyphicon-random:before {\n content: \"\\e110\";\n}\n.glyphicon-comment:before {\n content: \"\\e111\";\n}\n.glyphicon-magnet:before {\n content: \"\\e112\";\n}\n.glyphicon-chevron-up:before {\n content: \"\\e113\";\n}\n.glyphicon-chevron-down:before {\n content: \"\\e114\";\n}\n.glyphicon-retweet:before {\n content: \"\\e115\";\n}\n.glyphicon-shopping-cart:before {\n content: \"\\e116\";\n}\n.glyphicon-folder-close:before {\n content: \"\\e117\";\n}\n.glyphicon-folder-open:before {\n content: \"\\e118\";\n}\n.glyphicon-resize-vertical:before {\n content: \"\\e119\";\n}\n.glyphicon-resize-horizontal:before {\n content: \"\\e120\";\n}\n.glyphicon-hdd:before {\n content: \"\\e121\";\n}\n.glyphicon-bullhorn:before {\n content: \"\\e122\";\n}\n.glyphicon-bell:before {\n content: \"\\e123\";\n}\n.glyphicon-certificate:before {\n content: \"\\e124\";\n}\n.glyphicon-thumbs-up:before {\n content: \"\\e125\";\n}\n.glyphicon-thumbs-down:before {\n content: \"\\e126\";\n}\n.glyphicon-hand-right:before {\n content: \"\\e127\";\n}\n.glyphicon-hand-left:before {\n content: \"\\e128\";\n}\n.glyphicon-hand-up:before {\n content: \"\\e129\";\n}\n.glyphicon-hand-down:before {\n content: \"\\e130\";\n}\n.glyphicon-circle-arrow-right:before {\n content: \"\\e131\";\n}\n.glyphicon-circle-arrow-left:before {\n content: \"\\e132\";\n}\n.glyphicon-circle-arrow-up:before {\n content: \"\\e133\";\n}\n.glyphicon-circle-arrow-down:before {\n content: \"\\e134\";\n}\n.glyphicon-globe:before {\n content: \"\\e135\";\n}\n.glyphicon-wrench:before {\n content: \"\\e136\";\n}\n.glyphicon-tasks:before {\n content: \"\\e137\";\n}\n.glyphicon-filter:before {\n content: \"\\e138\";\n}\n.glyphicon-briefcase:before {\n content: \"\\e139\";\n}\n.glyphicon-fullscreen:before {\n content: \"\\e140\";\n}\n.glyphicon-dashboard:before {\n content: \"\\e141\";\n}\n.glyphicon-paperclip:before {\n content: \"\\e142\";\n}\n.glyphicon-heart-empty:before {\n content: \"\\e143\";\n}\n.glyphicon-link:before {\n content: \"\\e144\";\n}\n.glyphicon-phone:before {\n content: \"\\e145\";\n}\n.glyphicon-pushpin:before {\n content: \"\\e146\";\n}\n.glyphicon-usd:before {\n content: \"\\e148\";\n}\n.glyphicon-gbp:before {\n content: \"\\e149\";\n}\n.glyphicon-sort:before {\n content: \"\\e150\";\n}\n.glyphicon-sort-by-alphabet:before {\n content: \"\\e151\";\n}\n.glyphicon-sort-by-alphabet-alt:before {\n content: \"\\e152\";\n}\n.glyphicon-sort-by-order:before {\n content: \"\\e153\";\n}\n.glyphicon-sort-by-order-alt:before {\n content: \"\\e154\";\n}\n.glyphicon-sort-by-attributes:before {\n content: \"\\e155\";\n}\n.glyphicon-sort-by-attributes-alt:before {\n content: \"\\e156\";\n}\n.glyphicon-unchecked:before {\n content: \"\\e157\";\n}\n.glyphicon-expand:before {\n content: \"\\e158\";\n}\n.glyphicon-collapse-down:before {\n content: \"\\e159\";\n}\n.glyphicon-collapse-up:before {\n content: \"\\e160\";\n}\n.glyphicon-log-in:before {\n content: \"\\e161\";\n}\n.glyphicon-flash:before {\n content: \"\\e162\";\n}\n.glyphicon-log-out:before {\n content: \"\\e163\";\n}\n.glyphicon-new-window:before {\n content: \"\\e164\";\n}\n.glyphicon-record:before {\n content: \"\\e165\";\n}\n.glyphicon-save:before {\n content: \"\\e166\";\n}\n.glyphicon-open:before {\n content: \"\\e167\";\n}\n.glyphicon-saved:before {\n content: \"\\e168\";\n}\n.glyphicon-import:before {\n content: \"\\e169\";\n}\n.glyphicon-export:before {\n content: \"\\e170\";\n}\n.glyphicon-send:before {\n content: \"\\e171\";\n}\n.glyphicon-floppy-disk:before {\n content: \"\\e172\";\n}\n.glyphicon-floppy-saved:before {\n content: \"\\e173\";\n}\n.glyphicon-floppy-remove:before {\n content: \"\\e174\";\n}\n.glyphicon-floppy-save:before {\n content: \"\\e175\";\n}\n.glyphicon-floppy-open:before {\n content: \"\\e176\";\n}\n.glyphicon-credit-card:before {\n content: \"\\e177\";\n}\n.glyphicon-transfer:before {\n content: \"\\e178\";\n}\n.glyphicon-cutlery:before {\n content: \"\\e179\";\n}\n.glyphicon-header:before {\n content: \"\\e180\";\n}\n.glyphicon-compressed:before {\n content: \"\\e181\";\n}\n.glyphicon-earphone:before {\n content: \"\\e182\";\n}\n.glyphicon-phone-alt:before {\n content: \"\\e183\";\n}\n.glyphicon-tower:before {\n content: \"\\e184\";\n}\n.glyphicon-stats:before {\n content: \"\\e185\";\n}\n.glyphicon-sd-video:before {\n content: \"\\e186\";\n}\n.glyphicon-hd-video:before {\n content: \"\\e187\";\n}\n.glyphicon-subtitles:before {\n content: \"\\e188\";\n}\n.glyphicon-sound-stereo:before {\n content: \"\\e189\";\n}\n.glyphicon-sound-dolby:before {\n content: \"\\e190\";\n}\n.glyphicon-sound-5-1:before {\n content: \"\\e191\";\n}\n.glyphicon-sound-6-1:before {\n content: \"\\e192\";\n}\n.glyphicon-sound-7-1:before {\n content: \"\\e193\";\n}\n.glyphicon-copyright-mark:before {\n content: \"\\e194\";\n}\n.glyphicon-registration-mark:before {\n content: \"\\e195\";\n}\n.glyphicon-cloud-download:before {\n content: \"\\e197\";\n}\n.glyphicon-cloud-upload:before {\n content: \"\\e198\";\n}\n.glyphicon-tree-conifer:before {\n content: \"\\e199\";\n}\n.glyphicon-tree-deciduous:before {\n content: \"\\e200\";\n}\n.glyphicon-cd:before {\n content: \"\\e201\";\n}\n.glyphicon-save-file:before {\n content: \"\\e202\";\n}\n.glyphicon-open-file:before {\n content: \"\\e203\";\n}\n.glyphicon-level-up:before {\n content: \"\\e204\";\n}\n.glyphicon-copy:before {\n content: \"\\e205\";\n}\n.glyphicon-paste:before {\n content: \"\\e206\";\n}\n.glyphicon-alert:before {\n content: \"\\e209\";\n}\n.glyphicon-equalizer:before {\n content: \"\\e210\";\n}\n.glyphicon-king:before {\n content: \"\\e211\";\n}\n.glyphicon-queen:before {\n content: \"\\e212\";\n}\n.glyphicon-pawn:before {\n content: \"\\e213\";\n}\n.glyphicon-bishop:before {\n content: \"\\e214\";\n}\n.glyphicon-knight:before {\n content: \"\\e215\";\n}\n.glyphicon-baby-formula:before {\n content: \"\\e216\";\n}\n.glyphicon-tent:before {\n content: \"\\26fa\";\n}\n.glyphicon-blackboard:before {\n content: \"\\e218\";\n}\n.glyphicon-bed:before {\n content: \"\\e219\";\n}\n.glyphicon-apple:before {\n content: \"\\f8ff\";\n}\n.glyphicon-erase:before {\n content: \"\\e221\";\n}\n.glyphicon-hourglass:before {\n content: \"\\231b\";\n}\n.glyphicon-lamp:before {\n content: \"\\e223\";\n}\n.glyphicon-duplicate:before {\n content: \"\\e224\";\n}\n.glyphicon-piggy-bank:before {\n content: \"\\e225\";\n}\n.glyphicon-scissors:before {\n content: \"\\e226\";\n}\n.glyphicon-bitcoin:before {\n content: \"\\e227\";\n}\n.glyphicon-btc:before {\n content: \"\\e227\";\n}\n.glyphicon-xbt:before {\n content: \"\\e227\";\n}\n.glyphicon-yen:before {\n content: \"\\00a5\";\n}\n.glyphicon-jpy:before {\n content: \"\\00a5\";\n}\n.glyphicon-ruble:before {\n content: \"\\20bd\";\n}\n.glyphicon-rub:before {\n content: \"\\20bd\";\n}\n.glyphicon-scale:before {\n content: \"\\e230\";\n}\n.glyphicon-ice-lolly:before {\n content: \"\\e231\";\n}\n.glyphicon-ice-lolly-tasted:before {\n content: \"\\e232\";\n}\n.glyphicon-education:before {\n content: \"\\e233\";\n}\n.glyphicon-option-horizontal:before {\n content: \"\\e234\";\n}\n.glyphicon-option-vertical:before {\n content: \"\\e235\";\n}\n.glyphicon-menu-hamburger:before {\n content: \"\\e236\";\n}\n.glyphicon-modal-window:before {\n content: \"\\e237\";\n}\n.glyphicon-oil:before {\n content: \"\\e238\";\n}\n.glyphicon-grain:before {\n content: \"\\e239\";\n}\n.glyphicon-sunglasses:before {\n content: \"\\e240\";\n}\n.glyphicon-text-size:before {\n content: \"\\e241\";\n}\n.glyphicon-text-color:before {\n content: \"\\e242\";\n}\n.glyphicon-text-background:before {\n content: \"\\e243\";\n}\n.glyphicon-object-align-top:before {\n content: \"\\e244\";\n}\n.glyphicon-object-align-bottom:before {\n content: \"\\e245\";\n}\n.glyphicon-object-align-horizontal:before {\n content: \"\\e246\";\n}\n.glyphicon-object-align-left:before {\n content: \"\\e247\";\n}\n.glyphicon-object-align-vertical:before {\n content: \"\\e248\";\n}\n.glyphicon-object-align-right:before {\n content: \"\\e249\";\n}\n.glyphicon-triangle-right:before {\n content: \"\\e250\";\n}\n.glyphicon-triangle-left:before {\n content: \"\\e251\";\n}\n.glyphicon-triangle-bottom:before {\n content: \"\\e252\";\n}\n.glyphicon-triangle-top:before {\n content: \"\\e253\";\n}\n.glyphicon-console:before {\n content: \"\\e254\";\n}\n.glyphicon-superscript:before {\n content: \"\\e255\";\n}\n.glyphicon-subscript:before {\n content: \"\\e256\";\n}\n.glyphicon-menu-left:before {\n content: \"\\e257\";\n}\n.glyphicon-menu-right:before {\n content: \"\\e258\";\n}\n.glyphicon-menu-down:before {\n content: \"\\e259\";\n}\n.glyphicon-menu-up:before {\n content: \"\\e260\";\n}\n* {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n*:before,\n*:after {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\nhtml {\n font-size: 10px;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\nbody {\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n font-size: 14px;\n line-height: 1.42857143;\n color: #333333;\n background-color: #fff;\n}\ninput,\nbutton,\nselect,\ntextarea {\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\na {\n color: #337ab7;\n text-decoration: none;\n}\na:hover,\na:focus {\n color: #23527c;\n text-decoration: underline;\n}\na:focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\nfigure {\n margin: 0;\n}\nimg {\n vertical-align: middle;\n}\n.img-responsive,\n.thumbnail > img,\n.thumbnail a > img,\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n display: block;\n max-width: 100%;\n height: auto;\n}\n.img-rounded {\n border-radius: 6px;\n}\n.img-thumbnail {\n padding: 4px;\n line-height: 1.42857143;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 4px;\n -webkit-transition: all 0.2s ease-in-out;\n -o-transition: all 0.2s ease-in-out;\n transition: all 0.2s ease-in-out;\n display: inline-block;\n max-width: 100%;\n height: auto;\n}\n.img-circle {\n border-radius: 50%;\n}\nhr {\n margin-top: 20px;\n margin-bottom: 20px;\n border: 0;\n border-top: 1px solid #eeeeee;\n}\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n.sr-only-focusable:active,\n.sr-only-focusable:focus {\n position: static;\n width: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n clip: auto;\n}\n[role=\"button\"] {\n cursor: pointer;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\n.h1,\n.h2,\n.h3,\n.h4,\n.h5,\n.h6 {\n font-family: inherit;\n font-weight: 500;\n line-height: 1.1;\n color: inherit;\n}\nh1 small,\nh2 small,\nh3 small,\nh4 small,\nh5 small,\nh6 small,\n.h1 small,\n.h2 small,\n.h3 small,\n.h4 small,\n.h5 small,\n.h6 small,\nh1 .small,\nh2 .small,\nh3 .small,\nh4 .small,\nh5 .small,\nh6 .small,\n.h1 .small,\n.h2 .small,\n.h3 .small,\n.h4 .small,\n.h5 .small,\n.h6 .small {\n font-weight: normal;\n line-height: 1;\n color: #777777;\n}\nh1,\n.h1,\nh2,\n.h2,\nh3,\n.h3 {\n margin-top: 20px;\n margin-bottom: 10px;\n}\nh1 small,\n.h1 small,\nh2 small,\n.h2 small,\nh3 small,\n.h3 small,\nh1 .small,\n.h1 .small,\nh2 .small,\n.h2 .small,\nh3 .small,\n.h3 .small {\n font-size: 65%;\n}\nh4,\n.h4,\nh5,\n.h5,\nh6,\n.h6 {\n margin-top: 10px;\n margin-bottom: 10px;\n}\nh4 small,\n.h4 small,\nh5 small,\n.h5 small,\nh6 small,\n.h6 small,\nh4 .small,\n.h4 .small,\nh5 .small,\n.h5 .small,\nh6 .small,\n.h6 .small {\n font-size: 75%;\n}\nh1,\n.h1 {\n font-size: 36px;\n}\nh2,\n.h2 {\n font-size: 30px;\n}\nh3,\n.h3 {\n font-size: 24px;\n}\nh4,\n.h4 {\n font-size: 18px;\n}\nh5,\n.h5 {\n font-size: 14px;\n}\nh6,\n.h6 {\n font-size: 12px;\n}\np {\n margin: 0 0 10px;\n}\n.lead {\n margin-bottom: 20px;\n font-size: 16px;\n font-weight: 300;\n line-height: 1.4;\n}\n@media (min-width: 768px) {\n .lead {\n font-size: 21px;\n }\n}\nsmall,\n.small {\n font-size: 85%;\n}\nmark,\n.mark {\n background-color: #fcf8e3;\n padding: .2em;\n}\n.text-left {\n text-align: left;\n}\n.text-right {\n text-align: right;\n}\n.text-center {\n text-align: center;\n}\n.text-justify {\n text-align: justify;\n}\n.text-nowrap {\n white-space: nowrap;\n}\n.text-lowercase {\n text-transform: lowercase;\n}\n.text-uppercase {\n text-transform: uppercase;\n}\n.text-capitalize {\n text-transform: capitalize;\n}\n.text-muted {\n color: #777777;\n}\n.text-primary {\n color: #337ab7;\n}\na.text-primary:hover,\na.text-primary:focus {\n color: #286090;\n}\n.text-success {\n color: #3c763d;\n}\na.text-success:hover,\na.text-success:focus {\n color: #2b542c;\n}\n.text-info {\n color: #31708f;\n}\na.text-info:hover,\na.text-info:focus {\n color: #245269;\n}\n.text-warning {\n color: #8a6d3b;\n}\na.text-warning:hover,\na.text-warning:focus {\n color: #66512c;\n}\n.text-danger {\n color: #a94442;\n}\na.text-danger:hover,\na.text-danger:focus {\n color: #843534;\n}\n.bg-primary {\n color: #fff;\n background-color: #337ab7;\n}\na.bg-primary:hover,\na.bg-primary:focus {\n background-color: #286090;\n}\n.bg-success {\n background-color: #dff0d8;\n}\na.bg-success:hover,\na.bg-success:focus {\n background-color: #c1e2b3;\n}\n.bg-info {\n background-color: #d9edf7;\n}\na.bg-info:hover,\na.bg-info:focus {\n background-color: #afd9ee;\n}\n.bg-warning {\n background-color: #fcf8e3;\n}\na.bg-warning:hover,\na.bg-warning:focus {\n background-color: #f7ecb5;\n}\n.bg-danger {\n background-color: #f2dede;\n}\na.bg-danger:hover,\na.bg-danger:focus {\n background-color: #e4b9b9;\n}\n.page-header {\n padding-bottom: 9px;\n margin: 40px 0 20px;\n border-bottom: 1px solid #eeeeee;\n}\nul,\nol {\n margin-top: 0;\n margin-bottom: 10px;\n}\nul ul,\nol ul,\nul ol,\nol ol {\n margin-bottom: 0;\n}\n.list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n.list-inline {\n padding-left: 0;\n list-style: none;\n margin-left: -5px;\n}\n.list-inline > li {\n display: inline-block;\n padding-left: 5px;\n padding-right: 5px;\n}\ndl {\n margin-top: 0;\n margin-bottom: 20px;\n}\ndt,\ndd {\n line-height: 1.42857143;\n}\ndt {\n font-weight: bold;\n}\ndd {\n margin-left: 0;\n}\n@media (min-width: 768px) {\n .dl-horizontal dt {\n float: left;\n width: 160px;\n clear: left;\n text-align: right;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .dl-horizontal dd {\n margin-left: 180px;\n }\n}\nabbr[title],\nabbr[data-original-title] {\n cursor: help;\n border-bottom: 1px dotted #777777;\n}\n.initialism {\n font-size: 90%;\n text-transform: uppercase;\n}\nblockquote {\n padding: 10px 20px;\n margin: 0 0 20px;\n font-size: 17.5px;\n border-left: 5px solid #eeeeee;\n}\nblockquote p:last-child,\nblockquote ul:last-child,\nblockquote ol:last-child {\n margin-bottom: 0;\n}\nblockquote footer,\nblockquote small,\nblockquote .small {\n display: block;\n font-size: 80%;\n line-height: 1.42857143;\n color: #777777;\n}\nblockquote footer:before,\nblockquote small:before,\nblockquote .small:before {\n content: '\\2014 \\00A0';\n}\n.blockquote-reverse,\nblockquote.pull-right {\n padding-right: 15px;\n padding-left: 0;\n border-right: 5px solid #eeeeee;\n border-left: 0;\n text-align: right;\n}\n.blockquote-reverse footer:before,\nblockquote.pull-right footer:before,\n.blockquote-reverse small:before,\nblockquote.pull-right small:before,\n.blockquote-reverse .small:before,\nblockquote.pull-right .small:before {\n content: '';\n}\n.blockquote-reverse footer:after,\nblockquote.pull-right footer:after,\n.blockquote-reverse small:after,\nblockquote.pull-right small:after,\n.blockquote-reverse .small:after,\nblockquote.pull-right .small:after {\n content: '\\00A0 \\2014';\n}\naddress {\n margin-bottom: 20px;\n font-style: normal;\n line-height: 1.42857143;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n}\ncode {\n padding: 2px 4px;\n font-size: 90%;\n color: #c7254e;\n background-color: #f9f2f4;\n border-radius: 4px;\n}\nkbd {\n padding: 2px 4px;\n font-size: 90%;\n color: #fff;\n background-color: #333;\n border-radius: 3px;\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);\n}\nkbd kbd {\n padding: 0;\n font-size: 100%;\n font-weight: bold;\n box-shadow: none;\n}\npre {\n display: block;\n padding: 9.5px;\n margin: 0 0 10px;\n font-size: 13px;\n line-height: 1.42857143;\n word-break: break-all;\n word-wrap: break-word;\n color: #333333;\n background-color: #f5f5f5;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\npre code {\n padding: 0;\n font-size: inherit;\n color: inherit;\n white-space: pre-wrap;\n background-color: transparent;\n border-radius: 0;\n}\n.pre-scrollable {\n max-height: 340px;\n overflow-y: scroll;\n}\n.container {\n margin-right: auto;\n margin-left: auto;\n padding-left: 15px;\n padding-right: 15px;\n}\n@media (min-width: 768px) {\n .container {\n width: 750px;\n }\n}\n@media (min-width: 992px) {\n .container {\n width: 970px;\n }\n}\n@media (min-width: 1200px) {\n .container {\n width: 1170px;\n }\n}\n.container-fluid {\n margin-right: auto;\n margin-left: auto;\n padding-left: 15px;\n padding-right: 15px;\n}\n.row {\n margin-left: -15px;\n margin-right: -15px;\n}\n.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {\n position: relative;\n min-height: 1px;\n padding-left: 15px;\n padding-right: 15px;\n}\n.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {\n float: left;\n}\n.col-xs-12 {\n width: 100%;\n}\n.col-xs-11 {\n width: 91.66666667%;\n}\n.col-xs-10 {\n width: 83.33333333%;\n}\n.col-xs-9 {\n width: 75%;\n}\n.col-xs-8 {\n width: 66.66666667%;\n}\n.col-xs-7 {\n width: 58.33333333%;\n}\n.col-xs-6 {\n width: 50%;\n}\n.col-xs-5 {\n width: 41.66666667%;\n}\n.col-xs-4 {\n width: 33.33333333%;\n}\n.col-xs-3 {\n width: 25%;\n}\n.col-xs-2 {\n width: 16.66666667%;\n}\n.col-xs-1 {\n width: 8.33333333%;\n}\n.col-xs-pull-12 {\n right: 100%;\n}\n.col-xs-pull-11 {\n right: 91.66666667%;\n}\n.col-xs-pull-10 {\n right: 83.33333333%;\n}\n.col-xs-pull-9 {\n right: 75%;\n}\n.col-xs-pull-8 {\n right: 66.66666667%;\n}\n.col-xs-pull-7 {\n right: 58.33333333%;\n}\n.col-xs-pull-6 {\n right: 50%;\n}\n.col-xs-pull-5 {\n right: 41.66666667%;\n}\n.col-xs-pull-4 {\n right: 33.33333333%;\n}\n.col-xs-pull-3 {\n right: 25%;\n}\n.col-xs-pull-2 {\n right: 16.66666667%;\n}\n.col-xs-pull-1 {\n right: 8.33333333%;\n}\n.col-xs-pull-0 {\n right: auto;\n}\n.col-xs-push-12 {\n left: 100%;\n}\n.col-xs-push-11 {\n left: 91.66666667%;\n}\n.col-xs-push-10 {\n left: 83.33333333%;\n}\n.col-xs-push-9 {\n left: 75%;\n}\n.col-xs-push-8 {\n left: 66.66666667%;\n}\n.col-xs-push-7 {\n left: 58.33333333%;\n}\n.col-xs-push-6 {\n left: 50%;\n}\n.col-xs-push-5 {\n left: 41.66666667%;\n}\n.col-xs-push-4 {\n left: 33.33333333%;\n}\n.col-xs-push-3 {\n left: 25%;\n}\n.col-xs-push-2 {\n left: 16.66666667%;\n}\n.col-xs-push-1 {\n left: 8.33333333%;\n}\n.col-xs-push-0 {\n left: auto;\n}\n.col-xs-offset-12 {\n margin-left: 100%;\n}\n.col-xs-offset-11 {\n margin-left: 91.66666667%;\n}\n.col-xs-offset-10 {\n margin-left: 83.33333333%;\n}\n.col-xs-offset-9 {\n margin-left: 75%;\n}\n.col-xs-offset-8 {\n margin-left: 66.66666667%;\n}\n.col-xs-offset-7 {\n margin-left: 58.33333333%;\n}\n.col-xs-offset-6 {\n margin-left: 50%;\n}\n.col-xs-offset-5 {\n margin-left: 41.66666667%;\n}\n.col-xs-offset-4 {\n margin-left: 33.33333333%;\n}\n.col-xs-offset-3 {\n margin-left: 25%;\n}\n.col-xs-offset-2 {\n margin-left: 16.66666667%;\n}\n.col-xs-offset-1 {\n margin-left: 8.33333333%;\n}\n.col-xs-offset-0 {\n margin-left: 0%;\n}\n@media (min-width: 768px) {\n .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {\n float: left;\n }\n .col-sm-12 {\n width: 100%;\n }\n .col-sm-11 {\n width: 91.66666667%;\n }\n .col-sm-10 {\n width: 83.33333333%;\n }\n .col-sm-9 {\n width: 75%;\n }\n .col-sm-8 {\n width: 66.66666667%;\n }\n .col-sm-7 {\n width: 58.33333333%;\n }\n .col-sm-6 {\n width: 50%;\n }\n .col-sm-5 {\n width: 41.66666667%;\n }\n .col-sm-4 {\n width: 33.33333333%;\n }\n .col-sm-3 {\n width: 25%;\n }\n .col-sm-2 {\n width: 16.66666667%;\n }\n .col-sm-1 {\n width: 8.33333333%;\n }\n .col-sm-pull-12 {\n right: 100%;\n }\n .col-sm-pull-11 {\n right: 91.66666667%;\n }\n .col-sm-pull-10 {\n right: 83.33333333%;\n }\n .col-sm-pull-9 {\n right: 75%;\n }\n .col-sm-pull-8 {\n right: 66.66666667%;\n }\n .col-sm-pull-7 {\n right: 58.33333333%;\n }\n .col-sm-pull-6 {\n right: 50%;\n }\n .col-sm-pull-5 {\n right: 41.66666667%;\n }\n .col-sm-pull-4 {\n right: 33.33333333%;\n }\n .col-sm-pull-3 {\n right: 25%;\n }\n .col-sm-pull-2 {\n right: 16.66666667%;\n }\n .col-sm-pull-1 {\n right: 8.33333333%;\n }\n .col-sm-pull-0 {\n right: auto;\n }\n .col-sm-push-12 {\n left: 100%;\n }\n .col-sm-push-11 {\n left: 91.66666667%;\n }\n .col-sm-push-10 {\n left: 83.33333333%;\n }\n .col-sm-push-9 {\n left: 75%;\n }\n .col-sm-push-8 {\n left: 66.66666667%;\n }\n .col-sm-push-7 {\n left: 58.33333333%;\n }\n .col-sm-push-6 {\n left: 50%;\n }\n .col-sm-push-5 {\n left: 41.66666667%;\n }\n .col-sm-push-4 {\n left: 33.33333333%;\n }\n .col-sm-push-3 {\n left: 25%;\n }\n .col-sm-push-2 {\n left: 16.66666667%;\n }\n .col-sm-push-1 {\n left: 8.33333333%;\n }\n .col-sm-push-0 {\n left: auto;\n }\n .col-sm-offset-12 {\n margin-left: 100%;\n }\n .col-sm-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-sm-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-sm-offset-9 {\n margin-left: 75%;\n }\n .col-sm-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-sm-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-sm-offset-6 {\n margin-left: 50%;\n }\n .col-sm-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-sm-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-sm-offset-3 {\n margin-left: 25%;\n }\n .col-sm-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-sm-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-sm-offset-0 {\n margin-left: 0%;\n }\n}\n@media (min-width: 992px) {\n .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {\n float: left;\n }\n .col-md-12 {\n width: 100%;\n }\n .col-md-11 {\n width: 91.66666667%;\n }\n .col-md-10 {\n width: 83.33333333%;\n }\n .col-md-9 {\n width: 75%;\n }\n .col-md-8 {\n width: 66.66666667%;\n }\n .col-md-7 {\n width: 58.33333333%;\n }\n .col-md-6 {\n width: 50%;\n }\n .col-md-5 {\n width: 41.66666667%;\n }\n .col-md-4 {\n width: 33.33333333%;\n }\n .col-md-3 {\n width: 25%;\n }\n .col-md-2 {\n width: 16.66666667%;\n }\n .col-md-1 {\n width: 8.33333333%;\n }\n .col-md-pull-12 {\n right: 100%;\n }\n .col-md-pull-11 {\n right: 91.66666667%;\n }\n .col-md-pull-10 {\n right: 83.33333333%;\n }\n .col-md-pull-9 {\n right: 75%;\n }\n .col-md-pull-8 {\n right: 66.66666667%;\n }\n .col-md-pull-7 {\n right: 58.33333333%;\n }\n .col-md-pull-6 {\n right: 50%;\n }\n .col-md-pull-5 {\n right: 41.66666667%;\n }\n .col-md-pull-4 {\n right: 33.33333333%;\n }\n .col-md-pull-3 {\n right: 25%;\n }\n .col-md-pull-2 {\n right: 16.66666667%;\n }\n .col-md-pull-1 {\n right: 8.33333333%;\n }\n .col-md-pull-0 {\n right: auto;\n }\n .col-md-push-12 {\n left: 100%;\n }\n .col-md-push-11 {\n left: 91.66666667%;\n }\n .col-md-push-10 {\n left: 83.33333333%;\n }\n .col-md-push-9 {\n left: 75%;\n }\n .col-md-push-8 {\n left: 66.66666667%;\n }\n .col-md-push-7 {\n left: 58.33333333%;\n }\n .col-md-push-6 {\n left: 50%;\n }\n .col-md-push-5 {\n left: 41.66666667%;\n }\n .col-md-push-4 {\n left: 33.33333333%;\n }\n .col-md-push-3 {\n left: 25%;\n }\n .col-md-push-2 {\n left: 16.66666667%;\n }\n .col-md-push-1 {\n left: 8.33333333%;\n }\n .col-md-push-0 {\n left: auto;\n }\n .col-md-offset-12 {\n margin-left: 100%;\n }\n .col-md-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-md-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-md-offset-9 {\n margin-left: 75%;\n }\n .col-md-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-md-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-md-offset-6 {\n margin-left: 50%;\n }\n .col-md-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-md-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-md-offset-3 {\n margin-left: 25%;\n }\n .col-md-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-md-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-md-offset-0 {\n margin-left: 0%;\n }\n}\n@media (min-width: 1200px) {\n .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {\n float: left;\n }\n .col-lg-12 {\n width: 100%;\n }\n .col-lg-11 {\n width: 91.66666667%;\n }\n .col-lg-10 {\n width: 83.33333333%;\n }\n .col-lg-9 {\n width: 75%;\n }\n .col-lg-8 {\n width: 66.66666667%;\n }\n .col-lg-7 {\n width: 58.33333333%;\n }\n .col-lg-6 {\n width: 50%;\n }\n .col-lg-5 {\n width: 41.66666667%;\n }\n .col-lg-4 {\n width: 33.33333333%;\n }\n .col-lg-3 {\n width: 25%;\n }\n .col-lg-2 {\n width: 16.66666667%;\n }\n .col-lg-1 {\n width: 8.33333333%;\n }\n .col-lg-pull-12 {\n right: 100%;\n }\n .col-lg-pull-11 {\n right: 91.66666667%;\n }\n .col-lg-pull-10 {\n right: 83.33333333%;\n }\n .col-lg-pull-9 {\n right: 75%;\n }\n .col-lg-pull-8 {\n right: 66.66666667%;\n }\n .col-lg-pull-7 {\n right: 58.33333333%;\n }\n .col-lg-pull-6 {\n right: 50%;\n }\n .col-lg-pull-5 {\n right: 41.66666667%;\n }\n .col-lg-pull-4 {\n right: 33.33333333%;\n }\n .col-lg-pull-3 {\n right: 25%;\n }\n .col-lg-pull-2 {\n right: 16.66666667%;\n }\n .col-lg-pull-1 {\n right: 8.33333333%;\n }\n .col-lg-pull-0 {\n right: auto;\n }\n .col-lg-push-12 {\n left: 100%;\n }\n .col-lg-push-11 {\n left: 91.66666667%;\n }\n .col-lg-push-10 {\n left: 83.33333333%;\n }\n .col-lg-push-9 {\n left: 75%;\n }\n .col-lg-push-8 {\n left: 66.66666667%;\n }\n .col-lg-push-7 {\n left: 58.33333333%;\n }\n .col-lg-push-6 {\n left: 50%;\n }\n .col-lg-push-5 {\n left: 41.66666667%;\n }\n .col-lg-push-4 {\n left: 33.33333333%;\n }\n .col-lg-push-3 {\n left: 25%;\n }\n .col-lg-push-2 {\n left: 16.66666667%;\n }\n .col-lg-push-1 {\n left: 8.33333333%;\n }\n .col-lg-push-0 {\n left: auto;\n }\n .col-lg-offset-12 {\n margin-left: 100%;\n }\n .col-lg-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-lg-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-lg-offset-9 {\n margin-left: 75%;\n }\n .col-lg-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-lg-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-lg-offset-6 {\n margin-left: 50%;\n }\n .col-lg-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-lg-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-lg-offset-3 {\n margin-left: 25%;\n }\n .col-lg-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-lg-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-lg-offset-0 {\n margin-left: 0%;\n }\n}\ntable {\n background-color: transparent;\n}\ncaption {\n padding-top: 8px;\n padding-bottom: 8px;\n color: #777777;\n text-align: left;\n}\nth {\n text-align: left;\n}\n.table {\n width: 100%;\n max-width: 100%;\n margin-bottom: 20px;\n}\n.table > thead > tr > th,\n.table > tbody > tr > th,\n.table > tfoot > tr > th,\n.table > thead > tr > td,\n.table > tbody > tr > td,\n.table > tfoot > tr > td {\n padding: 8px;\n line-height: 1.42857143;\n vertical-align: top;\n border-top: 1px solid #ddd;\n}\n.table > thead > tr > th {\n vertical-align: bottom;\n border-bottom: 2px solid #ddd;\n}\n.table > caption + thead > tr:first-child > th,\n.table > colgroup + thead > tr:first-child > th,\n.table > thead:first-child > tr:first-child > th,\n.table > caption + thead > tr:first-child > td,\n.table > colgroup + thead > tr:first-child > td,\n.table > thead:first-child > tr:first-child > td {\n border-top: 0;\n}\n.table > tbody + tbody {\n border-top: 2px solid #ddd;\n}\n.table .table {\n background-color: #fff;\n}\n.table-condensed > thead > tr > th,\n.table-condensed > tbody > tr > th,\n.table-condensed > tfoot > tr > th,\n.table-condensed > thead > tr > td,\n.table-condensed > tbody > tr > td,\n.table-condensed > tfoot > tr > td {\n padding: 5px;\n}\n.table-bordered {\n border: 1px solid #ddd;\n}\n.table-bordered > thead > tr > th,\n.table-bordered > tbody > tr > th,\n.table-bordered > tfoot > tr > th,\n.table-bordered > thead > tr > td,\n.table-bordered > tbody > tr > td,\n.table-bordered > tfoot > tr > td {\n border: 1px solid #ddd;\n}\n.table-bordered > thead > tr > th,\n.table-bordered > thead > tr > td {\n border-bottom-width: 2px;\n}\n.table-striped > tbody > tr:nth-of-type(odd) {\n background-color: #f9f9f9;\n}\n.table-hover > tbody > tr:hover {\n background-color: #f5f5f5;\n}\ntable col[class*=\"col-\"] {\n position: static;\n float: none;\n display: table-column;\n}\ntable td[class*=\"col-\"],\ntable th[class*=\"col-\"] {\n position: static;\n float: none;\n display: table-cell;\n}\n.table > thead > tr > td.active,\n.table > tbody > tr > td.active,\n.table > tfoot > tr > td.active,\n.table > thead > tr > th.active,\n.table > tbody > tr > th.active,\n.table > tfoot > tr > th.active,\n.table > thead > tr.active > td,\n.table > tbody > tr.active > td,\n.table > tfoot > tr.active > td,\n.table > thead > tr.active > th,\n.table > tbody > tr.active > th,\n.table > tfoot > tr.active > th {\n background-color: #f5f5f5;\n}\n.table-hover > tbody > tr > td.active:hover,\n.table-hover > tbody > tr > th.active:hover,\n.table-hover > tbody > tr.active:hover > td,\n.table-hover > tbody > tr:hover > .active,\n.table-hover > tbody > tr.active:hover > th {\n background-color: #e8e8e8;\n}\n.table > thead > tr > td.success,\n.table > tbody > tr > td.success,\n.table > tfoot > tr > td.success,\n.table > thead > tr > th.success,\n.table > tbody > tr > th.success,\n.table > tfoot > tr > th.success,\n.table > thead > tr.success > td,\n.table > tbody > tr.success > td,\n.table > tfoot > tr.success > td,\n.table > thead > tr.success > th,\n.table > tbody > tr.success > th,\n.table > tfoot > tr.success > th {\n background-color: #dff0d8;\n}\n.table-hover > tbody > tr > td.success:hover,\n.table-hover > tbody > tr > th.success:hover,\n.table-hover > tbody > tr.success:hover > td,\n.table-hover > tbody > tr:hover > .success,\n.table-hover > tbody > tr.success:hover > th {\n background-color: #d0e9c6;\n}\n.table > thead > tr > td.info,\n.table > tbody > tr > td.info,\n.table > tfoot > tr > td.info,\n.table > thead > tr > th.info,\n.table > tbody > tr > th.info,\n.table > tfoot > tr > th.info,\n.table > thead > tr.info > td,\n.table > tbody > tr.info > td,\n.table > tfoot > tr.info > td,\n.table > thead > tr.info > th,\n.table > tbody > tr.info > th,\n.table > tfoot > tr.info > th {\n background-color: #d9edf7;\n}\n.table-hover > tbody > tr > td.info:hover,\n.table-hover > tbody > tr > th.info:hover,\n.table-hover > tbody > tr.info:hover > td,\n.table-hover > tbody > tr:hover > .info,\n.table-hover > tbody > tr.info:hover > th {\n background-color: #c4e3f3;\n}\n.table > thead > tr > td.warning,\n.table > tbody > tr > td.warning,\n.table > tfoot > tr > td.warning,\n.table > thead > tr > th.warning,\n.table > tbody > tr > th.warning,\n.table > tfoot > tr > th.warning,\n.table > thead > tr.warning > td,\n.table > tbody > tr.warning > td,\n.table > tfoot > tr.warning > td,\n.table > thead > tr.warning > th,\n.table > tbody > tr.warning > th,\n.table > tfoot > tr.warning > th {\n background-color: #fcf8e3;\n}\n.table-hover > tbody > tr > td.warning:hover,\n.table-hover > tbody > tr > th.warning:hover,\n.table-hover > tbody > tr.warning:hover > td,\n.table-hover > tbody > tr:hover > .warning,\n.table-hover > tbody > tr.warning:hover > th {\n background-color: #faf2cc;\n}\n.table > thead > tr > td.danger,\n.table > tbody > tr > td.danger,\n.table > tfoot > tr > td.danger,\n.table > thead > tr > th.danger,\n.table > tbody > tr > th.danger,\n.table > tfoot > tr > th.danger,\n.table > thead > tr.danger > td,\n.table > tbody > tr.danger > td,\n.table > tfoot > tr.danger > td,\n.table > thead > tr.danger > th,\n.table > tbody > tr.danger > th,\n.table > tfoot > tr.danger > th {\n background-color: #f2dede;\n}\n.table-hover > tbody > tr > td.danger:hover,\n.table-hover > tbody > tr > th.danger:hover,\n.table-hover > tbody > tr.danger:hover > td,\n.table-hover > tbody > tr:hover > .danger,\n.table-hover > tbody > tr.danger:hover > th {\n background-color: #ebcccc;\n}\n.table-responsive {\n overflow-x: auto;\n min-height: 0.01%;\n}\n@media screen and (max-width: 767px) {\n .table-responsive {\n width: 100%;\n margin-bottom: 15px;\n overflow-y: hidden;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n border: 1px solid #ddd;\n }\n .table-responsive > .table {\n margin-bottom: 0;\n }\n .table-responsive > .table > thead > tr > th,\n .table-responsive > .table > tbody > tr > th,\n .table-responsive > .table > tfoot > tr > th,\n .table-responsive > .table > thead > tr > td,\n .table-responsive > .table > tbody > tr > td,\n .table-responsive > .table > tfoot > tr > td {\n white-space: nowrap;\n }\n .table-responsive > .table-bordered {\n border: 0;\n }\n .table-responsive > .table-bordered > thead > tr > th:first-child,\n .table-responsive > .table-bordered > tbody > tr > th:first-child,\n .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n .table-responsive > .table-bordered > thead > tr > td:first-child,\n .table-responsive > .table-bordered > tbody > tr > td:first-child,\n .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n border-left: 0;\n }\n .table-responsive > .table-bordered > thead > tr > th:last-child,\n .table-responsive > .table-bordered > tbody > tr > th:last-child,\n .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n .table-responsive > .table-bordered > thead > tr > td:last-child,\n .table-responsive > .table-bordered > tbody > tr > td:last-child,\n .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n border-right: 0;\n }\n .table-responsive > .table-bordered > tbody > tr:last-child > th,\n .table-responsive > .table-bordered > tfoot > tr:last-child > th,\n .table-responsive > .table-bordered > tbody > tr:last-child > td,\n .table-responsive > .table-bordered > tfoot > tr:last-child > td {\n border-bottom: 0;\n }\n}\nfieldset {\n padding: 0;\n margin: 0;\n border: 0;\n min-width: 0;\n}\nlegend {\n display: block;\n width: 100%;\n padding: 0;\n margin-bottom: 20px;\n font-size: 21px;\n line-height: inherit;\n color: #333333;\n border: 0;\n border-bottom: 1px solid #e5e5e5;\n}\nlabel {\n display: inline-block;\n max-width: 100%;\n margin-bottom: 5px;\n font-weight: bold;\n}\ninput[type=\"search\"] {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n margin: 4px 0 0;\n margin-top: 1px \\9;\n line-height: normal;\n}\ninput[type=\"file\"] {\n display: block;\n}\ninput[type=\"range\"] {\n display: block;\n width: 100%;\n}\nselect[multiple],\nselect[size] {\n height: auto;\n}\ninput[type=\"file\"]:focus,\ninput[type=\"radio\"]:focus,\ninput[type=\"checkbox\"]:focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\noutput {\n display: block;\n padding-top: 7px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555555;\n}\n.form-control {\n display: block;\n width: 100%;\n height: 34px;\n padding: 6px 12px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555555;\n background-color: #fff;\n background-image: none;\n border: 1px solid #ccc;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n}\n.form-control:focus {\n border-color: #66afe9;\n outline: 0;\n -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);\n box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);\n}\n.form-control::-moz-placeholder {\n color: #999;\n opacity: 1;\n}\n.form-control:-ms-input-placeholder {\n color: #999;\n}\n.form-control::-webkit-input-placeholder {\n color: #999;\n}\n.form-control::-ms-expand {\n border: 0;\n background-color: transparent;\n}\n.form-control[disabled],\n.form-control[readonly],\nfieldset[disabled] .form-control {\n background-color: #eeeeee;\n opacity: 1;\n}\n.form-control[disabled],\nfieldset[disabled] .form-control {\n cursor: not-allowed;\n}\ntextarea.form-control {\n height: auto;\n}\ninput[type=\"search\"] {\n -webkit-appearance: none;\n}\n@media screen and (-webkit-min-device-pixel-ratio: 0) {\n input[type=\"date\"].form-control,\n input[type=\"time\"].form-control,\n input[type=\"datetime-local\"].form-control,\n input[type=\"month\"].form-control {\n line-height: 34px;\n }\n input[type=\"date\"].input-sm,\n input[type=\"time\"].input-sm,\n input[type=\"datetime-local\"].input-sm,\n input[type=\"month\"].input-sm,\n .input-group-sm input[type=\"date\"],\n .input-group-sm input[type=\"time\"],\n .input-group-sm input[type=\"datetime-local\"],\n .input-group-sm input[type=\"month\"] {\n line-height: 30px;\n }\n input[type=\"date\"].input-lg,\n input[type=\"time\"].input-lg,\n input[type=\"datetime-local\"].input-lg,\n input[type=\"month\"].input-lg,\n .input-group-lg input[type=\"date\"],\n .input-group-lg input[type=\"time\"],\n .input-group-lg input[type=\"datetime-local\"],\n .input-group-lg input[type=\"month\"] {\n line-height: 46px;\n }\n}\n.form-group {\n margin-bottom: 15px;\n}\n.radio,\n.checkbox {\n position: relative;\n display: block;\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.radio label,\n.checkbox label {\n min-height: 20px;\n padding-left: 20px;\n margin-bottom: 0;\n font-weight: normal;\n cursor: pointer;\n}\n.radio input[type=\"radio\"],\n.radio-inline input[type=\"radio\"],\n.checkbox input[type=\"checkbox\"],\n.checkbox-inline input[type=\"checkbox\"] {\n position: absolute;\n margin-left: -20px;\n margin-top: 4px \\9;\n}\n.radio + .radio,\n.checkbox + .checkbox {\n margin-top: -5px;\n}\n.radio-inline,\n.checkbox-inline {\n position: relative;\n display: inline-block;\n padding-left: 20px;\n margin-bottom: 0;\n vertical-align: middle;\n font-weight: normal;\n cursor: pointer;\n}\n.radio-inline + .radio-inline,\n.checkbox-inline + .checkbox-inline {\n margin-top: 0;\n margin-left: 10px;\n}\ninput[type=\"radio\"][disabled],\ninput[type=\"checkbox\"][disabled],\ninput[type=\"radio\"].disabled,\ninput[type=\"checkbox\"].disabled,\nfieldset[disabled] input[type=\"radio\"],\nfieldset[disabled] input[type=\"checkbox\"] {\n cursor: not-allowed;\n}\n.radio-inline.disabled,\n.checkbox-inline.disabled,\nfieldset[disabled] .radio-inline,\nfieldset[disabled] .checkbox-inline {\n cursor: not-allowed;\n}\n.radio.disabled label,\n.checkbox.disabled label,\nfieldset[disabled] .radio label,\nfieldset[disabled] .checkbox label {\n cursor: not-allowed;\n}\n.form-control-static {\n padding-top: 7px;\n padding-bottom: 7px;\n margin-bottom: 0;\n min-height: 34px;\n}\n.form-control-static.input-lg,\n.form-control-static.input-sm {\n padding-left: 0;\n padding-right: 0;\n}\n.input-sm {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.input-sm {\n height: 30px;\n line-height: 30px;\n}\ntextarea.input-sm,\nselect[multiple].input-sm {\n height: auto;\n}\n.form-group-sm .form-control {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.form-group-sm select.form-control {\n height: 30px;\n line-height: 30px;\n}\n.form-group-sm textarea.form-control,\n.form-group-sm select[multiple].form-control {\n height: auto;\n}\n.form-group-sm .form-control-static {\n height: 30px;\n min-height: 32px;\n padding: 6px 10px;\n font-size: 12px;\n line-height: 1.5;\n}\n.input-lg {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.input-lg {\n height: 46px;\n line-height: 46px;\n}\ntextarea.input-lg,\nselect[multiple].input-lg {\n height: auto;\n}\n.form-group-lg .form-control {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\n.form-group-lg select.form-control {\n height: 46px;\n line-height: 46px;\n}\n.form-group-lg textarea.form-control,\n.form-group-lg select[multiple].form-control {\n height: auto;\n}\n.form-group-lg .form-control-static {\n height: 46px;\n min-height: 38px;\n padding: 11px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n}\n.has-feedback {\n position: relative;\n}\n.has-feedback .form-control {\n padding-right: 42.5px;\n}\n.form-control-feedback {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 2;\n display: block;\n width: 34px;\n height: 34px;\n line-height: 34px;\n text-align: center;\n pointer-events: none;\n}\n.input-lg + .form-control-feedback,\n.input-group-lg + .form-control-feedback,\n.form-group-lg .form-control + .form-control-feedback {\n width: 46px;\n height: 46px;\n line-height: 46px;\n}\n.input-sm + .form-control-feedback,\n.input-group-sm + .form-control-feedback,\n.form-group-sm .form-control + .form-control-feedback {\n width: 30px;\n height: 30px;\n line-height: 30px;\n}\n.has-success .help-block,\n.has-success .control-label,\n.has-success .radio,\n.has-success .checkbox,\n.has-success .radio-inline,\n.has-success .checkbox-inline,\n.has-success.radio label,\n.has-success.checkbox label,\n.has-success.radio-inline label,\n.has-success.checkbox-inline label {\n color: #3c763d;\n}\n.has-success .form-control {\n border-color: #3c763d;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n.has-success .form-control:focus {\n border-color: #2b542c;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;\n}\n.has-success .input-group-addon {\n color: #3c763d;\n border-color: #3c763d;\n background-color: #dff0d8;\n}\n.has-success .form-control-feedback {\n color: #3c763d;\n}\n.has-warning .help-block,\n.has-warning .control-label,\n.has-warning .radio,\n.has-warning .checkbox,\n.has-warning .radio-inline,\n.has-warning .checkbox-inline,\n.has-warning.radio label,\n.has-warning.checkbox label,\n.has-warning.radio-inline label,\n.has-warning.checkbox-inline label {\n color: #8a6d3b;\n}\n.has-warning .form-control {\n border-color: #8a6d3b;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n.has-warning .form-control:focus {\n border-color: #66512c;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;\n}\n.has-warning .input-group-addon {\n color: #8a6d3b;\n border-color: #8a6d3b;\n background-color: #fcf8e3;\n}\n.has-warning .form-control-feedback {\n color: #8a6d3b;\n}\n.has-error .help-block,\n.has-error .control-label,\n.has-error .radio,\n.has-error .checkbox,\n.has-error .radio-inline,\n.has-error .checkbox-inline,\n.has-error.radio label,\n.has-error.checkbox label,\n.has-error.radio-inline label,\n.has-error.checkbox-inline label {\n color: #a94442;\n}\n.has-error .form-control {\n border-color: #a94442;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n.has-error .form-control:focus {\n border-color: #843534;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;\n}\n.has-error .input-group-addon {\n color: #a94442;\n border-color: #a94442;\n background-color: #f2dede;\n}\n.has-error .form-control-feedback {\n color: #a94442;\n}\n.has-feedback label ~ .form-control-feedback {\n top: 25px;\n}\n.has-feedback label.sr-only ~ .form-control-feedback {\n top: 0;\n}\n.help-block {\n display: block;\n margin-top: 5px;\n margin-bottom: 10px;\n color: #737373;\n}\n@media (min-width: 768px) {\n .form-inline .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .form-inline .form-control-static {\n display: inline-block;\n }\n .form-inline .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .form-inline .input-group .input-group-addon,\n .form-inline .input-group .input-group-btn,\n .form-inline .input-group .form-control {\n width: auto;\n }\n .form-inline .input-group > .form-control {\n width: 100%;\n }\n .form-inline .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio,\n .form-inline .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio label,\n .form-inline .checkbox label {\n padding-left: 0;\n }\n .form-inline .radio input[type=\"radio\"],\n .form-inline .checkbox input[type=\"checkbox\"] {\n position: relative;\n margin-left: 0;\n }\n .form-inline .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox,\n.form-horizontal .radio-inline,\n.form-horizontal .checkbox-inline {\n margin-top: 0;\n margin-bottom: 0;\n padding-top: 7px;\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox {\n min-height: 27px;\n}\n.form-horizontal .form-group {\n margin-left: -15px;\n margin-right: -15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .control-label {\n text-align: right;\n margin-bottom: 0;\n padding-top: 7px;\n }\n}\n.form-horizontal .has-feedback .form-control-feedback {\n right: 15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-lg .control-label {\n padding-top: 11px;\n font-size: 18px;\n }\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-sm .control-label {\n padding-top: 6px;\n font-size: 12px;\n }\n}\n.btn {\n display: inline-block;\n margin-bottom: 0;\n font-weight: normal;\n text-align: center;\n vertical-align: middle;\n touch-action: manipulation;\n cursor: pointer;\n background-image: none;\n border: 1px solid transparent;\n white-space: nowrap;\n padding: 6px 12px;\n font-size: 14px;\n line-height: 1.42857143;\n border-radius: 4px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.btn:focus,\n.btn:active:focus,\n.btn.active:focus,\n.btn.focus,\n.btn:active.focus,\n.btn.active.focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\n.btn:hover,\n.btn:focus,\n.btn.focus {\n color: #333;\n text-decoration: none;\n}\n.btn:active,\n.btn.active {\n outline: 0;\n background-image: none;\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n}\n.btn.disabled,\n.btn[disabled],\nfieldset[disabled] .btn {\n cursor: not-allowed;\n opacity: 0.65;\n filter: alpha(opacity=65);\n -webkit-box-shadow: none;\n box-shadow: none;\n}\na.btn.disabled,\nfieldset[disabled] a.btn {\n pointer-events: none;\n}\n.btn-default {\n color: #333;\n background-color: #fff;\n border-color: #ccc;\n}\n.btn-default:focus,\n.btn-default.focus {\n color: #333;\n background-color: #e6e6e6;\n border-color: #8c8c8c;\n}\n.btn-default:hover {\n color: #333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n color: #333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n.btn-default:active:hover,\n.btn-default.active:hover,\n.open > .dropdown-toggle.btn-default:hover,\n.btn-default:active:focus,\n.btn-default.active:focus,\n.open > .dropdown-toggle.btn-default:focus,\n.btn-default:active.focus,\n.btn-default.active.focus,\n.open > .dropdown-toggle.btn-default.focus {\n color: #333;\n background-color: #d4d4d4;\n border-color: #8c8c8c;\n}\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n background-image: none;\n}\n.btn-default.disabled:hover,\n.btn-default[disabled]:hover,\nfieldset[disabled] .btn-default:hover,\n.btn-default.disabled:focus,\n.btn-default[disabled]:focus,\nfieldset[disabled] .btn-default:focus,\n.btn-default.disabled.focus,\n.btn-default[disabled].focus,\nfieldset[disabled] .btn-default.focus {\n background-color: #fff;\n border-color: #ccc;\n}\n.btn-default .badge {\n color: #fff;\n background-color: #333;\n}\n.btn-primary {\n color: #fff;\n background-color: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary:focus,\n.btn-primary.focus {\n color: #fff;\n background-color: #286090;\n border-color: #122b40;\n}\n.btn-primary:hover {\n color: #fff;\n background-color: #286090;\n border-color: #204d74;\n}\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n color: #fff;\n background-color: #286090;\n border-color: #204d74;\n}\n.btn-primary:active:hover,\n.btn-primary.active:hover,\n.open > .dropdown-toggle.btn-primary:hover,\n.btn-primary:active:focus,\n.btn-primary.active:focus,\n.open > .dropdown-toggle.btn-primary:focus,\n.btn-primary:active.focus,\n.btn-primary.active.focus,\n.open > .dropdown-toggle.btn-primary.focus {\n color: #fff;\n background-color: #204d74;\n border-color: #122b40;\n}\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n background-image: none;\n}\n.btn-primary.disabled:hover,\n.btn-primary[disabled]:hover,\nfieldset[disabled] .btn-primary:hover,\n.btn-primary.disabled:focus,\n.btn-primary[disabled]:focus,\nfieldset[disabled] .btn-primary:focus,\n.btn-primary.disabled.focus,\n.btn-primary[disabled].focus,\nfieldset[disabled] .btn-primary.focus {\n background-color: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.btn-success {\n color: #fff;\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.btn-success:focus,\n.btn-success.focus {\n color: #fff;\n background-color: #449d44;\n border-color: #255625;\n}\n.btn-success:hover {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n.btn-success:active:hover,\n.btn-success.active:hover,\n.open > .dropdown-toggle.btn-success:hover,\n.btn-success:active:focus,\n.btn-success.active:focus,\n.open > .dropdown-toggle.btn-success:focus,\n.btn-success:active.focus,\n.btn-success.active.focus,\n.open > .dropdown-toggle.btn-success.focus {\n color: #fff;\n background-color: #398439;\n border-color: #255625;\n}\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n background-image: none;\n}\n.btn-success.disabled:hover,\n.btn-success[disabled]:hover,\nfieldset[disabled] .btn-success:hover,\n.btn-success.disabled:focus,\n.btn-success[disabled]:focus,\nfieldset[disabled] .btn-success:focus,\n.btn-success.disabled.focus,\n.btn-success[disabled].focus,\nfieldset[disabled] .btn-success.focus {\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.btn-success .badge {\n color: #5cb85c;\n background-color: #fff;\n}\n.btn-info {\n color: #fff;\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n.btn-info:focus,\n.btn-info.focus {\n color: #fff;\n background-color: #31b0d5;\n border-color: #1b6d85;\n}\n.btn-info:hover {\n color: #fff;\n background-color: #31b0d5;\n border-color: #269abc;\n}\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n color: #fff;\n background-color: #31b0d5;\n border-color: #269abc;\n}\n.btn-info:active:hover,\n.btn-info.active:hover,\n.open > .dropdown-toggle.btn-info:hover,\n.btn-info:active:focus,\n.btn-info.active:focus,\n.open > .dropdown-toggle.btn-info:focus,\n.btn-info:active.focus,\n.btn-info.active.focus,\n.open > .dropdown-toggle.btn-info.focus {\n color: #fff;\n background-color: #269abc;\n border-color: #1b6d85;\n}\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n background-image: none;\n}\n.btn-info.disabled:hover,\n.btn-info[disabled]:hover,\nfieldset[disabled] .btn-info:hover,\n.btn-info.disabled:focus,\n.btn-info[disabled]:focus,\nfieldset[disabled] .btn-info:focus,\n.btn-info.disabled.focus,\n.btn-info[disabled].focus,\nfieldset[disabled] .btn-info.focus {\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n.btn-info .badge {\n color: #5bc0de;\n background-color: #fff;\n}\n.btn-warning {\n color: #fff;\n background-color: #f0ad4e;\n border-color: #eea236;\n}\n.btn-warning:focus,\n.btn-warning.focus {\n color: #fff;\n background-color: #ec971f;\n border-color: #985f0d;\n}\n.btn-warning:hover {\n color: #fff;\n background-color: #ec971f;\n border-color: #d58512;\n}\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n color: #fff;\n background-color: #ec971f;\n border-color: #d58512;\n}\n.btn-warning:active:hover,\n.btn-warning.active:hover,\n.open > .dropdown-toggle.btn-warning:hover,\n.btn-warning:active:focus,\n.btn-warning.active:focus,\n.open > .dropdown-toggle.btn-warning:focus,\n.btn-warning:active.focus,\n.btn-warning.active.focus,\n.open > .dropdown-toggle.btn-warning.focus {\n color: #fff;\n background-color: #d58512;\n border-color: #985f0d;\n}\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n background-image: none;\n}\n.btn-warning.disabled:hover,\n.btn-warning[disabled]:hover,\nfieldset[disabled] .btn-warning:hover,\n.btn-warning.disabled:focus,\n.btn-warning[disabled]:focus,\nfieldset[disabled] .btn-warning:focus,\n.btn-warning.disabled.focus,\n.btn-warning[disabled].focus,\nfieldset[disabled] .btn-warning.focus {\n background-color: #f0ad4e;\n border-color: #eea236;\n}\n.btn-warning .badge {\n color: #f0ad4e;\n background-color: #fff;\n}\n.btn-danger {\n color: #fff;\n background-color: #d9534f;\n border-color: #d43f3a;\n}\n.btn-danger:focus,\n.btn-danger.focus {\n color: #fff;\n background-color: #c9302c;\n border-color: #761c19;\n}\n.btn-danger:hover {\n color: #fff;\n background-color: #c9302c;\n border-color: #ac2925;\n}\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n color: #fff;\n background-color: #c9302c;\n border-color: #ac2925;\n}\n.btn-danger:active:hover,\n.btn-danger.active:hover,\n.open > .dropdown-toggle.btn-danger:hover,\n.btn-danger:active:focus,\n.btn-danger.active:focus,\n.open > .dropdown-toggle.btn-danger:focus,\n.btn-danger:active.focus,\n.btn-danger.active.focus,\n.open > .dropdown-toggle.btn-danger.focus {\n color: #fff;\n background-color: #ac2925;\n border-color: #761c19;\n}\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n background-image: none;\n}\n.btn-danger.disabled:hover,\n.btn-danger[disabled]:hover,\nfieldset[disabled] .btn-danger:hover,\n.btn-danger.disabled:focus,\n.btn-danger[disabled]:focus,\nfieldset[disabled] .btn-danger:focus,\n.btn-danger.disabled.focus,\n.btn-danger[disabled].focus,\nfieldset[disabled] .btn-danger.focus {\n background-color: #d9534f;\n border-color: #d43f3a;\n}\n.btn-danger .badge {\n color: #d9534f;\n background-color: #fff;\n}\n.btn-link {\n color: #337ab7;\n font-weight: normal;\n border-radius: 0;\n}\n.btn-link,\n.btn-link:active,\n.btn-link.active,\n.btn-link[disabled],\nfieldset[disabled] .btn-link {\n background-color: transparent;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn-link,\n.btn-link:hover,\n.btn-link:focus,\n.btn-link:active {\n border-color: transparent;\n}\n.btn-link:hover,\n.btn-link:focus {\n color: #23527c;\n text-decoration: underline;\n background-color: transparent;\n}\n.btn-link[disabled]:hover,\nfieldset[disabled] .btn-link:hover,\n.btn-link[disabled]:focus,\nfieldset[disabled] .btn-link:focus {\n color: #777777;\n text-decoration: none;\n}\n.btn-lg,\n.btn-group-lg > .btn {\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\n.btn-sm,\n.btn-group-sm > .btn {\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-xs,\n.btn-group-xs > .btn {\n padding: 1px 5px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-block {\n display: block;\n width: 100%;\n}\n.btn-block + .btn-block {\n margin-top: 5px;\n}\ninput[type=\"submit\"].btn-block,\ninput[type=\"reset\"].btn-block,\ninput[type=\"button\"].btn-block {\n width: 100%;\n}\n.fade {\n opacity: 0;\n -webkit-transition: opacity 0.15s linear;\n -o-transition: opacity 0.15s linear;\n transition: opacity 0.15s linear;\n}\n.fade.in {\n opacity: 1;\n}\n.collapse {\n display: none;\n}\n.collapse.in {\n display: block;\n}\ntr.collapse.in {\n display: table-row;\n}\ntbody.collapse.in {\n display: table-row-group;\n}\n.collapsing {\n position: relative;\n height: 0;\n overflow: hidden;\n -webkit-transition-property: height, visibility;\n transition-property: height, visibility;\n -webkit-transition-duration: 0.35s;\n transition-duration: 0.35s;\n -webkit-transition-timing-function: ease;\n transition-timing-function: ease;\n}\n.caret {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 2px;\n vertical-align: middle;\n border-top: 4px dashed;\n border-top: 4px solid \\9;\n border-right: 4px solid transparent;\n border-left: 4px solid transparent;\n}\n.dropup,\n.dropdown {\n position: relative;\n}\n.dropdown-toggle:focus {\n outline: 0;\n}\n.dropdown-menu {\n position: absolute;\n top: 100%;\n left: 0;\n z-index: 1000;\n display: none;\n float: left;\n min-width: 160px;\n padding: 5px 0;\n margin: 2px 0 0;\n list-style: none;\n font-size: 14px;\n text-align: left;\n background-color: #fff;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, 0.15);\n border-radius: 4px;\n -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);\n box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);\n background-clip: padding-box;\n}\n.dropdown-menu.pull-right {\n right: 0;\n left: auto;\n}\n.dropdown-menu .divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.dropdown-menu > li > a {\n display: block;\n padding: 3px 20px;\n clear: both;\n font-weight: normal;\n line-height: 1.42857143;\n color: #333333;\n white-space: nowrap;\n}\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n text-decoration: none;\n color: #262626;\n background-color: #f5f5f5;\n}\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n color: #fff;\n text-decoration: none;\n outline: 0;\n background-color: #337ab7;\n}\n.dropdown-menu > .disabled > a,\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n color: #777777;\n}\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n text-decoration: none;\n background-color: transparent;\n background-image: none;\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n cursor: not-allowed;\n}\n.open > .dropdown-menu {\n display: block;\n}\n.open > a {\n outline: 0;\n}\n.dropdown-menu-right {\n left: auto;\n right: 0;\n}\n.dropdown-menu-left {\n left: 0;\n right: auto;\n}\n.dropdown-header {\n display: block;\n padding: 3px 20px;\n font-size: 12px;\n line-height: 1.42857143;\n color: #777777;\n white-space: nowrap;\n}\n.dropdown-backdrop {\n position: fixed;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n z-index: 990;\n}\n.pull-right > .dropdown-menu {\n right: 0;\n left: auto;\n}\n.dropup .caret,\n.navbar-fixed-bottom .dropdown .caret {\n border-top: 0;\n border-bottom: 4px dashed;\n border-bottom: 4px solid \\9;\n content: \"\";\n}\n.dropup .dropdown-menu,\n.navbar-fixed-bottom .dropdown .dropdown-menu {\n top: auto;\n bottom: 100%;\n margin-bottom: 2px;\n}\n@media (min-width: 768px) {\n .navbar-right .dropdown-menu {\n left: auto;\n right: 0;\n }\n .navbar-right .dropdown-menu-left {\n left: 0;\n right: auto;\n }\n}\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n}\n.btn-group > .btn,\n.btn-group-vertical > .btn {\n position: relative;\n float: left;\n}\n.btn-group > .btn:hover,\n.btn-group-vertical > .btn:hover,\n.btn-group > .btn:focus,\n.btn-group-vertical > .btn:focus,\n.btn-group > .btn:active,\n.btn-group-vertical > .btn:active,\n.btn-group > .btn.active,\n.btn-group-vertical > .btn.active {\n z-index: 2;\n}\n.btn-group .btn + .btn,\n.btn-group .btn + .btn-group,\n.btn-group .btn-group + .btn,\n.btn-group .btn-group + .btn-group {\n margin-left: -1px;\n}\n.btn-toolbar {\n margin-left: -5px;\n}\n.btn-toolbar .btn,\n.btn-toolbar .btn-group,\n.btn-toolbar .input-group {\n float: left;\n}\n.btn-toolbar > .btn,\n.btn-toolbar > .btn-group,\n.btn-toolbar > .input-group {\n margin-left: 5px;\n}\n.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {\n border-radius: 0;\n}\n.btn-group > .btn:first-child {\n margin-left: 0;\n}\n.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n}\n.btn-group > .btn:last-child:not(:first-child),\n.btn-group > .dropdown-toggle:not(:first-child) {\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n}\n.btn-group > .btn-group {\n float: left;\n}\n.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,\n.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n}\n.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n}\n.btn-group .dropdown-toggle:active,\n.btn-group.open .dropdown-toggle {\n outline: 0;\n}\n.btn-group > .btn + .dropdown-toggle {\n padding-left: 8px;\n padding-right: 8px;\n}\n.btn-group > .btn-lg + .dropdown-toggle {\n padding-left: 12px;\n padding-right: 12px;\n}\n.btn-group.open .dropdown-toggle {\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n}\n.btn-group.open .dropdown-toggle.btn-link {\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn .caret {\n margin-left: 0;\n}\n.btn-lg .caret {\n border-width: 5px 5px 0;\n border-bottom-width: 0;\n}\n.dropup .btn-lg .caret {\n border-width: 0 5px 5px;\n}\n.btn-group-vertical > .btn,\n.btn-group-vertical > .btn-group,\n.btn-group-vertical > .btn-group > .btn {\n display: block;\n float: none;\n width: 100%;\n max-width: 100%;\n}\n.btn-group-vertical > .btn-group > .btn {\n float: none;\n}\n.btn-group-vertical > .btn + .btn,\n.btn-group-vertical > .btn + .btn-group,\n.btn-group-vertical > .btn-group + .btn,\n.btn-group-vertical > .btn-group + .btn-group {\n margin-top: -1px;\n margin-left: 0;\n}\n.btn-group-vertical > .btn:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.btn-group-vertical > .btn:first-child:not(:last-child) {\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn:last-child:not(:first-child) {\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,\n.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n}\n.btn-group-justified {\n display: table;\n width: 100%;\n table-layout: fixed;\n border-collapse: separate;\n}\n.btn-group-justified > .btn,\n.btn-group-justified > .btn-group {\n float: none;\n display: table-cell;\n width: 1%;\n}\n.btn-group-justified > .btn-group .btn {\n width: 100%;\n}\n.btn-group-justified > .btn-group .dropdown-menu {\n left: auto;\n}\n[data-toggle=\"buttons\"] > .btn input[type=\"radio\"],\n[data-toggle=\"buttons\"] > .btn-group > .btn input[type=\"radio\"],\n[data-toggle=\"buttons\"] > .btn input[type=\"checkbox\"],\n[data-toggle=\"buttons\"] > .btn-group > .btn input[type=\"checkbox\"] {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n}\n.input-group {\n position: relative;\n display: table;\n border-collapse: separate;\n}\n.input-group[class*=\"col-\"] {\n float: none;\n padding-left: 0;\n padding-right: 0;\n}\n.input-group .form-control {\n position: relative;\n z-index: 2;\n float: left;\n width: 100%;\n margin-bottom: 0;\n}\n.input-group .form-control:focus {\n z-index: 3;\n}\n.input-group-lg > .form-control,\n.input-group-lg > .input-group-addon,\n.input-group-lg > .input-group-btn > .btn {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.input-group-lg > .form-control,\nselect.input-group-lg > .input-group-addon,\nselect.input-group-lg > .input-group-btn > .btn {\n height: 46px;\n line-height: 46px;\n}\ntextarea.input-group-lg > .form-control,\ntextarea.input-group-lg > .input-group-addon,\ntextarea.input-group-lg > .input-group-btn > .btn,\nselect[multiple].input-group-lg > .form-control,\nselect[multiple].input-group-lg > .input-group-addon,\nselect[multiple].input-group-lg > .input-group-btn > .btn {\n height: auto;\n}\n.input-group-sm > .form-control,\n.input-group-sm > .input-group-addon,\n.input-group-sm > .input-group-btn > .btn {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.input-group-sm > .form-control,\nselect.input-group-sm > .input-group-addon,\nselect.input-group-sm > .input-group-btn > .btn {\n height: 30px;\n line-height: 30px;\n}\ntextarea.input-group-sm > .form-control,\ntextarea.input-group-sm > .input-group-addon,\ntextarea.input-group-sm > .input-group-btn > .btn,\nselect[multiple].input-group-sm > .form-control,\nselect[multiple].input-group-sm > .input-group-addon,\nselect[multiple].input-group-sm > .input-group-btn > .btn {\n height: auto;\n}\n.input-group-addon,\n.input-group-btn,\n.input-group .form-control {\n display: table-cell;\n}\n.input-group-addon:not(:first-child):not(:last-child),\n.input-group-btn:not(:first-child):not(:last-child),\n.input-group .form-control:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.input-group-addon,\n.input-group-btn {\n width: 1%;\n white-space: nowrap;\n vertical-align: middle;\n}\n.input-group-addon {\n padding: 6px 12px;\n font-size: 14px;\n font-weight: normal;\n line-height: 1;\n color: #555555;\n text-align: center;\n background-color: #eeeeee;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n.input-group-addon.input-sm {\n padding: 5px 10px;\n font-size: 12px;\n border-radius: 3px;\n}\n.input-group-addon.input-lg {\n padding: 10px 16px;\n font-size: 18px;\n border-radius: 6px;\n}\n.input-group-addon input[type=\"radio\"],\n.input-group-addon input[type=\"checkbox\"] {\n margin-top: 0;\n}\n.input-group .form-control:first-child,\n.input-group-addon:first-child,\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group > .btn,\n.input-group-btn:first-child > .dropdown-toggle,\n.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),\n.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n}\n.input-group-addon:first-child {\n border-right: 0;\n}\n.input-group .form-control:last-child,\n.input-group-addon:last-child,\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group > .btn,\n.input-group-btn:last-child > .dropdown-toggle,\n.input-group-btn:first-child > .btn:not(:first-child),\n.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n}\n.input-group-addon:last-child {\n border-left: 0;\n}\n.input-group-btn {\n position: relative;\n font-size: 0;\n white-space: nowrap;\n}\n.input-group-btn > .btn {\n position: relative;\n}\n.input-group-btn > .btn + .btn {\n margin-left: -1px;\n}\n.input-group-btn > .btn:hover,\n.input-group-btn > .btn:focus,\n.input-group-btn > .btn:active {\n z-index: 2;\n}\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group {\n margin-right: -1px;\n}\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group {\n z-index: 2;\n margin-left: -1px;\n}\n.nav {\n margin-bottom: 0;\n padding-left: 0;\n list-style: none;\n}\n.nav > li {\n position: relative;\n display: block;\n}\n.nav > li > a {\n position: relative;\n display: block;\n padding: 10px 15px;\n}\n.nav > li > a:hover,\n.nav > li > a:focus {\n text-decoration: none;\n background-color: #eeeeee;\n}\n.nav > li.disabled > a {\n color: #777777;\n}\n.nav > li.disabled > a:hover,\n.nav > li.disabled > a:focus {\n color: #777777;\n text-decoration: none;\n background-color: transparent;\n cursor: not-allowed;\n}\n.nav .open > a,\n.nav .open > a:hover,\n.nav .open > a:focus {\n background-color: #eeeeee;\n border-color: #337ab7;\n}\n.nav .nav-divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.nav > li > a > img {\n max-width: none;\n}\n.nav-tabs {\n border-bottom: 1px solid #ddd;\n}\n.nav-tabs > li {\n float: left;\n margin-bottom: -1px;\n}\n.nav-tabs > li > a {\n margin-right: 2px;\n line-height: 1.42857143;\n border: 1px solid transparent;\n border-radius: 4px 4px 0 0;\n}\n.nav-tabs > li > a:hover {\n border-color: #eeeeee #eeeeee #ddd;\n}\n.nav-tabs > li.active > a,\n.nav-tabs > li.active > a:hover,\n.nav-tabs > li.active > a:focus {\n color: #555555;\n background-color: #fff;\n border: 1px solid #ddd;\n border-bottom-color: transparent;\n cursor: default;\n}\n.nav-tabs.nav-justified {\n width: 100%;\n border-bottom: 0;\n}\n.nav-tabs.nav-justified > li {\n float: none;\n}\n.nav-tabs.nav-justified > li > a {\n text-align: center;\n margin-bottom: 5px;\n}\n.nav-tabs.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n}\n@media (min-width: 768px) {\n .nav-tabs.nav-justified > li {\n display: table-cell;\n width: 1%;\n }\n .nav-tabs.nav-justified > li > a {\n margin-bottom: 0;\n }\n}\n.nav-tabs.nav-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\n}\n.nav-tabs.nav-justified > .active > a,\n.nav-tabs.nav-justified > .active > a:hover,\n.nav-tabs.nav-justified > .active > a:focus {\n border: 1px solid #ddd;\n}\n@media (min-width: 768px) {\n .nav-tabs.nav-justified > li > a {\n border-bottom: 1px solid #ddd;\n border-radius: 4px 4px 0 0;\n }\n .nav-tabs.nav-justified > .active > a,\n .nav-tabs.nav-justified > .active > a:hover,\n .nav-tabs.nav-justified > .active > a:focus {\n border-bottom-color: #fff;\n }\n}\n.nav-pills > li {\n float: left;\n}\n.nav-pills > li > a {\n border-radius: 4px;\n}\n.nav-pills > li + li {\n margin-left: 2px;\n}\n.nav-pills > li.active > a,\n.nav-pills > li.active > a:hover,\n.nav-pills > li.active > a:focus {\n color: #fff;\n background-color: #337ab7;\n}\n.nav-stacked > li {\n float: none;\n}\n.nav-stacked > li + li {\n margin-top: 2px;\n margin-left: 0;\n}\n.nav-justified {\n width: 100%;\n}\n.nav-justified > li {\n float: none;\n}\n.nav-justified > li > a {\n text-align: center;\n margin-bottom: 5px;\n}\n.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n}\n@media (min-width: 768px) {\n .nav-justified > li {\n display: table-cell;\n width: 1%;\n }\n .nav-justified > li > a {\n margin-bottom: 0;\n }\n}\n.nav-tabs-justified {\n border-bottom: 0;\n}\n.nav-tabs-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\n}\n.nav-tabs-justified > .active > a,\n.nav-tabs-justified > .active > a:hover,\n.nav-tabs-justified > .active > a:focus {\n border: 1px solid #ddd;\n}\n@media (min-width: 768px) {\n .nav-tabs-justified > li > a {\n border-bottom: 1px solid #ddd;\n border-radius: 4px 4px 0 0;\n }\n .nav-tabs-justified > .active > a,\n .nav-tabs-justified > .active > a:hover,\n .nav-tabs-justified > .active > a:focus {\n border-bottom-color: #fff;\n }\n}\n.tab-content > .tab-pane {\n display: none;\n}\n.tab-content > .active {\n display: block;\n}\n.nav-tabs .dropdown-menu {\n margin-top: -1px;\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n}\n.navbar {\n position: relative;\n min-height: 50px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n}\n@media (min-width: 768px) {\n .navbar {\n border-radius: 4px;\n }\n}\n@media (min-width: 768px) {\n .navbar-header {\n float: left;\n }\n}\n.navbar-collapse {\n overflow-x: visible;\n padding-right: 15px;\n padding-left: 15px;\n border-top: 1px solid transparent;\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);\n -webkit-overflow-scrolling: touch;\n}\n.navbar-collapse.in {\n overflow-y: auto;\n}\n@media (min-width: 768px) {\n .navbar-collapse {\n width: auto;\n border-top: 0;\n box-shadow: none;\n }\n .navbar-collapse.collapse {\n display: block !important;\n height: auto !important;\n padding-bottom: 0;\n overflow: visible !important;\n }\n .navbar-collapse.in {\n overflow-y: visible;\n }\n .navbar-fixed-top .navbar-collapse,\n .navbar-static-top .navbar-collapse,\n .navbar-fixed-bottom .navbar-collapse {\n padding-left: 0;\n padding-right: 0;\n }\n}\n.navbar-fixed-top .navbar-collapse,\n.navbar-fixed-bottom .navbar-collapse {\n max-height: 340px;\n}\n@media (max-device-width: 480px) and (orientation: landscape) {\n .navbar-fixed-top .navbar-collapse,\n .navbar-fixed-bottom .navbar-collapse {\n max-height: 200px;\n }\n}\n.container > .navbar-header,\n.container-fluid > .navbar-header,\n.container > .navbar-collapse,\n.container-fluid > .navbar-collapse {\n margin-right: -15px;\n margin-left: -15px;\n}\n@media (min-width: 768px) {\n .container > .navbar-header,\n .container-fluid > .navbar-header,\n .container > .navbar-collapse,\n .container-fluid > .navbar-collapse {\n margin-right: 0;\n margin-left: 0;\n }\n}\n.navbar-static-top {\n z-index: 1000;\n border-width: 0 0 1px;\n}\n@media (min-width: 768px) {\n .navbar-static-top {\n border-radius: 0;\n }\n}\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n position: fixed;\n right: 0;\n left: 0;\n z-index: 1030;\n}\n@media (min-width: 768px) {\n .navbar-fixed-top,\n .navbar-fixed-bottom {\n border-radius: 0;\n }\n}\n.navbar-fixed-top {\n top: 0;\n border-width: 0 0 1px;\n}\n.navbar-fixed-bottom {\n bottom: 0;\n margin-bottom: 0;\n border-width: 1px 0 0;\n}\n.navbar-brand {\n float: left;\n padding: 15px 15px;\n font-size: 18px;\n line-height: 20px;\n height: 50px;\n}\n.navbar-brand:hover,\n.navbar-brand:focus {\n text-decoration: none;\n}\n.navbar-brand > img {\n display: block;\n}\n@media (min-width: 768px) {\n .navbar > .container .navbar-brand,\n .navbar > .container-fluid .navbar-brand {\n margin-left: -15px;\n }\n}\n.navbar-toggle {\n position: relative;\n float: right;\n margin-right: 15px;\n padding: 9px 10px;\n margin-top: 8px;\n margin-bottom: 8px;\n background-color: transparent;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.navbar-toggle:focus {\n outline: 0;\n}\n.navbar-toggle .icon-bar {\n display: block;\n width: 22px;\n height: 2px;\n border-radius: 1px;\n}\n.navbar-toggle .icon-bar + .icon-bar {\n margin-top: 4px;\n}\n@media (min-width: 768px) {\n .navbar-toggle {\n display: none;\n }\n}\n.navbar-nav {\n margin: 7.5px -15px;\n}\n.navbar-nav > li > a {\n padding-top: 10px;\n padding-bottom: 10px;\n line-height: 20px;\n}\n@media (max-width: 767px) {\n .navbar-nav .open .dropdown-menu {\n position: static;\n float: none;\n width: auto;\n margin-top: 0;\n background-color: transparent;\n border: 0;\n box-shadow: none;\n }\n .navbar-nav .open .dropdown-menu > li > a,\n .navbar-nav .open .dropdown-menu .dropdown-header {\n padding: 5px 15px 5px 25px;\n }\n .navbar-nav .open .dropdown-menu > li > a {\n line-height: 20px;\n }\n .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-nav .open .dropdown-menu > li > a:focus {\n background-image: none;\n }\n}\n@media (min-width: 768px) {\n .navbar-nav {\n float: left;\n margin: 0;\n }\n .navbar-nav > li {\n float: left;\n }\n .navbar-nav > li > a {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n}\n.navbar-form {\n margin-left: -15px;\n margin-right: -15px;\n padding: 10px 15px;\n border-top: 1px solid transparent;\n border-bottom: 1px solid transparent;\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);\n margin-top: 8px;\n margin-bottom: 8px;\n}\n@media (min-width: 768px) {\n .navbar-form .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .navbar-form .form-control-static {\n display: inline-block;\n }\n .navbar-form .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .navbar-form .input-group .input-group-addon,\n .navbar-form .input-group .input-group-btn,\n .navbar-form .input-group .form-control {\n width: auto;\n }\n .navbar-form .input-group > .form-control {\n width: 100%;\n }\n .navbar-form .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio,\n .navbar-form .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio label,\n .navbar-form .checkbox label {\n padding-left: 0;\n }\n .navbar-form .radio input[type=\"radio\"],\n .navbar-form .checkbox input[type=\"checkbox\"] {\n position: relative;\n margin-left: 0;\n }\n .navbar-form .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n@media (max-width: 767px) {\n .navbar-form .form-group {\n margin-bottom: 5px;\n }\n .navbar-form .form-group:last-child {\n margin-bottom: 0;\n }\n}\n@media (min-width: 768px) {\n .navbar-form {\n width: auto;\n border: 0;\n margin-left: 0;\n margin-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n}\n.navbar-nav > li > .dropdown-menu {\n margin-top: 0;\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n}\n.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {\n margin-bottom: 0;\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.navbar-btn {\n margin-top: 8px;\n margin-bottom: 8px;\n}\n.navbar-btn.btn-sm {\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.navbar-btn.btn-xs {\n margin-top: 14px;\n margin-bottom: 14px;\n}\n.navbar-text {\n margin-top: 15px;\n margin-bottom: 15px;\n}\n@media (min-width: 768px) {\n .navbar-text {\n float: left;\n margin-left: 15px;\n margin-right: 15px;\n }\n}\n@media (min-width: 768px) {\n .navbar-left {\n float: left !important;\n }\n .navbar-right {\n float: right !important;\n margin-right: -15px;\n }\n .navbar-right ~ .navbar-right {\n margin-right: 0;\n }\n}\n.navbar-default {\n background-color: #f8f8f8;\n border-color: #e7e7e7;\n}\n.navbar-default .navbar-brand {\n color: #777;\n}\n.navbar-default .navbar-brand:hover,\n.navbar-default .navbar-brand:focus {\n color: #5e5e5e;\n background-color: transparent;\n}\n.navbar-default .navbar-text {\n color: #777;\n}\n.navbar-default .navbar-nav > li > a {\n color: #777;\n}\n.navbar-default .navbar-nav > li > a:hover,\n.navbar-default .navbar-nav > li > a:focus {\n color: #333;\n background-color: transparent;\n}\n.navbar-default .navbar-nav > .active > a,\n.navbar-default .navbar-nav > .active > a:hover,\n.navbar-default .navbar-nav > .active > a:focus {\n color: #555;\n background-color: #e7e7e7;\n}\n.navbar-default .navbar-nav > .disabled > a,\n.navbar-default .navbar-nav > .disabled > a:hover,\n.navbar-default .navbar-nav > .disabled > a:focus {\n color: #ccc;\n background-color: transparent;\n}\n.navbar-default .navbar-toggle {\n border-color: #ddd;\n}\n.navbar-default .navbar-toggle:hover,\n.navbar-default .navbar-toggle:focus {\n background-color: #ddd;\n}\n.navbar-default .navbar-toggle .icon-bar {\n background-color: #888;\n}\n.navbar-default .navbar-collapse,\n.navbar-default .navbar-form {\n border-color: #e7e7e7;\n}\n.navbar-default .navbar-nav > .open > a,\n.navbar-default .navbar-nav > .open > a:hover,\n.navbar-default .navbar-nav > .open > a:focus {\n background-color: #e7e7e7;\n color: #555;\n}\n@media (max-width: 767px) {\n .navbar-default .navbar-nav .open .dropdown-menu > li > a {\n color: #777;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #333;\n background-color: transparent;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #555;\n background-color: #e7e7e7;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #ccc;\n background-color: transparent;\n }\n}\n.navbar-default .navbar-link {\n color: #777;\n}\n.navbar-default .navbar-link:hover {\n color: #333;\n}\n.navbar-default .btn-link {\n color: #777;\n}\n.navbar-default .btn-link:hover,\n.navbar-default .btn-link:focus {\n color: #333;\n}\n.navbar-default .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-default .btn-link:hover,\n.navbar-default .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-default .btn-link:focus {\n color: #ccc;\n}\n.navbar-inverse {\n background-color: #222;\n border-color: #080808;\n}\n.navbar-inverse .navbar-brand {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-brand:hover,\n.navbar-inverse .navbar-brand:focus {\n color: #fff;\n background-color: transparent;\n}\n.navbar-inverse .navbar-text {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-nav > li > a {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-nav > li > a:hover,\n.navbar-inverse .navbar-nav > li > a:focus {\n color: #fff;\n background-color: transparent;\n}\n.navbar-inverse .navbar-nav > .active > a,\n.navbar-inverse .navbar-nav > .active > a:hover,\n.navbar-inverse .navbar-nav > .active > a:focus {\n color: #fff;\n background-color: #080808;\n}\n.navbar-inverse .navbar-nav > .disabled > a,\n.navbar-inverse .navbar-nav > .disabled > a:hover,\n.navbar-inverse .navbar-nav > .disabled > a:focus {\n color: #444;\n background-color: transparent;\n}\n.navbar-inverse .navbar-toggle {\n border-color: #333;\n}\n.navbar-inverse .navbar-toggle:hover,\n.navbar-inverse .navbar-toggle:focus {\n background-color: #333;\n}\n.navbar-inverse .navbar-toggle .icon-bar {\n background-color: #fff;\n}\n.navbar-inverse .navbar-collapse,\n.navbar-inverse .navbar-form {\n border-color: #101010;\n}\n.navbar-inverse .navbar-nav > .open > a,\n.navbar-inverse .navbar-nav > .open > a:hover,\n.navbar-inverse .navbar-nav > .open > a:focus {\n background-color: #080808;\n color: #fff;\n}\n@media (max-width: 767px) {\n .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {\n border-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu .divider {\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {\n color: #9d9d9d;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #fff;\n background-color: transparent;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #fff;\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #444;\n background-color: transparent;\n }\n}\n.navbar-inverse .navbar-link {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-link:hover {\n color: #fff;\n}\n.navbar-inverse .btn-link {\n color: #9d9d9d;\n}\n.navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link:focus {\n color: #fff;\n}\n.navbar-inverse .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-inverse .btn-link:focus {\n color: #444;\n}\n.breadcrumb {\n padding: 8px 15px;\n margin-bottom: 20px;\n list-style: none;\n background-color: #f5f5f5;\n border-radius: 4px;\n}\n.breadcrumb > li {\n display: inline-block;\n}\n.breadcrumb > li + li:before {\n content: \"/\\00a0\";\n padding: 0 5px;\n color: #ccc;\n}\n.breadcrumb > .active {\n color: #777777;\n}\n.pagination {\n display: inline-block;\n padding-left: 0;\n margin: 20px 0;\n border-radius: 4px;\n}\n.pagination > li {\n display: inline;\n}\n.pagination > li > a,\n.pagination > li > span {\n position: relative;\n float: left;\n padding: 6px 12px;\n line-height: 1.42857143;\n text-decoration: none;\n color: #337ab7;\n background-color: #fff;\n border: 1px solid #ddd;\n margin-left: -1px;\n}\n.pagination > li:first-child > a,\n.pagination > li:first-child > span {\n margin-left: 0;\n border-bottom-left-radius: 4px;\n border-top-left-radius: 4px;\n}\n.pagination > li:last-child > a,\n.pagination > li:last-child > span {\n border-bottom-right-radius: 4px;\n border-top-right-radius: 4px;\n}\n.pagination > li > a:hover,\n.pagination > li > span:hover,\n.pagination > li > a:focus,\n.pagination > li > span:focus {\n z-index: 2;\n color: #23527c;\n background-color: #eeeeee;\n border-color: #ddd;\n}\n.pagination > .active > a,\n.pagination > .active > span,\n.pagination > .active > a:hover,\n.pagination > .active > span:hover,\n.pagination > .active > a:focus,\n.pagination > .active > span:focus {\n z-index: 3;\n color: #fff;\n background-color: #337ab7;\n border-color: #337ab7;\n cursor: default;\n}\n.pagination > .disabled > span,\n.pagination > .disabled > span:hover,\n.pagination > .disabled > span:focus,\n.pagination > .disabled > a,\n.pagination > .disabled > a:hover,\n.pagination > .disabled > a:focus {\n color: #777777;\n background-color: #fff;\n border-color: #ddd;\n cursor: not-allowed;\n}\n.pagination-lg > li > a,\n.pagination-lg > li > span {\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n}\n.pagination-lg > li:first-child > a,\n.pagination-lg > li:first-child > span {\n border-bottom-left-radius: 6px;\n border-top-left-radius: 6px;\n}\n.pagination-lg > li:last-child > a,\n.pagination-lg > li:last-child > span {\n border-bottom-right-radius: 6px;\n border-top-right-radius: 6px;\n}\n.pagination-sm > li > a,\n.pagination-sm > li > span {\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n}\n.pagination-sm > li:first-child > a,\n.pagination-sm > li:first-child > span {\n border-bottom-left-radius: 3px;\n border-top-left-radius: 3px;\n}\n.pagination-sm > li:last-child > a,\n.pagination-sm > li:last-child > span {\n border-bottom-right-radius: 3px;\n border-top-right-radius: 3px;\n}\n.pager {\n padding-left: 0;\n margin: 20px 0;\n list-style: none;\n text-align: center;\n}\n.pager li {\n display: inline;\n}\n.pager li > a,\n.pager li > span {\n display: inline-block;\n padding: 5px 14px;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 15px;\n}\n.pager li > a:hover,\n.pager li > a:focus {\n text-decoration: none;\n background-color: #eeeeee;\n}\n.pager .next > a,\n.pager .next > span {\n float: right;\n}\n.pager .previous > a,\n.pager .previous > span {\n float: left;\n}\n.pager .disabled > a,\n.pager .disabled > a:hover,\n.pager .disabled > a:focus,\n.pager .disabled > span {\n color: #777777;\n background-color: #fff;\n cursor: not-allowed;\n}\n.label {\n display: inline;\n padding: .2em .6em .3em;\n font-size: 75%;\n font-weight: bold;\n line-height: 1;\n color: #fff;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: .25em;\n}\na.label:hover,\na.label:focus {\n color: #fff;\n text-decoration: none;\n cursor: pointer;\n}\n.label:empty {\n display: none;\n}\n.btn .label {\n position: relative;\n top: -1px;\n}\n.label-default {\n background-color: #777777;\n}\n.label-default[href]:hover,\n.label-default[href]:focus {\n background-color: #5e5e5e;\n}\n.label-primary {\n background-color: #337ab7;\n}\n.label-primary[href]:hover,\n.label-primary[href]:focus {\n background-color: #286090;\n}\n.label-success {\n background-color: #5cb85c;\n}\n.label-success[href]:hover,\n.label-success[href]:focus {\n background-color: #449d44;\n}\n.label-info {\n background-color: #5bc0de;\n}\n.label-info[href]:hover,\n.label-info[href]:focus {\n background-color: #31b0d5;\n}\n.label-warning {\n background-color: #f0ad4e;\n}\n.label-warning[href]:hover,\n.label-warning[href]:focus {\n background-color: #ec971f;\n}\n.label-danger {\n background-color: #d9534f;\n}\n.label-danger[href]:hover,\n.label-danger[href]:focus {\n background-color: #c9302c;\n}\n.badge {\n display: inline-block;\n min-width: 10px;\n padding: 3px 7px;\n font-size: 12px;\n font-weight: bold;\n color: #fff;\n line-height: 1;\n vertical-align: middle;\n white-space: nowrap;\n text-align: center;\n background-color: #777777;\n border-radius: 10px;\n}\n.badge:empty {\n display: none;\n}\n.btn .badge {\n position: relative;\n top: -1px;\n}\n.btn-xs .badge,\n.btn-group-xs > .btn .badge {\n top: 0;\n padding: 1px 5px;\n}\na.badge:hover,\na.badge:focus {\n color: #fff;\n text-decoration: none;\n cursor: pointer;\n}\n.list-group-item.active > .badge,\n.nav-pills > .active > a > .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.list-group-item > .badge {\n float: right;\n}\n.list-group-item > .badge + .badge {\n margin-right: 5px;\n}\n.nav-pills > li > a > .badge {\n margin-left: 3px;\n}\n.jumbotron {\n padding-top: 30px;\n padding-bottom: 30px;\n margin-bottom: 30px;\n color: inherit;\n background-color: #eeeeee;\n}\n.jumbotron h1,\n.jumbotron .h1 {\n color: inherit;\n}\n.jumbotron p {\n margin-bottom: 15px;\n font-size: 21px;\n font-weight: 200;\n}\n.jumbotron > hr {\n border-top-color: #d5d5d5;\n}\n.container .jumbotron,\n.container-fluid .jumbotron {\n border-radius: 6px;\n padding-left: 15px;\n padding-right: 15px;\n}\n.jumbotron .container {\n max-width: 100%;\n}\n@media screen and (min-width: 768px) {\n .jumbotron {\n padding-top: 48px;\n padding-bottom: 48px;\n }\n .container .jumbotron,\n .container-fluid .jumbotron {\n padding-left: 60px;\n padding-right: 60px;\n }\n .jumbotron h1,\n .jumbotron .h1 {\n font-size: 63px;\n }\n}\n.thumbnail {\n display: block;\n padding: 4px;\n margin-bottom: 20px;\n line-height: 1.42857143;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 4px;\n -webkit-transition: border 0.2s ease-in-out;\n -o-transition: border 0.2s ease-in-out;\n transition: border 0.2s ease-in-out;\n}\n.thumbnail > img,\n.thumbnail a > img {\n margin-left: auto;\n margin-right: auto;\n}\na.thumbnail:hover,\na.thumbnail:focus,\na.thumbnail.active {\n border-color: #337ab7;\n}\n.thumbnail .caption {\n padding: 9px;\n color: #333333;\n}\n.alert {\n padding: 15px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.alert h4 {\n margin-top: 0;\n color: inherit;\n}\n.alert .alert-link {\n font-weight: bold;\n}\n.alert > p,\n.alert > ul {\n margin-bottom: 0;\n}\n.alert > p + p {\n margin-top: 5px;\n}\n.alert-dismissable,\n.alert-dismissible {\n padding-right: 35px;\n}\n.alert-dismissable .close,\n.alert-dismissible .close {\n position: relative;\n top: -2px;\n right: -21px;\n color: inherit;\n}\n.alert-success {\n background-color: #dff0d8;\n border-color: #d6e9c6;\n color: #3c763d;\n}\n.alert-success hr {\n border-top-color: #c9e2b3;\n}\n.alert-success .alert-link {\n color: #2b542c;\n}\n.alert-info {\n background-color: #d9edf7;\n border-color: #bce8f1;\n color: #31708f;\n}\n.alert-info hr {\n border-top-color: #a6e1ec;\n}\n.alert-info .alert-link {\n color: #245269;\n}\n.alert-warning {\n background-color: #fcf8e3;\n border-color: #faebcc;\n color: #8a6d3b;\n}\n.alert-warning hr {\n border-top-color: #f7e1b5;\n}\n.alert-warning .alert-link {\n color: #66512c;\n}\n.alert-danger {\n background-color: #f2dede;\n border-color: #ebccd1;\n color: #a94442;\n}\n.alert-danger hr {\n border-top-color: #e4b9c0;\n}\n.alert-danger .alert-link {\n color: #843534;\n}\n@-webkit-keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n.progress {\n overflow: hidden;\n height: 20px;\n margin-bottom: 20px;\n background-color: #f5f5f5;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);\n}\n.progress-bar {\n float: left;\n width: 0%;\n height: 100%;\n font-size: 12px;\n line-height: 20px;\n color: #fff;\n text-align: center;\n background-color: #337ab7;\n -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n -webkit-transition: width 0.6s ease;\n -o-transition: width 0.6s ease;\n transition: width 0.6s ease;\n}\n.progress-striped .progress-bar,\n.progress-bar-striped {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-size: 40px 40px;\n}\n.progress.active .progress-bar,\n.progress-bar.active {\n -webkit-animation: progress-bar-stripes 2s linear infinite;\n -o-animation: progress-bar-stripes 2s linear infinite;\n animation: progress-bar-stripes 2s linear infinite;\n}\n.progress-bar-success {\n background-color: #5cb85c;\n}\n.progress-striped .progress-bar-success {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n}\n.progress-bar-info {\n background-color: #5bc0de;\n}\n.progress-striped .progress-bar-info {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n}\n.progress-bar-warning {\n background-color: #f0ad4e;\n}\n.progress-striped .progress-bar-warning {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n}\n.progress-bar-danger {\n background-color: #d9534f;\n}\n.progress-striped .progress-bar-danger {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n}\n.media {\n margin-top: 15px;\n}\n.media:first-child {\n margin-top: 0;\n}\n.media,\n.media-body {\n zoom: 1;\n overflow: hidden;\n}\n.media-body {\n width: 10000px;\n}\n.media-object {\n display: block;\n}\n.media-object.img-thumbnail {\n max-width: none;\n}\n.media-right,\n.media > .pull-right {\n padding-left: 10px;\n}\n.media-left,\n.media > .pull-left {\n padding-right: 10px;\n}\n.media-left,\n.media-right,\n.media-body {\n display: table-cell;\n vertical-align: top;\n}\n.media-middle {\n vertical-align: middle;\n}\n.media-bottom {\n vertical-align: bottom;\n}\n.media-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.media-list {\n padding-left: 0;\n list-style: none;\n}\n.list-group {\n margin-bottom: 20px;\n padding-left: 0;\n}\n.list-group-item {\n position: relative;\n display: block;\n padding: 10px 15px;\n margin-bottom: -1px;\n background-color: #fff;\n border: 1px solid #ddd;\n}\n.list-group-item:first-child {\n border-top-right-radius: 4px;\n border-top-left-radius: 4px;\n}\n.list-group-item:last-child {\n margin-bottom: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\na.list-group-item,\nbutton.list-group-item {\n color: #555;\n}\na.list-group-item .list-group-item-heading,\nbutton.list-group-item .list-group-item-heading {\n color: #333;\n}\na.list-group-item:hover,\nbutton.list-group-item:hover,\na.list-group-item:focus,\nbutton.list-group-item:focus {\n text-decoration: none;\n color: #555;\n background-color: #f5f5f5;\n}\nbutton.list-group-item {\n width: 100%;\n text-align: left;\n}\n.list-group-item.disabled,\n.list-group-item.disabled:hover,\n.list-group-item.disabled:focus {\n background-color: #eeeeee;\n color: #777777;\n cursor: not-allowed;\n}\n.list-group-item.disabled .list-group-item-heading,\n.list-group-item.disabled:hover .list-group-item-heading,\n.list-group-item.disabled:focus .list-group-item-heading {\n color: inherit;\n}\n.list-group-item.disabled .list-group-item-text,\n.list-group-item.disabled:hover .list-group-item-text,\n.list-group-item.disabled:focus .list-group-item-text {\n color: #777777;\n}\n.list-group-item.active,\n.list-group-item.active:hover,\n.list-group-item.active:focus {\n z-index: 2;\n color: #fff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.list-group-item.active .list-group-item-heading,\n.list-group-item.active:hover .list-group-item-heading,\n.list-group-item.active:focus .list-group-item-heading,\n.list-group-item.active .list-group-item-heading > small,\n.list-group-item.active:hover .list-group-item-heading > small,\n.list-group-item.active:focus .list-group-item-heading > small,\n.list-group-item.active .list-group-item-heading > .small,\n.list-group-item.active:hover .list-group-item-heading > .small,\n.list-group-item.active:focus .list-group-item-heading > .small {\n color: inherit;\n}\n.list-group-item.active .list-group-item-text,\n.list-group-item.active:hover .list-group-item-text,\n.list-group-item.active:focus .list-group-item-text {\n color: #c7ddef;\n}\n.list-group-item-success {\n color: #3c763d;\n background-color: #dff0d8;\n}\na.list-group-item-success,\nbutton.list-group-item-success {\n color: #3c763d;\n}\na.list-group-item-success .list-group-item-heading,\nbutton.list-group-item-success .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-success:hover,\nbutton.list-group-item-success:hover,\na.list-group-item-success:focus,\nbutton.list-group-item-success:focus {\n color: #3c763d;\n background-color: #d0e9c6;\n}\na.list-group-item-success.active,\nbutton.list-group-item-success.active,\na.list-group-item-success.active:hover,\nbutton.list-group-item-success.active:hover,\na.list-group-item-success.active:focus,\nbutton.list-group-item-success.active:focus {\n color: #fff;\n background-color: #3c763d;\n border-color: #3c763d;\n}\n.list-group-item-info {\n color: #31708f;\n background-color: #d9edf7;\n}\na.list-group-item-info,\nbutton.list-group-item-info {\n color: #31708f;\n}\na.list-group-item-info .list-group-item-heading,\nbutton.list-group-item-info .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-info:hover,\nbutton.list-group-item-info:hover,\na.list-group-item-info:focus,\nbutton.list-group-item-info:focus {\n color: #31708f;\n background-color: #c4e3f3;\n}\na.list-group-item-info.active,\nbutton.list-group-item-info.active,\na.list-group-item-info.active:hover,\nbutton.list-group-item-info.active:hover,\na.list-group-item-info.active:focus,\nbutton.list-group-item-info.active:focus {\n color: #fff;\n background-color: #31708f;\n border-color: #31708f;\n}\n.list-group-item-warning {\n color: #8a6d3b;\n background-color: #fcf8e3;\n}\na.list-group-item-warning,\nbutton.list-group-item-warning {\n color: #8a6d3b;\n}\na.list-group-item-warning .list-group-item-heading,\nbutton.list-group-item-warning .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-warning:hover,\nbutton.list-group-item-warning:hover,\na.list-group-item-warning:focus,\nbutton.list-group-item-warning:focus {\n color: #8a6d3b;\n background-color: #faf2cc;\n}\na.list-group-item-warning.active,\nbutton.list-group-item-warning.active,\na.list-group-item-warning.active:hover,\nbutton.list-group-item-warning.active:hover,\na.list-group-item-warning.active:focus,\nbutton.list-group-item-warning.active:focus {\n color: #fff;\n background-color: #8a6d3b;\n border-color: #8a6d3b;\n}\n.list-group-item-danger {\n color: #a94442;\n background-color: #f2dede;\n}\na.list-group-item-danger,\nbutton.list-group-item-danger {\n color: #a94442;\n}\na.list-group-item-danger .list-group-item-heading,\nbutton.list-group-item-danger .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-danger:hover,\nbutton.list-group-item-danger:hover,\na.list-group-item-danger:focus,\nbutton.list-group-item-danger:focus {\n color: #a94442;\n background-color: #ebcccc;\n}\na.list-group-item-danger.active,\nbutton.list-group-item-danger.active,\na.list-group-item-danger.active:hover,\nbutton.list-group-item-danger.active:hover,\na.list-group-item-danger.active:focus,\nbutton.list-group-item-danger.active:focus {\n color: #fff;\n background-color: #a94442;\n border-color: #a94442;\n}\n.list-group-item-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.list-group-item-text {\n margin-bottom: 0;\n line-height: 1.3;\n}\n.panel {\n margin-bottom: 20px;\n background-color: #fff;\n border: 1px solid transparent;\n border-radius: 4px;\n -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);\n}\n.panel-body {\n padding: 15px;\n}\n.panel-heading {\n padding: 10px 15px;\n border-bottom: 1px solid transparent;\n border-top-right-radius: 3px;\n border-top-left-radius: 3px;\n}\n.panel-heading > .dropdown .dropdown-toggle {\n color: inherit;\n}\n.panel-title {\n margin-top: 0;\n margin-bottom: 0;\n font-size: 16px;\n color: inherit;\n}\n.panel-title > a,\n.panel-title > small,\n.panel-title > .small,\n.panel-title > small > a,\n.panel-title > .small > a {\n color: inherit;\n}\n.panel-footer {\n padding: 10px 15px;\n background-color: #f5f5f5;\n border-top: 1px solid #ddd;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .list-group,\n.panel > .panel-collapse > .list-group {\n margin-bottom: 0;\n}\n.panel > .list-group .list-group-item,\n.panel > .panel-collapse > .list-group .list-group-item {\n border-width: 1px 0;\n border-radius: 0;\n}\n.panel > .list-group:first-child .list-group-item:first-child,\n.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {\n border-top: 0;\n border-top-right-radius: 3px;\n border-top-left-radius: 3px;\n}\n.panel > .list-group:last-child .list-group-item:last-child,\n.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {\n border-bottom: 0;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n}\n.panel-heading + .list-group .list-group-item:first-child {\n border-top-width: 0;\n}\n.list-group + .panel-footer {\n border-top-width: 0;\n}\n.panel > .table,\n.panel > .table-responsive > .table,\n.panel > .panel-collapse > .table {\n margin-bottom: 0;\n}\n.panel > .table caption,\n.panel > .table-responsive > .table caption,\n.panel > .panel-collapse > .table caption {\n padding-left: 15px;\n padding-right: 15px;\n}\n.panel > .table:first-child,\n.panel > .table-responsive:first-child > .table:first-child {\n border-top-right-radius: 3px;\n border-top-left-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {\n border-top-left-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {\n border-top-right-radius: 3px;\n}\n.panel > .table:last-child,\n.panel > .table-responsive:last-child > .table:last-child {\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {\n border-bottom-right-radius: 3px;\n}\n.panel > .panel-body + .table,\n.panel > .panel-body + .table-responsive,\n.panel > .table + .panel-body,\n.panel > .table-responsive + .panel-body {\n border-top: 1px solid #ddd;\n}\n.panel > .table > tbody:first-child > tr:first-child th,\n.panel > .table > tbody:first-child > tr:first-child td {\n border-top: 0;\n}\n.panel > .table-bordered,\n.panel > .table-responsive > .table-bordered {\n border: 0;\n}\n.panel > .table-bordered > thead > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,\n.panel > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-bordered > thead > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,\n.panel > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-bordered > tfoot > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n border-left: 0;\n}\n.panel > .table-bordered > thead > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,\n.panel > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-bordered > thead > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,\n.panel > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-bordered > tfoot > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n border-right: 0;\n}\n.panel > .table-bordered > thead > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,\n.panel > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-bordered > thead > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,\n.panel > .table-bordered > tbody > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {\n border-bottom: 0;\n}\n.panel > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-bordered > tfoot > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,\n.panel > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-bordered > tfoot > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {\n border-bottom: 0;\n}\n.panel > .table-responsive {\n border: 0;\n margin-bottom: 0;\n}\n.panel-group {\n margin-bottom: 20px;\n}\n.panel-group .panel {\n margin-bottom: 0;\n border-radius: 4px;\n}\n.panel-group .panel + .panel {\n margin-top: 5px;\n}\n.panel-group .panel-heading {\n border-bottom: 0;\n}\n.panel-group .panel-heading + .panel-collapse > .panel-body,\n.panel-group .panel-heading + .panel-collapse > .list-group {\n border-top: 1px solid #ddd;\n}\n.panel-group .panel-footer {\n border-top: 0;\n}\n.panel-group .panel-footer + .panel-collapse .panel-body {\n border-bottom: 1px solid #ddd;\n}\n.panel-default {\n border-color: #ddd;\n}\n.panel-default > .panel-heading {\n color: #333333;\n background-color: #f5f5f5;\n border-color: #ddd;\n}\n.panel-default > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #ddd;\n}\n.panel-default > .panel-heading .badge {\n color: #f5f5f5;\n background-color: #333333;\n}\n.panel-default > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #ddd;\n}\n.panel-primary {\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading {\n color: #fff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #337ab7;\n}\n.panel-primary > .panel-heading .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.panel-primary > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #337ab7;\n}\n.panel-success {\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #d6e9c6;\n}\n.panel-success > .panel-heading .badge {\n color: #dff0d8;\n background-color: #3c763d;\n}\n.panel-success > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #d6e9c6;\n}\n.panel-info {\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading {\n color: #31708f;\n background-color: #d9edf7;\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #bce8f1;\n}\n.panel-info > .panel-heading .badge {\n color: #d9edf7;\n background-color: #31708f;\n}\n.panel-info > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #bce8f1;\n}\n.panel-warning {\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #faebcc;\n}\n.panel-warning > .panel-heading .badge {\n color: #fcf8e3;\n background-color: #8a6d3b;\n}\n.panel-warning > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #faebcc;\n}\n.panel-danger {\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #ebccd1;\n}\n.panel-danger > .panel-heading .badge {\n color: #f2dede;\n background-color: #a94442;\n}\n.panel-danger > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #ebccd1;\n}\n.embed-responsive {\n position: relative;\n display: block;\n height: 0;\n padding: 0;\n overflow: hidden;\n}\n.embed-responsive .embed-responsive-item,\n.embed-responsive iframe,\n.embed-responsive embed,\n.embed-responsive object,\n.embed-responsive video {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n height: 100%;\n width: 100%;\n border: 0;\n}\n.embed-responsive-16by9 {\n padding-bottom: 56.25%;\n}\n.embed-responsive-4by3 {\n padding-bottom: 75%;\n}\n.well {\n min-height: 20px;\n padding: 19px;\n margin-bottom: 20px;\n background-color: #f5f5f5;\n border: 1px solid #e3e3e3;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);\n}\n.well blockquote {\n border-color: #ddd;\n border-color: rgba(0, 0, 0, 0.15);\n}\n.well-lg {\n padding: 24px;\n border-radius: 6px;\n}\n.well-sm {\n padding: 9px;\n border-radius: 3px;\n}\n.close {\n float: right;\n font-size: 21px;\n font-weight: bold;\n line-height: 1;\n color: #000;\n text-shadow: 0 1px 0 #fff;\n opacity: 0.2;\n filter: alpha(opacity=20);\n}\n.close:hover,\n.close:focus {\n color: #000;\n text-decoration: none;\n cursor: pointer;\n opacity: 0.5;\n filter: alpha(opacity=50);\n}\nbutton.close {\n padding: 0;\n cursor: pointer;\n background: transparent;\n border: 0;\n -webkit-appearance: none;\n}\n.modal-open {\n overflow: hidden;\n}\n.modal {\n display: none;\n overflow: hidden;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1050;\n -webkit-overflow-scrolling: touch;\n outline: 0;\n}\n.modal.fade .modal-dialog {\n -webkit-transform: translate(0, -25%);\n -ms-transform: translate(0, -25%);\n -o-transform: translate(0, -25%);\n transform: translate(0, -25%);\n -webkit-transition: -webkit-transform 0.3s ease-out;\n -moz-transition: -moz-transform 0.3s ease-out;\n -o-transition: -o-transform 0.3s ease-out;\n transition: transform 0.3s ease-out;\n}\n.modal.in .modal-dialog {\n -webkit-transform: translate(0, 0);\n -ms-transform: translate(0, 0);\n -o-transform: translate(0, 0);\n transform: translate(0, 0);\n}\n.modal-open .modal {\n overflow-x: hidden;\n overflow-y: auto;\n}\n.modal-dialog {\n position: relative;\n width: auto;\n margin: 10px;\n}\n.modal-content {\n position: relative;\n background-color: #fff;\n border: 1px solid #999;\n border: 1px solid rgba(0, 0, 0, 0.2);\n border-radius: 6px;\n -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);\n box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);\n background-clip: padding-box;\n outline: 0;\n}\n.modal-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1040;\n background-color: #000;\n}\n.modal-backdrop.fade {\n opacity: 0;\n filter: alpha(opacity=0);\n}\n.modal-backdrop.in {\n opacity: 0.5;\n filter: alpha(opacity=50);\n}\n.modal-header {\n padding: 15px;\n border-bottom: 1px solid #e5e5e5;\n}\n.modal-header .close {\n margin-top: -2px;\n}\n.modal-title {\n margin: 0;\n line-height: 1.42857143;\n}\n.modal-body {\n position: relative;\n padding: 15px;\n}\n.modal-footer {\n padding: 15px;\n text-align: right;\n border-top: 1px solid #e5e5e5;\n}\n.modal-footer .btn + .btn {\n margin-left: 5px;\n margin-bottom: 0;\n}\n.modal-footer .btn-group .btn + .btn {\n margin-left: -1px;\n}\n.modal-footer .btn-block + .btn-block {\n margin-left: 0;\n}\n.modal-scrollbar-measure {\n position: absolute;\n top: -9999px;\n width: 50px;\n height: 50px;\n overflow: scroll;\n}\n@media (min-width: 768px) {\n .modal-dialog {\n width: 600px;\n margin: 30px auto;\n }\n .modal-content {\n -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);\n box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);\n }\n .modal-sm {\n width: 300px;\n }\n}\n@media (min-width: 992px) {\n .modal-lg {\n width: 900px;\n }\n}\n.tooltip {\n position: absolute;\n z-index: 1070;\n display: block;\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n line-break: auto;\n line-height: 1.42857143;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n white-space: normal;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n font-size: 12px;\n opacity: 0;\n filter: alpha(opacity=0);\n}\n.tooltip.in {\n opacity: 0.9;\n filter: alpha(opacity=90);\n}\n.tooltip.top {\n margin-top: -3px;\n padding: 5px 0;\n}\n.tooltip.right {\n margin-left: 3px;\n padding: 0 5px;\n}\n.tooltip.bottom {\n margin-top: 3px;\n padding: 5px 0;\n}\n.tooltip.left {\n margin-left: -3px;\n padding: 0 5px;\n}\n.tooltip-inner {\n max-width: 200px;\n padding: 3px 8px;\n color: #fff;\n text-align: center;\n background-color: #000;\n border-radius: 4px;\n}\n.tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.tooltip.top .tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.top-left .tooltip-arrow {\n bottom: 0;\n right: 5px;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.top-right .tooltip-arrow {\n bottom: 0;\n left: 5px;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.right .tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: -5px;\n border-width: 5px 5px 5px 0;\n border-right-color: #000;\n}\n.tooltip.left .tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: -5px;\n border-width: 5px 0 5px 5px;\n border-left-color: #000;\n}\n.tooltip.bottom .tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.tooltip.bottom-left .tooltip-arrow {\n top: 0;\n right: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.tooltip.bottom-right .tooltip-arrow {\n top: 0;\n left: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.popover {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1060;\n display: none;\n max-width: 276px;\n padding: 1px;\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n line-break: auto;\n line-height: 1.42857143;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n white-space: normal;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n font-size: 14px;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, 0.2);\n border-radius: 6px;\n -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n}\n.popover.top {\n margin-top: -10px;\n}\n.popover.right {\n margin-left: 10px;\n}\n.popover.bottom {\n margin-top: 10px;\n}\n.popover.left {\n margin-left: -10px;\n}\n.popover-title {\n margin: 0;\n padding: 8px 14px;\n font-size: 14px;\n background-color: #f7f7f7;\n border-bottom: 1px solid #ebebeb;\n border-radius: 5px 5px 0 0;\n}\n.popover-content {\n padding: 9px 14px;\n}\n.popover > .arrow,\n.popover > .arrow:after {\n position: absolute;\n display: block;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.popover > .arrow {\n border-width: 11px;\n}\n.popover > .arrow:after {\n border-width: 10px;\n content: \"\";\n}\n.popover.top > .arrow {\n left: 50%;\n margin-left: -11px;\n border-bottom-width: 0;\n border-top-color: #999999;\n border-top-color: rgba(0, 0, 0, 0.25);\n bottom: -11px;\n}\n.popover.top > .arrow:after {\n content: \" \";\n bottom: 1px;\n margin-left: -10px;\n border-bottom-width: 0;\n border-top-color: #fff;\n}\n.popover.right > .arrow {\n top: 50%;\n left: -11px;\n margin-top: -11px;\n border-left-width: 0;\n border-right-color: #999999;\n border-right-color: rgba(0, 0, 0, 0.25);\n}\n.popover.right > .arrow:after {\n content: \" \";\n left: 1px;\n bottom: -10px;\n border-left-width: 0;\n border-right-color: #fff;\n}\n.popover.bottom > .arrow {\n left: 50%;\n margin-left: -11px;\n border-top-width: 0;\n border-bottom-color: #999999;\n border-bottom-color: rgba(0, 0, 0, 0.25);\n top: -11px;\n}\n.popover.bottom > .arrow:after {\n content: \" \";\n top: 1px;\n margin-left: -10px;\n border-top-width: 0;\n border-bottom-color: #fff;\n}\n.popover.left > .arrow {\n top: 50%;\n right: -11px;\n margin-top: -11px;\n border-right-width: 0;\n border-left-color: #999999;\n border-left-color: rgba(0, 0, 0, 0.25);\n}\n.popover.left > .arrow:after {\n content: \" \";\n right: 1px;\n border-right-width: 0;\n border-left-color: #fff;\n bottom: -10px;\n}\n.carousel {\n position: relative;\n}\n.carousel-inner {\n position: relative;\n overflow: hidden;\n width: 100%;\n}\n.carousel-inner > .item {\n display: none;\n position: relative;\n -webkit-transition: 0.6s ease-in-out left;\n -o-transition: 0.6s ease-in-out left;\n transition: 0.6s ease-in-out left;\n}\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n line-height: 1;\n}\n@media all and (transform-3d), (-webkit-transform-3d) {\n .carousel-inner > .item {\n -webkit-transition: -webkit-transform 0.6s ease-in-out;\n -moz-transition: -moz-transform 0.6s ease-in-out;\n -o-transition: -o-transform 0.6s ease-in-out;\n transition: transform 0.6s ease-in-out;\n -webkit-backface-visibility: hidden;\n -moz-backface-visibility: hidden;\n backface-visibility: hidden;\n -webkit-perspective: 1000px;\n -moz-perspective: 1000px;\n perspective: 1000px;\n }\n .carousel-inner > .item.next,\n .carousel-inner > .item.active.right {\n -webkit-transform: translate3d(100%, 0, 0);\n transform: translate3d(100%, 0, 0);\n left: 0;\n }\n .carousel-inner > .item.prev,\n .carousel-inner > .item.active.left {\n -webkit-transform: translate3d(-100%, 0, 0);\n transform: translate3d(-100%, 0, 0);\n left: 0;\n }\n .carousel-inner > .item.next.left,\n .carousel-inner > .item.prev.right,\n .carousel-inner > .item.active {\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n left: 0;\n }\n}\n.carousel-inner > .active,\n.carousel-inner > .next,\n.carousel-inner > .prev {\n display: block;\n}\n.carousel-inner > .active {\n left: 0;\n}\n.carousel-inner > .next,\n.carousel-inner > .prev {\n position: absolute;\n top: 0;\n width: 100%;\n}\n.carousel-inner > .next {\n left: 100%;\n}\n.carousel-inner > .prev {\n left: -100%;\n}\n.carousel-inner > .next.left,\n.carousel-inner > .prev.right {\n left: 0;\n}\n.carousel-inner > .active.left {\n left: -100%;\n}\n.carousel-inner > .active.right {\n left: 100%;\n}\n.carousel-control {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n width: 15%;\n opacity: 0.5;\n filter: alpha(opacity=50);\n font-size: 20px;\n color: #fff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);\n background-color: rgba(0, 0, 0, 0);\n}\n.carousel-control.left {\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);\n}\n.carousel-control.right {\n left: auto;\n right: 0;\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);\n}\n.carousel-control:hover,\n.carousel-control:focus {\n outline: 0;\n color: #fff;\n text-decoration: none;\n opacity: 0.9;\n filter: alpha(opacity=90);\n}\n.carousel-control .icon-prev,\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-left,\n.carousel-control .glyphicon-chevron-right {\n position: absolute;\n top: 50%;\n margin-top: -10px;\n z-index: 5;\n display: inline-block;\n}\n.carousel-control .icon-prev,\n.carousel-control .glyphicon-chevron-left {\n left: 50%;\n margin-left: -10px;\n}\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-right {\n right: 50%;\n margin-right: -10px;\n}\n.carousel-control .icon-prev,\n.carousel-control .icon-next {\n width: 20px;\n height: 20px;\n line-height: 1;\n font-family: serif;\n}\n.carousel-control .icon-prev:before {\n content: '\\2039';\n}\n.carousel-control .icon-next:before {\n content: '\\203a';\n}\n.carousel-indicators {\n position: absolute;\n bottom: 10px;\n left: 50%;\n z-index: 15;\n width: 60%;\n margin-left: -30%;\n padding-left: 0;\n list-style: none;\n text-align: center;\n}\n.carousel-indicators li {\n display: inline-block;\n width: 10px;\n height: 10px;\n margin: 1px;\n text-indent: -999px;\n border: 1px solid #fff;\n border-radius: 10px;\n cursor: pointer;\n background-color: #000 \\9;\n background-color: rgba(0, 0, 0, 0);\n}\n.carousel-indicators .active {\n margin: 0;\n width: 12px;\n height: 12px;\n background-color: #fff;\n}\n.carousel-caption {\n position: absolute;\n left: 15%;\n right: 15%;\n bottom: 20px;\n z-index: 10;\n padding-top: 20px;\n padding-bottom: 20px;\n color: #fff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);\n}\n.carousel-caption .btn {\n text-shadow: none;\n}\n@media screen and (min-width: 768px) {\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-prev,\n .carousel-control .icon-next {\n width: 30px;\n height: 30px;\n margin-top: -10px;\n font-size: 30px;\n }\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .icon-prev {\n margin-left: -10px;\n }\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-next {\n margin-right: -10px;\n }\n .carousel-caption {\n left: 20%;\n right: 20%;\n padding-bottom: 30px;\n }\n .carousel-indicators {\n bottom: 20px;\n }\n}\n.clearfix:before,\n.clearfix:after,\n.dl-horizontal dd:before,\n.dl-horizontal dd:after,\n.container:before,\n.container:after,\n.container-fluid:before,\n.container-fluid:after,\n.row:before,\n.row:after,\n.form-horizontal .form-group:before,\n.form-horizontal .form-group:after,\n.btn-toolbar:before,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:before,\n.btn-group-vertical > .btn-group:after,\n.nav:before,\n.nav:after,\n.navbar:before,\n.navbar:after,\n.navbar-header:before,\n.navbar-header:after,\n.navbar-collapse:before,\n.navbar-collapse:after,\n.pager:before,\n.pager:after,\n.panel-body:before,\n.panel-body:after,\n.modal-header:before,\n.modal-header:after,\n.modal-footer:before,\n.modal-footer:after {\n content: \" \";\n display: table;\n}\n.clearfix:after,\n.dl-horizontal dd:after,\n.container:after,\n.container-fluid:after,\n.row:after,\n.form-horizontal .form-group:after,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:after,\n.nav:after,\n.navbar:after,\n.navbar-header:after,\n.navbar-collapse:after,\n.pager:after,\n.panel-body:after,\n.modal-header:after,\n.modal-footer:after {\n clear: both;\n}\n.center-block {\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n.pull-right {\n float: right !important;\n}\n.pull-left {\n float: left !important;\n}\n.hide {\n display: none !important;\n}\n.show {\n display: block !important;\n}\n.invisible {\n visibility: hidden;\n}\n.text-hide {\n font: 0/0 a;\n color: transparent;\n text-shadow: none;\n background-color: transparent;\n border: 0;\n}\n.hidden {\n display: none !important;\n}\n.affix {\n position: fixed;\n}\n@-ms-viewport {\n width: device-width;\n}\n.visible-xs,\n.visible-sm,\n.visible-md,\n.visible-lg {\n display: none !important;\n}\n.visible-xs-block,\n.visible-xs-inline,\n.visible-xs-inline-block,\n.visible-sm-block,\n.visible-sm-inline,\n.visible-sm-inline-block,\n.visible-md-block,\n.visible-md-inline,\n.visible-md-inline-block,\n.visible-lg-block,\n.visible-lg-inline,\n.visible-lg-inline-block {\n display: none !important;\n}\n@media (max-width: 767px) {\n .visible-xs {\n display: block !important;\n }\n table.visible-xs {\n display: table !important;\n }\n tr.visible-xs {\n display: table-row !important;\n }\n th.visible-xs,\n td.visible-xs {\n display: table-cell !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-block {\n display: block !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline {\n display: inline !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm {\n display: block !important;\n }\n table.visible-sm {\n display: table !important;\n }\n tr.visible-sm {\n display: table-row !important;\n }\n th.visible-sm,\n td.visible-sm {\n display: table-cell !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-block {\n display: block !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline {\n display: inline !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md {\n display: block !important;\n }\n table.visible-md {\n display: table !important;\n }\n tr.visible-md {\n display: table-row !important;\n }\n th.visible-md,\n td.visible-md {\n display: table-cell !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-block {\n display: block !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline {\n display: inline !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg {\n display: block !important;\n }\n table.visible-lg {\n display: table !important;\n }\n tr.visible-lg {\n display: table-row !important;\n }\n th.visible-lg,\n td.visible-lg {\n display: table-cell !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-block {\n display: block !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline {\n display: inline !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline-block {\n display: inline-block !important;\n }\n}\n@media (max-width: 767px) {\n .hidden-xs {\n display: none !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .hidden-sm {\n display: none !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .hidden-md {\n display: none !important;\n }\n}\n@media (min-width: 1200px) {\n .hidden-lg {\n display: none !important;\n }\n}\n.visible-print {\n display: none !important;\n}\n@media print {\n .visible-print {\n display: block !important;\n }\n table.visible-print {\n display: table !important;\n }\n tr.visible-print {\n display: table-row !important;\n }\n th.visible-print,\n td.visible-print {\n display: table-cell !important;\n }\n}\n.visible-print-block {\n display: none !important;\n}\n@media print {\n .visible-print-block {\n display: block !important;\n }\n}\n.visible-print-inline {\n display: none !important;\n}\n@media print {\n .visible-print-inline {\n display: inline !important;\n }\n}\n.visible-print-inline-block {\n display: none !important;\n}\n@media print {\n .visible-print-inline-block {\n display: inline-block !important;\n }\n}\n@media print {\n .hidden-print {\n display: none !important;\n }\n}\n/*# sourceMappingURL=bootstrap.css.map */","/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n */\n/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */\nhtml {\n font-family: sans-serif;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n}\nbody {\n margin: 0;\n}\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n display: block;\n}\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block;\n vertical-align: baseline;\n}\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n[hidden],\ntemplate {\n display: none;\n}\na {\n background-color: transparent;\n}\na:active,\na:hover {\n outline: 0;\n}\nabbr[title] {\n border-bottom: 1px dotted;\n}\nb,\nstrong {\n font-weight: bold;\n}\ndfn {\n font-style: italic;\n}\nh1 {\n margin: .67em 0;\n font-size: 2em;\n}\nmark {\n color: #000;\n background: #ff0;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\nsup {\n top: -.5em;\n}\nsub {\n bottom: -.25em;\n}\nimg {\n border: 0;\n}\nsvg:not(:root) {\n overflow: hidden;\n}\nfigure {\n margin: 1em 40px;\n}\nhr {\n height: 0;\n -webkit-box-sizing: content-box;\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\npre {\n overflow: auto;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n font-size: 1em;\n}\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n margin: 0;\n font: inherit;\n color: inherit;\n}\nbutton {\n overflow: visible;\n}\nbutton,\nselect {\n text-transform: none;\n}\nbutton,\nhtml input[type=\"button\"],\ninput[type=\"reset\"],\ninput[type=\"submit\"] {\n -webkit-appearance: button;\n cursor: pointer;\n}\nbutton[disabled],\nhtml input[disabled] {\n cursor: default;\n}\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n padding: 0;\n border: 0;\n}\ninput {\n line-height: normal;\n}\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n padding: 0;\n}\ninput[type=\"number\"]::-webkit-inner-spin-button,\ninput[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\ninput[type=\"search\"] {\n -webkit-box-sizing: content-box;\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n -webkit-appearance: textfield;\n}\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\nfieldset {\n padding: .35em .625em .75em;\n margin: 0 2px;\n border: 1px solid #c0c0c0;\n}\nlegend {\n padding: 0;\n border: 0;\n}\ntextarea {\n overflow: auto;\n}\noptgroup {\n font-weight: bold;\n}\ntable {\n border-spacing: 0;\n border-collapse: collapse;\n}\ntd,\nth {\n padding: 0;\n}\n/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */\n@media print {\n *,\n *:before,\n *:after {\n color: #000 !important;\n text-shadow: none !important;\n background: transparent !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n }\n a,\n a:visited {\n text-decoration: underline;\n }\n a[href]:after {\n content: \" (\" attr(href) \")\";\n }\n abbr[title]:after {\n content: \" (\" attr(title) \")\";\n }\n a[href^=\"#\"]:after,\n a[href^=\"javascript:\"]:after {\n content: \"\";\n }\n pre,\n blockquote {\n border: 1px solid #999;\n\n page-break-inside: avoid;\n }\n thead {\n display: table-header-group;\n }\n tr,\n img {\n page-break-inside: avoid;\n }\n img {\n max-width: 100% !important;\n }\n p,\n h2,\n h3 {\n orphans: 3;\n widows: 3;\n }\n h2,\n h3 {\n page-break-after: avoid;\n }\n .navbar {\n display: none;\n }\n .btn > .caret,\n .dropup > .btn > .caret {\n border-top-color: #000 !important;\n }\n .label {\n border: 1px solid #000;\n }\n .table {\n border-collapse: collapse !important;\n }\n .table td,\n .table th {\n background-color: #fff !important;\n }\n .table-bordered th,\n .table-bordered td {\n border: 1px solid #ddd !important;\n }\n}\n@font-face {\n font-family: 'Glyphicons Halflings';\n\n src: url('../fonts/glyphicons-halflings-regular.eot');\n src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');\n}\n.glyphicon {\n position: relative;\n top: 1px;\n display: inline-block;\n font-family: 'Glyphicons Halflings';\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.glyphicon-asterisk:before {\n content: \"\\002a\";\n}\n.glyphicon-plus:before {\n content: \"\\002b\";\n}\n.glyphicon-euro:before,\n.glyphicon-eur:before {\n content: \"\\20ac\";\n}\n.glyphicon-minus:before {\n content: \"\\2212\";\n}\n.glyphicon-cloud:before {\n content: \"\\2601\";\n}\n.glyphicon-envelope:before {\n content: \"\\2709\";\n}\n.glyphicon-pencil:before {\n content: \"\\270f\";\n}\n.glyphicon-glass:before {\n content: \"\\e001\";\n}\n.glyphicon-music:before {\n content: \"\\e002\";\n}\n.glyphicon-search:before {\n content: \"\\e003\";\n}\n.glyphicon-heart:before {\n content: \"\\e005\";\n}\n.glyphicon-star:before {\n content: \"\\e006\";\n}\n.glyphicon-star-empty:before {\n content: \"\\e007\";\n}\n.glyphicon-user:before {\n content: \"\\e008\";\n}\n.glyphicon-film:before {\n content: \"\\e009\";\n}\n.glyphicon-th-large:before {\n content: \"\\e010\";\n}\n.glyphicon-th:before {\n content: \"\\e011\";\n}\n.glyphicon-th-list:before {\n content: \"\\e012\";\n}\n.glyphicon-ok:before {\n content: \"\\e013\";\n}\n.glyphicon-remove:before {\n content: \"\\e014\";\n}\n.glyphicon-zoom-in:before {\n content: \"\\e015\";\n}\n.glyphicon-zoom-out:before {\n content: \"\\e016\";\n}\n.glyphicon-off:before {\n content: \"\\e017\";\n}\n.glyphicon-signal:before {\n content: \"\\e018\";\n}\n.glyphicon-cog:before {\n content: \"\\e019\";\n}\n.glyphicon-trash:before {\n content: \"\\e020\";\n}\n.glyphicon-home:before {\n content: \"\\e021\";\n}\n.glyphicon-file:before {\n content: \"\\e022\";\n}\n.glyphicon-time:before {\n content: \"\\e023\";\n}\n.glyphicon-road:before {\n content: \"\\e024\";\n}\n.glyphicon-download-alt:before {\n content: \"\\e025\";\n}\n.glyphicon-download:before {\n content: \"\\e026\";\n}\n.glyphicon-upload:before {\n content: \"\\e027\";\n}\n.glyphicon-inbox:before {\n content: \"\\e028\";\n}\n.glyphicon-play-circle:before {\n content: \"\\e029\";\n}\n.glyphicon-repeat:before {\n content: \"\\e030\";\n}\n.glyphicon-refresh:before {\n content: \"\\e031\";\n}\n.glyphicon-list-alt:before {\n content: \"\\e032\";\n}\n.glyphicon-lock:before {\n content: \"\\e033\";\n}\n.glyphicon-flag:before {\n content: \"\\e034\";\n}\n.glyphicon-headphones:before {\n content: \"\\e035\";\n}\n.glyphicon-volume-off:before {\n content: \"\\e036\";\n}\n.glyphicon-volume-down:before {\n content: \"\\e037\";\n}\n.glyphicon-volume-up:before {\n content: \"\\e038\";\n}\n.glyphicon-qrcode:before {\n content: \"\\e039\";\n}\n.glyphicon-barcode:before {\n content: \"\\e040\";\n}\n.glyphicon-tag:before {\n content: \"\\e041\";\n}\n.glyphicon-tags:before {\n content: \"\\e042\";\n}\n.glyphicon-book:before {\n content: \"\\e043\";\n}\n.glyphicon-bookmark:before {\n content: \"\\e044\";\n}\n.glyphicon-print:before {\n content: \"\\e045\";\n}\n.glyphicon-camera:before {\n content: \"\\e046\";\n}\n.glyphicon-font:before {\n content: \"\\e047\";\n}\n.glyphicon-bold:before {\n content: \"\\e048\";\n}\n.glyphicon-italic:before {\n content: \"\\e049\";\n}\n.glyphicon-text-height:before {\n content: \"\\e050\";\n}\n.glyphicon-text-width:before {\n content: \"\\e051\";\n}\n.glyphicon-align-left:before {\n content: \"\\e052\";\n}\n.glyphicon-align-center:before {\n content: \"\\e053\";\n}\n.glyphicon-align-right:before {\n content: \"\\e054\";\n}\n.glyphicon-align-justify:before {\n content: \"\\e055\";\n}\n.glyphicon-list:before {\n content: \"\\e056\";\n}\n.glyphicon-indent-left:before {\n content: \"\\e057\";\n}\n.glyphicon-indent-right:before {\n content: \"\\e058\";\n}\n.glyphicon-facetime-video:before {\n content: \"\\e059\";\n}\n.glyphicon-picture:before {\n content: \"\\e060\";\n}\n.glyphicon-map-marker:before {\n content: \"\\e062\";\n}\n.glyphicon-adjust:before {\n content: \"\\e063\";\n}\n.glyphicon-tint:before {\n content: \"\\e064\";\n}\n.glyphicon-edit:before {\n content: \"\\e065\";\n}\n.glyphicon-share:before {\n content: \"\\e066\";\n}\n.glyphicon-check:before {\n content: \"\\e067\";\n}\n.glyphicon-move:before {\n content: \"\\e068\";\n}\n.glyphicon-step-backward:before {\n content: \"\\e069\";\n}\n.glyphicon-fast-backward:before {\n content: \"\\e070\";\n}\n.glyphicon-backward:before {\n content: \"\\e071\";\n}\n.glyphicon-play:before {\n content: \"\\e072\";\n}\n.glyphicon-pause:before {\n content: \"\\e073\";\n}\n.glyphicon-stop:before {\n content: \"\\e074\";\n}\n.glyphicon-forward:before {\n content: \"\\e075\";\n}\n.glyphicon-fast-forward:before {\n content: \"\\e076\";\n}\n.glyphicon-step-forward:before {\n content: \"\\e077\";\n}\n.glyphicon-eject:before {\n content: \"\\e078\";\n}\n.glyphicon-chevron-left:before {\n content: \"\\e079\";\n}\n.glyphicon-chevron-right:before {\n content: \"\\e080\";\n}\n.glyphicon-plus-sign:before {\n content: \"\\e081\";\n}\n.glyphicon-minus-sign:before {\n content: \"\\e082\";\n}\n.glyphicon-remove-sign:before {\n content: \"\\e083\";\n}\n.glyphicon-ok-sign:before {\n content: \"\\e084\";\n}\n.glyphicon-question-sign:before {\n content: \"\\e085\";\n}\n.glyphicon-info-sign:before {\n content: \"\\e086\";\n}\n.glyphicon-screenshot:before {\n content: \"\\e087\";\n}\n.glyphicon-remove-circle:before {\n content: \"\\e088\";\n}\n.glyphicon-ok-circle:before {\n content: \"\\e089\";\n}\n.glyphicon-ban-circle:before {\n content: \"\\e090\";\n}\n.glyphicon-arrow-left:before {\n content: \"\\e091\";\n}\n.glyphicon-arrow-right:before {\n content: \"\\e092\";\n}\n.glyphicon-arrow-up:before {\n content: \"\\e093\";\n}\n.glyphicon-arrow-down:before {\n content: \"\\e094\";\n}\n.glyphicon-share-alt:before {\n content: \"\\e095\";\n}\n.glyphicon-resize-full:before {\n content: \"\\e096\";\n}\n.glyphicon-resize-small:before {\n content: \"\\e097\";\n}\n.glyphicon-exclamation-sign:before {\n content: \"\\e101\";\n}\n.glyphicon-gift:before {\n content: \"\\e102\";\n}\n.glyphicon-leaf:before {\n content: \"\\e103\";\n}\n.glyphicon-fire:before {\n content: \"\\e104\";\n}\n.glyphicon-eye-open:before {\n content: \"\\e105\";\n}\n.glyphicon-eye-close:before {\n content: \"\\e106\";\n}\n.glyphicon-warning-sign:before {\n content: \"\\e107\";\n}\n.glyphicon-plane:before {\n content: \"\\e108\";\n}\n.glyphicon-calendar:before {\n content: \"\\e109\";\n}\n.glyphicon-random:before {\n content: \"\\e110\";\n}\n.glyphicon-comment:before {\n content: \"\\e111\";\n}\n.glyphicon-magnet:before {\n content: \"\\e112\";\n}\n.glyphicon-chevron-up:before {\n content: \"\\e113\";\n}\n.glyphicon-chevron-down:before {\n content: \"\\e114\";\n}\n.glyphicon-retweet:before {\n content: \"\\e115\";\n}\n.glyphicon-shopping-cart:before {\n content: \"\\e116\";\n}\n.glyphicon-folder-close:before {\n content: \"\\e117\";\n}\n.glyphicon-folder-open:before {\n content: \"\\e118\";\n}\n.glyphicon-resize-vertical:before {\n content: \"\\e119\";\n}\n.glyphicon-resize-horizontal:before {\n content: \"\\e120\";\n}\n.glyphicon-hdd:before {\n content: \"\\e121\";\n}\n.glyphicon-bullhorn:before {\n content: \"\\e122\";\n}\n.glyphicon-bell:before {\n content: \"\\e123\";\n}\n.glyphicon-certificate:before {\n content: \"\\e124\";\n}\n.glyphicon-thumbs-up:before {\n content: \"\\e125\";\n}\n.glyphicon-thumbs-down:before {\n content: \"\\e126\";\n}\n.glyphicon-hand-right:before {\n content: \"\\e127\";\n}\n.glyphicon-hand-left:before {\n content: \"\\e128\";\n}\n.glyphicon-hand-up:before {\n content: \"\\e129\";\n}\n.glyphicon-hand-down:before {\n content: \"\\e130\";\n}\n.glyphicon-circle-arrow-right:before {\n content: \"\\e131\";\n}\n.glyphicon-circle-arrow-left:before {\n content: \"\\e132\";\n}\n.glyphicon-circle-arrow-up:before {\n content: \"\\e133\";\n}\n.glyphicon-circle-arrow-down:before {\n content: \"\\e134\";\n}\n.glyphicon-globe:before {\n content: \"\\e135\";\n}\n.glyphicon-wrench:before {\n content: \"\\e136\";\n}\n.glyphicon-tasks:before {\n content: \"\\e137\";\n}\n.glyphicon-filter:before {\n content: \"\\e138\";\n}\n.glyphicon-briefcase:before {\n content: \"\\e139\";\n}\n.glyphicon-fullscreen:before {\n content: \"\\e140\";\n}\n.glyphicon-dashboard:before {\n content: \"\\e141\";\n}\n.glyphicon-paperclip:before {\n content: \"\\e142\";\n}\n.glyphicon-heart-empty:before {\n content: \"\\e143\";\n}\n.glyphicon-link:before {\n content: \"\\e144\";\n}\n.glyphicon-phone:before {\n content: \"\\e145\";\n}\n.glyphicon-pushpin:before {\n content: \"\\e146\";\n}\n.glyphicon-usd:before {\n content: \"\\e148\";\n}\n.glyphicon-gbp:before {\n content: \"\\e149\";\n}\n.glyphicon-sort:before {\n content: \"\\e150\";\n}\n.glyphicon-sort-by-alphabet:before {\n content: \"\\e151\";\n}\n.glyphicon-sort-by-alphabet-alt:before {\n content: \"\\e152\";\n}\n.glyphicon-sort-by-order:before {\n content: \"\\e153\";\n}\n.glyphicon-sort-by-order-alt:before {\n content: \"\\e154\";\n}\n.glyphicon-sort-by-attributes:before {\n content: \"\\e155\";\n}\n.glyphicon-sort-by-attributes-alt:before {\n content: \"\\e156\";\n}\n.glyphicon-unchecked:before {\n content: \"\\e157\";\n}\n.glyphicon-expand:before {\n content: \"\\e158\";\n}\n.glyphicon-collapse-down:before {\n content: \"\\e159\";\n}\n.glyphicon-collapse-up:before {\n content: \"\\e160\";\n}\n.glyphicon-log-in:before {\n content: \"\\e161\";\n}\n.glyphicon-flash:before {\n content: \"\\e162\";\n}\n.glyphicon-log-out:before {\n content: \"\\e163\";\n}\n.glyphicon-new-window:before {\n content: \"\\e164\";\n}\n.glyphicon-record:before {\n content: \"\\e165\";\n}\n.glyphicon-save:before {\n content: \"\\e166\";\n}\n.glyphicon-open:before {\n content: \"\\e167\";\n}\n.glyphicon-saved:before {\n content: \"\\e168\";\n}\n.glyphicon-import:before {\n content: \"\\e169\";\n}\n.glyphicon-export:before {\n content: \"\\e170\";\n}\n.glyphicon-send:before {\n content: \"\\e171\";\n}\n.glyphicon-floppy-disk:before {\n content: \"\\e172\";\n}\n.glyphicon-floppy-saved:before {\n content: \"\\e173\";\n}\n.glyphicon-floppy-remove:before {\n content: \"\\e174\";\n}\n.glyphicon-floppy-save:before {\n content: \"\\e175\";\n}\n.glyphicon-floppy-open:before {\n content: \"\\e176\";\n}\n.glyphicon-credit-card:before {\n content: \"\\e177\";\n}\n.glyphicon-transfer:before {\n content: \"\\e178\";\n}\n.glyphicon-cutlery:before {\n content: \"\\e179\";\n}\n.glyphicon-header:before {\n content: \"\\e180\";\n}\n.glyphicon-compressed:before {\n content: \"\\e181\";\n}\n.glyphicon-earphone:before {\n content: \"\\e182\";\n}\n.glyphicon-phone-alt:before {\n content: \"\\e183\";\n}\n.glyphicon-tower:before {\n content: \"\\e184\";\n}\n.glyphicon-stats:before {\n content: \"\\e185\";\n}\n.glyphicon-sd-video:before {\n content: \"\\e186\";\n}\n.glyphicon-hd-video:before {\n content: \"\\e187\";\n}\n.glyphicon-subtitles:before {\n content: \"\\e188\";\n}\n.glyphicon-sound-stereo:before {\n content: \"\\e189\";\n}\n.glyphicon-sound-dolby:before {\n content: \"\\e190\";\n}\n.glyphicon-sound-5-1:before {\n content: \"\\e191\";\n}\n.glyphicon-sound-6-1:before {\n content: \"\\e192\";\n}\n.glyphicon-sound-7-1:before {\n content: \"\\e193\";\n}\n.glyphicon-copyright-mark:before {\n content: \"\\e194\";\n}\n.glyphicon-registration-mark:before {\n content: \"\\e195\";\n}\n.glyphicon-cloud-download:before {\n content: \"\\e197\";\n}\n.glyphicon-cloud-upload:before {\n content: \"\\e198\";\n}\n.glyphicon-tree-conifer:before {\n content: \"\\e199\";\n}\n.glyphicon-tree-deciduous:before {\n content: \"\\e200\";\n}\n.glyphicon-cd:before {\n content: \"\\e201\";\n}\n.glyphicon-save-file:before {\n content: \"\\e202\";\n}\n.glyphicon-open-file:before {\n content: \"\\e203\";\n}\n.glyphicon-level-up:before {\n content: \"\\e204\";\n}\n.glyphicon-copy:before {\n content: \"\\e205\";\n}\n.glyphicon-paste:before {\n content: \"\\e206\";\n}\n.glyphicon-alert:before {\n content: \"\\e209\";\n}\n.glyphicon-equalizer:before {\n content: \"\\e210\";\n}\n.glyphicon-king:before {\n content: \"\\e211\";\n}\n.glyphicon-queen:before {\n content: \"\\e212\";\n}\n.glyphicon-pawn:before {\n content: \"\\e213\";\n}\n.glyphicon-bishop:before {\n content: \"\\e214\";\n}\n.glyphicon-knight:before {\n content: \"\\e215\";\n}\n.glyphicon-baby-formula:before {\n content: \"\\e216\";\n}\n.glyphicon-tent:before {\n content: \"\\26fa\";\n}\n.glyphicon-blackboard:before {\n content: \"\\e218\";\n}\n.glyphicon-bed:before {\n content: \"\\e219\";\n}\n.glyphicon-apple:before {\n content: \"\\f8ff\";\n}\n.glyphicon-erase:before {\n content: \"\\e221\";\n}\n.glyphicon-hourglass:before {\n content: \"\\231b\";\n}\n.glyphicon-lamp:before {\n content: \"\\e223\";\n}\n.glyphicon-duplicate:before {\n content: \"\\e224\";\n}\n.glyphicon-piggy-bank:before {\n content: \"\\e225\";\n}\n.glyphicon-scissors:before {\n content: \"\\e226\";\n}\n.glyphicon-bitcoin:before {\n content: \"\\e227\";\n}\n.glyphicon-btc:before {\n content: \"\\e227\";\n}\n.glyphicon-xbt:before {\n content: \"\\e227\";\n}\n.glyphicon-yen:before {\n content: \"\\00a5\";\n}\n.glyphicon-jpy:before {\n content: \"\\00a5\";\n}\n.glyphicon-ruble:before {\n content: \"\\20bd\";\n}\n.glyphicon-rub:before {\n content: \"\\20bd\";\n}\n.glyphicon-scale:before {\n content: \"\\e230\";\n}\n.glyphicon-ice-lolly:before {\n content: \"\\e231\";\n}\n.glyphicon-ice-lolly-tasted:before {\n content: \"\\e232\";\n}\n.glyphicon-education:before {\n content: \"\\e233\";\n}\n.glyphicon-option-horizontal:before {\n content: \"\\e234\";\n}\n.glyphicon-option-vertical:before {\n content: \"\\e235\";\n}\n.glyphicon-menu-hamburger:before {\n content: \"\\e236\";\n}\n.glyphicon-modal-window:before {\n content: \"\\e237\";\n}\n.glyphicon-oil:before {\n content: \"\\e238\";\n}\n.glyphicon-grain:before {\n content: \"\\e239\";\n}\n.glyphicon-sunglasses:before {\n content: \"\\e240\";\n}\n.glyphicon-text-size:before {\n content: \"\\e241\";\n}\n.glyphicon-text-color:before {\n content: \"\\e242\";\n}\n.glyphicon-text-background:before {\n content: \"\\e243\";\n}\n.glyphicon-object-align-top:before {\n content: \"\\e244\";\n}\n.glyphicon-object-align-bottom:before {\n content: \"\\e245\";\n}\n.glyphicon-object-align-horizontal:before {\n content: \"\\e246\";\n}\n.glyphicon-object-align-left:before {\n content: \"\\e247\";\n}\n.glyphicon-object-align-vertical:before {\n content: \"\\e248\";\n}\n.glyphicon-object-align-right:before {\n content: \"\\e249\";\n}\n.glyphicon-triangle-right:before {\n content: \"\\e250\";\n}\n.glyphicon-triangle-left:before {\n content: \"\\e251\";\n}\n.glyphicon-triangle-bottom:before {\n content: \"\\e252\";\n}\n.glyphicon-triangle-top:before {\n content: \"\\e253\";\n}\n.glyphicon-console:before {\n content: \"\\e254\";\n}\n.glyphicon-superscript:before {\n content: \"\\e255\";\n}\n.glyphicon-subscript:before {\n content: \"\\e256\";\n}\n.glyphicon-menu-left:before {\n content: \"\\e257\";\n}\n.glyphicon-menu-right:before {\n content: \"\\e258\";\n}\n.glyphicon-menu-down:before {\n content: \"\\e259\";\n}\n.glyphicon-menu-up:before {\n content: \"\\e260\";\n}\n* {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\n*:before,\n*:after {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\nhtml {\n font-size: 10px;\n\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\nbody {\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n font-size: 14px;\n line-height: 1.42857143;\n color: #333;\n background-color: #fff;\n}\ninput,\nbutton,\nselect,\ntextarea {\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\na {\n color: #337ab7;\n text-decoration: none;\n}\na:hover,\na:focus {\n color: #23527c;\n text-decoration: underline;\n}\na:focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\nfigure {\n margin: 0;\n}\nimg {\n vertical-align: middle;\n}\n.img-responsive,\n.thumbnail > img,\n.thumbnail a > img,\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n display: block;\n max-width: 100%;\n height: auto;\n}\n.img-rounded {\n border-radius: 6px;\n}\n.img-thumbnail {\n display: inline-block;\n max-width: 100%;\n height: auto;\n padding: 4px;\n line-height: 1.42857143;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 4px;\n -webkit-transition: all .2s ease-in-out;\n -o-transition: all .2s ease-in-out;\n transition: all .2s ease-in-out;\n}\n.img-circle {\n border-radius: 50%;\n}\nhr {\n margin-top: 20px;\n margin-bottom: 20px;\n border: 0;\n border-top: 1px solid #eee;\n}\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n.sr-only-focusable:active,\n.sr-only-focusable:focus {\n position: static;\n width: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n clip: auto;\n}\n[role=\"button\"] {\n cursor: pointer;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\n.h1,\n.h2,\n.h3,\n.h4,\n.h5,\n.h6 {\n font-family: inherit;\n font-weight: 500;\n line-height: 1.1;\n color: inherit;\n}\nh1 small,\nh2 small,\nh3 small,\nh4 small,\nh5 small,\nh6 small,\n.h1 small,\n.h2 small,\n.h3 small,\n.h4 small,\n.h5 small,\n.h6 small,\nh1 .small,\nh2 .small,\nh3 .small,\nh4 .small,\nh5 .small,\nh6 .small,\n.h1 .small,\n.h2 .small,\n.h3 .small,\n.h4 .small,\n.h5 .small,\n.h6 .small {\n font-weight: normal;\n line-height: 1;\n color: #777;\n}\nh1,\n.h1,\nh2,\n.h2,\nh3,\n.h3 {\n margin-top: 20px;\n margin-bottom: 10px;\n}\nh1 small,\n.h1 small,\nh2 small,\n.h2 small,\nh3 small,\n.h3 small,\nh1 .small,\n.h1 .small,\nh2 .small,\n.h2 .small,\nh3 .small,\n.h3 .small {\n font-size: 65%;\n}\nh4,\n.h4,\nh5,\n.h5,\nh6,\n.h6 {\n margin-top: 10px;\n margin-bottom: 10px;\n}\nh4 small,\n.h4 small,\nh5 small,\n.h5 small,\nh6 small,\n.h6 small,\nh4 .small,\n.h4 .small,\nh5 .small,\n.h5 .small,\nh6 .small,\n.h6 .small {\n font-size: 75%;\n}\nh1,\n.h1 {\n font-size: 36px;\n}\nh2,\n.h2 {\n font-size: 30px;\n}\nh3,\n.h3 {\n font-size: 24px;\n}\nh4,\n.h4 {\n font-size: 18px;\n}\nh5,\n.h5 {\n font-size: 14px;\n}\nh6,\n.h6 {\n font-size: 12px;\n}\np {\n margin: 0 0 10px;\n}\n.lead {\n margin-bottom: 20px;\n font-size: 16px;\n font-weight: 300;\n line-height: 1.4;\n}\n@media (min-width: 768px) {\n .lead {\n font-size: 21px;\n }\n}\nsmall,\n.small {\n font-size: 85%;\n}\nmark,\n.mark {\n padding: .2em;\n background-color: #fcf8e3;\n}\n.text-left {\n text-align: left;\n}\n.text-right {\n text-align: right;\n}\n.text-center {\n text-align: center;\n}\n.text-justify {\n text-align: justify;\n}\n.text-nowrap {\n white-space: nowrap;\n}\n.text-lowercase {\n text-transform: lowercase;\n}\n.text-uppercase {\n text-transform: uppercase;\n}\n.text-capitalize {\n text-transform: capitalize;\n}\n.text-muted {\n color: #777;\n}\n.text-primary {\n color: #337ab7;\n}\na.text-primary:hover,\na.text-primary:focus {\n color: #286090;\n}\n.text-success {\n color: #3c763d;\n}\na.text-success:hover,\na.text-success:focus {\n color: #2b542c;\n}\n.text-info {\n color: #31708f;\n}\na.text-info:hover,\na.text-info:focus {\n color: #245269;\n}\n.text-warning {\n color: #8a6d3b;\n}\na.text-warning:hover,\na.text-warning:focus {\n color: #66512c;\n}\n.text-danger {\n color: #a94442;\n}\na.text-danger:hover,\na.text-danger:focus {\n color: #843534;\n}\n.bg-primary {\n color: #fff;\n background-color: #337ab7;\n}\na.bg-primary:hover,\na.bg-primary:focus {\n background-color: #286090;\n}\n.bg-success {\n background-color: #dff0d8;\n}\na.bg-success:hover,\na.bg-success:focus {\n background-color: #c1e2b3;\n}\n.bg-info {\n background-color: #d9edf7;\n}\na.bg-info:hover,\na.bg-info:focus {\n background-color: #afd9ee;\n}\n.bg-warning {\n background-color: #fcf8e3;\n}\na.bg-warning:hover,\na.bg-warning:focus {\n background-color: #f7ecb5;\n}\n.bg-danger {\n background-color: #f2dede;\n}\na.bg-danger:hover,\na.bg-danger:focus {\n background-color: #e4b9b9;\n}\n.page-header {\n padding-bottom: 9px;\n margin: 40px 0 20px;\n border-bottom: 1px solid #eee;\n}\nul,\nol {\n margin-top: 0;\n margin-bottom: 10px;\n}\nul ul,\nol ul,\nul ol,\nol ol {\n margin-bottom: 0;\n}\n.list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n.list-inline {\n padding-left: 0;\n margin-left: -5px;\n list-style: none;\n}\n.list-inline > li {\n display: inline-block;\n padding-right: 5px;\n padding-left: 5px;\n}\ndl {\n margin-top: 0;\n margin-bottom: 20px;\n}\ndt,\ndd {\n line-height: 1.42857143;\n}\ndt {\n font-weight: bold;\n}\ndd {\n margin-left: 0;\n}\n@media (min-width: 768px) {\n .dl-horizontal dt {\n float: left;\n width: 160px;\n overflow: hidden;\n clear: left;\n text-align: right;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .dl-horizontal dd {\n margin-left: 180px;\n }\n}\nabbr[title],\nabbr[data-original-title] {\n cursor: help;\n border-bottom: 1px dotted #777;\n}\n.initialism {\n font-size: 90%;\n text-transform: uppercase;\n}\nblockquote {\n padding: 10px 20px;\n margin: 0 0 20px;\n font-size: 17.5px;\n border-left: 5px solid #eee;\n}\nblockquote p:last-child,\nblockquote ul:last-child,\nblockquote ol:last-child {\n margin-bottom: 0;\n}\nblockquote footer,\nblockquote small,\nblockquote .small {\n display: block;\n font-size: 80%;\n line-height: 1.42857143;\n color: #777;\n}\nblockquote footer:before,\nblockquote small:before,\nblockquote .small:before {\n content: '\\2014 \\00A0';\n}\n.blockquote-reverse,\nblockquote.pull-right {\n padding-right: 15px;\n padding-left: 0;\n text-align: right;\n border-right: 5px solid #eee;\n border-left: 0;\n}\n.blockquote-reverse footer:before,\nblockquote.pull-right footer:before,\n.blockquote-reverse small:before,\nblockquote.pull-right small:before,\n.blockquote-reverse .small:before,\nblockquote.pull-right .small:before {\n content: '';\n}\n.blockquote-reverse footer:after,\nblockquote.pull-right footer:after,\n.blockquote-reverse small:after,\nblockquote.pull-right small:after,\n.blockquote-reverse .small:after,\nblockquote.pull-right .small:after {\n content: '\\00A0 \\2014';\n}\naddress {\n margin-bottom: 20px;\n font-style: normal;\n line-height: 1.42857143;\n}\ncode,\nkbd,\npre,\nsamp {\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n}\ncode {\n padding: 2px 4px;\n font-size: 90%;\n color: #c7254e;\n background-color: #f9f2f4;\n border-radius: 4px;\n}\nkbd {\n padding: 2px 4px;\n font-size: 90%;\n color: #fff;\n background-color: #333;\n border-radius: 3px;\n -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25);\n}\nkbd kbd {\n padding: 0;\n font-size: 100%;\n font-weight: bold;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\npre {\n display: block;\n padding: 9.5px;\n margin: 0 0 10px;\n font-size: 13px;\n line-height: 1.42857143;\n color: #333;\n word-break: break-all;\n word-wrap: break-word;\n background-color: #f5f5f5;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\npre code {\n padding: 0;\n font-size: inherit;\n color: inherit;\n white-space: pre-wrap;\n background-color: transparent;\n border-radius: 0;\n}\n.pre-scrollable {\n max-height: 340px;\n overflow-y: scroll;\n}\n.container {\n padding-right: 15px;\n padding-left: 15px;\n margin-right: auto;\n margin-left: auto;\n}\n@media (min-width: 768px) {\n .container {\n width: 750px;\n }\n}\n@media (min-width: 992px) {\n .container {\n width: 970px;\n }\n}\n@media (min-width: 1200px) {\n .container {\n width: 1170px;\n }\n}\n.container-fluid {\n padding-right: 15px;\n padding-left: 15px;\n margin-right: auto;\n margin-left: auto;\n}\n.row {\n margin-right: -15px;\n margin-left: -15px;\n}\n.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {\n position: relative;\n min-height: 1px;\n padding-right: 15px;\n padding-left: 15px;\n}\n.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {\n float: left;\n}\n.col-xs-12 {\n width: 100%;\n}\n.col-xs-11 {\n width: 91.66666667%;\n}\n.col-xs-10 {\n width: 83.33333333%;\n}\n.col-xs-9 {\n width: 75%;\n}\n.col-xs-8 {\n width: 66.66666667%;\n}\n.col-xs-7 {\n width: 58.33333333%;\n}\n.col-xs-6 {\n width: 50%;\n}\n.col-xs-5 {\n width: 41.66666667%;\n}\n.col-xs-4 {\n width: 33.33333333%;\n}\n.col-xs-3 {\n width: 25%;\n}\n.col-xs-2 {\n width: 16.66666667%;\n}\n.col-xs-1 {\n width: 8.33333333%;\n}\n.col-xs-pull-12 {\n right: 100%;\n}\n.col-xs-pull-11 {\n right: 91.66666667%;\n}\n.col-xs-pull-10 {\n right: 83.33333333%;\n}\n.col-xs-pull-9 {\n right: 75%;\n}\n.col-xs-pull-8 {\n right: 66.66666667%;\n}\n.col-xs-pull-7 {\n right: 58.33333333%;\n}\n.col-xs-pull-6 {\n right: 50%;\n}\n.col-xs-pull-5 {\n right: 41.66666667%;\n}\n.col-xs-pull-4 {\n right: 33.33333333%;\n}\n.col-xs-pull-3 {\n right: 25%;\n}\n.col-xs-pull-2 {\n right: 16.66666667%;\n}\n.col-xs-pull-1 {\n right: 8.33333333%;\n}\n.col-xs-pull-0 {\n right: auto;\n}\n.col-xs-push-12 {\n left: 100%;\n}\n.col-xs-push-11 {\n left: 91.66666667%;\n}\n.col-xs-push-10 {\n left: 83.33333333%;\n}\n.col-xs-push-9 {\n left: 75%;\n}\n.col-xs-push-8 {\n left: 66.66666667%;\n}\n.col-xs-push-7 {\n left: 58.33333333%;\n}\n.col-xs-push-6 {\n left: 50%;\n}\n.col-xs-push-5 {\n left: 41.66666667%;\n}\n.col-xs-push-4 {\n left: 33.33333333%;\n}\n.col-xs-push-3 {\n left: 25%;\n}\n.col-xs-push-2 {\n left: 16.66666667%;\n}\n.col-xs-push-1 {\n left: 8.33333333%;\n}\n.col-xs-push-0 {\n left: auto;\n}\n.col-xs-offset-12 {\n margin-left: 100%;\n}\n.col-xs-offset-11 {\n margin-left: 91.66666667%;\n}\n.col-xs-offset-10 {\n margin-left: 83.33333333%;\n}\n.col-xs-offset-9 {\n margin-left: 75%;\n}\n.col-xs-offset-8 {\n margin-left: 66.66666667%;\n}\n.col-xs-offset-7 {\n margin-left: 58.33333333%;\n}\n.col-xs-offset-6 {\n margin-left: 50%;\n}\n.col-xs-offset-5 {\n margin-left: 41.66666667%;\n}\n.col-xs-offset-4 {\n margin-left: 33.33333333%;\n}\n.col-xs-offset-3 {\n margin-left: 25%;\n}\n.col-xs-offset-2 {\n margin-left: 16.66666667%;\n}\n.col-xs-offset-1 {\n margin-left: 8.33333333%;\n}\n.col-xs-offset-0 {\n margin-left: 0;\n}\n@media (min-width: 768px) {\n .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {\n float: left;\n }\n .col-sm-12 {\n width: 100%;\n }\n .col-sm-11 {\n width: 91.66666667%;\n }\n .col-sm-10 {\n width: 83.33333333%;\n }\n .col-sm-9 {\n width: 75%;\n }\n .col-sm-8 {\n width: 66.66666667%;\n }\n .col-sm-7 {\n width: 58.33333333%;\n }\n .col-sm-6 {\n width: 50%;\n }\n .col-sm-5 {\n width: 41.66666667%;\n }\n .col-sm-4 {\n width: 33.33333333%;\n }\n .col-sm-3 {\n width: 25%;\n }\n .col-sm-2 {\n width: 16.66666667%;\n }\n .col-sm-1 {\n width: 8.33333333%;\n }\n .col-sm-pull-12 {\n right: 100%;\n }\n .col-sm-pull-11 {\n right: 91.66666667%;\n }\n .col-sm-pull-10 {\n right: 83.33333333%;\n }\n .col-sm-pull-9 {\n right: 75%;\n }\n .col-sm-pull-8 {\n right: 66.66666667%;\n }\n .col-sm-pull-7 {\n right: 58.33333333%;\n }\n .col-sm-pull-6 {\n right: 50%;\n }\n .col-sm-pull-5 {\n right: 41.66666667%;\n }\n .col-sm-pull-4 {\n right: 33.33333333%;\n }\n .col-sm-pull-3 {\n right: 25%;\n }\n .col-sm-pull-2 {\n right: 16.66666667%;\n }\n .col-sm-pull-1 {\n right: 8.33333333%;\n }\n .col-sm-pull-0 {\n right: auto;\n }\n .col-sm-push-12 {\n left: 100%;\n }\n .col-sm-push-11 {\n left: 91.66666667%;\n }\n .col-sm-push-10 {\n left: 83.33333333%;\n }\n .col-sm-push-9 {\n left: 75%;\n }\n .col-sm-push-8 {\n left: 66.66666667%;\n }\n .col-sm-push-7 {\n left: 58.33333333%;\n }\n .col-sm-push-6 {\n left: 50%;\n }\n .col-sm-push-5 {\n left: 41.66666667%;\n }\n .col-sm-push-4 {\n left: 33.33333333%;\n }\n .col-sm-push-3 {\n left: 25%;\n }\n .col-sm-push-2 {\n left: 16.66666667%;\n }\n .col-sm-push-1 {\n left: 8.33333333%;\n }\n .col-sm-push-0 {\n left: auto;\n }\n .col-sm-offset-12 {\n margin-left: 100%;\n }\n .col-sm-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-sm-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-sm-offset-9 {\n margin-left: 75%;\n }\n .col-sm-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-sm-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-sm-offset-6 {\n margin-left: 50%;\n }\n .col-sm-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-sm-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-sm-offset-3 {\n margin-left: 25%;\n }\n .col-sm-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-sm-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-sm-offset-0 {\n margin-left: 0;\n }\n}\n@media (min-width: 992px) {\n .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {\n float: left;\n }\n .col-md-12 {\n width: 100%;\n }\n .col-md-11 {\n width: 91.66666667%;\n }\n .col-md-10 {\n width: 83.33333333%;\n }\n .col-md-9 {\n width: 75%;\n }\n .col-md-8 {\n width: 66.66666667%;\n }\n .col-md-7 {\n width: 58.33333333%;\n }\n .col-md-6 {\n width: 50%;\n }\n .col-md-5 {\n width: 41.66666667%;\n }\n .col-md-4 {\n width: 33.33333333%;\n }\n .col-md-3 {\n width: 25%;\n }\n .col-md-2 {\n width: 16.66666667%;\n }\n .col-md-1 {\n width: 8.33333333%;\n }\n .col-md-pull-12 {\n right: 100%;\n }\n .col-md-pull-11 {\n right: 91.66666667%;\n }\n .col-md-pull-10 {\n right: 83.33333333%;\n }\n .col-md-pull-9 {\n right: 75%;\n }\n .col-md-pull-8 {\n right: 66.66666667%;\n }\n .col-md-pull-7 {\n right: 58.33333333%;\n }\n .col-md-pull-6 {\n right: 50%;\n }\n .col-md-pull-5 {\n right: 41.66666667%;\n }\n .col-md-pull-4 {\n right: 33.33333333%;\n }\n .col-md-pull-3 {\n right: 25%;\n }\n .col-md-pull-2 {\n right: 16.66666667%;\n }\n .col-md-pull-1 {\n right: 8.33333333%;\n }\n .col-md-pull-0 {\n right: auto;\n }\n .col-md-push-12 {\n left: 100%;\n }\n .col-md-push-11 {\n left: 91.66666667%;\n }\n .col-md-push-10 {\n left: 83.33333333%;\n }\n .col-md-push-9 {\n left: 75%;\n }\n .col-md-push-8 {\n left: 66.66666667%;\n }\n .col-md-push-7 {\n left: 58.33333333%;\n }\n .col-md-push-6 {\n left: 50%;\n }\n .col-md-push-5 {\n left: 41.66666667%;\n }\n .col-md-push-4 {\n left: 33.33333333%;\n }\n .col-md-push-3 {\n left: 25%;\n }\n .col-md-push-2 {\n left: 16.66666667%;\n }\n .col-md-push-1 {\n left: 8.33333333%;\n }\n .col-md-push-0 {\n left: auto;\n }\n .col-md-offset-12 {\n margin-left: 100%;\n }\n .col-md-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-md-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-md-offset-9 {\n margin-left: 75%;\n }\n .col-md-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-md-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-md-offset-6 {\n margin-left: 50%;\n }\n .col-md-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-md-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-md-offset-3 {\n margin-left: 25%;\n }\n .col-md-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-md-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-md-offset-0 {\n margin-left: 0;\n }\n}\n@media (min-width: 1200px) {\n .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {\n float: left;\n }\n .col-lg-12 {\n width: 100%;\n }\n .col-lg-11 {\n width: 91.66666667%;\n }\n .col-lg-10 {\n width: 83.33333333%;\n }\n .col-lg-9 {\n width: 75%;\n }\n .col-lg-8 {\n width: 66.66666667%;\n }\n .col-lg-7 {\n width: 58.33333333%;\n }\n .col-lg-6 {\n width: 50%;\n }\n .col-lg-5 {\n width: 41.66666667%;\n }\n .col-lg-4 {\n width: 33.33333333%;\n }\n .col-lg-3 {\n width: 25%;\n }\n .col-lg-2 {\n width: 16.66666667%;\n }\n .col-lg-1 {\n width: 8.33333333%;\n }\n .col-lg-pull-12 {\n right: 100%;\n }\n .col-lg-pull-11 {\n right: 91.66666667%;\n }\n .col-lg-pull-10 {\n right: 83.33333333%;\n }\n .col-lg-pull-9 {\n right: 75%;\n }\n .col-lg-pull-8 {\n right: 66.66666667%;\n }\n .col-lg-pull-7 {\n right: 58.33333333%;\n }\n .col-lg-pull-6 {\n right: 50%;\n }\n .col-lg-pull-5 {\n right: 41.66666667%;\n }\n .col-lg-pull-4 {\n right: 33.33333333%;\n }\n .col-lg-pull-3 {\n right: 25%;\n }\n .col-lg-pull-2 {\n right: 16.66666667%;\n }\n .col-lg-pull-1 {\n right: 8.33333333%;\n }\n .col-lg-pull-0 {\n right: auto;\n }\n .col-lg-push-12 {\n left: 100%;\n }\n .col-lg-push-11 {\n left: 91.66666667%;\n }\n .col-lg-push-10 {\n left: 83.33333333%;\n }\n .col-lg-push-9 {\n left: 75%;\n }\n .col-lg-push-8 {\n left: 66.66666667%;\n }\n .col-lg-push-7 {\n left: 58.33333333%;\n }\n .col-lg-push-6 {\n left: 50%;\n }\n .col-lg-push-5 {\n left: 41.66666667%;\n }\n .col-lg-push-4 {\n left: 33.33333333%;\n }\n .col-lg-push-3 {\n left: 25%;\n }\n .col-lg-push-2 {\n left: 16.66666667%;\n }\n .col-lg-push-1 {\n left: 8.33333333%;\n }\n .col-lg-push-0 {\n left: auto;\n }\n .col-lg-offset-12 {\n margin-left: 100%;\n }\n .col-lg-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-lg-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-lg-offset-9 {\n margin-left: 75%;\n }\n .col-lg-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-lg-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-lg-offset-6 {\n margin-left: 50%;\n }\n .col-lg-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-lg-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-lg-offset-3 {\n margin-left: 25%;\n }\n .col-lg-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-lg-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-lg-offset-0 {\n margin-left: 0;\n }\n}\ntable {\n background-color: transparent;\n}\ncaption {\n padding-top: 8px;\n padding-bottom: 8px;\n color: #777;\n text-align: left;\n}\nth {\n text-align: left;\n}\n.table {\n width: 100%;\n max-width: 100%;\n margin-bottom: 20px;\n}\n.table > thead > tr > th,\n.table > tbody > tr > th,\n.table > tfoot > tr > th,\n.table > thead > tr > td,\n.table > tbody > tr > td,\n.table > tfoot > tr > td {\n padding: 8px;\n line-height: 1.42857143;\n vertical-align: top;\n border-top: 1px solid #ddd;\n}\n.table > thead > tr > th {\n vertical-align: bottom;\n border-bottom: 2px solid #ddd;\n}\n.table > caption + thead > tr:first-child > th,\n.table > colgroup + thead > tr:first-child > th,\n.table > thead:first-child > tr:first-child > th,\n.table > caption + thead > tr:first-child > td,\n.table > colgroup + thead > tr:first-child > td,\n.table > thead:first-child > tr:first-child > td {\n border-top: 0;\n}\n.table > tbody + tbody {\n border-top: 2px solid #ddd;\n}\n.table .table {\n background-color: #fff;\n}\n.table-condensed > thead > tr > th,\n.table-condensed > tbody > tr > th,\n.table-condensed > tfoot > tr > th,\n.table-condensed > thead > tr > td,\n.table-condensed > tbody > tr > td,\n.table-condensed > tfoot > tr > td {\n padding: 5px;\n}\n.table-bordered {\n border: 1px solid #ddd;\n}\n.table-bordered > thead > tr > th,\n.table-bordered > tbody > tr > th,\n.table-bordered > tfoot > tr > th,\n.table-bordered > thead > tr > td,\n.table-bordered > tbody > tr > td,\n.table-bordered > tfoot > tr > td {\n border: 1px solid #ddd;\n}\n.table-bordered > thead > tr > th,\n.table-bordered > thead > tr > td {\n border-bottom-width: 2px;\n}\n.table-striped > tbody > tr:nth-of-type(odd) {\n background-color: #f9f9f9;\n}\n.table-hover > tbody > tr:hover {\n background-color: #f5f5f5;\n}\ntable col[class*=\"col-\"] {\n position: static;\n display: table-column;\n float: none;\n}\ntable td[class*=\"col-\"],\ntable th[class*=\"col-\"] {\n position: static;\n display: table-cell;\n float: none;\n}\n.table > thead > tr > td.active,\n.table > tbody > tr > td.active,\n.table > tfoot > tr > td.active,\n.table > thead > tr > th.active,\n.table > tbody > tr > th.active,\n.table > tfoot > tr > th.active,\n.table > thead > tr.active > td,\n.table > tbody > tr.active > td,\n.table > tfoot > tr.active > td,\n.table > thead > tr.active > th,\n.table > tbody > tr.active > th,\n.table > tfoot > tr.active > th {\n background-color: #f5f5f5;\n}\n.table-hover > tbody > tr > td.active:hover,\n.table-hover > tbody > tr > th.active:hover,\n.table-hover > tbody > tr.active:hover > td,\n.table-hover > tbody > tr:hover > .active,\n.table-hover > tbody > tr.active:hover > th {\n background-color: #e8e8e8;\n}\n.table > thead > tr > td.success,\n.table > tbody > tr > td.success,\n.table > tfoot > tr > td.success,\n.table > thead > tr > th.success,\n.table > tbody > tr > th.success,\n.table > tfoot > tr > th.success,\n.table > thead > tr.success > td,\n.table > tbody > tr.success > td,\n.table > tfoot > tr.success > td,\n.table > thead > tr.success > th,\n.table > tbody > tr.success > th,\n.table > tfoot > tr.success > th {\n background-color: #dff0d8;\n}\n.table-hover > tbody > tr > td.success:hover,\n.table-hover > tbody > tr > th.success:hover,\n.table-hover > tbody > tr.success:hover > td,\n.table-hover > tbody > tr:hover > .success,\n.table-hover > tbody > tr.success:hover > th {\n background-color: #d0e9c6;\n}\n.table > thead > tr > td.info,\n.table > tbody > tr > td.info,\n.table > tfoot > tr > td.info,\n.table > thead > tr > th.info,\n.table > tbody > tr > th.info,\n.table > tfoot > tr > th.info,\n.table > thead > tr.info > td,\n.table > tbody > tr.info > td,\n.table > tfoot > tr.info > td,\n.table > thead > tr.info > th,\n.table > tbody > tr.info > th,\n.table > tfoot > tr.info > th {\n background-color: #d9edf7;\n}\n.table-hover > tbody > tr > td.info:hover,\n.table-hover > tbody > tr > th.info:hover,\n.table-hover > tbody > tr.info:hover > td,\n.table-hover > tbody > tr:hover > .info,\n.table-hover > tbody > tr.info:hover > th {\n background-color: #c4e3f3;\n}\n.table > thead > tr > td.warning,\n.table > tbody > tr > td.warning,\n.table > tfoot > tr > td.warning,\n.table > thead > tr > th.warning,\n.table > tbody > tr > th.warning,\n.table > tfoot > tr > th.warning,\n.table > thead > tr.warning > td,\n.table > tbody > tr.warning > td,\n.table > tfoot > tr.warning > td,\n.table > thead > tr.warning > th,\n.table > tbody > tr.warning > th,\n.table > tfoot > tr.warning > th {\n background-color: #fcf8e3;\n}\n.table-hover > tbody > tr > td.warning:hover,\n.table-hover > tbody > tr > th.warning:hover,\n.table-hover > tbody > tr.warning:hover > td,\n.table-hover > tbody > tr:hover > .warning,\n.table-hover > tbody > tr.warning:hover > th {\n background-color: #faf2cc;\n}\n.table > thead > tr > td.danger,\n.table > tbody > tr > td.danger,\n.table > tfoot > tr > td.danger,\n.table > thead > tr > th.danger,\n.table > tbody > tr > th.danger,\n.table > tfoot > tr > th.danger,\n.table > thead > tr.danger > td,\n.table > tbody > tr.danger > td,\n.table > tfoot > tr.danger > td,\n.table > thead > tr.danger > th,\n.table > tbody > tr.danger > th,\n.table > tfoot > tr.danger > th {\n background-color: #f2dede;\n}\n.table-hover > tbody > tr > td.danger:hover,\n.table-hover > tbody > tr > th.danger:hover,\n.table-hover > tbody > tr.danger:hover > td,\n.table-hover > tbody > tr:hover > .danger,\n.table-hover > tbody > tr.danger:hover > th {\n background-color: #ebcccc;\n}\n.table-responsive {\n min-height: .01%;\n overflow-x: auto;\n}\n@media screen and (max-width: 767px) {\n .table-responsive {\n width: 100%;\n margin-bottom: 15px;\n overflow-y: hidden;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n border: 1px solid #ddd;\n }\n .table-responsive > .table {\n margin-bottom: 0;\n }\n .table-responsive > .table > thead > tr > th,\n .table-responsive > .table > tbody > tr > th,\n .table-responsive > .table > tfoot > tr > th,\n .table-responsive > .table > thead > tr > td,\n .table-responsive > .table > tbody > tr > td,\n .table-responsive > .table > tfoot > tr > td {\n white-space: nowrap;\n }\n .table-responsive > .table-bordered {\n border: 0;\n }\n .table-responsive > .table-bordered > thead > tr > th:first-child,\n .table-responsive > .table-bordered > tbody > tr > th:first-child,\n .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n .table-responsive > .table-bordered > thead > tr > td:first-child,\n .table-responsive > .table-bordered > tbody > tr > td:first-child,\n .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n border-left: 0;\n }\n .table-responsive > .table-bordered > thead > tr > th:last-child,\n .table-responsive > .table-bordered > tbody > tr > th:last-child,\n .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n .table-responsive > .table-bordered > thead > tr > td:last-child,\n .table-responsive > .table-bordered > tbody > tr > td:last-child,\n .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n border-right: 0;\n }\n .table-responsive > .table-bordered > tbody > tr:last-child > th,\n .table-responsive > .table-bordered > tfoot > tr:last-child > th,\n .table-responsive > .table-bordered > tbody > tr:last-child > td,\n .table-responsive > .table-bordered > tfoot > tr:last-child > td {\n border-bottom: 0;\n }\n}\nfieldset {\n min-width: 0;\n padding: 0;\n margin: 0;\n border: 0;\n}\nlegend {\n display: block;\n width: 100%;\n padding: 0;\n margin-bottom: 20px;\n font-size: 21px;\n line-height: inherit;\n color: #333;\n border: 0;\n border-bottom: 1px solid #e5e5e5;\n}\nlabel {\n display: inline-block;\n max-width: 100%;\n margin-bottom: 5px;\n font-weight: bold;\n}\ninput[type=\"search\"] {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n}\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n margin: 4px 0 0;\n margin-top: 1px \\9;\n line-height: normal;\n}\ninput[type=\"file\"] {\n display: block;\n}\ninput[type=\"range\"] {\n display: block;\n width: 100%;\n}\nselect[multiple],\nselect[size] {\n height: auto;\n}\ninput[type=\"file\"]:focus,\ninput[type=\"radio\"]:focus,\ninput[type=\"checkbox\"]:focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\noutput {\n display: block;\n padding-top: 7px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555;\n}\n.form-control {\n display: block;\n width: 100%;\n height: 34px;\n padding: 6px 12px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555;\n background-color: #fff;\n background-image: none;\n border: 1px solid #ccc;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;\n -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n}\n.form-control:focus {\n border-color: #66afe9;\n outline: 0;\n -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);\n box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);\n}\n.form-control::-moz-placeholder {\n color: #999;\n opacity: 1;\n}\n.form-control:-ms-input-placeholder {\n color: #999;\n}\n.form-control::-webkit-input-placeholder {\n color: #999;\n}\n.form-control::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.form-control[disabled],\n.form-control[readonly],\nfieldset[disabled] .form-control {\n background-color: #eee;\n opacity: 1;\n}\n.form-control[disabled],\nfieldset[disabled] .form-control {\n cursor: not-allowed;\n}\ntextarea.form-control {\n height: auto;\n}\ninput[type=\"search\"] {\n -webkit-appearance: none;\n}\n@media screen and (-webkit-min-device-pixel-ratio: 0) {\n input[type=\"date\"].form-control,\n input[type=\"time\"].form-control,\n input[type=\"datetime-local\"].form-control,\n input[type=\"month\"].form-control {\n line-height: 34px;\n }\n input[type=\"date\"].input-sm,\n input[type=\"time\"].input-sm,\n input[type=\"datetime-local\"].input-sm,\n input[type=\"month\"].input-sm,\n .input-group-sm input[type=\"date\"],\n .input-group-sm input[type=\"time\"],\n .input-group-sm input[type=\"datetime-local\"],\n .input-group-sm input[type=\"month\"] {\n line-height: 30px;\n }\n input[type=\"date\"].input-lg,\n input[type=\"time\"].input-lg,\n input[type=\"datetime-local\"].input-lg,\n input[type=\"month\"].input-lg,\n .input-group-lg input[type=\"date\"],\n .input-group-lg input[type=\"time\"],\n .input-group-lg input[type=\"datetime-local\"],\n .input-group-lg input[type=\"month\"] {\n line-height: 46px;\n }\n}\n.form-group {\n margin-bottom: 15px;\n}\n.radio,\n.checkbox {\n position: relative;\n display: block;\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.radio label,\n.checkbox label {\n min-height: 20px;\n padding-left: 20px;\n margin-bottom: 0;\n font-weight: normal;\n cursor: pointer;\n}\n.radio input[type=\"radio\"],\n.radio-inline input[type=\"radio\"],\n.checkbox input[type=\"checkbox\"],\n.checkbox-inline input[type=\"checkbox\"] {\n position: absolute;\n margin-top: 4px \\9;\n margin-left: -20px;\n}\n.radio + .radio,\n.checkbox + .checkbox {\n margin-top: -5px;\n}\n.radio-inline,\n.checkbox-inline {\n position: relative;\n display: inline-block;\n padding-left: 20px;\n margin-bottom: 0;\n font-weight: normal;\n vertical-align: middle;\n cursor: pointer;\n}\n.radio-inline + .radio-inline,\n.checkbox-inline + .checkbox-inline {\n margin-top: 0;\n margin-left: 10px;\n}\ninput[type=\"radio\"][disabled],\ninput[type=\"checkbox\"][disabled],\ninput[type=\"radio\"].disabled,\ninput[type=\"checkbox\"].disabled,\nfieldset[disabled] input[type=\"radio\"],\nfieldset[disabled] input[type=\"checkbox\"] {\n cursor: not-allowed;\n}\n.radio-inline.disabled,\n.checkbox-inline.disabled,\nfieldset[disabled] .radio-inline,\nfieldset[disabled] .checkbox-inline {\n cursor: not-allowed;\n}\n.radio.disabled label,\n.checkbox.disabled label,\nfieldset[disabled] .radio label,\nfieldset[disabled] .checkbox label {\n cursor: not-allowed;\n}\n.form-control-static {\n min-height: 34px;\n padding-top: 7px;\n padding-bottom: 7px;\n margin-bottom: 0;\n}\n.form-control-static.input-lg,\n.form-control-static.input-sm {\n padding-right: 0;\n padding-left: 0;\n}\n.input-sm {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.input-sm {\n height: 30px;\n line-height: 30px;\n}\ntextarea.input-sm,\nselect[multiple].input-sm {\n height: auto;\n}\n.form-group-sm .form-control {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.form-group-sm select.form-control {\n height: 30px;\n line-height: 30px;\n}\n.form-group-sm textarea.form-control,\n.form-group-sm select[multiple].form-control {\n height: auto;\n}\n.form-group-sm .form-control-static {\n height: 30px;\n min-height: 32px;\n padding: 6px 10px;\n font-size: 12px;\n line-height: 1.5;\n}\n.input-lg {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.input-lg {\n height: 46px;\n line-height: 46px;\n}\ntextarea.input-lg,\nselect[multiple].input-lg {\n height: auto;\n}\n.form-group-lg .form-control {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\n.form-group-lg select.form-control {\n height: 46px;\n line-height: 46px;\n}\n.form-group-lg textarea.form-control,\n.form-group-lg select[multiple].form-control {\n height: auto;\n}\n.form-group-lg .form-control-static {\n height: 46px;\n min-height: 38px;\n padding: 11px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n}\n.has-feedback {\n position: relative;\n}\n.has-feedback .form-control {\n padding-right: 42.5px;\n}\n.form-control-feedback {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 2;\n display: block;\n width: 34px;\n height: 34px;\n line-height: 34px;\n text-align: center;\n pointer-events: none;\n}\n.input-lg + .form-control-feedback,\n.input-group-lg + .form-control-feedback,\n.form-group-lg .form-control + .form-control-feedback {\n width: 46px;\n height: 46px;\n line-height: 46px;\n}\n.input-sm + .form-control-feedback,\n.input-group-sm + .form-control-feedback,\n.form-group-sm .form-control + .form-control-feedback {\n width: 30px;\n height: 30px;\n line-height: 30px;\n}\n.has-success .help-block,\n.has-success .control-label,\n.has-success .radio,\n.has-success .checkbox,\n.has-success .radio-inline,\n.has-success .checkbox-inline,\n.has-success.radio label,\n.has-success.checkbox label,\n.has-success.radio-inline label,\n.has-success.checkbox-inline label {\n color: #3c763d;\n}\n.has-success .form-control {\n border-color: #3c763d;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-success .form-control:focus {\n border-color: #2b542c;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;\n}\n.has-success .input-group-addon {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #3c763d;\n}\n.has-success .form-control-feedback {\n color: #3c763d;\n}\n.has-warning .help-block,\n.has-warning .control-label,\n.has-warning .radio,\n.has-warning .checkbox,\n.has-warning .radio-inline,\n.has-warning .checkbox-inline,\n.has-warning.radio label,\n.has-warning.checkbox label,\n.has-warning.radio-inline label,\n.has-warning.checkbox-inline label {\n color: #8a6d3b;\n}\n.has-warning .form-control {\n border-color: #8a6d3b;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-warning .form-control:focus {\n border-color: #66512c;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b;\n}\n.has-warning .input-group-addon {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #8a6d3b;\n}\n.has-warning .form-control-feedback {\n color: #8a6d3b;\n}\n.has-error .help-block,\n.has-error .control-label,\n.has-error .radio,\n.has-error .checkbox,\n.has-error .radio-inline,\n.has-error .checkbox-inline,\n.has-error.radio label,\n.has-error.checkbox label,\n.has-error.radio-inline label,\n.has-error.checkbox-inline label {\n color: #a94442;\n}\n.has-error .form-control {\n border-color: #a94442;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n}\n.has-error .form-control:focus {\n border-color: #843534;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;\n}\n.has-error .input-group-addon {\n color: #a94442;\n background-color: #f2dede;\n border-color: #a94442;\n}\n.has-error .form-control-feedback {\n color: #a94442;\n}\n.has-feedback label ~ .form-control-feedback {\n top: 25px;\n}\n.has-feedback label.sr-only ~ .form-control-feedback {\n top: 0;\n}\n.help-block {\n display: block;\n margin-top: 5px;\n margin-bottom: 10px;\n color: #737373;\n}\n@media (min-width: 768px) {\n .form-inline .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .form-inline .form-control-static {\n display: inline-block;\n }\n .form-inline .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .form-inline .input-group .input-group-addon,\n .form-inline .input-group .input-group-btn,\n .form-inline .input-group .form-control {\n width: auto;\n }\n .form-inline .input-group > .form-control {\n width: 100%;\n }\n .form-inline .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio,\n .form-inline .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .form-inline .radio label,\n .form-inline .checkbox label {\n padding-left: 0;\n }\n .form-inline .radio input[type=\"radio\"],\n .form-inline .checkbox input[type=\"checkbox\"] {\n position: relative;\n margin-left: 0;\n }\n .form-inline .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox,\n.form-horizontal .radio-inline,\n.form-horizontal .checkbox-inline {\n padding-top: 7px;\n margin-top: 0;\n margin-bottom: 0;\n}\n.form-horizontal .radio,\n.form-horizontal .checkbox {\n min-height: 27px;\n}\n.form-horizontal .form-group {\n margin-right: -15px;\n margin-left: -15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .control-label {\n padding-top: 7px;\n margin-bottom: 0;\n text-align: right;\n }\n}\n.form-horizontal .has-feedback .form-control-feedback {\n right: 15px;\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-lg .control-label {\n padding-top: 11px;\n font-size: 18px;\n }\n}\n@media (min-width: 768px) {\n .form-horizontal .form-group-sm .control-label {\n padding-top: 6px;\n font-size: 12px;\n }\n}\n.btn {\n display: inline-block;\n padding: 6px 12px;\n margin-bottom: 0;\n font-size: 14px;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n -ms-touch-action: manipulation;\n touch-action: manipulation;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.btn:focus,\n.btn:active:focus,\n.btn.active:focus,\n.btn.focus,\n.btn:active.focus,\n.btn.active.focus {\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\n.btn:hover,\n.btn:focus,\n.btn.focus {\n color: #333;\n text-decoration: none;\n}\n.btn:active,\n.btn.active {\n background-image: none;\n outline: 0;\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n}\n.btn.disabled,\n.btn[disabled],\nfieldset[disabled] .btn {\n cursor: not-allowed;\n filter: alpha(opacity=65);\n -webkit-box-shadow: none;\n box-shadow: none;\n opacity: .65;\n}\na.btn.disabled,\nfieldset[disabled] a.btn {\n pointer-events: none;\n}\n.btn-default {\n color: #333;\n background-color: #fff;\n border-color: #ccc;\n}\n.btn-default:focus,\n.btn-default.focus {\n color: #333;\n background-color: #e6e6e6;\n border-color: #8c8c8c;\n}\n.btn-default:hover {\n color: #333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n color: #333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n.btn-default:active:hover,\n.btn-default.active:hover,\n.open > .dropdown-toggle.btn-default:hover,\n.btn-default:active:focus,\n.btn-default.active:focus,\n.open > .dropdown-toggle.btn-default:focus,\n.btn-default:active.focus,\n.btn-default.active.focus,\n.open > .dropdown-toggle.btn-default.focus {\n color: #333;\n background-color: #d4d4d4;\n border-color: #8c8c8c;\n}\n.btn-default:active,\n.btn-default.active,\n.open > .dropdown-toggle.btn-default {\n background-image: none;\n}\n.btn-default.disabled:hover,\n.btn-default[disabled]:hover,\nfieldset[disabled] .btn-default:hover,\n.btn-default.disabled:focus,\n.btn-default[disabled]:focus,\nfieldset[disabled] .btn-default:focus,\n.btn-default.disabled.focus,\n.btn-default[disabled].focus,\nfieldset[disabled] .btn-default.focus {\n background-color: #fff;\n border-color: #ccc;\n}\n.btn-default .badge {\n color: #fff;\n background-color: #333;\n}\n.btn-primary {\n color: #fff;\n background-color: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary:focus,\n.btn-primary.focus {\n color: #fff;\n background-color: #286090;\n border-color: #122b40;\n}\n.btn-primary:hover {\n color: #fff;\n background-color: #286090;\n border-color: #204d74;\n}\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n color: #fff;\n background-color: #286090;\n border-color: #204d74;\n}\n.btn-primary:active:hover,\n.btn-primary.active:hover,\n.open > .dropdown-toggle.btn-primary:hover,\n.btn-primary:active:focus,\n.btn-primary.active:focus,\n.open > .dropdown-toggle.btn-primary:focus,\n.btn-primary:active.focus,\n.btn-primary.active.focus,\n.open > .dropdown-toggle.btn-primary.focus {\n color: #fff;\n background-color: #204d74;\n border-color: #122b40;\n}\n.btn-primary:active,\n.btn-primary.active,\n.open > .dropdown-toggle.btn-primary {\n background-image: none;\n}\n.btn-primary.disabled:hover,\n.btn-primary[disabled]:hover,\nfieldset[disabled] .btn-primary:hover,\n.btn-primary.disabled:focus,\n.btn-primary[disabled]:focus,\nfieldset[disabled] .btn-primary:focus,\n.btn-primary.disabled.focus,\n.btn-primary[disabled].focus,\nfieldset[disabled] .btn-primary.focus {\n background-color: #337ab7;\n border-color: #2e6da4;\n}\n.btn-primary .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.btn-success {\n color: #fff;\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.btn-success:focus,\n.btn-success.focus {\n color: #fff;\n background-color: #449d44;\n border-color: #255625;\n}\n.btn-success:hover {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n.btn-success:active:hover,\n.btn-success.active:hover,\n.open > .dropdown-toggle.btn-success:hover,\n.btn-success:active:focus,\n.btn-success.active:focus,\n.open > .dropdown-toggle.btn-success:focus,\n.btn-success:active.focus,\n.btn-success.active.focus,\n.open > .dropdown-toggle.btn-success.focus {\n color: #fff;\n background-color: #398439;\n border-color: #255625;\n}\n.btn-success:active,\n.btn-success.active,\n.open > .dropdown-toggle.btn-success {\n background-image: none;\n}\n.btn-success.disabled:hover,\n.btn-success[disabled]:hover,\nfieldset[disabled] .btn-success:hover,\n.btn-success.disabled:focus,\n.btn-success[disabled]:focus,\nfieldset[disabled] .btn-success:focus,\n.btn-success.disabled.focus,\n.btn-success[disabled].focus,\nfieldset[disabled] .btn-success.focus {\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n.btn-success .badge {\n color: #5cb85c;\n background-color: #fff;\n}\n.btn-info {\n color: #fff;\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n.btn-info:focus,\n.btn-info.focus {\n color: #fff;\n background-color: #31b0d5;\n border-color: #1b6d85;\n}\n.btn-info:hover {\n color: #fff;\n background-color: #31b0d5;\n border-color: #269abc;\n}\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n color: #fff;\n background-color: #31b0d5;\n border-color: #269abc;\n}\n.btn-info:active:hover,\n.btn-info.active:hover,\n.open > .dropdown-toggle.btn-info:hover,\n.btn-info:active:focus,\n.btn-info.active:focus,\n.open > .dropdown-toggle.btn-info:focus,\n.btn-info:active.focus,\n.btn-info.active.focus,\n.open > .dropdown-toggle.btn-info.focus {\n color: #fff;\n background-color: #269abc;\n border-color: #1b6d85;\n}\n.btn-info:active,\n.btn-info.active,\n.open > .dropdown-toggle.btn-info {\n background-image: none;\n}\n.btn-info.disabled:hover,\n.btn-info[disabled]:hover,\nfieldset[disabled] .btn-info:hover,\n.btn-info.disabled:focus,\n.btn-info[disabled]:focus,\nfieldset[disabled] .btn-info:focus,\n.btn-info.disabled.focus,\n.btn-info[disabled].focus,\nfieldset[disabled] .btn-info.focus {\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n.btn-info .badge {\n color: #5bc0de;\n background-color: #fff;\n}\n.btn-warning {\n color: #fff;\n background-color: #f0ad4e;\n border-color: #eea236;\n}\n.btn-warning:focus,\n.btn-warning.focus {\n color: #fff;\n background-color: #ec971f;\n border-color: #985f0d;\n}\n.btn-warning:hover {\n color: #fff;\n background-color: #ec971f;\n border-color: #d58512;\n}\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n color: #fff;\n background-color: #ec971f;\n border-color: #d58512;\n}\n.btn-warning:active:hover,\n.btn-warning.active:hover,\n.open > .dropdown-toggle.btn-warning:hover,\n.btn-warning:active:focus,\n.btn-warning.active:focus,\n.open > .dropdown-toggle.btn-warning:focus,\n.btn-warning:active.focus,\n.btn-warning.active.focus,\n.open > .dropdown-toggle.btn-warning.focus {\n color: #fff;\n background-color: #d58512;\n border-color: #985f0d;\n}\n.btn-warning:active,\n.btn-warning.active,\n.open > .dropdown-toggle.btn-warning {\n background-image: none;\n}\n.btn-warning.disabled:hover,\n.btn-warning[disabled]:hover,\nfieldset[disabled] .btn-warning:hover,\n.btn-warning.disabled:focus,\n.btn-warning[disabled]:focus,\nfieldset[disabled] .btn-warning:focus,\n.btn-warning.disabled.focus,\n.btn-warning[disabled].focus,\nfieldset[disabled] .btn-warning.focus {\n background-color: #f0ad4e;\n border-color: #eea236;\n}\n.btn-warning .badge {\n color: #f0ad4e;\n background-color: #fff;\n}\n.btn-danger {\n color: #fff;\n background-color: #d9534f;\n border-color: #d43f3a;\n}\n.btn-danger:focus,\n.btn-danger.focus {\n color: #fff;\n background-color: #c9302c;\n border-color: #761c19;\n}\n.btn-danger:hover {\n color: #fff;\n background-color: #c9302c;\n border-color: #ac2925;\n}\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n color: #fff;\n background-color: #c9302c;\n border-color: #ac2925;\n}\n.btn-danger:active:hover,\n.btn-danger.active:hover,\n.open > .dropdown-toggle.btn-danger:hover,\n.btn-danger:active:focus,\n.btn-danger.active:focus,\n.open > .dropdown-toggle.btn-danger:focus,\n.btn-danger:active.focus,\n.btn-danger.active.focus,\n.open > .dropdown-toggle.btn-danger.focus {\n color: #fff;\n background-color: #ac2925;\n border-color: #761c19;\n}\n.btn-danger:active,\n.btn-danger.active,\n.open > .dropdown-toggle.btn-danger {\n background-image: none;\n}\n.btn-danger.disabled:hover,\n.btn-danger[disabled]:hover,\nfieldset[disabled] .btn-danger:hover,\n.btn-danger.disabled:focus,\n.btn-danger[disabled]:focus,\nfieldset[disabled] .btn-danger:focus,\n.btn-danger.disabled.focus,\n.btn-danger[disabled].focus,\nfieldset[disabled] .btn-danger.focus {\n background-color: #d9534f;\n border-color: #d43f3a;\n}\n.btn-danger .badge {\n color: #d9534f;\n background-color: #fff;\n}\n.btn-link {\n font-weight: normal;\n color: #337ab7;\n border-radius: 0;\n}\n.btn-link,\n.btn-link:active,\n.btn-link.active,\n.btn-link[disabled],\nfieldset[disabled] .btn-link {\n background-color: transparent;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn-link,\n.btn-link:hover,\n.btn-link:focus,\n.btn-link:active {\n border-color: transparent;\n}\n.btn-link:hover,\n.btn-link:focus {\n color: #23527c;\n text-decoration: underline;\n background-color: transparent;\n}\n.btn-link[disabled]:hover,\nfieldset[disabled] .btn-link:hover,\n.btn-link[disabled]:focus,\nfieldset[disabled] .btn-link:focus {\n color: #777;\n text-decoration: none;\n}\n.btn-lg,\n.btn-group-lg > .btn {\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\n.btn-sm,\n.btn-group-sm > .btn {\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-xs,\n.btn-group-xs > .btn {\n padding: 1px 5px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\n.btn-block {\n display: block;\n width: 100%;\n}\n.btn-block + .btn-block {\n margin-top: 5px;\n}\ninput[type=\"submit\"].btn-block,\ninput[type=\"reset\"].btn-block,\ninput[type=\"button\"].btn-block {\n width: 100%;\n}\n.fade {\n opacity: 0;\n -webkit-transition: opacity .15s linear;\n -o-transition: opacity .15s linear;\n transition: opacity .15s linear;\n}\n.fade.in {\n opacity: 1;\n}\n.collapse {\n display: none;\n}\n.collapse.in {\n display: block;\n}\ntr.collapse.in {\n display: table-row;\n}\ntbody.collapse.in {\n display: table-row-group;\n}\n.collapsing {\n position: relative;\n height: 0;\n overflow: hidden;\n -webkit-transition-timing-function: ease;\n -o-transition-timing-function: ease;\n transition-timing-function: ease;\n -webkit-transition-duration: .35s;\n -o-transition-duration: .35s;\n transition-duration: .35s;\n -webkit-transition-property: height, visibility;\n -o-transition-property: height, visibility;\n transition-property: height, visibility;\n}\n.caret {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 2px;\n vertical-align: middle;\n border-top: 4px dashed;\n border-top: 4px solid \\9;\n border-right: 4px solid transparent;\n border-left: 4px solid transparent;\n}\n.dropup,\n.dropdown {\n position: relative;\n}\n.dropdown-toggle:focus {\n outline: 0;\n}\n.dropdown-menu {\n position: absolute;\n top: 100%;\n left: 0;\n z-index: 1000;\n display: none;\n float: left;\n min-width: 160px;\n padding: 5px 0;\n margin: 2px 0 0;\n font-size: 14px;\n text-align: left;\n list-style: none;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, .15);\n border-radius: 4px;\n -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);\n box-shadow: 0 6px 12px rgba(0, 0, 0, .175);\n}\n.dropdown-menu.pull-right {\n right: 0;\n left: auto;\n}\n.dropdown-menu .divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.dropdown-menu > li > a {\n display: block;\n padding: 3px 20px;\n clear: both;\n font-weight: normal;\n line-height: 1.42857143;\n color: #333;\n white-space: nowrap;\n}\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n color: #262626;\n text-decoration: none;\n background-color: #f5f5f5;\n}\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n color: #fff;\n text-decoration: none;\n background-color: #337ab7;\n outline: 0;\n}\n.dropdown-menu > .disabled > a,\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n color: #777;\n}\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n text-decoration: none;\n cursor: not-allowed;\n background-color: transparent;\n background-image: none;\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);\n}\n.open > .dropdown-menu {\n display: block;\n}\n.open > a {\n outline: 0;\n}\n.dropdown-menu-right {\n right: 0;\n left: auto;\n}\n.dropdown-menu-left {\n right: auto;\n left: 0;\n}\n.dropdown-header {\n display: block;\n padding: 3px 20px;\n font-size: 12px;\n line-height: 1.42857143;\n color: #777;\n white-space: nowrap;\n}\n.dropdown-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 990;\n}\n.pull-right > .dropdown-menu {\n right: 0;\n left: auto;\n}\n.dropup .caret,\n.navbar-fixed-bottom .dropdown .caret {\n content: \"\";\n border-top: 0;\n border-bottom: 4px dashed;\n border-bottom: 4px solid \\9;\n}\n.dropup .dropdown-menu,\n.navbar-fixed-bottom .dropdown .dropdown-menu {\n top: auto;\n bottom: 100%;\n margin-bottom: 2px;\n}\n@media (min-width: 768px) {\n .navbar-right .dropdown-menu {\n right: 0;\n left: auto;\n }\n .navbar-right .dropdown-menu-left {\n right: auto;\n left: 0;\n }\n}\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n}\n.btn-group > .btn,\n.btn-group-vertical > .btn {\n position: relative;\n float: left;\n}\n.btn-group > .btn:hover,\n.btn-group-vertical > .btn:hover,\n.btn-group > .btn:focus,\n.btn-group-vertical > .btn:focus,\n.btn-group > .btn:active,\n.btn-group-vertical > .btn:active,\n.btn-group > .btn.active,\n.btn-group-vertical > .btn.active {\n z-index: 2;\n}\n.btn-group .btn + .btn,\n.btn-group .btn + .btn-group,\n.btn-group .btn-group + .btn,\n.btn-group .btn-group + .btn-group {\n margin-left: -1px;\n}\n.btn-toolbar {\n margin-left: -5px;\n}\n.btn-toolbar .btn,\n.btn-toolbar .btn-group,\n.btn-toolbar .input-group {\n float: left;\n}\n.btn-toolbar > .btn,\n.btn-toolbar > .btn-group,\n.btn-toolbar > .input-group {\n margin-left: 5px;\n}\n.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {\n border-radius: 0;\n}\n.btn-group > .btn:first-child {\n margin-left: 0;\n}\n.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.btn-group > .btn:last-child:not(:first-child),\n.btn-group > .dropdown-toggle:not(:first-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group > .btn-group {\n float: left;\n}\n.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,\n.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group .dropdown-toggle:active,\n.btn-group.open .dropdown-toggle {\n outline: 0;\n}\n.btn-group > .btn + .dropdown-toggle {\n padding-right: 8px;\n padding-left: 8px;\n}\n.btn-group > .btn-lg + .dropdown-toggle {\n padding-right: 12px;\n padding-left: 12px;\n}\n.btn-group.open .dropdown-toggle {\n -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n}\n.btn-group.open .dropdown-toggle.btn-link {\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.btn .caret {\n margin-left: 0;\n}\n.btn-lg .caret {\n border-width: 5px 5px 0;\n border-bottom-width: 0;\n}\n.dropup .btn-lg .caret {\n border-width: 0 5px 5px;\n}\n.btn-group-vertical > .btn,\n.btn-group-vertical > .btn-group,\n.btn-group-vertical > .btn-group > .btn {\n display: block;\n float: none;\n width: 100%;\n max-width: 100%;\n}\n.btn-group-vertical > .btn-group > .btn {\n float: none;\n}\n.btn-group-vertical > .btn + .btn,\n.btn-group-vertical > .btn + .btn-group,\n.btn-group-vertical > .btn-group + .btn,\n.btn-group-vertical > .btn-group + .btn-group {\n margin-top: -1px;\n margin-left: 0;\n}\n.btn-group-vertical > .btn:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.btn-group-vertical > .btn:first-child:not(:last-child) {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn:last-child:not(:first-child) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child,\n.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.btn-group-justified {\n display: table;\n width: 100%;\n table-layout: fixed;\n border-collapse: separate;\n}\n.btn-group-justified > .btn,\n.btn-group-justified > .btn-group {\n display: table-cell;\n float: none;\n width: 1%;\n}\n.btn-group-justified > .btn-group .btn {\n width: 100%;\n}\n.btn-group-justified > .btn-group .dropdown-menu {\n left: auto;\n}\n[data-toggle=\"buttons\"] > .btn input[type=\"radio\"],\n[data-toggle=\"buttons\"] > .btn-group > .btn input[type=\"radio\"],\n[data-toggle=\"buttons\"] > .btn input[type=\"checkbox\"],\n[data-toggle=\"buttons\"] > .btn-group > .btn input[type=\"checkbox\"] {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n}\n.input-group {\n position: relative;\n display: table;\n border-collapse: separate;\n}\n.input-group[class*=\"col-\"] {\n float: none;\n padding-right: 0;\n padding-left: 0;\n}\n.input-group .form-control {\n position: relative;\n z-index: 2;\n float: left;\n width: 100%;\n margin-bottom: 0;\n}\n.input-group .form-control:focus {\n z-index: 3;\n}\n.input-group-lg > .form-control,\n.input-group-lg > .input-group-addon,\n.input-group-lg > .input-group-btn > .btn {\n height: 46px;\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n border-radius: 6px;\n}\nselect.input-group-lg > .form-control,\nselect.input-group-lg > .input-group-addon,\nselect.input-group-lg > .input-group-btn > .btn {\n height: 46px;\n line-height: 46px;\n}\ntextarea.input-group-lg > .form-control,\ntextarea.input-group-lg > .input-group-addon,\ntextarea.input-group-lg > .input-group-btn > .btn,\nselect[multiple].input-group-lg > .form-control,\nselect[multiple].input-group-lg > .input-group-addon,\nselect[multiple].input-group-lg > .input-group-btn > .btn {\n height: auto;\n}\n.input-group-sm > .form-control,\n.input-group-sm > .input-group-addon,\n.input-group-sm > .input-group-btn > .btn {\n height: 30px;\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n border-radius: 3px;\n}\nselect.input-group-sm > .form-control,\nselect.input-group-sm > .input-group-addon,\nselect.input-group-sm > .input-group-btn > .btn {\n height: 30px;\n line-height: 30px;\n}\ntextarea.input-group-sm > .form-control,\ntextarea.input-group-sm > .input-group-addon,\ntextarea.input-group-sm > .input-group-btn > .btn,\nselect[multiple].input-group-sm > .form-control,\nselect[multiple].input-group-sm > .input-group-addon,\nselect[multiple].input-group-sm > .input-group-btn > .btn {\n height: auto;\n}\n.input-group-addon,\n.input-group-btn,\n.input-group .form-control {\n display: table-cell;\n}\n.input-group-addon:not(:first-child):not(:last-child),\n.input-group-btn:not(:first-child):not(:last-child),\n.input-group .form-control:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.input-group-addon,\n.input-group-btn {\n width: 1%;\n white-space: nowrap;\n vertical-align: middle;\n}\n.input-group-addon {\n padding: 6px 12px;\n font-size: 14px;\n font-weight: normal;\n line-height: 1;\n color: #555;\n text-align: center;\n background-color: #eee;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n.input-group-addon.input-sm {\n padding: 5px 10px;\n font-size: 12px;\n border-radius: 3px;\n}\n.input-group-addon.input-lg {\n padding: 10px 16px;\n font-size: 18px;\n border-radius: 6px;\n}\n.input-group-addon input[type=\"radio\"],\n.input-group-addon input[type=\"checkbox\"] {\n margin-top: 0;\n}\n.input-group .form-control:first-child,\n.input-group-addon:first-child,\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group > .btn,\n.input-group-btn:first-child > .dropdown-toggle,\n.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),\n.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.input-group-addon:first-child {\n border-right: 0;\n}\n.input-group .form-control:last-child,\n.input-group-addon:last-child,\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group > .btn,\n.input-group-btn:last-child > .dropdown-toggle,\n.input-group-btn:first-child > .btn:not(:first-child),\n.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.input-group-addon:last-child {\n border-left: 0;\n}\n.input-group-btn {\n position: relative;\n font-size: 0;\n white-space: nowrap;\n}\n.input-group-btn > .btn {\n position: relative;\n}\n.input-group-btn > .btn + .btn {\n margin-left: -1px;\n}\n.input-group-btn > .btn:hover,\n.input-group-btn > .btn:focus,\n.input-group-btn > .btn:active {\n z-index: 2;\n}\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group {\n margin-right: -1px;\n}\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group {\n z-index: 2;\n margin-left: -1px;\n}\n.nav {\n padding-left: 0;\n margin-bottom: 0;\n list-style: none;\n}\n.nav > li {\n position: relative;\n display: block;\n}\n.nav > li > a {\n position: relative;\n display: block;\n padding: 10px 15px;\n}\n.nav > li > a:hover,\n.nav > li > a:focus {\n text-decoration: none;\n background-color: #eee;\n}\n.nav > li.disabled > a {\n color: #777;\n}\n.nav > li.disabled > a:hover,\n.nav > li.disabled > a:focus {\n color: #777;\n text-decoration: none;\n cursor: not-allowed;\n background-color: transparent;\n}\n.nav .open > a,\n.nav .open > a:hover,\n.nav .open > a:focus {\n background-color: #eee;\n border-color: #337ab7;\n}\n.nav .nav-divider {\n height: 1px;\n margin: 9px 0;\n overflow: hidden;\n background-color: #e5e5e5;\n}\n.nav > li > a > img {\n max-width: none;\n}\n.nav-tabs {\n border-bottom: 1px solid #ddd;\n}\n.nav-tabs > li {\n float: left;\n margin-bottom: -1px;\n}\n.nav-tabs > li > a {\n margin-right: 2px;\n line-height: 1.42857143;\n border: 1px solid transparent;\n border-radius: 4px 4px 0 0;\n}\n.nav-tabs > li > a:hover {\n border-color: #eee #eee #ddd;\n}\n.nav-tabs > li.active > a,\n.nav-tabs > li.active > a:hover,\n.nav-tabs > li.active > a:focus {\n color: #555;\n cursor: default;\n background-color: #fff;\n border: 1px solid #ddd;\n border-bottom-color: transparent;\n}\n.nav-tabs.nav-justified {\n width: 100%;\n border-bottom: 0;\n}\n.nav-tabs.nav-justified > li {\n float: none;\n}\n.nav-tabs.nav-justified > li > a {\n margin-bottom: 5px;\n text-align: center;\n}\n.nav-tabs.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n}\n@media (min-width: 768px) {\n .nav-tabs.nav-justified > li {\n display: table-cell;\n width: 1%;\n }\n .nav-tabs.nav-justified > li > a {\n margin-bottom: 0;\n }\n}\n.nav-tabs.nav-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\n}\n.nav-tabs.nav-justified > .active > a,\n.nav-tabs.nav-justified > .active > a:hover,\n.nav-tabs.nav-justified > .active > a:focus {\n border: 1px solid #ddd;\n}\n@media (min-width: 768px) {\n .nav-tabs.nav-justified > li > a {\n border-bottom: 1px solid #ddd;\n border-radius: 4px 4px 0 0;\n }\n .nav-tabs.nav-justified > .active > a,\n .nav-tabs.nav-justified > .active > a:hover,\n .nav-tabs.nav-justified > .active > a:focus {\n border-bottom-color: #fff;\n }\n}\n.nav-pills > li {\n float: left;\n}\n.nav-pills > li > a {\n border-radius: 4px;\n}\n.nav-pills > li + li {\n margin-left: 2px;\n}\n.nav-pills > li.active > a,\n.nav-pills > li.active > a:hover,\n.nav-pills > li.active > a:focus {\n color: #fff;\n background-color: #337ab7;\n}\n.nav-stacked > li {\n float: none;\n}\n.nav-stacked > li + li {\n margin-top: 2px;\n margin-left: 0;\n}\n.nav-justified {\n width: 100%;\n}\n.nav-justified > li {\n float: none;\n}\n.nav-justified > li > a {\n margin-bottom: 5px;\n text-align: center;\n}\n.nav-justified > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n}\n@media (min-width: 768px) {\n .nav-justified > li {\n display: table-cell;\n width: 1%;\n }\n .nav-justified > li > a {\n margin-bottom: 0;\n }\n}\n.nav-tabs-justified {\n border-bottom: 0;\n}\n.nav-tabs-justified > li > a {\n margin-right: 0;\n border-radius: 4px;\n}\n.nav-tabs-justified > .active > a,\n.nav-tabs-justified > .active > a:hover,\n.nav-tabs-justified > .active > a:focus {\n border: 1px solid #ddd;\n}\n@media (min-width: 768px) {\n .nav-tabs-justified > li > a {\n border-bottom: 1px solid #ddd;\n border-radius: 4px 4px 0 0;\n }\n .nav-tabs-justified > .active > a,\n .nav-tabs-justified > .active > a:hover,\n .nav-tabs-justified > .active > a:focus {\n border-bottom-color: #fff;\n }\n}\n.tab-content > .tab-pane {\n display: none;\n}\n.tab-content > .active {\n display: block;\n}\n.nav-tabs .dropdown-menu {\n margin-top: -1px;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.navbar {\n position: relative;\n min-height: 50px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n}\n@media (min-width: 768px) {\n .navbar {\n border-radius: 4px;\n }\n}\n@media (min-width: 768px) {\n .navbar-header {\n float: left;\n }\n}\n.navbar-collapse {\n padding-right: 15px;\n padding-left: 15px;\n overflow-x: visible;\n -webkit-overflow-scrolling: touch;\n border-top: 1px solid transparent;\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);\n}\n.navbar-collapse.in {\n overflow-y: auto;\n}\n@media (min-width: 768px) {\n .navbar-collapse {\n width: auto;\n border-top: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n .navbar-collapse.collapse {\n display: block !important;\n height: auto !important;\n padding-bottom: 0;\n overflow: visible !important;\n }\n .navbar-collapse.in {\n overflow-y: visible;\n }\n .navbar-fixed-top .navbar-collapse,\n .navbar-static-top .navbar-collapse,\n .navbar-fixed-bottom .navbar-collapse {\n padding-right: 0;\n padding-left: 0;\n }\n}\n.navbar-fixed-top .navbar-collapse,\n.navbar-fixed-bottom .navbar-collapse {\n max-height: 340px;\n}\n@media (max-device-width: 480px) and (orientation: landscape) {\n .navbar-fixed-top .navbar-collapse,\n .navbar-fixed-bottom .navbar-collapse {\n max-height: 200px;\n }\n}\n.container > .navbar-header,\n.container-fluid > .navbar-header,\n.container > .navbar-collapse,\n.container-fluid > .navbar-collapse {\n margin-right: -15px;\n margin-left: -15px;\n}\n@media (min-width: 768px) {\n .container > .navbar-header,\n .container-fluid > .navbar-header,\n .container > .navbar-collapse,\n .container-fluid > .navbar-collapse {\n margin-right: 0;\n margin-left: 0;\n }\n}\n.navbar-static-top {\n z-index: 1000;\n border-width: 0 0 1px;\n}\n@media (min-width: 768px) {\n .navbar-static-top {\n border-radius: 0;\n }\n}\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n position: fixed;\n right: 0;\n left: 0;\n z-index: 1030;\n}\n@media (min-width: 768px) {\n .navbar-fixed-top,\n .navbar-fixed-bottom {\n border-radius: 0;\n }\n}\n.navbar-fixed-top {\n top: 0;\n border-width: 0 0 1px;\n}\n.navbar-fixed-bottom {\n bottom: 0;\n margin-bottom: 0;\n border-width: 1px 0 0;\n}\n.navbar-brand {\n float: left;\n height: 50px;\n padding: 15px 15px;\n font-size: 18px;\n line-height: 20px;\n}\n.navbar-brand:hover,\n.navbar-brand:focus {\n text-decoration: none;\n}\n.navbar-brand > img {\n display: block;\n}\n@media (min-width: 768px) {\n .navbar > .container .navbar-brand,\n .navbar > .container-fluid .navbar-brand {\n margin-left: -15px;\n }\n}\n.navbar-toggle {\n position: relative;\n float: right;\n padding: 9px 10px;\n margin-top: 8px;\n margin-right: 15px;\n margin-bottom: 8px;\n background-color: transparent;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.navbar-toggle:focus {\n outline: 0;\n}\n.navbar-toggle .icon-bar {\n display: block;\n width: 22px;\n height: 2px;\n border-radius: 1px;\n}\n.navbar-toggle .icon-bar + .icon-bar {\n margin-top: 4px;\n}\n@media (min-width: 768px) {\n .navbar-toggle {\n display: none;\n }\n}\n.navbar-nav {\n margin: 7.5px -15px;\n}\n.navbar-nav > li > a {\n padding-top: 10px;\n padding-bottom: 10px;\n line-height: 20px;\n}\n@media (max-width: 767px) {\n .navbar-nav .open .dropdown-menu {\n position: static;\n float: none;\n width: auto;\n margin-top: 0;\n background-color: transparent;\n border: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n .navbar-nav .open .dropdown-menu > li > a,\n .navbar-nav .open .dropdown-menu .dropdown-header {\n padding: 5px 15px 5px 25px;\n }\n .navbar-nav .open .dropdown-menu > li > a {\n line-height: 20px;\n }\n .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-nav .open .dropdown-menu > li > a:focus {\n background-image: none;\n }\n}\n@media (min-width: 768px) {\n .navbar-nav {\n float: left;\n margin: 0;\n }\n .navbar-nav > li {\n float: left;\n }\n .navbar-nav > li > a {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n}\n.navbar-form {\n padding: 10px 15px;\n margin-top: 8px;\n margin-right: -15px;\n margin-bottom: 8px;\n margin-left: -15px;\n border-top: 1px solid transparent;\n border-bottom: 1px solid transparent;\n -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);\n}\n@media (min-width: 768px) {\n .navbar-form .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .form-control {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n }\n .navbar-form .form-control-static {\n display: inline-block;\n }\n .navbar-form .input-group {\n display: inline-table;\n vertical-align: middle;\n }\n .navbar-form .input-group .input-group-addon,\n .navbar-form .input-group .input-group-btn,\n .navbar-form .input-group .form-control {\n width: auto;\n }\n .navbar-form .input-group > .form-control {\n width: 100%;\n }\n .navbar-form .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio,\n .navbar-form .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n vertical-align: middle;\n }\n .navbar-form .radio label,\n .navbar-form .checkbox label {\n padding-left: 0;\n }\n .navbar-form .radio input[type=\"radio\"],\n .navbar-form .checkbox input[type=\"checkbox\"] {\n position: relative;\n margin-left: 0;\n }\n .navbar-form .has-feedback .form-control-feedback {\n top: 0;\n }\n}\n@media (max-width: 767px) {\n .navbar-form .form-group {\n margin-bottom: 5px;\n }\n .navbar-form .form-group:last-child {\n margin-bottom: 0;\n }\n}\n@media (min-width: 768px) {\n .navbar-form {\n width: auto;\n padding-top: 0;\n padding-bottom: 0;\n margin-right: 0;\n margin-left: 0;\n border: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n }\n}\n.navbar-nav > li > .dropdown-menu {\n margin-top: 0;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {\n margin-bottom: 0;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.navbar-btn {\n margin-top: 8px;\n margin-bottom: 8px;\n}\n.navbar-btn.btn-sm {\n margin-top: 10px;\n margin-bottom: 10px;\n}\n.navbar-btn.btn-xs {\n margin-top: 14px;\n margin-bottom: 14px;\n}\n.navbar-text {\n margin-top: 15px;\n margin-bottom: 15px;\n}\n@media (min-width: 768px) {\n .navbar-text {\n float: left;\n margin-right: 15px;\n margin-left: 15px;\n }\n}\n@media (min-width: 768px) {\n .navbar-left {\n float: left !important;\n }\n .navbar-right {\n float: right !important;\n margin-right: -15px;\n }\n .navbar-right ~ .navbar-right {\n margin-right: 0;\n }\n}\n.navbar-default {\n background-color: #f8f8f8;\n border-color: #e7e7e7;\n}\n.navbar-default .navbar-brand {\n color: #777;\n}\n.navbar-default .navbar-brand:hover,\n.navbar-default .navbar-brand:focus {\n color: #5e5e5e;\n background-color: transparent;\n}\n.navbar-default .navbar-text {\n color: #777;\n}\n.navbar-default .navbar-nav > li > a {\n color: #777;\n}\n.navbar-default .navbar-nav > li > a:hover,\n.navbar-default .navbar-nav > li > a:focus {\n color: #333;\n background-color: transparent;\n}\n.navbar-default .navbar-nav > .active > a,\n.navbar-default .navbar-nav > .active > a:hover,\n.navbar-default .navbar-nav > .active > a:focus {\n color: #555;\n background-color: #e7e7e7;\n}\n.navbar-default .navbar-nav > .disabled > a,\n.navbar-default .navbar-nav > .disabled > a:hover,\n.navbar-default .navbar-nav > .disabled > a:focus {\n color: #ccc;\n background-color: transparent;\n}\n.navbar-default .navbar-toggle {\n border-color: #ddd;\n}\n.navbar-default .navbar-toggle:hover,\n.navbar-default .navbar-toggle:focus {\n background-color: #ddd;\n}\n.navbar-default .navbar-toggle .icon-bar {\n background-color: #888;\n}\n.navbar-default .navbar-collapse,\n.navbar-default .navbar-form {\n border-color: #e7e7e7;\n}\n.navbar-default .navbar-nav > .open > a,\n.navbar-default .navbar-nav > .open > a:hover,\n.navbar-default .navbar-nav > .open > a:focus {\n color: #555;\n background-color: #e7e7e7;\n}\n@media (max-width: 767px) {\n .navbar-default .navbar-nav .open .dropdown-menu > li > a {\n color: #777;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #333;\n background-color: transparent;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #555;\n background-color: #e7e7e7;\n }\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #ccc;\n background-color: transparent;\n }\n}\n.navbar-default .navbar-link {\n color: #777;\n}\n.navbar-default .navbar-link:hover {\n color: #333;\n}\n.navbar-default .btn-link {\n color: #777;\n}\n.navbar-default .btn-link:hover,\n.navbar-default .btn-link:focus {\n color: #333;\n}\n.navbar-default .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-default .btn-link:hover,\n.navbar-default .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-default .btn-link:focus {\n color: #ccc;\n}\n.navbar-inverse {\n background-color: #222;\n border-color: #080808;\n}\n.navbar-inverse .navbar-brand {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-brand:hover,\n.navbar-inverse .navbar-brand:focus {\n color: #fff;\n background-color: transparent;\n}\n.navbar-inverse .navbar-text {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-nav > li > a {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-nav > li > a:hover,\n.navbar-inverse .navbar-nav > li > a:focus {\n color: #fff;\n background-color: transparent;\n}\n.navbar-inverse .navbar-nav > .active > a,\n.navbar-inverse .navbar-nav > .active > a:hover,\n.navbar-inverse .navbar-nav > .active > a:focus {\n color: #fff;\n background-color: #080808;\n}\n.navbar-inverse .navbar-nav > .disabled > a,\n.navbar-inverse .navbar-nav > .disabled > a:hover,\n.navbar-inverse .navbar-nav > .disabled > a:focus {\n color: #444;\n background-color: transparent;\n}\n.navbar-inverse .navbar-toggle {\n border-color: #333;\n}\n.navbar-inverse .navbar-toggle:hover,\n.navbar-inverse .navbar-toggle:focus {\n background-color: #333;\n}\n.navbar-inverse .navbar-toggle .icon-bar {\n background-color: #fff;\n}\n.navbar-inverse .navbar-collapse,\n.navbar-inverse .navbar-form {\n border-color: #101010;\n}\n.navbar-inverse .navbar-nav > .open > a,\n.navbar-inverse .navbar-nav > .open > a:hover,\n.navbar-inverse .navbar-nav > .open > a:focus {\n color: #fff;\n background-color: #080808;\n}\n@media (max-width: 767px) {\n .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {\n border-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu .divider {\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {\n color: #9d9d9d;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {\n color: #fff;\n background-color: transparent;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {\n color: #fff;\n background-color: #080808;\n }\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n color: #444;\n background-color: transparent;\n }\n}\n.navbar-inverse .navbar-link {\n color: #9d9d9d;\n}\n.navbar-inverse .navbar-link:hover {\n color: #fff;\n}\n.navbar-inverse .btn-link {\n color: #9d9d9d;\n}\n.navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link:focus {\n color: #fff;\n}\n.navbar-inverse .btn-link[disabled]:hover,\nfieldset[disabled] .navbar-inverse .btn-link:hover,\n.navbar-inverse .btn-link[disabled]:focus,\nfieldset[disabled] .navbar-inverse .btn-link:focus {\n color: #444;\n}\n.breadcrumb {\n padding: 8px 15px;\n margin-bottom: 20px;\n list-style: none;\n background-color: #f5f5f5;\n border-radius: 4px;\n}\n.breadcrumb > li {\n display: inline-block;\n}\n.breadcrumb > li + li:before {\n padding: 0 5px;\n color: #ccc;\n content: \"/\\00a0\";\n}\n.breadcrumb > .active {\n color: #777;\n}\n.pagination {\n display: inline-block;\n padding-left: 0;\n margin: 20px 0;\n border-radius: 4px;\n}\n.pagination > li {\n display: inline;\n}\n.pagination > li > a,\n.pagination > li > span {\n position: relative;\n float: left;\n padding: 6px 12px;\n margin-left: -1px;\n line-height: 1.42857143;\n color: #337ab7;\n text-decoration: none;\n background-color: #fff;\n border: 1px solid #ddd;\n}\n.pagination > li:first-child > a,\n.pagination > li:first-child > span {\n margin-left: 0;\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.pagination > li:last-child > a,\n.pagination > li:last-child > span {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.pagination > li > a:hover,\n.pagination > li > span:hover,\n.pagination > li > a:focus,\n.pagination > li > span:focus {\n z-index: 2;\n color: #23527c;\n background-color: #eee;\n border-color: #ddd;\n}\n.pagination > .active > a,\n.pagination > .active > span,\n.pagination > .active > a:hover,\n.pagination > .active > span:hover,\n.pagination > .active > a:focus,\n.pagination > .active > span:focus {\n z-index: 3;\n color: #fff;\n cursor: default;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.pagination > .disabled > span,\n.pagination > .disabled > span:hover,\n.pagination > .disabled > span:focus,\n.pagination > .disabled > a,\n.pagination > .disabled > a:hover,\n.pagination > .disabled > a:focus {\n color: #777;\n cursor: not-allowed;\n background-color: #fff;\n border-color: #ddd;\n}\n.pagination-lg > li > a,\n.pagination-lg > li > span {\n padding: 10px 16px;\n font-size: 18px;\n line-height: 1.3333333;\n}\n.pagination-lg > li:first-child > a,\n.pagination-lg > li:first-child > span {\n border-top-left-radius: 6px;\n border-bottom-left-radius: 6px;\n}\n.pagination-lg > li:last-child > a,\n.pagination-lg > li:last-child > span {\n border-top-right-radius: 6px;\n border-bottom-right-radius: 6px;\n}\n.pagination-sm > li > a,\n.pagination-sm > li > span {\n padding: 5px 10px;\n font-size: 12px;\n line-height: 1.5;\n}\n.pagination-sm > li:first-child > a,\n.pagination-sm > li:first-child > span {\n border-top-left-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.pagination-sm > li:last-child > a,\n.pagination-sm > li:last-child > span {\n border-top-right-radius: 3px;\n border-bottom-right-radius: 3px;\n}\n.pager {\n padding-left: 0;\n margin: 20px 0;\n text-align: center;\n list-style: none;\n}\n.pager li {\n display: inline;\n}\n.pager li > a,\n.pager li > span {\n display: inline-block;\n padding: 5px 14px;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 15px;\n}\n.pager li > a:hover,\n.pager li > a:focus {\n text-decoration: none;\n background-color: #eee;\n}\n.pager .next > a,\n.pager .next > span {\n float: right;\n}\n.pager .previous > a,\n.pager .previous > span {\n float: left;\n}\n.pager .disabled > a,\n.pager .disabled > a:hover,\n.pager .disabled > a:focus,\n.pager .disabled > span {\n color: #777;\n cursor: not-allowed;\n background-color: #fff;\n}\n.label {\n display: inline;\n padding: .2em .6em .3em;\n font-size: 75%;\n font-weight: bold;\n line-height: 1;\n color: #fff;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: .25em;\n}\na.label:hover,\na.label:focus {\n color: #fff;\n text-decoration: none;\n cursor: pointer;\n}\n.label:empty {\n display: none;\n}\n.btn .label {\n position: relative;\n top: -1px;\n}\n.label-default {\n background-color: #777;\n}\n.label-default[href]:hover,\n.label-default[href]:focus {\n background-color: #5e5e5e;\n}\n.label-primary {\n background-color: #337ab7;\n}\n.label-primary[href]:hover,\n.label-primary[href]:focus {\n background-color: #286090;\n}\n.label-success {\n background-color: #5cb85c;\n}\n.label-success[href]:hover,\n.label-success[href]:focus {\n background-color: #449d44;\n}\n.label-info {\n background-color: #5bc0de;\n}\n.label-info[href]:hover,\n.label-info[href]:focus {\n background-color: #31b0d5;\n}\n.label-warning {\n background-color: #f0ad4e;\n}\n.label-warning[href]:hover,\n.label-warning[href]:focus {\n background-color: #ec971f;\n}\n.label-danger {\n background-color: #d9534f;\n}\n.label-danger[href]:hover,\n.label-danger[href]:focus {\n background-color: #c9302c;\n}\n.badge {\n display: inline-block;\n min-width: 10px;\n padding: 3px 7px;\n font-size: 12px;\n font-weight: bold;\n line-height: 1;\n color: #fff;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n background-color: #777;\n border-radius: 10px;\n}\n.badge:empty {\n display: none;\n}\n.btn .badge {\n position: relative;\n top: -1px;\n}\n.btn-xs .badge,\n.btn-group-xs > .btn .badge {\n top: 0;\n padding: 1px 5px;\n}\na.badge:hover,\na.badge:focus {\n color: #fff;\n text-decoration: none;\n cursor: pointer;\n}\n.list-group-item.active > .badge,\n.nav-pills > .active > a > .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.list-group-item > .badge {\n float: right;\n}\n.list-group-item > .badge + .badge {\n margin-right: 5px;\n}\n.nav-pills > li > a > .badge {\n margin-left: 3px;\n}\n.jumbotron {\n padding-top: 30px;\n padding-bottom: 30px;\n margin-bottom: 30px;\n color: inherit;\n background-color: #eee;\n}\n.jumbotron h1,\n.jumbotron .h1 {\n color: inherit;\n}\n.jumbotron p {\n margin-bottom: 15px;\n font-size: 21px;\n font-weight: 200;\n}\n.jumbotron > hr {\n border-top-color: #d5d5d5;\n}\n.container .jumbotron,\n.container-fluid .jumbotron {\n padding-right: 15px;\n padding-left: 15px;\n border-radius: 6px;\n}\n.jumbotron .container {\n max-width: 100%;\n}\n@media screen and (min-width: 768px) {\n .jumbotron {\n padding-top: 48px;\n padding-bottom: 48px;\n }\n .container .jumbotron,\n .container-fluid .jumbotron {\n padding-right: 60px;\n padding-left: 60px;\n }\n .jumbotron h1,\n .jumbotron .h1 {\n font-size: 63px;\n }\n}\n.thumbnail {\n display: block;\n padding: 4px;\n margin-bottom: 20px;\n line-height: 1.42857143;\n background-color: #fff;\n border: 1px solid #ddd;\n border-radius: 4px;\n -webkit-transition: border .2s ease-in-out;\n -o-transition: border .2s ease-in-out;\n transition: border .2s ease-in-out;\n}\n.thumbnail > img,\n.thumbnail a > img {\n margin-right: auto;\n margin-left: auto;\n}\na.thumbnail:hover,\na.thumbnail:focus,\na.thumbnail.active {\n border-color: #337ab7;\n}\n.thumbnail .caption {\n padding: 9px;\n color: #333;\n}\n.alert {\n padding: 15px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n.alert h4 {\n margin-top: 0;\n color: inherit;\n}\n.alert .alert-link {\n font-weight: bold;\n}\n.alert > p,\n.alert > ul {\n margin-bottom: 0;\n}\n.alert > p + p {\n margin-top: 5px;\n}\n.alert-dismissable,\n.alert-dismissible {\n padding-right: 35px;\n}\n.alert-dismissable .close,\n.alert-dismissible .close {\n position: relative;\n top: -2px;\n right: -21px;\n color: inherit;\n}\n.alert-success {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6;\n}\n.alert-success hr {\n border-top-color: #c9e2b3;\n}\n.alert-success .alert-link {\n color: #2b542c;\n}\n.alert-info {\n color: #31708f;\n background-color: #d9edf7;\n border-color: #bce8f1;\n}\n.alert-info hr {\n border-top-color: #a6e1ec;\n}\n.alert-info .alert-link {\n color: #245269;\n}\n.alert-warning {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #faebcc;\n}\n.alert-warning hr {\n border-top-color: #f7e1b5;\n}\n.alert-warning .alert-link {\n color: #66512c;\n}\n.alert-danger {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1;\n}\n.alert-danger hr {\n border-top-color: #e4b9c0;\n}\n.alert-danger .alert-link {\n color: #843534;\n}\n@-webkit-keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@-o-keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n@keyframes progress-bar-stripes {\n from {\n background-position: 40px 0;\n }\n to {\n background-position: 0 0;\n }\n}\n.progress {\n height: 20px;\n margin-bottom: 20px;\n overflow: hidden;\n background-color: #f5f5f5;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);\n}\n.progress-bar {\n float: left;\n width: 0;\n height: 100%;\n font-size: 12px;\n line-height: 20px;\n color: #fff;\n text-align: center;\n background-color: #337ab7;\n -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);\n box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);\n -webkit-transition: width .6s ease;\n -o-transition: width .6s ease;\n transition: width .6s ease;\n}\n.progress-striped .progress-bar,\n.progress-bar-striped {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n -webkit-background-size: 40px 40px;\n background-size: 40px 40px;\n}\n.progress.active .progress-bar,\n.progress-bar.active {\n -webkit-animation: progress-bar-stripes 2s linear infinite;\n -o-animation: progress-bar-stripes 2s linear infinite;\n animation: progress-bar-stripes 2s linear infinite;\n}\n.progress-bar-success {\n background-color: #5cb85c;\n}\n.progress-striped .progress-bar-success {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-info {\n background-color: #5bc0de;\n}\n.progress-striped .progress-bar-info {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-warning {\n background-color: #f0ad4e;\n}\n.progress-striped .progress-bar-warning {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.progress-bar-danger {\n background-color: #d9534f;\n}\n.progress-striped .progress-bar-danger {\n background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);\n}\n.media {\n margin-top: 15px;\n}\n.media:first-child {\n margin-top: 0;\n}\n.media,\n.media-body {\n overflow: hidden;\n zoom: 1;\n}\n.media-body {\n width: 10000px;\n}\n.media-object {\n display: block;\n}\n.media-object.img-thumbnail {\n max-width: none;\n}\n.media-right,\n.media > .pull-right {\n padding-left: 10px;\n}\n.media-left,\n.media > .pull-left {\n padding-right: 10px;\n}\n.media-left,\n.media-right,\n.media-body {\n display: table-cell;\n vertical-align: top;\n}\n.media-middle {\n vertical-align: middle;\n}\n.media-bottom {\n vertical-align: bottom;\n}\n.media-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.media-list {\n padding-left: 0;\n list-style: none;\n}\n.list-group {\n padding-left: 0;\n margin-bottom: 20px;\n}\n.list-group-item {\n position: relative;\n display: block;\n padding: 10px 15px;\n margin-bottom: -1px;\n background-color: #fff;\n border: 1px solid #ddd;\n}\n.list-group-item:first-child {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n.list-group-item:last-child {\n margin-bottom: 0;\n border-bottom-right-radius: 4px;\n border-bottom-left-radius: 4px;\n}\na.list-group-item,\nbutton.list-group-item {\n color: #555;\n}\na.list-group-item .list-group-item-heading,\nbutton.list-group-item .list-group-item-heading {\n color: #333;\n}\na.list-group-item:hover,\nbutton.list-group-item:hover,\na.list-group-item:focus,\nbutton.list-group-item:focus {\n color: #555;\n text-decoration: none;\n background-color: #f5f5f5;\n}\nbutton.list-group-item {\n width: 100%;\n text-align: left;\n}\n.list-group-item.disabled,\n.list-group-item.disabled:hover,\n.list-group-item.disabled:focus {\n color: #777;\n cursor: not-allowed;\n background-color: #eee;\n}\n.list-group-item.disabled .list-group-item-heading,\n.list-group-item.disabled:hover .list-group-item-heading,\n.list-group-item.disabled:focus .list-group-item-heading {\n color: inherit;\n}\n.list-group-item.disabled .list-group-item-text,\n.list-group-item.disabled:hover .list-group-item-text,\n.list-group-item.disabled:focus .list-group-item-text {\n color: #777;\n}\n.list-group-item.active,\n.list-group-item.active:hover,\n.list-group-item.active:focus {\n z-index: 2;\n color: #fff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.list-group-item.active .list-group-item-heading,\n.list-group-item.active:hover .list-group-item-heading,\n.list-group-item.active:focus .list-group-item-heading,\n.list-group-item.active .list-group-item-heading > small,\n.list-group-item.active:hover .list-group-item-heading > small,\n.list-group-item.active:focus .list-group-item-heading > small,\n.list-group-item.active .list-group-item-heading > .small,\n.list-group-item.active:hover .list-group-item-heading > .small,\n.list-group-item.active:focus .list-group-item-heading > .small {\n color: inherit;\n}\n.list-group-item.active .list-group-item-text,\n.list-group-item.active:hover .list-group-item-text,\n.list-group-item.active:focus .list-group-item-text {\n color: #c7ddef;\n}\n.list-group-item-success {\n color: #3c763d;\n background-color: #dff0d8;\n}\na.list-group-item-success,\nbutton.list-group-item-success {\n color: #3c763d;\n}\na.list-group-item-success .list-group-item-heading,\nbutton.list-group-item-success .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-success:hover,\nbutton.list-group-item-success:hover,\na.list-group-item-success:focus,\nbutton.list-group-item-success:focus {\n color: #3c763d;\n background-color: #d0e9c6;\n}\na.list-group-item-success.active,\nbutton.list-group-item-success.active,\na.list-group-item-success.active:hover,\nbutton.list-group-item-success.active:hover,\na.list-group-item-success.active:focus,\nbutton.list-group-item-success.active:focus {\n color: #fff;\n background-color: #3c763d;\n border-color: #3c763d;\n}\n.list-group-item-info {\n color: #31708f;\n background-color: #d9edf7;\n}\na.list-group-item-info,\nbutton.list-group-item-info {\n color: #31708f;\n}\na.list-group-item-info .list-group-item-heading,\nbutton.list-group-item-info .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-info:hover,\nbutton.list-group-item-info:hover,\na.list-group-item-info:focus,\nbutton.list-group-item-info:focus {\n color: #31708f;\n background-color: #c4e3f3;\n}\na.list-group-item-info.active,\nbutton.list-group-item-info.active,\na.list-group-item-info.active:hover,\nbutton.list-group-item-info.active:hover,\na.list-group-item-info.active:focus,\nbutton.list-group-item-info.active:focus {\n color: #fff;\n background-color: #31708f;\n border-color: #31708f;\n}\n.list-group-item-warning {\n color: #8a6d3b;\n background-color: #fcf8e3;\n}\na.list-group-item-warning,\nbutton.list-group-item-warning {\n color: #8a6d3b;\n}\na.list-group-item-warning .list-group-item-heading,\nbutton.list-group-item-warning .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-warning:hover,\nbutton.list-group-item-warning:hover,\na.list-group-item-warning:focus,\nbutton.list-group-item-warning:focus {\n color: #8a6d3b;\n background-color: #faf2cc;\n}\na.list-group-item-warning.active,\nbutton.list-group-item-warning.active,\na.list-group-item-warning.active:hover,\nbutton.list-group-item-warning.active:hover,\na.list-group-item-warning.active:focus,\nbutton.list-group-item-warning.active:focus {\n color: #fff;\n background-color: #8a6d3b;\n border-color: #8a6d3b;\n}\n.list-group-item-danger {\n color: #a94442;\n background-color: #f2dede;\n}\na.list-group-item-danger,\nbutton.list-group-item-danger {\n color: #a94442;\n}\na.list-group-item-danger .list-group-item-heading,\nbutton.list-group-item-danger .list-group-item-heading {\n color: inherit;\n}\na.list-group-item-danger:hover,\nbutton.list-group-item-danger:hover,\na.list-group-item-danger:focus,\nbutton.list-group-item-danger:focus {\n color: #a94442;\n background-color: #ebcccc;\n}\na.list-group-item-danger.active,\nbutton.list-group-item-danger.active,\na.list-group-item-danger.active:hover,\nbutton.list-group-item-danger.active:hover,\na.list-group-item-danger.active:focus,\nbutton.list-group-item-danger.active:focus {\n color: #fff;\n background-color: #a94442;\n border-color: #a94442;\n}\n.list-group-item-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.list-group-item-text {\n margin-bottom: 0;\n line-height: 1.3;\n}\n.panel {\n margin-bottom: 20px;\n background-color: #fff;\n border: 1px solid transparent;\n border-radius: 4px;\n -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);\n box-shadow: 0 1px 1px rgba(0, 0, 0, .05);\n}\n.panel-body {\n padding: 15px;\n}\n.panel-heading {\n padding: 10px 15px;\n border-bottom: 1px solid transparent;\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel-heading > .dropdown .dropdown-toggle {\n color: inherit;\n}\n.panel-title {\n margin-top: 0;\n margin-bottom: 0;\n font-size: 16px;\n color: inherit;\n}\n.panel-title > a,\n.panel-title > small,\n.panel-title > .small,\n.panel-title > small > a,\n.panel-title > .small > a {\n color: inherit;\n}\n.panel-footer {\n padding: 10px 15px;\n background-color: #f5f5f5;\n border-top: 1px solid #ddd;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .list-group,\n.panel > .panel-collapse > .list-group {\n margin-bottom: 0;\n}\n.panel > .list-group .list-group-item,\n.panel > .panel-collapse > .list-group .list-group-item {\n border-width: 1px 0;\n border-radius: 0;\n}\n.panel > .list-group:first-child .list-group-item:first-child,\n.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {\n border-top: 0;\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .list-group:last-child .list-group-item:last-child,\n.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {\n border-bottom: 0;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.panel-heading + .list-group .list-group-item:first-child {\n border-top-width: 0;\n}\n.list-group + .panel-footer {\n border-top-width: 0;\n}\n.panel > .table,\n.panel > .table-responsive > .table,\n.panel > .panel-collapse > .table {\n margin-bottom: 0;\n}\n.panel > .table caption,\n.panel > .table-responsive > .table caption,\n.panel > .panel-collapse > .table caption {\n padding-right: 15px;\n padding-left: 15px;\n}\n.panel > .table:first-child,\n.panel > .table-responsive:first-child > .table:first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {\n border-top-left-radius: 3px;\n}\n.panel > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,\n.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,\n.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,\n.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {\n border-top-right-radius: 3px;\n}\n.panel > .table:last-child,\n.panel > .table-responsive:last-child > .table:last-child {\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {\n border-bottom-left-radius: 3px;\n}\n.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,\n.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,\n.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,\n.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {\n border-bottom-right-radius: 3px;\n}\n.panel > .panel-body + .table,\n.panel > .panel-body + .table-responsive,\n.panel > .table + .panel-body,\n.panel > .table-responsive + .panel-body {\n border-top: 1px solid #ddd;\n}\n.panel > .table > tbody:first-child > tr:first-child th,\n.panel > .table > tbody:first-child > tr:first-child td {\n border-top: 0;\n}\n.panel > .table-bordered,\n.panel > .table-responsive > .table-bordered {\n border: 0;\n}\n.panel > .table-bordered > thead > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,\n.panel > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-bordered > thead > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,\n.panel > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-bordered > tfoot > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n border-left: 0;\n}\n.panel > .table-bordered > thead > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,\n.panel > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-bordered > thead > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,\n.panel > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-bordered > tfoot > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n border-right: 0;\n}\n.panel > .table-bordered > thead > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,\n.panel > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,\n.panel > .table-bordered > thead > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,\n.panel > .table-bordered > tbody > tr:first-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {\n border-bottom: 0;\n}\n.panel > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-bordered > tfoot > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,\n.panel > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-bordered > tfoot > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {\n border-bottom: 0;\n}\n.panel > .table-responsive {\n margin-bottom: 0;\n border: 0;\n}\n.panel-group {\n margin-bottom: 20px;\n}\n.panel-group .panel {\n margin-bottom: 0;\n border-radius: 4px;\n}\n.panel-group .panel + .panel {\n margin-top: 5px;\n}\n.panel-group .panel-heading {\n border-bottom: 0;\n}\n.panel-group .panel-heading + .panel-collapse > .panel-body,\n.panel-group .panel-heading + .panel-collapse > .list-group {\n border-top: 1px solid #ddd;\n}\n.panel-group .panel-footer {\n border-top: 0;\n}\n.panel-group .panel-footer + .panel-collapse .panel-body {\n border-bottom: 1px solid #ddd;\n}\n.panel-default {\n border-color: #ddd;\n}\n.panel-default > .panel-heading {\n color: #333;\n background-color: #f5f5f5;\n border-color: #ddd;\n}\n.panel-default > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #ddd;\n}\n.panel-default > .panel-heading .badge {\n color: #f5f5f5;\n background-color: #333;\n}\n.panel-default > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #ddd;\n}\n.panel-primary {\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading {\n color: #fff;\n background-color: #337ab7;\n border-color: #337ab7;\n}\n.panel-primary > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #337ab7;\n}\n.panel-primary > .panel-heading .badge {\n color: #337ab7;\n background-color: #fff;\n}\n.panel-primary > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #337ab7;\n}\n.panel-success {\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading {\n color: #3c763d;\n background-color: #dff0d8;\n border-color: #d6e9c6;\n}\n.panel-success > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #d6e9c6;\n}\n.panel-success > .panel-heading .badge {\n color: #dff0d8;\n background-color: #3c763d;\n}\n.panel-success > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #d6e9c6;\n}\n.panel-info {\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading {\n color: #31708f;\n background-color: #d9edf7;\n border-color: #bce8f1;\n}\n.panel-info > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #bce8f1;\n}\n.panel-info > .panel-heading .badge {\n color: #d9edf7;\n background-color: #31708f;\n}\n.panel-info > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #bce8f1;\n}\n.panel-warning {\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading {\n color: #8a6d3b;\n background-color: #fcf8e3;\n border-color: #faebcc;\n}\n.panel-warning > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #faebcc;\n}\n.panel-warning > .panel-heading .badge {\n color: #fcf8e3;\n background-color: #8a6d3b;\n}\n.panel-warning > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #faebcc;\n}\n.panel-danger {\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading {\n color: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1;\n}\n.panel-danger > .panel-heading + .panel-collapse > .panel-body {\n border-top-color: #ebccd1;\n}\n.panel-danger > .panel-heading .badge {\n color: #f2dede;\n background-color: #a94442;\n}\n.panel-danger > .panel-footer + .panel-collapse > .panel-body {\n border-bottom-color: #ebccd1;\n}\n.embed-responsive {\n position: relative;\n display: block;\n height: 0;\n padding: 0;\n overflow: hidden;\n}\n.embed-responsive .embed-responsive-item,\n.embed-responsive iframe,\n.embed-responsive embed,\n.embed-responsive object,\n.embed-responsive video {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border: 0;\n}\n.embed-responsive-16by9 {\n padding-bottom: 56.25%;\n}\n.embed-responsive-4by3 {\n padding-bottom: 75%;\n}\n.well {\n min-height: 20px;\n padding: 19px;\n margin-bottom: 20px;\n background-color: #f5f5f5;\n border: 1px solid #e3e3e3;\n border-radius: 4px;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);\n}\n.well blockquote {\n border-color: #ddd;\n border-color: rgba(0, 0, 0, .15);\n}\n.well-lg {\n padding: 24px;\n border-radius: 6px;\n}\n.well-sm {\n padding: 9px;\n border-radius: 3px;\n}\n.close {\n float: right;\n font-size: 21px;\n font-weight: bold;\n line-height: 1;\n color: #000;\n text-shadow: 0 1px 0 #fff;\n filter: alpha(opacity=20);\n opacity: .2;\n}\n.close:hover,\n.close:focus {\n color: #000;\n text-decoration: none;\n cursor: pointer;\n filter: alpha(opacity=50);\n opacity: .5;\n}\nbutton.close {\n -webkit-appearance: none;\n padding: 0;\n cursor: pointer;\n background: transparent;\n border: 0;\n}\n.modal-open {\n overflow: hidden;\n}\n.modal {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1050;\n display: none;\n overflow: hidden;\n -webkit-overflow-scrolling: touch;\n outline: 0;\n}\n.modal.fade .modal-dialog {\n -webkit-transition: -webkit-transform .3s ease-out;\n -o-transition: -o-transform .3s ease-out;\n transition: transform .3s ease-out;\n -webkit-transform: translate(0, -25%);\n -ms-transform: translate(0, -25%);\n -o-transform: translate(0, -25%);\n transform: translate(0, -25%);\n}\n.modal.in .modal-dialog {\n -webkit-transform: translate(0, 0);\n -ms-transform: translate(0, 0);\n -o-transform: translate(0, 0);\n transform: translate(0, 0);\n}\n.modal-open .modal {\n overflow-x: hidden;\n overflow-y: auto;\n}\n.modal-dialog {\n position: relative;\n width: auto;\n margin: 10px;\n}\n.modal-content {\n position: relative;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #999;\n border: 1px solid rgba(0, 0, 0, .2);\n border-radius: 6px;\n outline: 0;\n -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);\n box-shadow: 0 3px 9px rgba(0, 0, 0, .5);\n}\n.modal-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1040;\n background-color: #000;\n}\n.modal-backdrop.fade {\n filter: alpha(opacity=0);\n opacity: 0;\n}\n.modal-backdrop.in {\n filter: alpha(opacity=50);\n opacity: .5;\n}\n.modal-header {\n padding: 15px;\n border-bottom: 1px solid #e5e5e5;\n}\n.modal-header .close {\n margin-top: -2px;\n}\n.modal-title {\n margin: 0;\n line-height: 1.42857143;\n}\n.modal-body {\n position: relative;\n padding: 15px;\n}\n.modal-footer {\n padding: 15px;\n text-align: right;\n border-top: 1px solid #e5e5e5;\n}\n.modal-footer .btn + .btn {\n margin-bottom: 0;\n margin-left: 5px;\n}\n.modal-footer .btn-group .btn + .btn {\n margin-left: -1px;\n}\n.modal-footer .btn-block + .btn-block {\n margin-left: 0;\n}\n.modal-scrollbar-measure {\n position: absolute;\n top: -9999px;\n width: 50px;\n height: 50px;\n overflow: scroll;\n}\n@media (min-width: 768px) {\n .modal-dialog {\n width: 600px;\n margin: 30px auto;\n }\n .modal-content {\n -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);\n box-shadow: 0 5px 15px rgba(0, 0, 0, .5);\n }\n .modal-sm {\n width: 300px;\n }\n}\n@media (min-width: 992px) {\n .modal-lg {\n width: 900px;\n }\n}\n.tooltip {\n position: absolute;\n z-index: 1070;\n display: block;\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n white-space: normal;\n filter: alpha(opacity=0);\n opacity: 0;\n\n line-break: auto;\n}\n.tooltip.in {\n filter: alpha(opacity=90);\n opacity: .9;\n}\n.tooltip.top {\n padding: 5px 0;\n margin-top: -3px;\n}\n.tooltip.right {\n padding: 0 5px;\n margin-left: 3px;\n}\n.tooltip.bottom {\n padding: 5px 0;\n margin-top: 3px;\n}\n.tooltip.left {\n padding: 0 5px;\n margin-left: -3px;\n}\n.tooltip-inner {\n max-width: 200px;\n padding: 3px 8px;\n color: #fff;\n text-align: center;\n background-color: #000;\n border-radius: 4px;\n}\n.tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.tooltip.top .tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.top-left .tooltip-arrow {\n right: 5px;\n bottom: 0;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.top-right .tooltip-arrow {\n bottom: 0;\n left: 5px;\n margin-bottom: -5px;\n border-width: 5px 5px 0;\n border-top-color: #000;\n}\n.tooltip.right .tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: -5px;\n border-width: 5px 5px 5px 0;\n border-right-color: #000;\n}\n.tooltip.left .tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: -5px;\n border-width: 5px 0 5px 5px;\n border-left-color: #000;\n}\n.tooltip.bottom .tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.tooltip.bottom-left .tooltip-arrow {\n top: 0;\n right: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.tooltip.bottom-right .tooltip-arrow {\n top: 0;\n left: 5px;\n margin-top: -5px;\n border-width: 0 5px 5px;\n border-bottom-color: #000;\n}\n.popover {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1060;\n display: none;\n max-width: 276px;\n padding: 1px;\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n word-spacing: normal;\n word-wrap: normal;\n white-space: normal;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #ccc;\n border: 1px solid rgba(0, 0, 0, .2);\n border-radius: 6px;\n -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);\n box-shadow: 0 5px 10px rgba(0, 0, 0, .2);\n\n line-break: auto;\n}\n.popover.top {\n margin-top: -10px;\n}\n.popover.right {\n margin-left: 10px;\n}\n.popover.bottom {\n margin-top: 10px;\n}\n.popover.left {\n margin-left: -10px;\n}\n.popover-title {\n padding: 8px 14px;\n margin: 0;\n font-size: 14px;\n background-color: #f7f7f7;\n border-bottom: 1px solid #ebebeb;\n border-radius: 5px 5px 0 0;\n}\n.popover-content {\n padding: 9px 14px;\n}\n.popover > .arrow,\n.popover > .arrow:after {\n position: absolute;\n display: block;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.popover > .arrow {\n border-width: 11px;\n}\n.popover > .arrow:after {\n content: \"\";\n border-width: 10px;\n}\n.popover.top > .arrow {\n bottom: -11px;\n left: 50%;\n margin-left: -11px;\n border-top-color: #999;\n border-top-color: rgba(0, 0, 0, .25);\n border-bottom-width: 0;\n}\n.popover.top > .arrow:after {\n bottom: 1px;\n margin-left: -10px;\n content: \" \";\n border-top-color: #fff;\n border-bottom-width: 0;\n}\n.popover.right > .arrow {\n top: 50%;\n left: -11px;\n margin-top: -11px;\n border-right-color: #999;\n border-right-color: rgba(0, 0, 0, .25);\n border-left-width: 0;\n}\n.popover.right > .arrow:after {\n bottom: -10px;\n left: 1px;\n content: \" \";\n border-right-color: #fff;\n border-left-width: 0;\n}\n.popover.bottom > .arrow {\n top: -11px;\n left: 50%;\n margin-left: -11px;\n border-top-width: 0;\n border-bottom-color: #999;\n border-bottom-color: rgba(0, 0, 0, .25);\n}\n.popover.bottom > .arrow:after {\n top: 1px;\n margin-left: -10px;\n content: \" \";\n border-top-width: 0;\n border-bottom-color: #fff;\n}\n.popover.left > .arrow {\n top: 50%;\n right: -11px;\n margin-top: -11px;\n border-right-width: 0;\n border-left-color: #999;\n border-left-color: rgba(0, 0, 0, .25);\n}\n.popover.left > .arrow:after {\n right: 1px;\n bottom: -10px;\n content: \" \";\n border-right-width: 0;\n border-left-color: #fff;\n}\n.carousel {\n position: relative;\n}\n.carousel-inner {\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n.carousel-inner > .item {\n position: relative;\n display: none;\n -webkit-transition: .6s ease-in-out left;\n -o-transition: .6s ease-in-out left;\n transition: .6s ease-in-out left;\n}\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n line-height: 1;\n}\n@media all and (transform-3d), (-webkit-transform-3d) {\n .carousel-inner > .item {\n -webkit-transition: -webkit-transform .6s ease-in-out;\n -o-transition: -o-transform .6s ease-in-out;\n transition: transform .6s ease-in-out;\n\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n -webkit-perspective: 1000px;\n perspective: 1000px;\n }\n .carousel-inner > .item.next,\n .carousel-inner > .item.active.right {\n left: 0;\n -webkit-transform: translate3d(100%, 0, 0);\n transform: translate3d(100%, 0, 0);\n }\n .carousel-inner > .item.prev,\n .carousel-inner > .item.active.left {\n left: 0;\n -webkit-transform: translate3d(-100%, 0, 0);\n transform: translate3d(-100%, 0, 0);\n }\n .carousel-inner > .item.next.left,\n .carousel-inner > .item.prev.right,\n .carousel-inner > .item.active {\n left: 0;\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n }\n}\n.carousel-inner > .active,\n.carousel-inner > .next,\n.carousel-inner > .prev {\n display: block;\n}\n.carousel-inner > .active {\n left: 0;\n}\n.carousel-inner > .next,\n.carousel-inner > .prev {\n position: absolute;\n top: 0;\n width: 100%;\n}\n.carousel-inner > .next {\n left: 100%;\n}\n.carousel-inner > .prev {\n left: -100%;\n}\n.carousel-inner > .next.left,\n.carousel-inner > .prev.right {\n left: 0;\n}\n.carousel-inner > .active.left {\n left: -100%;\n}\n.carousel-inner > .active.right {\n left: 100%;\n}\n.carousel-control {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 15%;\n font-size: 20px;\n color: #fff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, .6);\n background-color: rgba(0, 0, 0, 0);\n filter: alpha(opacity=50);\n opacity: .5;\n}\n.carousel-control.left {\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001)));\n background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);\n background-repeat: repeat-x;\n}\n.carousel-control.right {\n right: 0;\n left: auto;\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5)));\n background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);\n background-repeat: repeat-x;\n}\n.carousel-control:hover,\n.carousel-control:focus {\n color: #fff;\n text-decoration: none;\n filter: alpha(opacity=90);\n outline: 0;\n opacity: .9;\n}\n.carousel-control .icon-prev,\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-left,\n.carousel-control .glyphicon-chevron-right {\n position: absolute;\n top: 50%;\n z-index: 5;\n display: inline-block;\n margin-top: -10px;\n}\n.carousel-control .icon-prev,\n.carousel-control .glyphicon-chevron-left {\n left: 50%;\n margin-left: -10px;\n}\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-right {\n right: 50%;\n margin-right: -10px;\n}\n.carousel-control .icon-prev,\n.carousel-control .icon-next {\n width: 20px;\n height: 20px;\n font-family: serif;\n line-height: 1;\n}\n.carousel-control .icon-prev:before {\n content: '\\2039';\n}\n.carousel-control .icon-next:before {\n content: '\\203a';\n}\n.carousel-indicators {\n position: absolute;\n bottom: 10px;\n left: 50%;\n z-index: 15;\n width: 60%;\n padding-left: 0;\n margin-left: -30%;\n text-align: center;\n list-style: none;\n}\n.carousel-indicators li {\n display: inline-block;\n width: 10px;\n height: 10px;\n margin: 1px;\n text-indent: -999px;\n cursor: pointer;\n background-color: #000 \\9;\n background-color: rgba(0, 0, 0, 0);\n border: 1px solid #fff;\n border-radius: 10px;\n}\n.carousel-indicators .active {\n width: 12px;\n height: 12px;\n margin: 0;\n background-color: #fff;\n}\n.carousel-caption {\n position: absolute;\n right: 15%;\n bottom: 20px;\n left: 15%;\n z-index: 10;\n padding-top: 20px;\n padding-bottom: 20px;\n color: #fff;\n text-align: center;\n text-shadow: 0 1px 2px rgba(0, 0, 0, .6);\n}\n.carousel-caption .btn {\n text-shadow: none;\n}\n@media screen and (min-width: 768px) {\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-prev,\n .carousel-control .icon-next {\n width: 30px;\n height: 30px;\n margin-top: -10px;\n font-size: 30px;\n }\n .carousel-control .glyphicon-chevron-left,\n .carousel-control .icon-prev {\n margin-left: -10px;\n }\n .carousel-control .glyphicon-chevron-right,\n .carousel-control .icon-next {\n margin-right: -10px;\n }\n .carousel-caption {\n right: 20%;\n left: 20%;\n padding-bottom: 30px;\n }\n .carousel-indicators {\n bottom: 20px;\n }\n}\n.clearfix:before,\n.clearfix:after,\n.dl-horizontal dd:before,\n.dl-horizontal dd:after,\n.container:before,\n.container:after,\n.container-fluid:before,\n.container-fluid:after,\n.row:before,\n.row:after,\n.form-horizontal .form-group:before,\n.form-horizontal .form-group:after,\n.btn-toolbar:before,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:before,\n.btn-group-vertical > .btn-group:after,\n.nav:before,\n.nav:after,\n.navbar:before,\n.navbar:after,\n.navbar-header:before,\n.navbar-header:after,\n.navbar-collapse:before,\n.navbar-collapse:after,\n.pager:before,\n.pager:after,\n.panel-body:before,\n.panel-body:after,\n.modal-header:before,\n.modal-header:after,\n.modal-footer:before,\n.modal-footer:after {\n display: table;\n content: \" \";\n}\n.clearfix:after,\n.dl-horizontal dd:after,\n.container:after,\n.container-fluid:after,\n.row:after,\n.form-horizontal .form-group:after,\n.btn-toolbar:after,\n.btn-group-vertical > .btn-group:after,\n.nav:after,\n.navbar:after,\n.navbar-header:after,\n.navbar-collapse:after,\n.pager:after,\n.panel-body:after,\n.modal-header:after,\n.modal-footer:after {\n clear: both;\n}\n.center-block {\n display: block;\n margin-right: auto;\n margin-left: auto;\n}\n.pull-right {\n float: right !important;\n}\n.pull-left {\n float: left !important;\n}\n.hide {\n display: none !important;\n}\n.show {\n display: block !important;\n}\n.invisible {\n visibility: hidden;\n}\n.text-hide {\n font: 0/0 a;\n color: transparent;\n text-shadow: none;\n background-color: transparent;\n border: 0;\n}\n.hidden {\n display: none !important;\n}\n.affix {\n position: fixed;\n}\n@-ms-viewport {\n width: device-width;\n}\n.visible-xs,\n.visible-sm,\n.visible-md,\n.visible-lg {\n display: none !important;\n}\n.visible-xs-block,\n.visible-xs-inline,\n.visible-xs-inline-block,\n.visible-sm-block,\n.visible-sm-inline,\n.visible-sm-inline-block,\n.visible-md-block,\n.visible-md-inline,\n.visible-md-inline-block,\n.visible-lg-block,\n.visible-lg-inline,\n.visible-lg-inline-block {\n display: none !important;\n}\n@media (max-width: 767px) {\n .visible-xs {\n display: block !important;\n }\n table.visible-xs {\n display: table !important;\n }\n tr.visible-xs {\n display: table-row !important;\n }\n th.visible-xs,\n td.visible-xs {\n display: table-cell !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-block {\n display: block !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline {\n display: inline !important;\n }\n}\n@media (max-width: 767px) {\n .visible-xs-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm {\n display: block !important;\n }\n table.visible-sm {\n display: table !important;\n }\n tr.visible-sm {\n display: table-row !important;\n }\n th.visible-sm,\n td.visible-sm {\n display: table-cell !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-block {\n display: block !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline {\n display: inline !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .visible-sm-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md {\n display: block !important;\n }\n table.visible-md {\n display: table !important;\n }\n tr.visible-md {\n display: table-row !important;\n }\n th.visible-md,\n td.visible-md {\n display: table-cell !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-block {\n display: block !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline {\n display: inline !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .visible-md-inline-block {\n display: inline-block !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg {\n display: block !important;\n }\n table.visible-lg {\n display: table !important;\n }\n tr.visible-lg {\n display: table-row !important;\n }\n th.visible-lg,\n td.visible-lg {\n display: table-cell !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-block {\n display: block !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline {\n display: inline !important;\n }\n}\n@media (min-width: 1200px) {\n .visible-lg-inline-block {\n display: inline-block !important;\n }\n}\n@media (max-width: 767px) {\n .hidden-xs {\n display: none !important;\n }\n}\n@media (min-width: 768px) and (max-width: 991px) {\n .hidden-sm {\n display: none !important;\n }\n}\n@media (min-width: 992px) and (max-width: 1199px) {\n .hidden-md {\n display: none !important;\n }\n}\n@media (min-width: 1200px) {\n .hidden-lg {\n display: none !important;\n }\n}\n.visible-print {\n display: none !important;\n}\n@media print {\n .visible-print {\n display: block !important;\n }\n table.visible-print {\n display: table !important;\n }\n tr.visible-print {\n display: table-row !important;\n }\n th.visible-print,\n td.visible-print {\n display: table-cell !important;\n }\n}\n.visible-print-block {\n display: none !important;\n}\n@media print {\n .visible-print-block {\n display: block !important;\n }\n}\n.visible-print-inline {\n display: none !important;\n}\n@media print {\n .visible-print-inline {\n display: inline !important;\n }\n}\n.visible-print-inline-block {\n display: none !important;\n}\n@media print {\n .visible-print-inline-block {\n display: inline-block !important;\n }\n}\n@media print {\n .hidden-print {\n display: none !important;\n }\n}\n/*# sourceMappingURL=bootstrap.css.map */\n","//\n// Glyphicons for Bootstrap\n//\n// Since icons are fonts, they can be placed anywhere text is placed and are\n// thus automatically sized to match the surrounding child. To use, create an\n// inline element with the appropriate classes, like so:\n//\n// Star\n\n// Import the fonts\n@font-face {\n font-family: 'Glyphicons Halflings';\n src: url('@{icon-font-path}@{icon-font-name}.eot');\n src: url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype'),\n url('@{icon-font-path}@{icon-font-name}.woff2') format('woff2'),\n url('@{icon-font-path}@{icon-font-name}.woff') format('woff'),\n url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype'),\n url('@{icon-font-path}@{icon-font-name}.svg#@{icon-font-svg-id}') format('svg');\n}\n\n// Catchall baseclass\n.glyphicon {\n position: relative;\n top: 1px;\n display: inline-block;\n font-family: 'Glyphicons Halflings';\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n// Individual icons\n.glyphicon-asterisk { &:before { content: \"\\002a\"; } }\n.glyphicon-plus { &:before { content: \"\\002b\"; } }\n.glyphicon-euro,\n.glyphicon-eur { &:before { content: \"\\20ac\"; } }\n.glyphicon-minus { &:before { content: \"\\2212\"; } }\n.glyphicon-cloud { &:before { content: \"\\2601\"; } }\n.glyphicon-envelope { &:before { content: \"\\2709\"; } }\n.glyphicon-pencil { &:before { content: \"\\270f\"; } }\n.glyphicon-glass { &:before { content: \"\\e001\"; } }\n.glyphicon-music { &:before { content: \"\\e002\"; } }\n.glyphicon-search { &:before { content: \"\\e003\"; } }\n.glyphicon-heart { &:before { content: \"\\e005\"; } }\n.glyphicon-star { &:before { content: \"\\e006\"; } }\n.glyphicon-star-empty { &:before { content: \"\\e007\"; } }\n.glyphicon-user { &:before { content: \"\\e008\"; } }\n.glyphicon-film { &:before { content: \"\\e009\"; } }\n.glyphicon-th-large { &:before { content: \"\\e010\"; } }\n.glyphicon-th { &:before { content: \"\\e011\"; } }\n.glyphicon-th-list { &:before { content: \"\\e012\"; } }\n.glyphicon-ok { &:before { content: \"\\e013\"; } }\n.glyphicon-remove { &:before { content: \"\\e014\"; } }\n.glyphicon-zoom-in { &:before { content: \"\\e015\"; } }\n.glyphicon-zoom-out { &:before { content: \"\\e016\"; } }\n.glyphicon-off { &:before { content: \"\\e017\"; } }\n.glyphicon-signal { &:before { content: \"\\e018\"; } }\n.glyphicon-cog { &:before { content: \"\\e019\"; } }\n.glyphicon-trash { &:before { content: \"\\e020\"; } }\n.glyphicon-home { &:before { content: \"\\e021\"; } }\n.glyphicon-file { &:before { content: \"\\e022\"; } }\n.glyphicon-time { &:before { content: \"\\e023\"; } }\n.glyphicon-road { &:before { content: \"\\e024\"; } }\n.glyphicon-download-alt { &:before { content: \"\\e025\"; } }\n.glyphicon-download { &:before { content: \"\\e026\"; } }\n.glyphicon-upload { &:before { content: \"\\e027\"; } }\n.glyphicon-inbox { &:before { content: \"\\e028\"; } }\n.glyphicon-play-circle { &:before { content: \"\\e029\"; } }\n.glyphicon-repeat { &:before { content: \"\\e030\"; } }\n.glyphicon-refresh { &:before { content: \"\\e031\"; } }\n.glyphicon-list-alt { &:before { content: \"\\e032\"; } }\n.glyphicon-lock { &:before { content: \"\\e033\"; } }\n.glyphicon-flag { &:before { content: \"\\e034\"; } }\n.glyphicon-headphones { &:before { content: \"\\e035\"; } }\n.glyphicon-volume-off { &:before { content: \"\\e036\"; } }\n.glyphicon-volume-down { &:before { content: \"\\e037\"; } }\n.glyphicon-volume-up { &:before { content: \"\\e038\"; } }\n.glyphicon-qrcode { &:before { content: \"\\e039\"; } }\n.glyphicon-barcode { &:before { content: \"\\e040\"; } }\n.glyphicon-tag { &:before { content: \"\\e041\"; } }\n.glyphicon-tags { &:before { content: \"\\e042\"; } }\n.glyphicon-book { &:before { content: \"\\e043\"; } }\n.glyphicon-bookmark { &:before { content: \"\\e044\"; } }\n.glyphicon-print { &:before { content: \"\\e045\"; } }\n.glyphicon-camera { &:before { content: \"\\e046\"; } }\n.glyphicon-font { &:before { content: \"\\e047\"; } }\n.glyphicon-bold { &:before { content: \"\\e048\"; } }\n.glyphicon-italic { &:before { content: \"\\e049\"; } }\n.glyphicon-text-height { &:before { content: \"\\e050\"; } }\n.glyphicon-text-width { &:before { content: \"\\e051\"; } }\n.glyphicon-align-left { &:before { content: \"\\e052\"; } }\n.glyphicon-align-center { &:before { content: \"\\e053\"; } }\n.glyphicon-align-right { &:before { content: \"\\e054\"; } }\n.glyphicon-align-justify { &:before { content: \"\\e055\"; } }\n.glyphicon-list { &:before { content: \"\\e056\"; } }\n.glyphicon-indent-left { &:before { content: \"\\e057\"; } }\n.glyphicon-indent-right { &:before { content: \"\\e058\"; } }\n.glyphicon-facetime-video { &:before { content: \"\\e059\"; } }\n.glyphicon-picture { &:before { content: \"\\e060\"; } }\n.glyphicon-map-marker { &:before { content: \"\\e062\"; } }\n.glyphicon-adjust { &:before { content: \"\\e063\"; } }\n.glyphicon-tint { &:before { content: \"\\e064\"; } }\n.glyphicon-edit { &:before { content: \"\\e065\"; } }\n.glyphicon-share { &:before { content: \"\\e066\"; } }\n.glyphicon-check { &:before { content: \"\\e067\"; } }\n.glyphicon-move { &:before { content: \"\\e068\"; } }\n.glyphicon-step-backward { &:before { content: \"\\e069\"; } }\n.glyphicon-fast-backward { &:before { content: \"\\e070\"; } }\n.glyphicon-backward { &:before { content: \"\\e071\"; } }\n.glyphicon-play { &:before { content: \"\\e072\"; } }\n.glyphicon-pause { &:before { content: \"\\e073\"; } }\n.glyphicon-stop { &:before { content: \"\\e074\"; } }\n.glyphicon-forward { &:before { content: \"\\e075\"; } }\n.glyphicon-fast-forward { &:before { content: \"\\e076\"; } }\n.glyphicon-step-forward { &:before { content: \"\\e077\"; } }\n.glyphicon-eject { &:before { content: \"\\e078\"; } }\n.glyphicon-chevron-left { &:before { content: \"\\e079\"; } }\n.glyphicon-chevron-right { &:before { content: \"\\e080\"; } }\n.glyphicon-plus-sign { &:before { content: \"\\e081\"; } }\n.glyphicon-minus-sign { &:before { content: \"\\e082\"; } }\n.glyphicon-remove-sign { &:before { content: \"\\e083\"; } }\n.glyphicon-ok-sign { &:before { content: \"\\e084\"; } }\n.glyphicon-question-sign { &:before { content: \"\\e085\"; } }\n.glyphicon-info-sign { &:before { content: \"\\e086\"; } }\n.glyphicon-screenshot { &:before { content: \"\\e087\"; } }\n.glyphicon-remove-circle { &:before { content: \"\\e088\"; } }\n.glyphicon-ok-circle { &:before { content: \"\\e089\"; } }\n.glyphicon-ban-circle { &:before { content: \"\\e090\"; } }\n.glyphicon-arrow-left { &:before { content: \"\\e091\"; } }\n.glyphicon-arrow-right { &:before { content: \"\\e092\"; } }\n.glyphicon-arrow-up { &:before { content: \"\\e093\"; } }\n.glyphicon-arrow-down { &:before { content: \"\\e094\"; } }\n.glyphicon-share-alt { &:before { content: \"\\e095\"; } }\n.glyphicon-resize-full { &:before { content: \"\\e096\"; } }\n.glyphicon-resize-small { &:before { content: \"\\e097\"; } }\n.glyphicon-exclamation-sign { &:before { content: \"\\e101\"; } }\n.glyphicon-gift { &:before { content: \"\\e102\"; } }\n.glyphicon-leaf { &:before { content: \"\\e103\"; } }\n.glyphicon-fire { &:before { content: \"\\e104\"; } }\n.glyphicon-eye-open { &:before { content: \"\\e105\"; } }\n.glyphicon-eye-close { &:before { content: \"\\e106\"; } }\n.glyphicon-warning-sign { &:before { content: \"\\e107\"; } }\n.glyphicon-plane { &:before { content: \"\\e108\"; } }\n.glyphicon-calendar { &:before { content: \"\\e109\"; } }\n.glyphicon-random { &:before { content: \"\\e110\"; } }\n.glyphicon-comment { &:before { content: \"\\e111\"; } }\n.glyphicon-magnet { &:before { content: \"\\e112\"; } }\n.glyphicon-chevron-up { &:before { content: \"\\e113\"; } }\n.glyphicon-chevron-down { &:before { content: \"\\e114\"; } }\n.glyphicon-retweet { &:before { content: \"\\e115\"; } }\n.glyphicon-shopping-cart { &:before { content: \"\\e116\"; } }\n.glyphicon-folder-close { &:before { content: \"\\e117\"; } }\n.glyphicon-folder-open { &:before { content: \"\\e118\"; } }\n.glyphicon-resize-vertical { &:before { content: \"\\e119\"; } }\n.glyphicon-resize-horizontal { &:before { content: \"\\e120\"; } }\n.glyphicon-hdd { &:before { content: \"\\e121\"; } }\n.glyphicon-bullhorn { &:before { content: \"\\e122\"; } }\n.glyphicon-bell { &:before { content: \"\\e123\"; } }\n.glyphicon-certificate { &:before { content: \"\\e124\"; } }\n.glyphicon-thumbs-up { &:before { content: \"\\e125\"; } }\n.glyphicon-thumbs-down { &:before { content: \"\\e126\"; } }\n.glyphicon-hand-right { &:before { content: \"\\e127\"; } }\n.glyphicon-hand-left { &:before { content: \"\\e128\"; } }\n.glyphicon-hand-up { &:before { content: \"\\e129\"; } }\n.glyphicon-hand-down { &:before { content: \"\\e130\"; } }\n.glyphicon-circle-arrow-right { &:before { content: \"\\e131\"; } }\n.glyphicon-circle-arrow-left { &:before { content: \"\\e132\"; } }\n.glyphicon-circle-arrow-up { &:before { content: \"\\e133\"; } }\n.glyphicon-circle-arrow-down { &:before { content: \"\\e134\"; } }\n.glyphicon-globe { &:before { content: \"\\e135\"; } }\n.glyphicon-wrench { &:before { content: \"\\e136\"; } }\n.glyphicon-tasks { &:before { content: \"\\e137\"; } }\n.glyphicon-filter { &:before { content: \"\\e138\"; } }\n.glyphicon-briefcase { &:before { content: \"\\e139\"; } }\n.glyphicon-fullscreen { &:before { content: \"\\e140\"; } }\n.glyphicon-dashboard { &:before { content: \"\\e141\"; } }\n.glyphicon-paperclip { &:before { content: \"\\e142\"; } }\n.glyphicon-heart-empty { &:before { content: \"\\e143\"; } }\n.glyphicon-link { &:before { content: \"\\e144\"; } }\n.glyphicon-phone { &:before { content: \"\\e145\"; } }\n.glyphicon-pushpin { &:before { content: \"\\e146\"; } }\n.glyphicon-usd { &:before { content: \"\\e148\"; } }\n.glyphicon-gbp { &:before { content: \"\\e149\"; } }\n.glyphicon-sort { &:before { content: \"\\e150\"; } }\n.glyphicon-sort-by-alphabet { &:before { content: \"\\e151\"; } }\n.glyphicon-sort-by-alphabet-alt { &:before { content: \"\\e152\"; } }\n.glyphicon-sort-by-order { &:before { content: \"\\e153\"; } }\n.glyphicon-sort-by-order-alt { &:before { content: \"\\e154\"; } }\n.glyphicon-sort-by-attributes { &:before { content: \"\\e155\"; } }\n.glyphicon-sort-by-attributes-alt { &:before { content: \"\\e156\"; } }\n.glyphicon-unchecked { &:before { content: \"\\e157\"; } }\n.glyphicon-expand { &:before { content: \"\\e158\"; } }\n.glyphicon-collapse-down { &:before { content: \"\\e159\"; } }\n.glyphicon-collapse-up { &:before { content: \"\\e160\"; } }\n.glyphicon-log-in { &:before { content: \"\\e161\"; } }\n.glyphicon-flash { &:before { content: \"\\e162\"; } }\n.glyphicon-log-out { &:before { content: \"\\e163\"; } }\n.glyphicon-new-window { &:before { content: \"\\e164\"; } }\n.glyphicon-record { &:before { content: \"\\e165\"; } }\n.glyphicon-save { &:before { content: \"\\e166\"; } }\n.glyphicon-open { &:before { content: \"\\e167\"; } }\n.glyphicon-saved { &:before { content: \"\\e168\"; } }\n.glyphicon-import { &:before { content: \"\\e169\"; } }\n.glyphicon-export { &:before { content: \"\\e170\"; } }\n.glyphicon-send { &:before { content: \"\\e171\"; } }\n.glyphicon-floppy-disk { &:before { content: \"\\e172\"; } }\n.glyphicon-floppy-saved { &:before { content: \"\\e173\"; } }\n.glyphicon-floppy-remove { &:before { content: \"\\e174\"; } }\n.glyphicon-floppy-save { &:before { content: \"\\e175\"; } }\n.glyphicon-floppy-open { &:before { content: \"\\e176\"; } }\n.glyphicon-credit-card { &:before { content: \"\\e177\"; } }\n.glyphicon-transfer { &:before { content: \"\\e178\"; } }\n.glyphicon-cutlery { &:before { content: \"\\e179\"; } }\n.glyphicon-header { &:before { content: \"\\e180\"; } }\n.glyphicon-compressed { &:before { content: \"\\e181\"; } }\n.glyphicon-earphone { &:before { content: \"\\e182\"; } }\n.glyphicon-phone-alt { &:before { content: \"\\e183\"; } }\n.glyphicon-tower { &:before { content: \"\\e184\"; } }\n.glyphicon-stats { &:before { content: \"\\e185\"; } }\n.glyphicon-sd-video { &:before { content: \"\\e186\"; } }\n.glyphicon-hd-video { &:before { content: \"\\e187\"; } }\n.glyphicon-subtitles { &:before { content: \"\\e188\"; } }\n.glyphicon-sound-stereo { &:before { content: \"\\e189\"; } }\n.glyphicon-sound-dolby { &:before { content: \"\\e190\"; } }\n.glyphicon-sound-5-1 { &:before { content: \"\\e191\"; } }\n.glyphicon-sound-6-1 { &:before { content: \"\\e192\"; } }\n.glyphicon-sound-7-1 { &:before { content: \"\\e193\"; } }\n.glyphicon-copyright-mark { &:before { content: \"\\e194\"; } }\n.glyphicon-registration-mark { &:before { content: \"\\e195\"; } }\n.glyphicon-cloud-download { &:before { content: \"\\e197\"; } }\n.glyphicon-cloud-upload { &:before { content: \"\\e198\"; } }\n.glyphicon-tree-conifer { &:before { content: \"\\e199\"; } }\n.glyphicon-tree-deciduous { &:before { content: \"\\e200\"; } }\n.glyphicon-cd { &:before { content: \"\\e201\"; } }\n.glyphicon-save-file { &:before { content: \"\\e202\"; } }\n.glyphicon-open-file { &:before { content: \"\\e203\"; } }\n.glyphicon-level-up { &:before { content: \"\\e204\"; } }\n.glyphicon-copy { &:before { content: \"\\e205\"; } }\n.glyphicon-paste { &:before { content: \"\\e206\"; } }\n// The following 2 Glyphicons are omitted for the time being because\n// they currently use Unicode codepoints that are outside the\n// Basic Multilingual Plane (BMP). Older buggy versions of WebKit can't handle\n// non-BMP codepoints in CSS string escapes, and thus can't display these two icons.\n// Notably, the bug affects some older versions of the Android Browser.\n// More info: https://github.com/twbs/bootstrap/issues/10106\n// .glyphicon-door { &:before { content: \"\\1f6aa\"; } }\n// .glyphicon-key { &:before { content: \"\\1f511\"; } }\n.glyphicon-alert { &:before { content: \"\\e209\"; } }\n.glyphicon-equalizer { &:before { content: \"\\e210\"; } }\n.glyphicon-king { &:before { content: \"\\e211\"; } }\n.glyphicon-queen { &:before { content: \"\\e212\"; } }\n.glyphicon-pawn { &:before { content: \"\\e213\"; } }\n.glyphicon-bishop { &:before { content: \"\\e214\"; } }\n.glyphicon-knight { &:before { content: \"\\e215\"; } }\n.glyphicon-baby-formula { &:before { content: \"\\e216\"; } }\n.glyphicon-tent { &:before { content: \"\\26fa\"; } }\n.glyphicon-blackboard { &:before { content: \"\\e218\"; } }\n.glyphicon-bed { &:before { content: \"\\e219\"; } }\n.glyphicon-apple { &:before { content: \"\\f8ff\"; } }\n.glyphicon-erase { &:before { content: \"\\e221\"; } }\n.glyphicon-hourglass { &:before { content: \"\\231b\"; } }\n.glyphicon-lamp { &:before { content: \"\\e223\"; } }\n.glyphicon-duplicate { &:before { content: \"\\e224\"; } }\n.glyphicon-piggy-bank { &:before { content: \"\\e225\"; } }\n.glyphicon-scissors { &:before { content: \"\\e226\"; } }\n.glyphicon-bitcoin { &:before { content: \"\\e227\"; } }\n.glyphicon-btc { &:before { content: \"\\e227\"; } }\n.glyphicon-xbt { &:before { content: \"\\e227\"; } }\n.glyphicon-yen { &:before { content: \"\\00a5\"; } }\n.glyphicon-jpy { &:before { content: \"\\00a5\"; } }\n.glyphicon-ruble { &:before { content: \"\\20bd\"; } }\n.glyphicon-rub { &:before { content: \"\\20bd\"; } }\n.glyphicon-scale { &:before { content: \"\\e230\"; } }\n.glyphicon-ice-lolly { &:before { content: \"\\e231\"; } }\n.glyphicon-ice-lolly-tasted { &:before { content: \"\\e232\"; } }\n.glyphicon-education { &:before { content: \"\\e233\"; } }\n.glyphicon-option-horizontal { &:before { content: \"\\e234\"; } }\n.glyphicon-option-vertical { &:before { content: \"\\e235\"; } }\n.glyphicon-menu-hamburger { &:before { content: \"\\e236\"; } }\n.glyphicon-modal-window { &:before { content: \"\\e237\"; } }\n.glyphicon-oil { &:before { content: \"\\e238\"; } }\n.glyphicon-grain { &:before { content: \"\\e239\"; } }\n.glyphicon-sunglasses { &:before { content: \"\\e240\"; } }\n.glyphicon-text-size { &:before { content: \"\\e241\"; } }\n.glyphicon-text-color { &:before { content: \"\\e242\"; } }\n.glyphicon-text-background { &:before { content: \"\\e243\"; } }\n.glyphicon-object-align-top { &:before { content: \"\\e244\"; } }\n.glyphicon-object-align-bottom { &:before { content: \"\\e245\"; } }\n.glyphicon-object-align-horizontal{ &:before { content: \"\\e246\"; } }\n.glyphicon-object-align-left { &:before { content: \"\\e247\"; } }\n.glyphicon-object-align-vertical { &:before { content: \"\\e248\"; } }\n.glyphicon-object-align-right { &:before { content: \"\\e249\"; } }\n.glyphicon-triangle-right { &:before { content: \"\\e250\"; } }\n.glyphicon-triangle-left { &:before { content: \"\\e251\"; } }\n.glyphicon-triangle-bottom { &:before { content: \"\\e252\"; } }\n.glyphicon-triangle-top { &:before { content: \"\\e253\"; } }\n.glyphicon-console { &:before { content: \"\\e254\"; } }\n.glyphicon-superscript { &:before { content: \"\\e255\"; } }\n.glyphicon-subscript { &:before { content: \"\\e256\"; } }\n.glyphicon-menu-left { &:before { content: \"\\e257\"; } }\n.glyphicon-menu-right { &:before { content: \"\\e258\"; } }\n.glyphicon-menu-down { &:before { content: \"\\e259\"; } }\n.glyphicon-menu-up { &:before { content: \"\\e260\"; } }\n","//\n// Scaffolding\n// --------------------------------------------------\n\n\n// Reset the box-sizing\n//\n// Heads up! This reset may cause conflicts with some third-party widgets.\n// For recommendations on resolving such conflicts, see\n// http://getbootstrap.com/getting-started/#third-box-sizing\n* {\n .box-sizing(border-box);\n}\n*:before,\n*:after {\n .box-sizing(border-box);\n}\n\n\n// Body reset\n\nhtml {\n font-size: 10px;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n}\n\nbody {\n font-family: @font-family-base;\n font-size: @font-size-base;\n line-height: @line-height-base;\n color: @text-color;\n background-color: @body-bg;\n}\n\n// Reset fonts for relevant elements\ninput,\nbutton,\nselect,\ntextarea {\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\n\n// Links\n\na {\n color: @link-color;\n text-decoration: none;\n\n &:hover,\n &:focus {\n color: @link-hover-color;\n text-decoration: @link-hover-decoration;\n }\n\n &:focus {\n .tab-focus();\n }\n}\n\n\n// Figures\n//\n// We reset this here because previously Normalize had no `figure` margins. This\n// ensures we don't break anyone's use of the element.\n\nfigure {\n margin: 0;\n}\n\n\n// Images\n\nimg {\n vertical-align: middle;\n}\n\n// Responsive images (ensure images don't scale beyond their parents)\n.img-responsive {\n .img-responsive();\n}\n\n// Rounded corners\n.img-rounded {\n border-radius: @border-radius-large;\n}\n\n// Image thumbnails\n//\n// Heads up! This is mixin-ed into thumbnails.less for `.thumbnail`.\n.img-thumbnail {\n padding: @thumbnail-padding;\n line-height: @line-height-base;\n background-color: @thumbnail-bg;\n border: 1px solid @thumbnail-border;\n border-radius: @thumbnail-border-radius;\n .transition(all .2s ease-in-out);\n\n // Keep them at most 100% wide\n .img-responsive(inline-block);\n}\n\n// Perfect circle\n.img-circle {\n border-radius: 50%; // set radius in percents\n}\n\n\n// Horizontal rules\n\nhr {\n margin-top: @line-height-computed;\n margin-bottom: @line-height-computed;\n border: 0;\n border-top: 1px solid @hr-border;\n}\n\n\n// Only display content to screen readers\n//\n// See: http://a11yproject.com/posts/how-to-hide-content\n\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n overflow: hidden;\n clip: rect(0,0,0,0);\n border: 0;\n}\n\n// Use in conjunction with .sr-only to only display content when it's focused.\n// Useful for \"Skip to main content\" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1\n// Credit: HTML5 Boilerplate\n\n.sr-only-focusable {\n &:active,\n &:focus {\n position: static;\n width: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n clip: auto;\n }\n}\n\n\n// iOS \"clickable elements\" fix for role=\"button\"\n//\n// Fixes \"clickability\" issue (and more generally, the firing of events such as focus as well)\n// for traditionally non-focusable elements with role=\"button\"\n// see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile\n\n[role=\"button\"] {\n cursor: pointer;\n}\n","// Vendor Prefixes\n//\n// All vendor mixins are deprecated as of v3.2.0 due to the introduction of\n// Autoprefixer in our Gruntfile. They have been removed in v4.\n\n// - Animations\n// - Backface visibility\n// - Box shadow\n// - Box sizing\n// - Content columns\n// - Hyphens\n// - Placeholder text\n// - Transformations\n// - Transitions\n// - User Select\n\n\n// Animations\n.animation(@animation) {\n -webkit-animation: @animation;\n -o-animation: @animation;\n animation: @animation;\n}\n.animation-name(@name) {\n -webkit-animation-name: @name;\n animation-name: @name;\n}\n.animation-duration(@duration) {\n -webkit-animation-duration: @duration;\n animation-duration: @duration;\n}\n.animation-timing-function(@timing-function) {\n -webkit-animation-timing-function: @timing-function;\n animation-timing-function: @timing-function;\n}\n.animation-delay(@delay) {\n -webkit-animation-delay: @delay;\n animation-delay: @delay;\n}\n.animation-iteration-count(@iteration-count) {\n -webkit-animation-iteration-count: @iteration-count;\n animation-iteration-count: @iteration-count;\n}\n.animation-direction(@direction) {\n -webkit-animation-direction: @direction;\n animation-direction: @direction;\n}\n.animation-fill-mode(@fill-mode) {\n -webkit-animation-fill-mode: @fill-mode;\n animation-fill-mode: @fill-mode;\n}\n\n// Backface visibility\n// Prevent browsers from flickering when using CSS 3D transforms.\n// Default value is `visible`, but can be changed to `hidden`\n\n.backface-visibility(@visibility) {\n -webkit-backface-visibility: @visibility;\n -moz-backface-visibility: @visibility;\n backface-visibility: @visibility;\n}\n\n// Drop shadows\n//\n// Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's\n// supported browsers that have box shadow capabilities now support it.\n\n.box-shadow(@shadow) {\n -webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1\n box-shadow: @shadow;\n}\n\n// Box sizing\n.box-sizing(@boxmodel) {\n -webkit-box-sizing: @boxmodel;\n -moz-box-sizing: @boxmodel;\n box-sizing: @boxmodel;\n}\n\n// CSS3 Content Columns\n.content-columns(@column-count; @column-gap: @grid-gutter-width) {\n -webkit-column-count: @column-count;\n -moz-column-count: @column-count;\n column-count: @column-count;\n -webkit-column-gap: @column-gap;\n -moz-column-gap: @column-gap;\n column-gap: @column-gap;\n}\n\n// Optional hyphenation\n.hyphens(@mode: auto) {\n word-wrap: break-word;\n -webkit-hyphens: @mode;\n -moz-hyphens: @mode;\n -ms-hyphens: @mode; // IE10+\n -o-hyphens: @mode;\n hyphens: @mode;\n}\n\n// Placeholder text\n.placeholder(@color: @input-color-placeholder) {\n // Firefox\n &::-moz-placeholder {\n color: @color;\n opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526\n }\n &:-ms-input-placeholder { color: @color; } // Internet Explorer 10+\n &::-webkit-input-placeholder { color: @color; } // Safari and Chrome\n}\n\n// Transformations\n.scale(@ratio) {\n -webkit-transform: scale(@ratio);\n -ms-transform: scale(@ratio); // IE9 only\n -o-transform: scale(@ratio);\n transform: scale(@ratio);\n}\n.scale(@ratioX; @ratioY) {\n -webkit-transform: scale(@ratioX, @ratioY);\n -ms-transform: scale(@ratioX, @ratioY); // IE9 only\n -o-transform: scale(@ratioX, @ratioY);\n transform: scale(@ratioX, @ratioY);\n}\n.scaleX(@ratio) {\n -webkit-transform: scaleX(@ratio);\n -ms-transform: scaleX(@ratio); // IE9 only\n -o-transform: scaleX(@ratio);\n transform: scaleX(@ratio);\n}\n.scaleY(@ratio) {\n -webkit-transform: scaleY(@ratio);\n -ms-transform: scaleY(@ratio); // IE9 only\n -o-transform: scaleY(@ratio);\n transform: scaleY(@ratio);\n}\n.skew(@x; @y) {\n -webkit-transform: skewX(@x) skewY(@y);\n -ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+\n -o-transform: skewX(@x) skewY(@y);\n transform: skewX(@x) skewY(@y);\n}\n.translate(@x; @y) {\n -webkit-transform: translate(@x, @y);\n -ms-transform: translate(@x, @y); // IE9 only\n -o-transform: translate(@x, @y);\n transform: translate(@x, @y);\n}\n.translate3d(@x; @y; @z) {\n -webkit-transform: translate3d(@x, @y, @z);\n transform: translate3d(@x, @y, @z);\n}\n.rotate(@degrees) {\n -webkit-transform: rotate(@degrees);\n -ms-transform: rotate(@degrees); // IE9 only\n -o-transform: rotate(@degrees);\n transform: rotate(@degrees);\n}\n.rotateX(@degrees) {\n -webkit-transform: rotateX(@degrees);\n -ms-transform: rotateX(@degrees); // IE9 only\n -o-transform: rotateX(@degrees);\n transform: rotateX(@degrees);\n}\n.rotateY(@degrees) {\n -webkit-transform: rotateY(@degrees);\n -ms-transform: rotateY(@degrees); // IE9 only\n -o-transform: rotateY(@degrees);\n transform: rotateY(@degrees);\n}\n.perspective(@perspective) {\n -webkit-perspective: @perspective;\n -moz-perspective: @perspective;\n perspective: @perspective;\n}\n.perspective-origin(@perspective) {\n -webkit-perspective-origin: @perspective;\n -moz-perspective-origin: @perspective;\n perspective-origin: @perspective;\n}\n.transform-origin(@origin) {\n -webkit-transform-origin: @origin;\n -moz-transform-origin: @origin;\n -ms-transform-origin: @origin; // IE9 only\n transform-origin: @origin;\n}\n\n\n// Transitions\n\n.transition(@transition) {\n -webkit-transition: @transition;\n -o-transition: @transition;\n transition: @transition;\n}\n.transition-property(@transition-property) {\n -webkit-transition-property: @transition-property;\n transition-property: @transition-property;\n}\n.transition-delay(@transition-delay) {\n -webkit-transition-delay: @transition-delay;\n transition-delay: @transition-delay;\n}\n.transition-duration(@transition-duration) {\n -webkit-transition-duration: @transition-duration;\n transition-duration: @transition-duration;\n}\n.transition-timing-function(@timing-function) {\n -webkit-transition-timing-function: @timing-function;\n transition-timing-function: @timing-function;\n}\n.transition-transform(@transition) {\n -webkit-transition: -webkit-transform @transition;\n -moz-transition: -moz-transform @transition;\n -o-transition: -o-transform @transition;\n transition: transform @transition;\n}\n\n\n// User select\n// For selecting text on the page\n\n.user-select(@select) {\n -webkit-user-select: @select;\n -moz-user-select: @select;\n -ms-user-select: @select; // IE10+\n user-select: @select;\n}\n","// WebKit-style focus\n\n.tab-focus() {\n // WebKit-specific. Other browsers will keep their default outline style.\n // (Initially tried to also force default via `outline: initial`,\n // but that seems to erroneously remove the outline in Firefox altogether.)\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\n","// Image Mixins\n// - Responsive image\n// - Retina image\n\n\n// Responsive image\n//\n// Keep images from scaling beyond the width of their parents.\n.img-responsive(@display: block) {\n display: @display;\n max-width: 100%; // Part 1: Set a maximum relative to the parent\n height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching\n}\n\n\n// Retina image\n//\n// Short retina mixin for setting background-image and -size. Note that the\n// spelling of `min--moz-device-pixel-ratio` is intentional.\n.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {\n background-image: url(\"@{file-1x}\");\n\n @media\n only screen and (-webkit-min-device-pixel-ratio: 2),\n only screen and ( min--moz-device-pixel-ratio: 2),\n only screen and ( -o-min-device-pixel-ratio: 2/1),\n only screen and ( min-device-pixel-ratio: 2),\n only screen and ( min-resolution: 192dpi),\n only screen and ( min-resolution: 2dppx) {\n background-image: url(\"@{file-2x}\");\n background-size: @width-1x @height-1x;\n }\n}\n","//\n// Typography\n// --------------------------------------------------\n\n\n// Headings\n// -------------------------\n\nh1, h2, h3, h4, h5, h6,\n.h1, .h2, .h3, .h4, .h5, .h6 {\n font-family: @headings-font-family;\n font-weight: @headings-font-weight;\n line-height: @headings-line-height;\n color: @headings-color;\n\n small,\n .small {\n font-weight: normal;\n line-height: 1;\n color: @headings-small-color;\n }\n}\n\nh1, .h1,\nh2, .h2,\nh3, .h3 {\n margin-top: @line-height-computed;\n margin-bottom: (@line-height-computed / 2);\n\n small,\n .small {\n font-size: 65%;\n }\n}\nh4, .h4,\nh5, .h5,\nh6, .h6 {\n margin-top: (@line-height-computed / 2);\n margin-bottom: (@line-height-computed / 2);\n\n small,\n .small {\n font-size: 75%;\n }\n}\n\nh1, .h1 { font-size: @font-size-h1; }\nh2, .h2 { font-size: @font-size-h2; }\nh3, .h3 { font-size: @font-size-h3; }\nh4, .h4 { font-size: @font-size-h4; }\nh5, .h5 { font-size: @font-size-h5; }\nh6, .h6 { font-size: @font-size-h6; }\n\n\n// Body text\n// -------------------------\n\np {\n margin: 0 0 (@line-height-computed / 2);\n}\n\n.lead {\n margin-bottom: @line-height-computed;\n font-size: floor((@font-size-base * 1.15));\n font-weight: 300;\n line-height: 1.4;\n\n @media (min-width: @screen-sm-min) {\n font-size: (@font-size-base * 1.5);\n }\n}\n\n\n// Emphasis & misc\n// -------------------------\n\n// Ex: (12px small font / 14px base font) * 100% = about 85%\nsmall,\n.small {\n font-size: floor((100% * @font-size-small / @font-size-base));\n}\n\nmark,\n.mark {\n background-color: @state-warning-bg;\n padding: .2em;\n}\n\n// Alignment\n.text-left { text-align: left; }\n.text-right { text-align: right; }\n.text-center { text-align: center; }\n.text-justify { text-align: justify; }\n.text-nowrap { white-space: nowrap; }\n\n// Transformation\n.text-lowercase { text-transform: lowercase; }\n.text-uppercase { text-transform: uppercase; }\n.text-capitalize { text-transform: capitalize; }\n\n// Contextual colors\n.text-muted {\n color: @text-muted;\n}\n.text-primary {\n .text-emphasis-variant(@brand-primary);\n}\n.text-success {\n .text-emphasis-variant(@state-success-text);\n}\n.text-info {\n .text-emphasis-variant(@state-info-text);\n}\n.text-warning {\n .text-emphasis-variant(@state-warning-text);\n}\n.text-danger {\n .text-emphasis-variant(@state-danger-text);\n}\n\n// Contextual backgrounds\n// For now we'll leave these alongside the text classes until v4 when we can\n// safely shift things around (per SemVer rules).\n.bg-primary {\n // Given the contrast here, this is the only class to have its color inverted\n // automatically.\n color: #fff;\n .bg-variant(@brand-primary);\n}\n.bg-success {\n .bg-variant(@state-success-bg);\n}\n.bg-info {\n .bg-variant(@state-info-bg);\n}\n.bg-warning {\n .bg-variant(@state-warning-bg);\n}\n.bg-danger {\n .bg-variant(@state-danger-bg);\n}\n\n\n// Page header\n// -------------------------\n\n.page-header {\n padding-bottom: ((@line-height-computed / 2) - 1);\n margin: (@line-height-computed * 2) 0 @line-height-computed;\n border-bottom: 1px solid @page-header-border-color;\n}\n\n\n// Lists\n// -------------------------\n\n// Unordered and Ordered lists\nul,\nol {\n margin-top: 0;\n margin-bottom: (@line-height-computed / 2);\n ul,\n ol {\n margin-bottom: 0;\n }\n}\n\n// List options\n\n// Unstyled keeps list items block level, just removes default browser padding and list-style\n.list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n\n// Inline turns list items into inline-block\n.list-inline {\n .list-unstyled();\n margin-left: -5px;\n\n > li {\n display: inline-block;\n padding-left: 5px;\n padding-right: 5px;\n }\n}\n\n// Description Lists\ndl {\n margin-top: 0; // Remove browser default\n margin-bottom: @line-height-computed;\n}\ndt,\ndd {\n line-height: @line-height-base;\n}\ndt {\n font-weight: bold;\n}\ndd {\n margin-left: 0; // Undo browser default\n}\n\n// Horizontal description lists\n//\n// Defaults to being stacked without any of the below styles applied, until the\n// grid breakpoint is reached (default of ~768px).\n\n.dl-horizontal {\n dd {\n &:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present\n }\n\n @media (min-width: @dl-horizontal-breakpoint) {\n dt {\n float: left;\n width: (@dl-horizontal-offset - 20);\n clear: left;\n text-align: right;\n .text-overflow();\n }\n dd {\n margin-left: @dl-horizontal-offset;\n }\n }\n}\n\n\n// Misc\n// -------------------------\n\n// Abbreviations and acronyms\nabbr[title],\n// Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257\nabbr[data-original-title] {\n cursor: help;\n border-bottom: 1px dotted @abbr-border-color;\n}\n.initialism {\n font-size: 90%;\n .text-uppercase();\n}\n\n// Blockquotes\nblockquote {\n padding: (@line-height-computed / 2) @line-height-computed;\n margin: 0 0 @line-height-computed;\n font-size: @blockquote-font-size;\n border-left: 5px solid @blockquote-border-color;\n\n p,\n ul,\n ol {\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n // Note: Deprecated small and .small as of v3.1.0\n // Context: https://github.com/twbs/bootstrap/issues/11660\n footer,\n small,\n .small {\n display: block;\n font-size: 80%; // back to default font-size\n line-height: @line-height-base;\n color: @blockquote-small-color;\n\n &:before {\n content: '\\2014 \\00A0'; // em dash, nbsp\n }\n }\n}\n\n// Opposite alignment of blockquote\n//\n// Heads up: `blockquote.pull-right` has been deprecated as of v3.1.0.\n.blockquote-reverse,\nblockquote.pull-right {\n padding-right: 15px;\n padding-left: 0;\n border-right: 5px solid @blockquote-border-color;\n border-left: 0;\n text-align: right;\n\n // Account for citation\n footer,\n small,\n .small {\n &:before { content: ''; }\n &:after {\n content: '\\00A0 \\2014'; // nbsp, em dash\n }\n }\n}\n\n// Addresses\naddress {\n margin-bottom: @line-height-computed;\n font-style: normal;\n line-height: @line-height-base;\n}\n","// Typography\n\n.text-emphasis-variant(@color) {\n color: @color;\n a&:hover,\n a&:focus {\n color: darken(@color, 10%);\n }\n}\n","// Contextual backgrounds\n\n.bg-variant(@color) {\n background-color: @color;\n a&:hover,\n a&:focus {\n background-color: darken(@color, 10%);\n }\n}\n","// Text overflow\n// Requires inline-block or block for proper styling\n\n.text-overflow() {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n","//\n// Code (inline and block)\n// --------------------------------------------------\n\n\n// Inline and block code styles\ncode,\nkbd,\npre,\nsamp {\n font-family: @font-family-monospace;\n}\n\n// Inline code\ncode {\n padding: 2px 4px;\n font-size: 90%;\n color: @code-color;\n background-color: @code-bg;\n border-radius: @border-radius-base;\n}\n\n// User input typically entered via keyboard\nkbd {\n padding: 2px 4px;\n font-size: 90%;\n color: @kbd-color;\n background-color: @kbd-bg;\n border-radius: @border-radius-small;\n box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);\n\n kbd {\n padding: 0;\n font-size: 100%;\n font-weight: bold;\n box-shadow: none;\n }\n}\n\n// Blocks of code\npre {\n display: block;\n padding: ((@line-height-computed - 1) / 2);\n margin: 0 0 (@line-height-computed / 2);\n font-size: (@font-size-base - 1); // 14px to 13px\n line-height: @line-height-base;\n word-break: break-all;\n word-wrap: break-word;\n color: @pre-color;\n background-color: @pre-bg;\n border: 1px solid @pre-border-color;\n border-radius: @border-radius-base;\n\n // Account for some code outputs that place code tags in pre tags\n code {\n padding: 0;\n font-size: inherit;\n color: inherit;\n white-space: pre-wrap;\n background-color: transparent;\n border-radius: 0;\n }\n}\n\n// Enable scrollable blocks of code\n.pre-scrollable {\n max-height: @pre-scrollable-max-height;\n overflow-y: scroll;\n}\n","//\n// Grid system\n// --------------------------------------------------\n\n\n// Container widths\n//\n// Set the container width, and override it for fixed navbars in media queries.\n\n.container {\n .container-fixed();\n\n @media (min-width: @screen-sm-min) {\n width: @container-sm;\n }\n @media (min-width: @screen-md-min) {\n width: @container-md;\n }\n @media (min-width: @screen-lg-min) {\n width: @container-lg;\n }\n}\n\n\n// Fluid container\n//\n// Utilizes the mixin meant for fixed width containers, but without any defined\n// width for fluid, full width layouts.\n\n.container-fluid {\n .container-fixed();\n}\n\n\n// Row\n//\n// Rows contain and clear the floats of your columns.\n\n.row {\n .make-row();\n}\n\n\n// Columns\n//\n// Common styles for small and large grid columns\n\n.make-grid-columns();\n\n\n// Extra small grid\n//\n// Columns, offsets, pushes, and pulls for extra small devices like\n// smartphones.\n\n.make-grid(xs);\n\n\n// Small grid\n//\n// Columns, offsets, pushes, and pulls for the small device range, from phones\n// to tablets.\n\n@media (min-width: @screen-sm-min) {\n .make-grid(sm);\n}\n\n\n// Medium grid\n//\n// Columns, offsets, pushes, and pulls for the desktop device range.\n\n@media (min-width: @screen-md-min) {\n .make-grid(md);\n}\n\n\n// Large grid\n//\n// Columns, offsets, pushes, and pulls for the large desktop device range.\n\n@media (min-width: @screen-lg-min) {\n .make-grid(lg);\n}\n","// Grid system\n//\n// Generate semantic grid columns with these mixins.\n\n// Centered container element\n.container-fixed(@gutter: @grid-gutter-width) {\n margin-right: auto;\n margin-left: auto;\n padding-left: floor((@gutter / 2));\n padding-right: ceil((@gutter / 2));\n &:extend(.clearfix all);\n}\n\n// Creates a wrapper for a series of columns\n.make-row(@gutter: @grid-gutter-width) {\n margin-left: ceil((@gutter / -2));\n margin-right: floor((@gutter / -2));\n &:extend(.clearfix all);\n}\n\n// Generate the extra small columns\n.make-xs-column(@columns; @gutter: @grid-gutter-width) {\n position: relative;\n float: left;\n width: percentage((@columns / @grid-columns));\n min-height: 1px;\n padding-left: (@gutter / 2);\n padding-right: (@gutter / 2);\n}\n.make-xs-column-offset(@columns) {\n margin-left: percentage((@columns / @grid-columns));\n}\n.make-xs-column-push(@columns) {\n left: percentage((@columns / @grid-columns));\n}\n.make-xs-column-pull(@columns) {\n right: percentage((@columns / @grid-columns));\n}\n\n// Generate the small columns\n.make-sm-column(@columns; @gutter: @grid-gutter-width) {\n position: relative;\n min-height: 1px;\n padding-left: (@gutter / 2);\n padding-right: (@gutter / 2);\n\n @media (min-width: @screen-sm-min) {\n float: left;\n width: percentage((@columns / @grid-columns));\n }\n}\n.make-sm-column-offset(@columns) {\n @media (min-width: @screen-sm-min) {\n margin-left: percentage((@columns / @grid-columns));\n }\n}\n.make-sm-column-push(@columns) {\n @media (min-width: @screen-sm-min) {\n left: percentage((@columns / @grid-columns));\n }\n}\n.make-sm-column-pull(@columns) {\n @media (min-width: @screen-sm-min) {\n right: percentage((@columns / @grid-columns));\n }\n}\n\n// Generate the medium columns\n.make-md-column(@columns; @gutter: @grid-gutter-width) {\n position: relative;\n min-height: 1px;\n padding-left: (@gutter / 2);\n padding-right: (@gutter / 2);\n\n @media (min-width: @screen-md-min) {\n float: left;\n width: percentage((@columns / @grid-columns));\n }\n}\n.make-md-column-offset(@columns) {\n @media (min-width: @screen-md-min) {\n margin-left: percentage((@columns / @grid-columns));\n }\n}\n.make-md-column-push(@columns) {\n @media (min-width: @screen-md-min) {\n left: percentage((@columns / @grid-columns));\n }\n}\n.make-md-column-pull(@columns) {\n @media (min-width: @screen-md-min) {\n right: percentage((@columns / @grid-columns));\n }\n}\n\n// Generate the large columns\n.make-lg-column(@columns; @gutter: @grid-gutter-width) {\n position: relative;\n min-height: 1px;\n padding-left: (@gutter / 2);\n padding-right: (@gutter / 2);\n\n @media (min-width: @screen-lg-min) {\n float: left;\n width: percentage((@columns / @grid-columns));\n }\n}\n.make-lg-column-offset(@columns) {\n @media (min-width: @screen-lg-min) {\n margin-left: percentage((@columns / @grid-columns));\n }\n}\n.make-lg-column-push(@columns) {\n @media (min-width: @screen-lg-min) {\n left: percentage((@columns / @grid-columns));\n }\n}\n.make-lg-column-pull(@columns) {\n @media (min-width: @screen-lg-min) {\n right: percentage((@columns / @grid-columns));\n }\n}\n","// Framework grid generation\n//\n// Used only by Bootstrap to generate the correct number of grid classes given\n// any value of `@grid-columns`.\n\n.make-grid-columns() {\n // Common styles for all sizes of grid columns, widths 1-12\n .col(@index) { // initial\n @item: ~\".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}\";\n .col((@index + 1), @item);\n }\n .col(@index, @list) when (@index =< @grid-columns) { // general; \"=<\" isn't a typo\n @item: ~\".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}\";\n .col((@index + 1), ~\"@{list}, @{item}\");\n }\n .col(@index, @list) when (@index > @grid-columns) { // terminal\n @{list} {\n position: relative;\n // Prevent columns from collapsing when empty\n min-height: 1px;\n // Inner gutter via padding\n padding-left: ceil((@grid-gutter-width / 2));\n padding-right: floor((@grid-gutter-width / 2));\n }\n }\n .col(1); // kickstart it\n}\n\n.float-grid-columns(@class) {\n .col(@index) { // initial\n @item: ~\".col-@{class}-@{index}\";\n .col((@index + 1), @item);\n }\n .col(@index, @list) when (@index =< @grid-columns) { // general\n @item: ~\".col-@{class}-@{index}\";\n .col((@index + 1), ~\"@{list}, @{item}\");\n }\n .col(@index, @list) when (@index > @grid-columns) { // terminal\n @{list} {\n float: left;\n }\n }\n .col(1); // kickstart it\n}\n\n.calc-grid-column(@index, @class, @type) when (@type = width) and (@index > 0) {\n .col-@{class}-@{index} {\n width: percentage((@index / @grid-columns));\n }\n}\n.calc-grid-column(@index, @class, @type) when (@type = push) and (@index > 0) {\n .col-@{class}-push-@{index} {\n left: percentage((@index / @grid-columns));\n }\n}\n.calc-grid-column(@index, @class, @type) when (@type = push) and (@index = 0) {\n .col-@{class}-push-0 {\n left: auto;\n }\n}\n.calc-grid-column(@index, @class, @type) when (@type = pull) and (@index > 0) {\n .col-@{class}-pull-@{index} {\n right: percentage((@index / @grid-columns));\n }\n}\n.calc-grid-column(@index, @class, @type) when (@type = pull) and (@index = 0) {\n .col-@{class}-pull-0 {\n right: auto;\n }\n}\n.calc-grid-column(@index, @class, @type) when (@type = offset) {\n .col-@{class}-offset-@{index} {\n margin-left: percentage((@index / @grid-columns));\n }\n}\n\n// Basic looping in LESS\n.loop-grid-columns(@index, @class, @type) when (@index >= 0) {\n .calc-grid-column(@index, @class, @type);\n // next iteration\n .loop-grid-columns((@index - 1), @class, @type);\n}\n\n// Create grid for specific class\n.make-grid(@class) {\n .float-grid-columns(@class);\n .loop-grid-columns(@grid-columns, @class, width);\n .loop-grid-columns(@grid-columns, @class, pull);\n .loop-grid-columns(@grid-columns, @class, push);\n .loop-grid-columns(@grid-columns, @class, offset);\n}\n","//\n// Tables\n// --------------------------------------------------\n\n\ntable {\n background-color: @table-bg;\n}\ncaption {\n padding-top: @table-cell-padding;\n padding-bottom: @table-cell-padding;\n color: @text-muted;\n text-align: left;\n}\nth {\n text-align: left;\n}\n\n\n// Baseline styles\n\n.table {\n width: 100%;\n max-width: 100%;\n margin-bottom: @line-height-computed;\n // Cells\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th,\n > td {\n padding: @table-cell-padding;\n line-height: @line-height-base;\n vertical-align: top;\n border-top: 1px solid @table-border-color;\n }\n }\n }\n // Bottom align for column headings\n > thead > tr > th {\n vertical-align: bottom;\n border-bottom: 2px solid @table-border-color;\n }\n // Remove top border from thead by default\n > caption + thead,\n > colgroup + thead,\n > thead:first-child {\n > tr:first-child {\n > th,\n > td {\n border-top: 0;\n }\n }\n }\n // Account for multiple tbody instances\n > tbody + tbody {\n border-top: 2px solid @table-border-color;\n }\n\n // Nesting\n .table {\n background-color: @body-bg;\n }\n}\n\n\n// Condensed table w/ half padding\n\n.table-condensed {\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th,\n > td {\n padding: @table-condensed-cell-padding;\n }\n }\n }\n}\n\n\n// Bordered version\n//\n// Add borders all around the table and between all the columns.\n\n.table-bordered {\n border: 1px solid @table-border-color;\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th,\n > td {\n border: 1px solid @table-border-color;\n }\n }\n }\n > thead > tr {\n > th,\n > td {\n border-bottom-width: 2px;\n }\n }\n}\n\n\n// Zebra-striping\n//\n// Default zebra-stripe styles (alternating gray and transparent backgrounds)\n\n.table-striped {\n > tbody > tr:nth-of-type(odd) {\n background-color: @table-bg-accent;\n }\n}\n\n\n// Hover effect\n//\n// Placed here since it has to come after the potential zebra striping\n\n.table-hover {\n > tbody > tr:hover {\n background-color: @table-bg-hover;\n }\n}\n\n\n// Table cell sizing\n//\n// Reset default table behavior\n\ntable col[class*=\"col-\"] {\n position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)\n float: none;\n display: table-column;\n}\ntable {\n td,\n th {\n &[class*=\"col-\"] {\n position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)\n float: none;\n display: table-cell;\n }\n }\n}\n\n\n// Table backgrounds\n//\n// Exact selectors below required to override `.table-striped` and prevent\n// inheritance to nested tables.\n\n// Generate the contextual variants\n.table-row-variant(active; @table-bg-active);\n.table-row-variant(success; @state-success-bg);\n.table-row-variant(info; @state-info-bg);\n.table-row-variant(warning; @state-warning-bg);\n.table-row-variant(danger; @state-danger-bg);\n\n\n// Responsive tables\n//\n// Wrap your tables in `.table-responsive` and we'll make them mobile friendly\n// by enabling horizontal scrolling. Only applies <768px. Everything above that\n// will display normally.\n\n.table-responsive {\n overflow-x: auto;\n min-height: 0.01%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)\n\n @media screen and (max-width: @screen-xs-max) {\n width: 100%;\n margin-bottom: (@line-height-computed * 0.75);\n overflow-y: hidden;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n border: 1px solid @table-border-color;\n\n // Tighten up spacing\n > .table {\n margin-bottom: 0;\n\n // Ensure the content doesn't wrap\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th,\n > td {\n white-space: nowrap;\n }\n }\n }\n }\n\n // Special overrides for the bordered tables\n > .table-bordered {\n border: 0;\n\n // Nuke the appropriate borders so that the parent can handle them\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th:first-child,\n > td:first-child {\n border-left: 0;\n }\n > th:last-child,\n > td:last-child {\n border-right: 0;\n }\n }\n }\n\n // Only nuke the last row's bottom-border in `tbody` and `tfoot` since\n // chances are there will be only one `tr` in a `thead` and that would\n // remove the border altogether.\n > tbody,\n > tfoot {\n > tr:last-child {\n > th,\n > td {\n border-bottom: 0;\n }\n }\n }\n\n }\n }\n}\n","// Tables\n\n.table-row-variant(@state; @background) {\n // Exact selectors below required to override `.table-striped` and prevent\n // inheritance to nested tables.\n .table > thead > tr,\n .table > tbody > tr,\n .table > tfoot > tr {\n > td.@{state},\n > th.@{state},\n &.@{state} > td,\n &.@{state} > th {\n background-color: @background;\n }\n }\n\n // Hover states for `.table-hover`\n // Note: this is not available for cells or rows within `thead` or `tfoot`.\n .table-hover > tbody > tr {\n > td.@{state}:hover,\n > th.@{state}:hover,\n &.@{state}:hover > td,\n &:hover > .@{state},\n &.@{state}:hover > th {\n background-color: darken(@background, 5%);\n }\n }\n}\n","//\n// Forms\n// --------------------------------------------------\n\n\n// Normalize non-controls\n//\n// Restyle and baseline non-control form elements.\n\nfieldset {\n padding: 0;\n margin: 0;\n border: 0;\n // Chrome and Firefox set a `min-width: min-content;` on fieldsets,\n // so we reset that to ensure it behaves more like a standard block element.\n // See https://github.com/twbs/bootstrap/issues/12359.\n min-width: 0;\n}\n\nlegend {\n display: block;\n width: 100%;\n padding: 0;\n margin-bottom: @line-height-computed;\n font-size: (@font-size-base * 1.5);\n line-height: inherit;\n color: @legend-color;\n border: 0;\n border-bottom: 1px solid @legend-border-color;\n}\n\nlabel {\n display: inline-block;\n max-width: 100%; // Force IE8 to wrap long content (see https://github.com/twbs/bootstrap/issues/13141)\n margin-bottom: 5px;\n font-weight: bold;\n}\n\n\n// Normalize form controls\n//\n// While most of our form styles require extra classes, some basic normalization\n// is required to ensure optimum display with or without those classes to better\n// address browser inconsistencies.\n\n// Override content-box in Normalize (* isn't specific enough)\ninput[type=\"search\"] {\n .box-sizing(border-box);\n}\n\n// Position radios and checkboxes better\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n margin: 4px 0 0;\n margin-top: 1px \\9; // IE8-9\n line-height: normal;\n}\n\ninput[type=\"file\"] {\n display: block;\n}\n\n// Make range inputs behave like textual form controls\ninput[type=\"range\"] {\n display: block;\n width: 100%;\n}\n\n// Make multiple select elements height not fixed\nselect[multiple],\nselect[size] {\n height: auto;\n}\n\n// Focus for file, radio, and checkbox\ninput[type=\"file\"]:focus,\ninput[type=\"radio\"]:focus,\ninput[type=\"checkbox\"]:focus {\n .tab-focus();\n}\n\n// Adjust output element\noutput {\n display: block;\n padding-top: (@padding-base-vertical + 1);\n font-size: @font-size-base;\n line-height: @line-height-base;\n color: @input-color;\n}\n\n\n// Common form controls\n//\n// Shared size and type resets for form controls. Apply `.form-control` to any\n// of the following form controls:\n//\n// select\n// textarea\n// input[type=\"text\"]\n// input[type=\"password\"]\n// input[type=\"datetime\"]\n// input[type=\"datetime-local\"]\n// input[type=\"date\"]\n// input[type=\"month\"]\n// input[type=\"time\"]\n// input[type=\"week\"]\n// input[type=\"number\"]\n// input[type=\"email\"]\n// input[type=\"url\"]\n// input[type=\"search\"]\n// input[type=\"tel\"]\n// input[type=\"color\"]\n\n.form-control {\n display: block;\n width: 100%;\n height: @input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border)\n padding: @padding-base-vertical @padding-base-horizontal;\n font-size: @font-size-base;\n line-height: @line-height-base;\n color: @input-color;\n background-color: @input-bg;\n background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214\n border: 1px solid @input-border;\n border-radius: @input-border-radius; // Note: This has no effect on s in CSS.\n .box-shadow(inset 0 1px 1px rgba(0,0,0,.075));\n .transition(~\"border-color ease-in-out .15s, box-shadow ease-in-out .15s\");\n\n // Customize the `:focus` state to imitate native WebKit styles.\n .form-control-focus();\n\n // Placeholder\n .placeholder();\n\n // Unstyle the caret on ``\n// element gets special love because it's special, and that's a fact!\n.input-size(@input-height; @padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {\n height: @input-height;\n padding: @padding-vertical @padding-horizontal;\n font-size: @font-size;\n line-height: @line-height;\n border-radius: @border-radius;\n\n select& {\n height: @input-height;\n line-height: @input-height;\n }\n\n textarea&,\n select[multiple]& {\n height: auto;\n }\n}\n","//\n// Buttons\n// --------------------------------------------------\n\n\n// Base styles\n// --------------------------------------------------\n\n.btn {\n display: inline-block;\n margin-bottom: 0; // For input.btn\n font-weight: @btn-font-weight;\n text-align: center;\n vertical-align: middle;\n touch-action: manipulation;\n cursor: pointer;\n background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214\n border: 1px solid transparent;\n white-space: nowrap;\n .button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @btn-border-radius-base);\n .user-select(none);\n\n &,\n &:active,\n &.active {\n &:focus,\n &.focus {\n .tab-focus();\n }\n }\n\n &:hover,\n &:focus,\n &.focus {\n color: @btn-default-color;\n text-decoration: none;\n }\n\n &:active,\n &.active {\n outline: 0;\n background-image: none;\n .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));\n }\n\n &.disabled,\n &[disabled],\n fieldset[disabled] & {\n cursor: @cursor-disabled;\n .opacity(.65);\n .box-shadow(none);\n }\n\n a& {\n &.disabled,\n fieldset[disabled] & {\n pointer-events: none; // Future-proof disabling of clicks on `` elements\n }\n }\n}\n\n\n// Alternate buttons\n// --------------------------------------------------\n\n.btn-default {\n .button-variant(@btn-default-color; @btn-default-bg; @btn-default-border);\n}\n.btn-primary {\n .button-variant(@btn-primary-color; @btn-primary-bg; @btn-primary-border);\n}\n// Success appears as green\n.btn-success {\n .button-variant(@btn-success-color; @btn-success-bg; @btn-success-border);\n}\n// Info appears as blue-green\n.btn-info {\n .button-variant(@btn-info-color; @btn-info-bg; @btn-info-border);\n}\n// Warning appears as orange\n.btn-warning {\n .button-variant(@btn-warning-color; @btn-warning-bg; @btn-warning-border);\n}\n// Danger and error appear as red\n.btn-danger {\n .button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);\n}\n\n\n// Link buttons\n// -------------------------\n\n// Make a button look and behave like a link\n.btn-link {\n color: @link-color;\n font-weight: normal;\n border-radius: 0;\n\n &,\n &:active,\n &.active,\n &[disabled],\n fieldset[disabled] & {\n background-color: transparent;\n .box-shadow(none);\n }\n &,\n &:hover,\n &:focus,\n &:active {\n border-color: transparent;\n }\n &:hover,\n &:focus {\n color: @link-hover-color;\n text-decoration: @link-hover-decoration;\n background-color: transparent;\n }\n &[disabled],\n fieldset[disabled] & {\n &:hover,\n &:focus {\n color: @btn-link-disabled-color;\n text-decoration: none;\n }\n }\n}\n\n\n// Button Sizes\n// --------------------------------------------------\n\n.btn-lg {\n // line-height: ensure even-numbered height of button next to large input\n .button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @btn-border-radius-large);\n}\n.btn-sm {\n // line-height: ensure proper height of button next to small input\n .button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @btn-border-radius-small);\n}\n.btn-xs {\n .button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @btn-border-radius-small);\n}\n\n\n// Block button\n// --------------------------------------------------\n\n.btn-block {\n display: block;\n width: 100%;\n}\n\n// Vertically space out multiple block buttons\n.btn-block + .btn-block {\n margin-top: 5px;\n}\n\n// Specificity overrides\ninput[type=\"submit\"],\ninput[type=\"reset\"],\ninput[type=\"button\"] {\n &.btn-block {\n width: 100%;\n }\n}\n","// Button variants\n//\n// Easily pump out default styles, as well as :hover, :focus, :active,\n// and disabled options for all buttons\n\n.button-variant(@color; @background; @border) {\n color: @color;\n background-color: @background;\n border-color: @border;\n\n &:focus,\n &.focus {\n color: @color;\n background-color: darken(@background, 10%);\n border-color: darken(@border, 25%);\n }\n &:hover {\n color: @color;\n background-color: darken(@background, 10%);\n border-color: darken(@border, 12%);\n }\n &:active,\n &.active,\n .open > .dropdown-toggle& {\n color: @color;\n background-color: darken(@background, 10%);\n border-color: darken(@border, 12%);\n\n &:hover,\n &:focus,\n &.focus {\n color: @color;\n background-color: darken(@background, 17%);\n border-color: darken(@border, 25%);\n }\n }\n &:active,\n &.active,\n .open > .dropdown-toggle& {\n background-image: none;\n }\n &.disabled,\n &[disabled],\n fieldset[disabled] & {\n &:hover,\n &:focus,\n &.focus {\n background-color: @background;\n border-color: @border;\n }\n }\n\n .badge {\n color: @background;\n background-color: @color;\n }\n}\n\n// Button sizes\n.button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {\n padding: @padding-vertical @padding-horizontal;\n font-size: @font-size;\n line-height: @line-height;\n border-radius: @border-radius;\n}\n","// Opacity\n\n.opacity(@opacity) {\n opacity: @opacity;\n // IE8 filter\n @opacity-ie: (@opacity * 100);\n filter: ~\"alpha(opacity=@{opacity-ie})\";\n}\n","//\n// Component animations\n// --------------------------------------------------\n\n// Heads up!\n//\n// We don't use the `.opacity()` mixin here since it causes a bug with text\n// fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552.\n\n.fade {\n opacity: 0;\n .transition(opacity .15s linear);\n &.in {\n opacity: 1;\n }\n}\n\n.collapse {\n display: none;\n\n &.in { display: block; }\n tr&.in { display: table-row; }\n tbody&.in { display: table-row-group; }\n}\n\n.collapsing {\n position: relative;\n height: 0;\n overflow: hidden;\n .transition-property(~\"height, visibility\");\n .transition-duration(.35s);\n .transition-timing-function(ease);\n}\n","//\n// Dropdown menus\n// --------------------------------------------------\n\n\n// Dropdown arrow/caret\n.caret {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 2px;\n vertical-align: middle;\n border-top: @caret-width-base dashed;\n border-top: @caret-width-base solid ~\"\\9\"; // IE8\n border-right: @caret-width-base solid transparent;\n border-left: @caret-width-base solid transparent;\n}\n\n// The dropdown wrapper (div)\n.dropup,\n.dropdown {\n position: relative;\n}\n\n// Prevent the focus on the dropdown toggle when closing dropdowns\n.dropdown-toggle:focus {\n outline: 0;\n}\n\n// The dropdown menu (ul)\n.dropdown-menu {\n position: absolute;\n top: 100%;\n left: 0;\n z-index: @zindex-dropdown;\n display: none; // none by default, but block on \"open\" of the menu\n float: left;\n min-width: 160px;\n padding: 5px 0;\n margin: 2px 0 0; // override default ul\n list-style: none;\n font-size: @font-size-base;\n text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)\n background-color: @dropdown-bg;\n border: 1px solid @dropdown-fallback-border; // IE8 fallback\n border: 1px solid @dropdown-border;\n border-radius: @border-radius-base;\n .box-shadow(0 6px 12px rgba(0,0,0,.175));\n background-clip: padding-box;\n\n // Aligns the dropdown menu to right\n //\n // Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]`\n &.pull-right {\n right: 0;\n left: auto;\n }\n\n // Dividers (basically an hr) within the dropdown\n .divider {\n .nav-divider(@dropdown-divider-bg);\n }\n\n // Links within the dropdown menu\n > li > a {\n display: block;\n padding: 3px 20px;\n clear: both;\n font-weight: normal;\n line-height: @line-height-base;\n color: @dropdown-link-color;\n white-space: nowrap; // prevent links from randomly breaking onto new lines\n }\n}\n\n// Hover/Focus state\n.dropdown-menu > li > a {\n &:hover,\n &:focus {\n text-decoration: none;\n color: @dropdown-link-hover-color;\n background-color: @dropdown-link-hover-bg;\n }\n}\n\n// Active state\n.dropdown-menu > .active > a {\n &,\n &:hover,\n &:focus {\n color: @dropdown-link-active-color;\n text-decoration: none;\n outline: 0;\n background-color: @dropdown-link-active-bg;\n }\n}\n\n// Disabled state\n//\n// Gray out text and ensure the hover/focus state remains gray\n\n.dropdown-menu > .disabled > a {\n &,\n &:hover,\n &:focus {\n color: @dropdown-link-disabled-color;\n }\n\n // Nuke hover/focus effects\n &:hover,\n &:focus {\n text-decoration: none;\n background-color: transparent;\n background-image: none; // Remove CSS gradient\n .reset-filter();\n cursor: @cursor-disabled;\n }\n}\n\n// Open state for the dropdown\n.open {\n // Show the menu\n > .dropdown-menu {\n display: block;\n }\n\n // Remove the outline when :focus is triggered\n > a {\n outline: 0;\n }\n}\n\n// Menu positioning\n//\n// Add extra class to `.dropdown-menu` to flip the alignment of the dropdown\n// menu with the parent.\n.dropdown-menu-right {\n left: auto; // Reset the default from `.dropdown-menu`\n right: 0;\n}\n// With v3, we enabled auto-flipping if you have a dropdown within a right\n// aligned nav component. To enable the undoing of that, we provide an override\n// to restore the default dropdown menu alignment.\n//\n// This is only for left-aligning a dropdown menu within a `.navbar-right` or\n// `.pull-right` nav component.\n.dropdown-menu-left {\n left: 0;\n right: auto;\n}\n\n// Dropdown section headers\n.dropdown-header {\n display: block;\n padding: 3px 20px;\n font-size: @font-size-small;\n line-height: @line-height-base;\n color: @dropdown-header-color;\n white-space: nowrap; // as with > li > a\n}\n\n// Backdrop to catch body clicks on mobile, etc.\n.dropdown-backdrop {\n position: fixed;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n z-index: (@zindex-dropdown - 10);\n}\n\n// Right aligned dropdowns\n.pull-right > .dropdown-menu {\n right: 0;\n left: auto;\n}\n\n// Allow for dropdowns to go bottom up (aka, dropup-menu)\n//\n// Just add .dropup after the standard .dropdown class and you're set, bro.\n// TODO: abstract this so that the navbar fixed styles are not placed here?\n\n.dropup,\n.navbar-fixed-bottom .dropdown {\n // Reverse the caret\n .caret {\n border-top: 0;\n border-bottom: @caret-width-base dashed;\n border-bottom: @caret-width-base solid ~\"\\9\"; // IE8\n content: \"\";\n }\n // Different positioning for bottom up menu\n .dropdown-menu {\n top: auto;\n bottom: 100%;\n margin-bottom: 2px;\n }\n}\n\n\n// Component alignment\n//\n// Reiterate per navbar.less and the modified component alignment there.\n\n@media (min-width: @grid-float-breakpoint) {\n .navbar-right {\n .dropdown-menu {\n .dropdown-menu-right();\n }\n // Necessary for overrides of the default right aligned menu.\n // Will remove come v4 in all likelihood.\n .dropdown-menu-left {\n .dropdown-menu-left();\n }\n }\n}\n","// Horizontal dividers\n//\n// Dividers (basically an hr) within dropdowns and nav lists\n\n.nav-divider(@color: #e5e5e5) {\n height: 1px;\n margin: ((@line-height-computed / 2) - 1) 0;\n overflow: hidden;\n background-color: @color;\n}\n","// Reset filters for IE\n//\n// When you need to remove a gradient background, do not forget to use this to reset\n// the IE filter for IE9 and below.\n\n.reset-filter() {\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(enabled = false)\"));\n}\n","//\n// Button groups\n// --------------------------------------------------\n\n// Make the div behave like a button\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-block;\n vertical-align: middle; // match .btn alignment given font-size hack above\n > .btn {\n position: relative;\n float: left;\n // Bring the \"active\" button to the front\n &:hover,\n &:focus,\n &:active,\n &.active {\n z-index: 2;\n }\n }\n}\n\n// Prevent double borders when buttons are next to each other\n.btn-group {\n .btn + .btn,\n .btn + .btn-group,\n .btn-group + .btn,\n .btn-group + .btn-group {\n margin-left: -1px;\n }\n}\n\n// Optional: Group multiple button groups together for a toolbar\n.btn-toolbar {\n margin-left: -5px; // Offset the first child's margin\n &:extend(.clearfix all);\n\n .btn,\n .btn-group,\n .input-group {\n float: left;\n }\n > .btn,\n > .btn-group,\n > .input-group {\n margin-left: 5px;\n }\n}\n\n.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {\n border-radius: 0;\n}\n\n// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match\n.btn-group > .btn:first-child {\n margin-left: 0;\n &:not(:last-child):not(.dropdown-toggle) {\n .border-right-radius(0);\n }\n}\n// Need .dropdown-toggle since :last-child doesn't apply, given that a .dropdown-menu is used immediately after it\n.btn-group > .btn:last-child:not(:first-child),\n.btn-group > .dropdown-toggle:not(:first-child) {\n .border-left-radius(0);\n}\n\n// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)\n.btn-group > .btn-group {\n float: left;\n}\n.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group > .btn-group:first-child:not(:last-child) {\n > .btn:last-child,\n > .dropdown-toggle {\n .border-right-radius(0);\n }\n}\n.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {\n .border-left-radius(0);\n}\n\n// On active and open, don't show outline\n.btn-group .dropdown-toggle:active,\n.btn-group.open .dropdown-toggle {\n outline: 0;\n}\n\n\n// Sizing\n//\n// Remix the default button sizing classes into new ones for easier manipulation.\n\n.btn-group-xs > .btn { &:extend(.btn-xs); }\n.btn-group-sm > .btn { &:extend(.btn-sm); }\n.btn-group-lg > .btn { &:extend(.btn-lg); }\n\n\n// Split button dropdowns\n// ----------------------\n\n// Give the line between buttons some depth\n.btn-group > .btn + .dropdown-toggle {\n padding-left: 8px;\n padding-right: 8px;\n}\n.btn-group > .btn-lg + .dropdown-toggle {\n padding-left: 12px;\n padding-right: 12px;\n}\n\n// The clickable button for toggling the menu\n// Remove the gradient and set the same inset shadow as the :active state\n.btn-group.open .dropdown-toggle {\n .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));\n\n // Show no shadow for `.btn-link` since it has no other button styles.\n &.btn-link {\n .box-shadow(none);\n }\n}\n\n\n// Reposition the caret\n.btn .caret {\n margin-left: 0;\n}\n// Carets in other button sizes\n.btn-lg .caret {\n border-width: @caret-width-large @caret-width-large 0;\n border-bottom-width: 0;\n}\n// Upside down carets for .dropup\n.dropup .btn-lg .caret {\n border-width: 0 @caret-width-large @caret-width-large;\n}\n\n\n// Vertical button groups\n// ----------------------\n\n.btn-group-vertical {\n > .btn,\n > .btn-group,\n > .btn-group > .btn {\n display: block;\n float: none;\n width: 100%;\n max-width: 100%;\n }\n\n // Clear floats so dropdown menus can be properly placed\n > .btn-group {\n &:extend(.clearfix all);\n > .btn {\n float: none;\n }\n }\n\n > .btn + .btn,\n > .btn + .btn-group,\n > .btn-group + .btn,\n > .btn-group + .btn-group {\n margin-top: -1px;\n margin-left: 0;\n }\n}\n\n.btn-group-vertical > .btn {\n &:not(:first-child):not(:last-child) {\n border-radius: 0;\n }\n &:first-child:not(:last-child) {\n .border-top-radius(@btn-border-radius-base);\n .border-bottom-radius(0);\n }\n &:last-child:not(:first-child) {\n .border-top-radius(0);\n .border-bottom-radius(@btn-border-radius-base);\n }\n}\n.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group-vertical > .btn-group:first-child:not(:last-child) {\n > .btn:last-child,\n > .dropdown-toggle {\n .border-bottom-radius(0);\n }\n}\n.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {\n .border-top-radius(0);\n}\n\n\n// Justified button groups\n// ----------------------\n\n.btn-group-justified {\n display: table;\n width: 100%;\n table-layout: fixed;\n border-collapse: separate;\n > .btn,\n > .btn-group {\n float: none;\n display: table-cell;\n width: 1%;\n }\n > .btn-group .btn {\n width: 100%;\n }\n\n > .btn-group .dropdown-menu {\n left: auto;\n }\n}\n\n\n// Checkbox and radio options\n//\n// In order to support the browser's form validation feedback, powered by the\n// `required` attribute, we have to \"hide\" the inputs via `clip`. We cannot use\n// `display: none;` or `visibility: hidden;` as that also hides the popover.\n// Simply visually hiding the inputs via `opacity` would leave them clickable in\n// certain cases which is prevented by using `clip` and `pointer-events`.\n// This way, we ensure a DOM element is visible to position the popover from.\n//\n// See https://github.com/twbs/bootstrap/pull/12794 and\n// https://github.com/twbs/bootstrap/pull/14559 for more information.\n\n[data-toggle=\"buttons\"] {\n > .btn,\n > .btn-group > .btn {\n input[type=\"radio\"],\n input[type=\"checkbox\"] {\n position: absolute;\n clip: rect(0,0,0,0);\n pointer-events: none;\n }\n }\n}\n","// Single side border-radius\n\n.border-top-radius(@radius) {\n border-top-right-radius: @radius;\n border-top-left-radius: @radius;\n}\n.border-right-radius(@radius) {\n border-bottom-right-radius: @radius;\n border-top-right-radius: @radius;\n}\n.border-bottom-radius(@radius) {\n border-bottom-right-radius: @radius;\n border-bottom-left-radius: @radius;\n}\n.border-left-radius(@radius) {\n border-bottom-left-radius: @radius;\n border-top-left-radius: @radius;\n}\n","//\n// Input groups\n// --------------------------------------------------\n\n// Base styles\n// -------------------------\n.input-group {\n position: relative; // For dropdowns\n display: table;\n border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table\n\n // Undo padding and float of grid classes\n &[class*=\"col-\"] {\n float: none;\n padding-left: 0;\n padding-right: 0;\n }\n\n .form-control {\n // Ensure that the input is always above the *appended* addon button for\n // proper border colors.\n position: relative;\n z-index: 2;\n\n // IE9 fubars the placeholder attribute in text inputs and the arrows on\n // select elements in input groups. To fix it, we float the input. Details:\n // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855\n float: left;\n\n width: 100%;\n margin-bottom: 0;\n\n &:focus {\n z-index: 3;\n }\n }\n}\n\n// Sizing options\n//\n// Remix the default form control sizing classes into new ones for easier\n// manipulation.\n\n.input-group-lg > .form-control,\n.input-group-lg > .input-group-addon,\n.input-group-lg > .input-group-btn > .btn {\n .input-lg();\n}\n.input-group-sm > .form-control,\n.input-group-sm > .input-group-addon,\n.input-group-sm > .input-group-btn > .btn {\n .input-sm();\n}\n\n\n// Display as table-cell\n// -------------------------\n.input-group-addon,\n.input-group-btn,\n.input-group .form-control {\n display: table-cell;\n\n &:not(:first-child):not(:last-child) {\n border-radius: 0;\n }\n}\n// Addon and addon wrapper for buttons\n.input-group-addon,\n.input-group-btn {\n width: 1%;\n white-space: nowrap;\n vertical-align: middle; // Match the inputs\n}\n\n// Text input groups\n// -------------------------\n.input-group-addon {\n padding: @padding-base-vertical @padding-base-horizontal;\n font-size: @font-size-base;\n font-weight: normal;\n line-height: 1;\n color: @input-color;\n text-align: center;\n background-color: @input-group-addon-bg;\n border: 1px solid @input-group-addon-border-color;\n border-radius: @input-border-radius;\n\n // Sizing\n &.input-sm {\n padding: @padding-small-vertical @padding-small-horizontal;\n font-size: @font-size-small;\n border-radius: @input-border-radius-small;\n }\n &.input-lg {\n padding: @padding-large-vertical @padding-large-horizontal;\n font-size: @font-size-large;\n border-radius: @input-border-radius-large;\n }\n\n // Nuke default margins from checkboxes and radios to vertically center within.\n input[type=\"radio\"],\n input[type=\"checkbox\"] {\n margin-top: 0;\n }\n}\n\n// Reset rounded corners\n.input-group .form-control:first-child,\n.input-group-addon:first-child,\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group > .btn,\n.input-group-btn:first-child > .dropdown-toggle,\n.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),\n.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {\n .border-right-radius(0);\n}\n.input-group-addon:first-child {\n border-right: 0;\n}\n.input-group .form-control:last-child,\n.input-group-addon:last-child,\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group > .btn,\n.input-group-btn:last-child > .dropdown-toggle,\n.input-group-btn:first-child > .btn:not(:first-child),\n.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {\n .border-left-radius(0);\n}\n.input-group-addon:last-child {\n border-left: 0;\n}\n\n// Button input groups\n// -------------------------\n.input-group-btn {\n position: relative;\n // Jankily prevent input button groups from wrapping with `white-space` and\n // `font-size` in combination with `inline-block` on buttons.\n font-size: 0;\n white-space: nowrap;\n\n // Negative margin for spacing, position for bringing hovered/focused/actived\n // element above the siblings.\n > .btn {\n position: relative;\n + .btn {\n margin-left: -1px;\n }\n // Bring the \"active\" button to the front\n &:hover,\n &:focus,\n &:active {\n z-index: 2;\n }\n }\n\n // Negative margin to only have a 1px border between the two\n &:first-child {\n > .btn,\n > .btn-group {\n margin-right: -1px;\n }\n }\n &:last-child {\n > .btn,\n > .btn-group {\n z-index: 2;\n margin-left: -1px;\n }\n }\n}\n","//\n// Navs\n// --------------------------------------------------\n\n\n// Base class\n// --------------------------------------------------\n\n.nav {\n margin-bottom: 0;\n padding-left: 0; // Override default ul/ol\n list-style: none;\n &:extend(.clearfix all);\n\n > li {\n position: relative;\n display: block;\n\n > a {\n position: relative;\n display: block;\n padding: @nav-link-padding;\n &:hover,\n &:focus {\n text-decoration: none;\n background-color: @nav-link-hover-bg;\n }\n }\n\n // Disabled state sets text to gray and nukes hover/tab effects\n &.disabled > a {\n color: @nav-disabled-link-color;\n\n &:hover,\n &:focus {\n color: @nav-disabled-link-hover-color;\n text-decoration: none;\n background-color: transparent;\n cursor: @cursor-disabled;\n }\n }\n }\n\n // Open dropdowns\n .open > a {\n &,\n &:hover,\n &:focus {\n background-color: @nav-link-hover-bg;\n border-color: @link-color;\n }\n }\n\n // Nav dividers (deprecated with v3.0.1)\n //\n // This should have been removed in v3 with the dropping of `.nav-list`, but\n // we missed it. We don't currently support this anywhere, but in the interest\n // of maintaining backward compatibility in case you use it, it's deprecated.\n .nav-divider {\n .nav-divider();\n }\n\n // Prevent IE8 from misplacing imgs\n //\n // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989\n > li > a > img {\n max-width: none;\n }\n}\n\n\n// Tabs\n// -------------------------\n\n// Give the tabs something to sit on\n.nav-tabs {\n border-bottom: 1px solid @nav-tabs-border-color;\n > li {\n float: left;\n // Make the list-items overlay the bottom border\n margin-bottom: -1px;\n\n // Actual tabs (as links)\n > a {\n margin-right: 2px;\n line-height: @line-height-base;\n border: 1px solid transparent;\n border-radius: @border-radius-base @border-radius-base 0 0;\n &:hover {\n border-color: @nav-tabs-link-hover-border-color @nav-tabs-link-hover-border-color @nav-tabs-border-color;\n }\n }\n\n // Active state, and its :hover to override normal :hover\n &.active > a {\n &,\n &:hover,\n &:focus {\n color: @nav-tabs-active-link-hover-color;\n background-color: @nav-tabs-active-link-hover-bg;\n border: 1px solid @nav-tabs-active-link-hover-border-color;\n border-bottom-color: transparent;\n cursor: default;\n }\n }\n }\n // pulling this in mainly for less shorthand\n &.nav-justified {\n .nav-justified();\n .nav-tabs-justified();\n }\n}\n\n\n// Pills\n// -------------------------\n.nav-pills {\n > li {\n float: left;\n\n // Links rendered as pills\n > a {\n border-radius: @nav-pills-border-radius;\n }\n + li {\n margin-left: 2px;\n }\n\n // Active state\n &.active > a {\n &,\n &:hover,\n &:focus {\n color: @nav-pills-active-link-hover-color;\n background-color: @nav-pills-active-link-hover-bg;\n }\n }\n }\n}\n\n\n// Stacked pills\n.nav-stacked {\n > li {\n float: none;\n + li {\n margin-top: 2px;\n margin-left: 0; // no need for this gap between nav items\n }\n }\n}\n\n\n// Nav variations\n// --------------------------------------------------\n\n// Justified nav links\n// -------------------------\n\n.nav-justified {\n width: 100%;\n\n > li {\n float: none;\n > a {\n text-align: center;\n margin-bottom: 5px;\n }\n }\n\n > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n }\n\n @media (min-width: @screen-sm-min) {\n > li {\n display: table-cell;\n width: 1%;\n > a {\n margin-bottom: 0;\n }\n }\n }\n}\n\n// Move borders to anchors instead of bottom of list\n//\n// Mixin for adding on top the shared `.nav-justified` styles for our tabs\n.nav-tabs-justified {\n border-bottom: 0;\n\n > li > a {\n // Override margin from .nav-tabs\n margin-right: 0;\n border-radius: @border-radius-base;\n }\n\n > .active > a,\n > .active > a:hover,\n > .active > a:focus {\n border: 1px solid @nav-tabs-justified-link-border-color;\n }\n\n @media (min-width: @screen-sm-min) {\n > li > a {\n border-bottom: 1px solid @nav-tabs-justified-link-border-color;\n border-radius: @border-radius-base @border-radius-base 0 0;\n }\n > .active > a,\n > .active > a:hover,\n > .active > a:focus {\n border-bottom-color: @nav-tabs-justified-active-link-border-color;\n }\n }\n}\n\n\n// Tabbable tabs\n// -------------------------\n\n// Hide tabbable panes to start, show them when `.active`\n.tab-content {\n > .tab-pane {\n display: none;\n }\n > .active {\n display: block;\n }\n}\n\n\n// Dropdowns\n// -------------------------\n\n// Specific dropdowns\n.nav-tabs .dropdown-menu {\n // make dropdown border overlap tab border\n margin-top: -1px;\n // Remove the top rounded corners here since there is a hard edge above the menu\n .border-top-radius(0);\n}\n","//\n// Navbars\n// --------------------------------------------------\n\n\n// Wrapper and base class\n//\n// Provide a static navbar from which we expand to create full-width, fixed, and\n// other navbar variations.\n\n.navbar {\n position: relative;\n min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)\n margin-bottom: @navbar-margin-bottom;\n border: 1px solid transparent;\n\n // Prevent floats from breaking the navbar\n &:extend(.clearfix all);\n\n @media (min-width: @grid-float-breakpoint) {\n border-radius: @navbar-border-radius;\n }\n}\n\n\n// Navbar heading\n//\n// Groups `.navbar-brand` and `.navbar-toggle` into a single component for easy\n// styling of responsive aspects.\n\n.navbar-header {\n &:extend(.clearfix all);\n\n @media (min-width: @grid-float-breakpoint) {\n float: left;\n }\n}\n\n\n// Navbar collapse (body)\n//\n// Group your navbar content into this for easy collapsing and expanding across\n// various device sizes. By default, this content is collapsed when <768px, but\n// will expand past that for a horizontal display.\n//\n// To start (on mobile devices) the navbar links, forms, and buttons are stacked\n// vertically and include a `max-height` to overflow in case you have too much\n// content for the user's viewport.\n\n.navbar-collapse {\n overflow-x: visible;\n padding-right: @navbar-padding-horizontal;\n padding-left: @navbar-padding-horizontal;\n border-top: 1px solid transparent;\n box-shadow: inset 0 1px 0 rgba(255,255,255,.1);\n &:extend(.clearfix all);\n -webkit-overflow-scrolling: touch;\n\n &.in {\n overflow-y: auto;\n }\n\n @media (min-width: @grid-float-breakpoint) {\n width: auto;\n border-top: 0;\n box-shadow: none;\n\n &.collapse {\n display: block !important;\n height: auto !important;\n padding-bottom: 0; // Override default setting\n overflow: visible !important;\n }\n\n &.in {\n overflow-y: visible;\n }\n\n // Undo the collapse side padding for navbars with containers to ensure\n // alignment of right-aligned contents.\n .navbar-fixed-top &,\n .navbar-static-top &,\n .navbar-fixed-bottom & {\n padding-left: 0;\n padding-right: 0;\n }\n }\n}\n\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n .navbar-collapse {\n max-height: @navbar-collapse-max-height;\n\n @media (max-device-width: @screen-xs-min) and (orientation: landscape) {\n max-height: 200px;\n }\n }\n}\n\n\n// Both navbar header and collapse\n//\n// When a container is present, change the behavior of the header and collapse.\n\n.container,\n.container-fluid {\n > .navbar-header,\n > .navbar-collapse {\n margin-right: -@navbar-padding-horizontal;\n margin-left: -@navbar-padding-horizontal;\n\n @media (min-width: @grid-float-breakpoint) {\n margin-right: 0;\n margin-left: 0;\n }\n }\n}\n\n\n//\n// Navbar alignment options\n//\n// Display the navbar across the entirety of the page or fixed it to the top or\n// bottom of the page.\n\n// Static top (unfixed, but 100% wide) navbar\n.navbar-static-top {\n z-index: @zindex-navbar;\n border-width: 0 0 1px;\n\n @media (min-width: @grid-float-breakpoint) {\n border-radius: 0;\n }\n}\n\n// Fix the top/bottom navbars when screen real estate supports it\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n position: fixed;\n right: 0;\n left: 0;\n z-index: @zindex-navbar-fixed;\n\n // Undo the rounded corners\n @media (min-width: @grid-float-breakpoint) {\n border-radius: 0;\n }\n}\n.navbar-fixed-top {\n top: 0;\n border-width: 0 0 1px;\n}\n.navbar-fixed-bottom {\n bottom: 0;\n margin-bottom: 0; // override .navbar defaults\n border-width: 1px 0 0;\n}\n\n\n// Brand/project name\n\n.navbar-brand {\n float: left;\n padding: @navbar-padding-vertical @navbar-padding-horizontal;\n font-size: @font-size-large;\n line-height: @line-height-computed;\n height: @navbar-height;\n\n &:hover,\n &:focus {\n text-decoration: none;\n }\n\n > img {\n display: block;\n }\n\n @media (min-width: @grid-float-breakpoint) {\n .navbar > .container &,\n .navbar > .container-fluid & {\n margin-left: -@navbar-padding-horizontal;\n }\n }\n}\n\n\n// Navbar toggle\n//\n// Custom button for toggling the `.navbar-collapse`, powered by the collapse\n// JavaScript plugin.\n\n.navbar-toggle {\n position: relative;\n float: right;\n margin-right: @navbar-padding-horizontal;\n padding: 9px 10px;\n .navbar-vertical-align(34px);\n background-color: transparent;\n background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214\n border: 1px solid transparent;\n border-radius: @border-radius-base;\n\n // We remove the `outline` here, but later compensate by attaching `:hover`\n // styles to `:focus`.\n &:focus {\n outline: 0;\n }\n\n // Bars\n .icon-bar {\n display: block;\n width: 22px;\n height: 2px;\n border-radius: 1px;\n }\n .icon-bar + .icon-bar {\n margin-top: 4px;\n }\n\n @media (min-width: @grid-float-breakpoint) {\n display: none;\n }\n}\n\n\n// Navbar nav links\n//\n// Builds on top of the `.nav` components with its own modifier class to make\n// the nav the full height of the horizontal nav (above 768px).\n\n.navbar-nav {\n margin: (@navbar-padding-vertical / 2) -@navbar-padding-horizontal;\n\n > li > a {\n padding-top: 10px;\n padding-bottom: 10px;\n line-height: @line-height-computed;\n }\n\n @media (max-width: @grid-float-breakpoint-max) {\n // Dropdowns get custom display when collapsed\n .open .dropdown-menu {\n position: static;\n float: none;\n width: auto;\n margin-top: 0;\n background-color: transparent;\n border: 0;\n box-shadow: none;\n > li > a,\n .dropdown-header {\n padding: 5px 15px 5px 25px;\n }\n > li > a {\n line-height: @line-height-computed;\n &:hover,\n &:focus {\n background-image: none;\n }\n }\n }\n }\n\n // Uncollapse the nav\n @media (min-width: @grid-float-breakpoint) {\n float: left;\n margin: 0;\n\n > li {\n float: left;\n > a {\n padding-top: @navbar-padding-vertical;\n padding-bottom: @navbar-padding-vertical;\n }\n }\n }\n}\n\n\n// Navbar form\n//\n// Extension of the `.form-inline` with some extra flavor for optimum display in\n// our navbars.\n\n.navbar-form {\n margin-left: -@navbar-padding-horizontal;\n margin-right: -@navbar-padding-horizontal;\n padding: 10px @navbar-padding-horizontal;\n border-top: 1px solid transparent;\n border-bottom: 1px solid transparent;\n @shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);\n .box-shadow(@shadow);\n\n // Mixin behavior for optimum display\n .form-inline();\n\n .form-group {\n @media (max-width: @grid-float-breakpoint-max) {\n margin-bottom: 5px;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n }\n\n // Vertically center in expanded, horizontal navbar\n .navbar-vertical-align(@input-height-base);\n\n // Undo 100% width for pull classes\n @media (min-width: @grid-float-breakpoint) {\n width: auto;\n border: 0;\n margin-left: 0;\n margin-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n .box-shadow(none);\n }\n}\n\n\n// Dropdown menus\n\n// Menu position and menu carets\n.navbar-nav > li > .dropdown-menu {\n margin-top: 0;\n .border-top-radius(0);\n}\n// Menu position and menu caret support for dropups via extra dropup class\n.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {\n margin-bottom: 0;\n .border-top-radius(@navbar-border-radius);\n .border-bottom-radius(0);\n}\n\n\n// Buttons in navbars\n//\n// Vertically center a button within a navbar (when *not* in a form).\n\n.navbar-btn {\n .navbar-vertical-align(@input-height-base);\n\n &.btn-sm {\n .navbar-vertical-align(@input-height-small);\n }\n &.btn-xs {\n .navbar-vertical-align(22);\n }\n}\n\n\n// Text in navbars\n//\n// Add a class to make any element properly align itself vertically within the navbars.\n\n.navbar-text {\n .navbar-vertical-align(@line-height-computed);\n\n @media (min-width: @grid-float-breakpoint) {\n float: left;\n margin-left: @navbar-padding-horizontal;\n margin-right: @navbar-padding-horizontal;\n }\n}\n\n\n// Component alignment\n//\n// Repurpose the pull utilities as their own navbar utilities to avoid specificity\n// issues with parents and chaining. Only do this when the navbar is uncollapsed\n// though so that navbar contents properly stack and align in mobile.\n//\n// Declared after the navbar components to ensure more specificity on the margins.\n\n@media (min-width: @grid-float-breakpoint) {\n .navbar-left { .pull-left(); }\n .navbar-right {\n .pull-right();\n margin-right: -@navbar-padding-horizontal;\n\n ~ .navbar-right {\n margin-right: 0;\n }\n }\n}\n\n\n// Alternate navbars\n// --------------------------------------------------\n\n// Default navbar\n.navbar-default {\n background-color: @navbar-default-bg;\n border-color: @navbar-default-border;\n\n .navbar-brand {\n color: @navbar-default-brand-color;\n &:hover,\n &:focus {\n color: @navbar-default-brand-hover-color;\n background-color: @navbar-default-brand-hover-bg;\n }\n }\n\n .navbar-text {\n color: @navbar-default-color;\n }\n\n .navbar-nav {\n > li > a {\n color: @navbar-default-link-color;\n\n &:hover,\n &:focus {\n color: @navbar-default-link-hover-color;\n background-color: @navbar-default-link-hover-bg;\n }\n }\n > .active > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-default-link-active-color;\n background-color: @navbar-default-link-active-bg;\n }\n }\n > .disabled > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-default-link-disabled-color;\n background-color: @navbar-default-link-disabled-bg;\n }\n }\n }\n\n .navbar-toggle {\n border-color: @navbar-default-toggle-border-color;\n &:hover,\n &:focus {\n background-color: @navbar-default-toggle-hover-bg;\n }\n .icon-bar {\n background-color: @navbar-default-toggle-icon-bar-bg;\n }\n }\n\n .navbar-collapse,\n .navbar-form {\n border-color: @navbar-default-border;\n }\n\n // Dropdown menu items\n .navbar-nav {\n // Remove background color from open dropdown\n > .open > a {\n &,\n &:hover,\n &:focus {\n background-color: @navbar-default-link-active-bg;\n color: @navbar-default-link-active-color;\n }\n }\n\n @media (max-width: @grid-float-breakpoint-max) {\n // Dropdowns get custom display when collapsed\n .open .dropdown-menu {\n > li > a {\n color: @navbar-default-link-color;\n &:hover,\n &:focus {\n color: @navbar-default-link-hover-color;\n background-color: @navbar-default-link-hover-bg;\n }\n }\n > .active > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-default-link-active-color;\n background-color: @navbar-default-link-active-bg;\n }\n }\n > .disabled > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-default-link-disabled-color;\n background-color: @navbar-default-link-disabled-bg;\n }\n }\n }\n }\n }\n\n\n // Links in navbars\n //\n // Add a class to ensure links outside the navbar nav are colored correctly.\n\n .navbar-link {\n color: @navbar-default-link-color;\n &:hover {\n color: @navbar-default-link-hover-color;\n }\n }\n\n .btn-link {\n color: @navbar-default-link-color;\n &:hover,\n &:focus {\n color: @navbar-default-link-hover-color;\n }\n &[disabled],\n fieldset[disabled] & {\n &:hover,\n &:focus {\n color: @navbar-default-link-disabled-color;\n }\n }\n }\n}\n\n// Inverse navbar\n\n.navbar-inverse {\n background-color: @navbar-inverse-bg;\n border-color: @navbar-inverse-border;\n\n .navbar-brand {\n color: @navbar-inverse-brand-color;\n &:hover,\n &:focus {\n color: @navbar-inverse-brand-hover-color;\n background-color: @navbar-inverse-brand-hover-bg;\n }\n }\n\n .navbar-text {\n color: @navbar-inverse-color;\n }\n\n .navbar-nav {\n > li > a {\n color: @navbar-inverse-link-color;\n\n &:hover,\n &:focus {\n color: @navbar-inverse-link-hover-color;\n background-color: @navbar-inverse-link-hover-bg;\n }\n }\n > .active > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-inverse-link-active-color;\n background-color: @navbar-inverse-link-active-bg;\n }\n }\n > .disabled > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-inverse-link-disabled-color;\n background-color: @navbar-inverse-link-disabled-bg;\n }\n }\n }\n\n // Darken the responsive nav toggle\n .navbar-toggle {\n border-color: @navbar-inverse-toggle-border-color;\n &:hover,\n &:focus {\n background-color: @navbar-inverse-toggle-hover-bg;\n }\n .icon-bar {\n background-color: @navbar-inverse-toggle-icon-bar-bg;\n }\n }\n\n .navbar-collapse,\n .navbar-form {\n border-color: darken(@navbar-inverse-bg, 7%);\n }\n\n // Dropdowns\n .navbar-nav {\n > .open > a {\n &,\n &:hover,\n &:focus {\n background-color: @navbar-inverse-link-active-bg;\n color: @navbar-inverse-link-active-color;\n }\n }\n\n @media (max-width: @grid-float-breakpoint-max) {\n // Dropdowns get custom display\n .open .dropdown-menu {\n > .dropdown-header {\n border-color: @navbar-inverse-border;\n }\n .divider {\n background-color: @navbar-inverse-border;\n }\n > li > a {\n color: @navbar-inverse-link-color;\n &:hover,\n &:focus {\n color: @navbar-inverse-link-hover-color;\n background-color: @navbar-inverse-link-hover-bg;\n }\n }\n > .active > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-inverse-link-active-color;\n background-color: @navbar-inverse-link-active-bg;\n }\n }\n > .disabled > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-inverse-link-disabled-color;\n background-color: @navbar-inverse-link-disabled-bg;\n }\n }\n }\n }\n }\n\n .navbar-link {\n color: @navbar-inverse-link-color;\n &:hover {\n color: @navbar-inverse-link-hover-color;\n }\n }\n\n .btn-link {\n color: @navbar-inverse-link-color;\n &:hover,\n &:focus {\n color: @navbar-inverse-link-hover-color;\n }\n &[disabled],\n fieldset[disabled] & {\n &:hover,\n &:focus {\n color: @navbar-inverse-link-disabled-color;\n }\n }\n }\n}\n","// Navbar vertical align\n//\n// Vertically center elements in the navbar.\n// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.\n\n.navbar-vertical-align(@element-height) {\n margin-top: ((@navbar-height - @element-height) / 2);\n margin-bottom: ((@navbar-height - @element-height) / 2);\n}\n","//\n// Utility classes\n// --------------------------------------------------\n\n\n// Floats\n// -------------------------\n\n.clearfix {\n .clearfix();\n}\n.center-block {\n .center-block();\n}\n.pull-right {\n float: right !important;\n}\n.pull-left {\n float: left !important;\n}\n\n\n// Toggling content\n// -------------------------\n\n// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1\n.hide {\n display: none !important;\n}\n.show {\n display: block !important;\n}\n.invisible {\n visibility: hidden;\n}\n.text-hide {\n .text-hide();\n}\n\n\n// Hide from screenreaders and browsers\n//\n// Credit: HTML5 Boilerplate\n\n.hidden {\n display: none !important;\n}\n\n\n// For Affix plugin\n// -------------------------\n\n.affix {\n position: fixed;\n}\n","//\n// Breadcrumbs\n// --------------------------------------------------\n\n\n.breadcrumb {\n padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal;\n margin-bottom: @line-height-computed;\n list-style: none;\n background-color: @breadcrumb-bg;\n border-radius: @border-radius-base;\n\n > li {\n display: inline-block;\n\n + li:before {\n content: \"@{breadcrumb-separator}\\00a0\"; // Unicode space added since inline-block means non-collapsing white-space\n padding: 0 5px;\n color: @breadcrumb-color;\n }\n }\n\n > .active {\n color: @breadcrumb-active-color;\n }\n}\n","//\n// Pagination (multiple pages)\n// --------------------------------------------------\n.pagination {\n display: inline-block;\n padding-left: 0;\n margin: @line-height-computed 0;\n border-radius: @border-radius-base;\n\n > li {\n display: inline; // Remove list-style and block-level defaults\n > a,\n > span {\n position: relative;\n float: left; // Collapse white-space\n padding: @padding-base-vertical @padding-base-horizontal;\n line-height: @line-height-base;\n text-decoration: none;\n color: @pagination-color;\n background-color: @pagination-bg;\n border: 1px solid @pagination-border;\n margin-left: -1px;\n }\n &:first-child {\n > a,\n > span {\n margin-left: 0;\n .border-left-radius(@border-radius-base);\n }\n }\n &:last-child {\n > a,\n > span {\n .border-right-radius(@border-radius-base);\n }\n }\n }\n\n > li > a,\n > li > span {\n &:hover,\n &:focus {\n z-index: 2;\n color: @pagination-hover-color;\n background-color: @pagination-hover-bg;\n border-color: @pagination-hover-border;\n }\n }\n\n > .active > a,\n > .active > span {\n &,\n &:hover,\n &:focus {\n z-index: 3;\n color: @pagination-active-color;\n background-color: @pagination-active-bg;\n border-color: @pagination-active-border;\n cursor: default;\n }\n }\n\n > .disabled {\n > span,\n > span:hover,\n > span:focus,\n > a,\n > a:hover,\n > a:focus {\n color: @pagination-disabled-color;\n background-color: @pagination-disabled-bg;\n border-color: @pagination-disabled-border;\n cursor: @cursor-disabled;\n }\n }\n}\n\n// Sizing\n// --------------------------------------------------\n\n// Large\n.pagination-lg {\n .pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);\n}\n\n// Small\n.pagination-sm {\n .pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);\n}\n","// Pagination\n\n.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {\n > li {\n > a,\n > span {\n padding: @padding-vertical @padding-horizontal;\n font-size: @font-size;\n line-height: @line-height;\n }\n &:first-child {\n > a,\n > span {\n .border-left-radius(@border-radius);\n }\n }\n &:last-child {\n > a,\n > span {\n .border-right-radius(@border-radius);\n }\n }\n }\n}\n","//\n// Pager pagination\n// --------------------------------------------------\n\n\n.pager {\n padding-left: 0;\n margin: @line-height-computed 0;\n list-style: none;\n text-align: center;\n &:extend(.clearfix all);\n li {\n display: inline;\n > a,\n > span {\n display: inline-block;\n padding: 5px 14px;\n background-color: @pager-bg;\n border: 1px solid @pager-border;\n border-radius: @pager-border-radius;\n }\n\n > a:hover,\n > a:focus {\n text-decoration: none;\n background-color: @pager-hover-bg;\n }\n }\n\n .next {\n > a,\n > span {\n float: right;\n }\n }\n\n .previous {\n > a,\n > span {\n float: left;\n }\n }\n\n .disabled {\n > a,\n > a:hover,\n > a:focus,\n > span {\n color: @pager-disabled-color;\n background-color: @pager-bg;\n cursor: @cursor-disabled;\n }\n }\n}\n","//\n// Labels\n// --------------------------------------------------\n\n.label {\n display: inline;\n padding: .2em .6em .3em;\n font-size: 75%;\n font-weight: bold;\n line-height: 1;\n color: @label-color;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: .25em;\n\n // Add hover effects, but only for links\n a& {\n &:hover,\n &:focus {\n color: @label-link-hover-color;\n text-decoration: none;\n cursor: pointer;\n }\n }\n\n // Empty labels collapse automatically (not available in IE8)\n &:empty {\n display: none;\n }\n\n // Quick fix for labels in buttons\n .btn & {\n position: relative;\n top: -1px;\n }\n}\n\n// Colors\n// Contextual variations (linked labels get darker on :hover)\n\n.label-default {\n .label-variant(@label-default-bg);\n}\n\n.label-primary {\n .label-variant(@label-primary-bg);\n}\n\n.label-success {\n .label-variant(@label-success-bg);\n}\n\n.label-info {\n .label-variant(@label-info-bg);\n}\n\n.label-warning {\n .label-variant(@label-warning-bg);\n}\n\n.label-danger {\n .label-variant(@label-danger-bg);\n}\n","// Labels\n\n.label-variant(@color) {\n background-color: @color;\n\n &[href] {\n &:hover,\n &:focus {\n background-color: darken(@color, 10%);\n }\n }\n}\n","//\n// Badges\n// --------------------------------------------------\n\n\n// Base class\n.badge {\n display: inline-block;\n min-width: 10px;\n padding: 3px 7px;\n font-size: @font-size-small;\n font-weight: @badge-font-weight;\n color: @badge-color;\n line-height: @badge-line-height;\n vertical-align: middle;\n white-space: nowrap;\n text-align: center;\n background-color: @badge-bg;\n border-radius: @badge-border-radius;\n\n // Empty badges collapse automatically (not available in IE8)\n &:empty {\n display: none;\n }\n\n // Quick fix for badges in buttons\n .btn & {\n position: relative;\n top: -1px;\n }\n\n .btn-xs &,\n .btn-group-xs > .btn & {\n top: 0;\n padding: 1px 5px;\n }\n\n // Hover state, but only for links\n a& {\n &:hover,\n &:focus {\n color: @badge-link-hover-color;\n text-decoration: none;\n cursor: pointer;\n }\n }\n\n // Account for badges in navs\n .list-group-item.active > &,\n .nav-pills > .active > a > & {\n color: @badge-active-color;\n background-color: @badge-active-bg;\n }\n\n .list-group-item > & {\n float: right;\n }\n\n .list-group-item > & + & {\n margin-right: 5px;\n }\n\n .nav-pills > li > a > & {\n margin-left: 3px;\n }\n}\n","//\n// Jumbotron\n// --------------------------------------------------\n\n\n.jumbotron {\n padding-top: @jumbotron-padding;\n padding-bottom: @jumbotron-padding;\n margin-bottom: @jumbotron-padding;\n color: @jumbotron-color;\n background-color: @jumbotron-bg;\n\n h1,\n .h1 {\n color: @jumbotron-heading-color;\n }\n\n p {\n margin-bottom: (@jumbotron-padding / 2);\n font-size: @jumbotron-font-size;\n font-weight: 200;\n }\n\n > hr {\n border-top-color: darken(@jumbotron-bg, 10%);\n }\n\n .container &,\n .container-fluid & {\n border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container\n padding-left: (@grid-gutter-width / 2);\n padding-right: (@grid-gutter-width / 2);\n }\n\n .container {\n max-width: 100%;\n }\n\n @media screen and (min-width: @screen-sm-min) {\n padding-top: (@jumbotron-padding * 1.6);\n padding-bottom: (@jumbotron-padding * 1.6);\n\n .container &,\n .container-fluid & {\n padding-left: (@jumbotron-padding * 2);\n padding-right: (@jumbotron-padding * 2);\n }\n\n h1,\n .h1 {\n font-size: @jumbotron-heading-font-size;\n }\n }\n}\n","//\n// Thumbnails\n// --------------------------------------------------\n\n\n// Mixin and adjust the regular image class\n.thumbnail {\n display: block;\n padding: @thumbnail-padding;\n margin-bottom: @line-height-computed;\n line-height: @line-height-base;\n background-color: @thumbnail-bg;\n border: 1px solid @thumbnail-border;\n border-radius: @thumbnail-border-radius;\n .transition(border .2s ease-in-out);\n\n > img,\n a > img {\n &:extend(.img-responsive);\n margin-left: auto;\n margin-right: auto;\n }\n\n // Add a hover state for linked versions only\n a&:hover,\n a&:focus,\n a&.active {\n border-color: @link-color;\n }\n\n // Image captions\n .caption {\n padding: @thumbnail-caption-padding;\n color: @thumbnail-caption-color;\n }\n}\n","//\n// Alerts\n// --------------------------------------------------\n\n\n// Base styles\n// -------------------------\n\n.alert {\n padding: @alert-padding;\n margin-bottom: @line-height-computed;\n border: 1px solid transparent;\n border-radius: @alert-border-radius;\n\n // Headings for larger alerts\n h4 {\n margin-top: 0;\n // Specified for the h4 to prevent conflicts of changing @headings-color\n color: inherit;\n }\n\n // Provide class for links that match alerts\n .alert-link {\n font-weight: @alert-link-font-weight;\n }\n\n // Improve alignment and spacing of inner content\n > p,\n > ul {\n margin-bottom: 0;\n }\n\n > p + p {\n margin-top: 5px;\n }\n}\n\n// Dismissible alerts\n//\n// Expand the right padding and account for the close button's positioning.\n\n.alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.\n.alert-dismissible {\n padding-right: (@alert-padding + 20);\n\n // Adjust close link position\n .close {\n position: relative;\n top: -2px;\n right: -21px;\n color: inherit;\n }\n}\n\n// Alternate styles\n//\n// Generate contextual modifier classes for colorizing the alert.\n\n.alert-success {\n .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);\n}\n\n.alert-info {\n .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);\n}\n\n.alert-warning {\n .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);\n}\n\n.alert-danger {\n .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);\n}\n","// Alerts\n\n.alert-variant(@background; @border; @text-color) {\n background-color: @background;\n border-color: @border;\n color: @text-color;\n\n hr {\n border-top-color: darken(@border, 5%);\n }\n .alert-link {\n color: darken(@text-color, 10%);\n }\n}\n","//\n// Progress bars\n// --------------------------------------------------\n\n\n// Bar animations\n// -------------------------\n\n// WebKit\n@-webkit-keyframes progress-bar-stripes {\n from { background-position: 40px 0; }\n to { background-position: 0 0; }\n}\n\n// Spec and IE10+\n@keyframes progress-bar-stripes {\n from { background-position: 40px 0; }\n to { background-position: 0 0; }\n}\n\n\n// Bar itself\n// -------------------------\n\n// Outer container\n.progress {\n overflow: hidden;\n height: @line-height-computed;\n margin-bottom: @line-height-computed;\n background-color: @progress-bg;\n border-radius: @progress-border-radius;\n .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));\n}\n\n// Bar of progress\n.progress-bar {\n float: left;\n width: 0%;\n height: 100%;\n font-size: @font-size-small;\n line-height: @line-height-computed;\n color: @progress-bar-color;\n text-align: center;\n background-color: @progress-bar-bg;\n .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));\n .transition(width .6s ease);\n}\n\n// Striped bars\n//\n// `.progress-striped .progress-bar` is deprecated as of v3.2.0 in favor of the\n// `.progress-bar-striped` class, which you just add to an existing\n// `.progress-bar`.\n.progress-striped .progress-bar,\n.progress-bar-striped {\n #gradient > .striped();\n background-size: 40px 40px;\n}\n\n// Call animation for the active one\n//\n// `.progress.active .progress-bar` is deprecated as of v3.2.0 in favor of the\n// `.progress-bar.active` approach.\n.progress.active .progress-bar,\n.progress-bar.active {\n .animation(progress-bar-stripes 2s linear infinite);\n}\n\n\n// Variations\n// -------------------------\n\n.progress-bar-success {\n .progress-bar-variant(@progress-bar-success-bg);\n}\n\n.progress-bar-info {\n .progress-bar-variant(@progress-bar-info-bg);\n}\n\n.progress-bar-warning {\n .progress-bar-variant(@progress-bar-warning-bg);\n}\n\n.progress-bar-danger {\n .progress-bar-variant(@progress-bar-danger-bg);\n}\n","// Gradients\n\n#gradient {\n\n // Horizontal gradient, from left to right\n //\n // Creates two color stops, start and end, by specifying a color and position for each color stop.\n // Color stops are not available in IE9 and below.\n .horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {\n background-image: -webkit-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+\n background-image: -o-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Opera 12\n background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\n background-repeat: repeat-x;\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)\",argb(@start-color),argb(@end-color))); // IE9 and down\n }\n\n // Vertical gradient, from top to bottom\n //\n // Creates two color stops, start and end, by specifying a color and position for each color stop.\n // Color stops are not available in IE9 and below.\n .vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {\n background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+\n background-image: -o-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Opera 12\n background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\n background-repeat: repeat-x;\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)\",argb(@start-color),argb(@end-color))); // IE9 and down\n }\n\n .directional(@start-color: #555; @end-color: #333; @deg: 45deg) {\n background-repeat: repeat-x;\n background-image: -webkit-linear-gradient(@deg, @start-color, @end-color); // Safari 5.1-6, Chrome 10+\n background-image: -o-linear-gradient(@deg, @start-color, @end-color); // Opera 12\n background-image: linear-gradient(@deg, @start-color, @end-color); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\n }\n .horizontal-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {\n background-image: -webkit-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);\n background-image: -o-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);\n background-image: linear-gradient(to right, @start-color, @mid-color @color-stop, @end-color);\n background-repeat: no-repeat;\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)\",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback\n }\n .vertical-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {\n background-image: -webkit-linear-gradient(@start-color, @mid-color @color-stop, @end-color);\n background-image: -o-linear-gradient(@start-color, @mid-color @color-stop, @end-color);\n background-image: linear-gradient(@start-color, @mid-color @color-stop, @end-color);\n background-repeat: no-repeat;\n filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)\",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback\n }\n .radial(@inner-color: #555; @outer-color: #333) {\n background-image: -webkit-radial-gradient(circle, @inner-color, @outer-color);\n background-image: radial-gradient(circle, @inner-color, @outer-color);\n background-repeat: no-repeat;\n }\n .striped(@color: rgba(255,255,255,.15); @angle: 45deg) {\n background-image: -webkit-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);\n background-image: -o-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);\n background-image: linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);\n }\n}\n","// Progress bars\n\n.progress-bar-variant(@color) {\n background-color: @color;\n\n // Deprecated parent class requirement as of v3.2.0\n .progress-striped & {\n #gradient > .striped();\n }\n}\n",".media {\n // Proper spacing between instances of .media\n margin-top: 15px;\n\n &:first-child {\n margin-top: 0;\n }\n}\n\n.media,\n.media-body {\n zoom: 1;\n overflow: hidden;\n}\n\n.media-body {\n width: 10000px;\n}\n\n.media-object {\n display: block;\n\n // Fix collapse in webkit from max-width: 100% and display: table-cell.\n &.img-thumbnail {\n max-width: none;\n }\n}\n\n.media-right,\n.media > .pull-right {\n padding-left: 10px;\n}\n\n.media-left,\n.media > .pull-left {\n padding-right: 10px;\n}\n\n.media-left,\n.media-right,\n.media-body {\n display: table-cell;\n vertical-align: top;\n}\n\n.media-middle {\n vertical-align: middle;\n}\n\n.media-bottom {\n vertical-align: bottom;\n}\n\n// Reset margins on headings for tighter default spacing\n.media-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n\n// Media list variation\n//\n// Undo default ul/ol styles\n.media-list {\n padding-left: 0;\n list-style: none;\n}\n","//\n// List groups\n// --------------------------------------------------\n\n\n// Base class\n//\n// Easily usable on