Search found 302 matches

by UncombedCoconut
Wed Feb 03, 2010 9:57 am
Forum: Computer Chess Club: General Topics
Topic: Stockfish 1.6.3
Replies: 28
Views: 9320

Re: Stockfish 1.6.3

On OS X 10.6, Apple's g++ 4.2.1 also accepts a -fast compile option. It subsumes -O3 and adds a handful of other speed tweaks. When running the benchmark (SP) on a Core 2 Duo, it gives me a 4% nps increase. Is that significant enough for you to change the osx-* targets in the default Makefile? Ian ...
by UncombedCoconut
Wed Feb 03, 2010 5:11 am
Forum: Computer Chess Club: General Topics
Topic: Just for fun, here's the "smooth scaling" version
Replies: 14
Views: 3544

Re: Just for fun, here's the "smooth scaling" vers

Any strength increase over the JA compile? Also why not include SS in the original release? 1.6.3 is a bugfix release, intended to address all the known/patched bugs but otherwise have no effect on engine strength (unless you wish to test Stockfish 1.6.x 8CPU, which previously did not exist). I ass...
by UncombedCoconut
Wed Feb 03, 2010 1:24 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: New Year's resolution: a chess engine written in BASH script
Replies: 67
Views: 34823

Re: New Year's resolution: a chess engine written in BASH sc

In the meantime, can you tell me where I can insert a loop counter (let node=node+1) to get a count of the nodes? I aint too smart and caint figer it out. Sure. You can zero it in the go() function and increment it at the start of the score() function (before the "if (( DEPTH <= 0 )) || [ -n "$TRIC...
by UncombedCoconut
Tue Feb 02, 2010 12:24 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: New Year's resolution: a chess engine written in BASH script
Replies: 67
Views: 34823

Re: New Year's resolution: a chess engine written in BASH sc

I need to let go of this, but the bugs are embarrassing. I have an update here . Bugfix: moves from a8 weren't generated Bugfix: knights could jump between board edges Bugfix: slider pieces couldn't move past the e.p. target square Bugfix: promotions weren't handled Bugfix: some moves were inappropr...
by UncombedCoconut
Mon Feb 01, 2010 1:40 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: New Year's resolution: a chess engine written in BASH script
Replies: 67
Views: 34823

Re: New Year's resolution: a chess engine written in BASH sc

Other thoughts: I find it funny to see players make defensive moves against the script. If they only knew what they were up against... Also, to diversify its opening repertoire, we can randomize between moves it sees as equal by adding this line before #437 ("if [[ $COLOR == 'w' ]]; then" in the eva...
by UncombedCoconut
Mon Feb 01, 2010 1:05 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: New Year's resolution: a chess engine written in BASH script
Replies: 67
Views: 34823

Re: New Year's resolution: a chess engine written in BASH sc

Thanks! BTW blitz TC are a very bad idea; it will always lose on time. (E: I guess it's OK because it is always well on its way to checkmate anyway.)
by UncombedCoconut
Mon Feb 01, 2010 12:51 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: New Year's resolution: a chess engine written in BASH script
Replies: 67
Views: 34823

Re: New Year's resolution: a chess engine written in BASH sc

Sadly the latest version you posted does something strange. I get this position startpos moves c2c4 ./chess: line 225: ${MOVING_PIECE,,}: bad substitution Sorry, I'm unable to reproduce this. (Edit: What Don said :wink: ) (Re Matt: fair enough, but I still don't know how to find the engine, if it's...
by UncombedCoconut
Sun Jan 31, 2010 11:36 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: New Year's resolution: a chess engine written in BASH script
Replies: 67
Views: 34823

Re: New Year's resolution: a chess engine written in BASH sc

Michel wrote:It's playing on FICS!
What the f:shock: That's funny! If I register for FICS can I watch this cruelty? (You can PM me; I'd bet I'm the only one here with no internet chess experience.)
by UncombedCoconut
Sun Jan 31, 2010 10:42 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: New Year's resolution: a chess engine written in BASH script
Replies: 67
Views: 34823

Re: New Year's resolution: a chess engine written in BASH sc

I don't want to give the false impression that I'm maintaining this (yuck!) but I noticed that I introduced a bug when I added e.p. captures to the movegen. Since I want to see the engine lose tragically rather than crash, here's a fixed version.
by UncombedCoconut
Sun Jan 31, 2010 9:43 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: New Year's resolution: a chess engine written in BASH script
Replies: 67
Views: 34823

Re: New Year's resolution: a chess engine written in BASH sc

OK, Ben, feel free to pick it up from here. Pure bash -- it doesn't even use arrays! http://pastebin.com/f18841718 This UCI engine mostly understands the rules. (See comments to learn its limitations, other than having the ELO of a turnip.) Check out its fight vs Stockfish (10 min / side)! 1. a4 e5 ...