GithubHelp home page GithubHelp logo

aole / evolchess Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 83.92 MB

Automatically exported from code.google.com/p/evolchess

C++ 70.73% C 13.39% Makefile 0.22% Python 9.08% Jupyter Notebook 6.58%

evolchess's People

Contributors

aole avatar

Watchers

 avatar

evolchess's Issues

Mating Issue

Terminates program with result if there is forced mate w/o actually completing 
all the moves.

Original issue reported on code.google.com by [email protected] on 8 Sep 2011 at 2:25

Implement book moves

Algo
====

at load default book
--------------------
1. if file default.ectb is present in path.
1.5 create a null move and point top and current to it.
2. loop each line and remove comments
2.5 set current to top
3. split line by spaces
4. 1st word is white's first move next word is blacks' first move and so on.
5. loop thru' each word
6. convert word to 64bit move
8. if current is not null and current->next is null, set curent->next to this 
move and current to current->next and continue loop.
9. if current->next is not null, loop thru all siblings of current->next
10. if move is same as one of the siblings set current to that move and 
continue loop
11. if move is not found add the move to current->next's siblings. set current 
to that move and continue loop.

data structure
--------------
struct bkmove {
  64bit move;
  bkmove *next;
  bkmove *sibling;
}

bkmove *top; // first move
bkmove *current; // current move while storing/moving book moves

default.ectb (sample)
---------------------
e2e4 e7e5 g1f3 b8c6 f1c4 -- guico piano
e2e4 e7e5 g1f3 g8f6 -- petroff

at new game
-----------
1. set in book variable
2. set current to top.

at each move
------------
1. if in book proceed otherwize get from from AI
2. if user's move, find move in current->next or its siblings
3. if move found, set current to that move, if not set out of book variable
4. if computer's move and current->next is null, ask AI to get the move
5. else set current to random sibling of current->next and return current move.

Original issue reported on code.google.com by [email protected] on 2 Sep 2011 at 8:45

Implement winboard command remove.

If the user asks to retract a move, xboard will send you the "remove"
command. It sends this command only when the user is on move. Your engine
should undo the last two moves (one for each player) and continue playing
the same color. 

Original issue reported on code.google.com by [email protected] on 22 May 2009 at 9:11

Implement Negamax Search

Implement Negamax Search.

Algorithm:

(Set depth initially to required value)

SEARCHING_FUNCTION {

  Decrease depth by 1

  Loop through all moves

    Play move

    if ( depth = 0 ) move_score = static_position_score
    else move_score = - Opponent's_best_move_score

    if ( move_score > best_move_score ) then ( best_move = move )

    Undo Move

  End of Loop

  Return best_move_score

} END

Original issue reported on code.google.com by [email protected] on 12 May 2009 at 6:00

Change behavior of command ?.

Implement it according to xboard protocol.

"Move now. If your engine is thinking, it should move immediately;
otherwise, the command should be ignored (treated as a no-op). It is
permissible for your engine to always ignore the ? command. The only bad
consequence is that xboard's Move Now menu command will do nothing.

It is also permissible for your engine to move immediately if it gets any
command while thinking, as long as it processes the command right after
moving, but it's preferable if you don't do this. For example, xboard may
send post, nopost, easy, hard, force, quit, or other commands while the
engine is on move."

Original issue reported on code.google.com by [email protected] on 22 May 2009 at 9:13

crashed if play against other EvolChess version

What steps will reproduce the problem?
1.Round robin with all version included (0.6.8-0.6.15) plus Rybka
2.Versus Rybka no issue..all can run
3.against other Evolchess version, all crashed except 0.6.8 (able to finish 
smoothly)

What is the expected output? What do you see instead?
as example 0614 vs 0615 would not crash. but unfortunate any stater with White 
side will crash. do i miss some setup/cmd line?

What version of the product are you using? On what operating system?
all in download sect. Win7 x64 Ultimate.

Please provide any additional information below.
Running in Arena 3.5. i just copied the 2 library into all version 
folder(explicitly for each version)

Original issue reported on code.google.com by [email protected] on 6 Nov 2014 at 4:32

Portability concern

What steps will reproduce the problem?
1. Compile with Non-GCC compiler

What is the expected output? What do you see instead?
Expected output is errors because 64 bit integer constants are not 
formatted correctly.  I would prefer to see a clean compile.

What version of the product are you using? On what operating system?
Source reports 0.5. OS is 64 bit Windows Server 2008.  Compiler is 
Microsoft Visual C++ 2008 Development Edition.

Please provide any additional information below.

Instead of the modifier LLU, it should be ULL, as for example:

const bitboard start_pieces[2][6] = {
    {0x0000000000000010ULL, 0x0000000000000008ULL, 0x81, 0x24, 0x42, 
0xff00},
    {0x1000000000000000ULL, 0x0800000000000000ULL, 
0x8100000000000000ULL, 0x2400000000000000ULL, 0x4200000000000000ULL, 
0x00ff000000000000ULL}};

This will compile with both GCC, Intel C++, Microsoft VC++, etc.

Original issue reported on code.google.com by [email protected] on 28 May 2009 at 7:32

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.