Home Tutorials Forums Articles Blogs Movies Library Employment Press
Prev Previous Post   Next Post Next
Old 09-24-2006, 12:42 PM   #1
jacquesmc
Registered User
 
Join Date: Dec 2001
Location: Belgium
Posts: 17
Default Flash chess engine + source

Hello all,

It's still in a very early stage, and could be greatly improved. Graphics are temporary & ugly.

But here it is:
http://www.jacquesmalchance.com/chess

Note:
There's no detection for check or mate yet, but the computer will never leave itself in check (unless it is mate). Castling is supported, 'en passant' isn't. It's slow and not really strong and most people should win from it.

For those who know something about computer chess (I knew nothing when I wrote it):
Apparently it uses some kind of improvised alpha-beta optimization, with very primitive move sorting. It has a fixed PLY of 4 (PLY can be changed in the source code).

In the meanwhile I've read a bit about computer chess, and would like to rewrite the whole thing using 'bitboards' (but I don't know if bitwise calculations in AS are fast enough), variable PLY, better evaluation and better move sorting. Does anyone have experience with this?

All suggestions welcome, and thanks for checking!

- Bram

Last edited by jacquesmc; 09-24-2006 at 04:03 PM.
jacquesmc is offline   Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to buil a pseudo search engine in pure flash galak ActionScript 2.0 11 01-17-2006 12:30 AM
[Q] Do we need those forums??? CyanBlue General Chat 59 07-27-2004 11:13 AM
enterframe and load and objects, oh my! dice ActionScript 1.0 (and below) 13 07-18-2003 11:07 AM
Flash MX seminar Tink ActionScript 1.0 (and below) 5 03-17-2002 04:41 AM
Php, Javascript, and Flash 5 browser detect and more! Redline01 Server-Side Scripting 2 08-11-2001 01:09 AM


All times are GMT. The time now is 03:42 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.