A new Chess engine I made

Sort:
ThatChapThere

A while ago I made a very simple chess engine. I recently, however posted it online at http://thatchapthere.github.io/ChessHome.html . On this page you can access all of the versions up until now. Support, suggestions, bug reports and interesting games against it would be greatly apreciated. There are a few levels, but the best it can do is about 550 elo, despite having beaten some humans (no comment). I might even post some stuff about making it, since it is a very simply constructed engine and the bits are easy to understand. I also don't think it has the typical chess engine functons in it, since I made it from scratch. Code savvy people might also be able to suggest a better thought algorithm, as it current prevents your browser from doing anything while it is its move, using all of the RAM. It takes a bit to move, despite only having a two ply search depth and a basic evaluation function (Material and center control, with a bit of king safety, both of which are accounted too much in the endgame). But please check it out!

mtheory7

Hello there!!!

This. Is. Awesome.

I myself am currently starting my senior year (of getting a BS degree) at SUNY Polytechnic Institute of Tech and my major is Computer Science which as im sure you know encompasses a HUGE amount of programming. I have worked for an insurance company for over a year writing C# code for them (both front (GUI) and back end).

I spent a bit of time playing your engine and its quite impressive for a scratch made project!!! 

A few notes:

-For me, the engine moves almost instantly however I do have an extremely fast computer and a fairly strong internet connection...so very nice!!!

-The GUI is functional but as far as I am concerned that is the least important part of the project because with true engines you can simply install them into an available GUI like Arena or many others.

-Maybe provide buttons for functions like "New Game", and also the ability to step forward and backward through the game

-Next step might be to add functions like searching for opportunities like forks and other tactics

 

For quite some time now I myself have been wanting to write my own engine to see how high an ELO I can obtain and would love to have our engines play each other I will keep you posted if I do!!! I am on break for summer now so I cant think of a better time for me to start coding it so maybe tonight I will! Excellent work and KEEP IT UP!!! happy.png

ThatChapThere
Thanks a lot!Laughing

-It's client side, so It'll be your PC that is making it work fast.

-I'm not currently able to make a GUI-free engine since I only really know JavaScript inside webpages, But I'm learning Java at the moment, and may go on to C/C++/C# so I might be able to do something like a winboard engine in the future.

-Providing buttons for functions like "New Game", and the ability to step forward and backward through the game are good ideas that I'll hopefully work on very soon - thanks for the input!

-Adding functions like searching for opportunities like forks and other tactics is considerably more difficult to do, but ya never know!

I can't wait to see what kind of engine you come up with, and trying them against each other sound like a great ideaCool.

ThatChapThere

[COMMENT DELETED] I tried to post the source code, but then realised that chess.com couldn't cope with it lol.

EscherehcsE
ChessChap112358 wrote:

A while ago I made a very simple chess engine. I recently, however posted it online at http://thatchapthere.github.io/ChessHome.html . On this page you can access all of the versions up until now. <snip>

WTH with the page colors? They made me go BLIND! BLIND, I tell ya!!!

Tongue Out

ThatChapThere

I'll fix that.

ThatChapThere

Fixed colouring at last :P . It also now has king safety and doubled pawns evaluated, and will bother castling. please report any bugs you find, which includes making unexpectedly poor moves.

    Also, I've been working on a way to use the setInterval function to stop the browser from not responding. This will also allow the engine to work considerably more powerfully in future. I've spent about 8 hours on this already, and it will be released soon.

ThatChapThere

0.7 Released!