ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New Year's resolution: a chess engine written in BASH script
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Ben Stoker



Joined: 19 Jan 2010
Posts: 342

PostPost subject: Re: New Year's resolution: a chess engine written in BASH sc    Posted: Tue Feb 02, 2010 8:08 pm Reply to topic Reply with quote

UncombedCoconut wrote:
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 inappropriately interpreted as castling
Bugfix: randomness was too large (I even wrote it right before posting. Whoops.)

BTW, I watched this novelty engine take out an unwary opponent last night. Laughing Thank you, Michel. I thought I'd never see that happen! The engine even faked (unsound but effective) tactical thought well enough to scare the dude away.

[d] 2kr3r/ppp2ppp/3b1q1n/5b2/Pn1p4/N2P1Q1P/1P2PPP1/R1B1KBNR w KQ - 3 13
This human has played 12. ... Nh6? and suffers
Code:
13. Bxh6 gxh6 14. e4 Bg6 15. Qxf6 1-0


One other thing. This is not as useless as you imply. This is a pedagogical chess engine. In my view, it's the best one because it's so absolutely basic. Extra comments to explain what's going on would be the final selling point.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Subject Author Date/Time
New Year's resolution: a chess engine written in BASH script Ben Stoker Fri Jan 22, 2010 4:16 pm
      Re: New Year's resolution: a chess engine written in BASH sc Louis Zulli Fri Jan 22, 2010 5:40 pm
            Re: New Year's resolution: a chess engine written in BASH sc Louis Zulli Fri Jan 22, 2010 5:44 pm
                  Re: New Year's resolution: a chess engine written in BASH sc Ben Stoker Fri Jan 22, 2010 6:50 pm
      Re: New Year's resolution: a chess engine written in BASH sc H.G.Muller Fri Jan 22, 2010 6:57 pm
            Re: New Year's resolution: a chess engine written in BASH sc Michael Sherwin Fri Jan 22, 2010 7:12 pm
            Re: New Year's resolution: a chess engine written in BASH sc Ben Stoker Fri Jan 22, 2010 7:48 pm
                  Re: New Year's resolution: a chess engine written in BASH sc H.G.Muller Sat Jan 23, 2010 10:24 am
      Re: New Year's resolution: a chess engine written in BASH sc Don Dailey Fri Jan 22, 2010 9:46 pm
            Re: New Year's resolution: a chess engine written in BASH sc Louis Zulli Fri Jan 22, 2010 10:04 pm
                  Re: New Year's resolution: a chess engine written in BASH sc Dann Corbit Fri Jan 22, 2010 10:06 pm
      Re: New Year's resolution: a chess engine written in BASH sc Robert Hyatt Sat Jan 23, 2010 2:37 am
            Re: New Year's resolution: a chess engine written in BASH sc Greg Simpson Sat Jan 23, 2010 6:14 pm
            Re: New Year's resolution: a chess engine written in BASH sc Stuart Cracraft Wed Feb 03, 2010 4:00 am
      Re: New Year's resolution: a chess engine written in BASH sc Gregory Strong Sat Jan 23, 2010 8:17 pm
            Re: New Year's resolution: a chess engine written in BASH sc Edmund Moshammer Sat Jan 23, 2010 9:37 pm
                  Re: New Year's resolution: a chess engine written in BASH sc Gregory Strong Sat Jan 23, 2010 11:31 pm
                        Re: New Year's resolution: a chess engine written in BASH sc Edmund Moshammer Sun Jan 24, 2010 5:59 am
                              Re: New Year's resolution: a chess engine written in BASH sc Gregory Strong Sun Jan 24, 2010 5:29 pm
                              Re: New Year's resolution: a chess engine written in BASH sc Ian Osgood Fri Jan 29, 2010 8:46 am
      Re: New Year's resolution: a chess engine written in BASH sc Stuart Cracraft Sat Jan 23, 2010 9:00 pm
            Re: New Year's resolution: a chess engine written in BASH sc Matt Shoemaker Sun Jan 24, 2010 12:47 am
                  Re: New Year's resolution: a chess engine written in BASH sc Stuart Cracraft Wed Feb 03, 2010 3:56 am
                  Re: New Year's resolution: a chess engine written in BASH sc Don Dailey Thu Feb 04, 2010 2:45 pm
                        Re: New Year's resolution: a chess engine written in BASH sc Tord Romstad Thu Feb 04, 2010 7:10 pm
                              Re: New Year's resolution: a chess engine written in BASH sc Don Dailey Thu Feb 04, 2010 7:38 pm
                              Re: New Year's resolution: a chess engine written in BASH sc Matthew Hull Thu Feb 04, 2010 8:58 pm
                                    Re: New Year's resolution: a chess engine written in BASH sc William H. Rogers Fri Feb 05, 2010 12:47 am
                                          Re: New Year's resolution: a chess engine written in BASH sc Don Dailey Fri Feb 05, 2010 12:53 am
                                          Re: New Year's resolution: a chess engine written in BASH sc Matt Shoemaker Fri Feb 05, 2010 3:48 am
                                                Re: New Year's resolution: a chess engine written in BASH sc William H. Rogers Sat Feb 06, 2010 2:14 am
                                                      Re: New Year's resolution: a chess engine written in BASH sc Don Dailey Sat Feb 06, 2010 2:54 pm
                                                      Re: New Year's resolution: a chess engine written in BASH sc Don Dailey Sat Feb 06, 2010 3:23 pm
                                                            Re: New Year's resolution: a chess engine written in BASH sc Luca Hemmerich Sun Feb 07, 2010 6:50 pm
                                                                  Re: New Year's resolution: a chess engine written in BASH sc Justin Blanchard Sun Feb 07, 2010 11:10 pm
            Re: New Year's resolution: a chess engine written in BASH sc Karatorian Sun Feb 14, 2010 4:49 am
                  Re: New Year's resolution: a chess engine written in BASH sc Matt Shoemaker Sun Feb 14, 2010 8:24 am
                  Re: New Year's resolution: a chess engine written in BASH sc Aaron Becker Sun Feb 14, 2010 10:44 am
      Re: New Year's resolution: a chess engine written in BASH sc Dann Corbit Mon Jan 25, 2010 7:45 pm
      Re: New Year's resolution: a chess engine written in BASH sc Justin Blanchard Sat Jan 30, 2010 12:51 am
            Re: New Year's resolution: a chess engine written in BASH sc Justin Blanchard Sun Jan 31, 2010 9:43 am
                  Re: New Year's resolution: a chess engine written in BASH sc Don Dailey Sun Jan 31, 2010 1:50 pm
                        Re: New Year's resolution: a chess engine written in BASH sc Justin Blanchard Sun Jan 31, 2010 10:42 pm
                              Re: New Year's resolution: a chess engine written in BASH sc Michel Van den Bergh Sun Jan 31, 2010 11:09 pm
                                    Re: New Year's resolution: a chess engine written in BASH sc J. Wesley Cleveland Sun Jan 31, 2010 11:19 pm
                                    Re: New Year's resolution: a chess engine written in BASH sc Justin Blanchard Sun Jan 31, 2010 11:36 pm
                                          Re: New Year's resolution: a chess engine written in BASH sc Matt Shoemaker Mon Feb 01, 2010 12:22 am
                                          Re: New Year's resolution: a chess engine written in BASH sc Michel Van den Bergh Mon Feb 01, 2010 12:35 am
                                                Re: New Year's resolution: a chess engine written in BASH sc Don Dailey Mon Feb 01, 2010 12:49 am
                                                Re: New Year's resolution: a chess engine written in BASH sc Justin Blanchard Mon Feb 01, 2010 12:51 am
                                                      Re: New Year's resolution: a chess engine written in BASH sc Michel Van den Bergh Mon Feb 01, 2010 1:01 am
                                                            Re: New Year's resolution: a chess engine written in BASH sc Justin Blanchard Mon Feb 01, 2010 1:05 am
                                                                  Re: New Year's resolution: a chess engine written in BASH sc Justin Blanchard Mon Feb 01, 2010 1:40 am
                                                                        Re: New Year's resolution: a chess engine written in BASH sc Michel Van den Bergh Mon Feb 01, 2010 1:56 am
                                                                              Re: New Year's resolution: a chess engine written in BASH sc Justin Blanchard Tue Feb 02, 2010 12:24 pm
                                                                                    Re: New Year's resolution: a chess engine written in BASH sc Ben Stoker Tue Feb 02, 2010 8:05 pm
                                                                                          Re: New Year's resolution: a chess engine written in BASH sc Justin Blanchard Wed Feb 03, 2010 1:24 am
                                                                                    Re: New Year's resolution: a chess engine written in BASH sc Ben Stoker Tue Feb 02, 2010 8:08 pm
                              Re: New Year's resolution: a chess engine written in BASH sc Michel Van den Bergh Wed Feb 03, 2010 10:39 am
                                    Re: New Year's resolution: a chess engine written in BASH sc Justin Blanchard Wed Feb 03, 2010 10:49 am
                                          Re: New Year's resolution: a chess engine written in BASH sc Don Dailey Wed Feb 03, 2010 1:42 pm
                                                Re: New Year's resolution: a chess engine written in BASH sc Ben Stoker Wed Feb 03, 2010 2:30 pm
                                                Re: New Year's resolution: a chess engine written in BASH sc Justin Blanchard Wed Feb 03, 2010 11:36 pm
                                                      Re: New Year's resolution: a chess engine written in BASH sc Michel Van den Bergh Thu Feb 04, 2010 8:16 am
      Re: New Year's resolution: a chess engine written in BASH sc Fred Hamilton Thu Feb 04, 2010 3:33 pm
            Re: New Year's resolution: a chess engine written in BASH sc Edmund Moshammer Thu Feb 04, 2010 3:59 pm
                  Re: New Year's resolution: a chess engine written in BASH sc Fred Hamilton Thu Feb 04, 2010 4:04 pm
                        Re: New Year's resolution: a chess engine written in BASH sc Edmund Moshammer Thu Feb 04, 2010 4:26 pm
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads