Ultrashock Forums > Lounge > Showcase And Critique
AS3 Chess game (beta2)
Member Blogs
 
Post Reply | View first unread Search this Thread | Thread Tools | Display Modes

#1
Bookmark and Share!
AS3 Chess game (beta2)
Old 2008-07-01

 Graphics
80%80%80%
8.0
 Content
90%90%90%
9.0
 Usability
80%80%80%
8.0
 Innovation
55%55%55%
5.5
2 users rated 76% average

Hi,
just finished the main work for a chess game in AS3 and I'd love to have some feedback from you. The game is on http://www.flashchess3.com

What do you think of it? How fast is it on your machine? What new features you'd like to see? How easy is it for you to beat it?

I plan to add a board editor and some tutoring features, depending on your feedback I may concentrate on different areas.

It's difficult to make a really powerful chess player in flash (AS3 is still roughly 10 times slower than Java and much more slower than C++ and it has to finish whatever is doing in less than 15 seconds -- more details on my blog) so I'm not aiming for a very strong chess, but rather to a game that's fun to play.

http://www.flashchess3.com/
postbit arrow 9 comments | 489 views postbit arrow Reply: with Quote   
armandn
Registered User
armandn is offline
seperator
Posts: 3
2008-06-24
armandn lives in United States
seperator

Ultrashock Member Comments:
Nutrox's Avatar Nutrox Nutrox is online now Nutrox lives in United Kingdom 1 Blog Entries 13 Creative Assets 2008-07-01 #2 Old  
Very cool.

I love the graphics and the gameplay seems solid enough to me. I played an advanced game and the thinking time was fine, the computer never took longer than 3-4 seconds to work out what move to make. It beat me.

Great stuff armandn, welcome to Ultrashock.
Reply With Quote
 Graphics
80%80%80%
8
 Content
80%80%80%
8
 Usability
80%80%80%
8
 Innovation
50%50%50%
5
Average 73%
 
mindtwitch's Avatar mindtwitch mindtwitch is offline mindtwitch lives in United States 2008-07-01 #3 Old  
That's awesome. Playability on it is fine. Pretty quick decision making. Great job!
Reply With Quote  
Gregaz81's Avatar Gregaz81 Gregaz81 is offline Gregaz81 lives in Sweden 3 Blog Entries 2008-07-01 #4 Old  
Great Job armandn, well executed
Reply With Quote  
enkriptid's Avatar enkriptid enkriptid is offline enkriptid lives in United States 2008-07-02 #5 Old  
very sick.. how long did it take for the AI engine, and where can i learn what you did? one suggestion i would have is that when a piece is selected .. that it not be necessary to only click that same piece again before another piece can be selected.. but instead automatically deselect the last piece upon the focus of another.
Reply With Quote
 Graphics
80%80%80%
8
 Content
100%100%100%
10
 Usability
80%80%80%
8
 Innovation
60%60%60%
6
Average 80%
 
Anik's Avatar Anik Anik is offline Super Moderator Anik lives in Argentina 45 Blog Entries 27 Creative Assets 2008-07-02 #6 Old  
very nice job, iam sure that took a LOT of work.
Reply With Quote  
armandn armandn is offline armandn lives in United States 2008-07-02 #7 Old  
Hi all, thanks for the feedback. The engine took about 2-3 months to build, it's a little difficult to say because about half the time was spent studying algorithms and there was a lot of trial-and-error involved. I am in contact with an Adobe engineer who's working on the Flash player, he's been profiling the game with their internal tools and I'm still improving the speed. By improving the speed I can also improve the strength of the engine. A month ago, the engine could calculate 1000 moves/second; the beta2 version online can do about 9000 moves/second; the latest build is close to 13000 moves/second.

In terms of interface, your suggestion is well-received, enkriptid. I wish I could give you a reference to a book or something like that, but I don't have one. Everything I learned was from bits and pieces found here and there... I thought of looking at existing chess engines (like GNU Chess) but they are either overkill (optimized C with data structures impossible to duplicate in AS3, like 64bit integers for bitboards) or very messy and buggy.
Reply With Quote  
Nutrox's Avatar Nutrox Nutrox is online now Nutrox lives in United Kingdom 1 Blog Entries 13 Creative Assets 2008-07-03 #8 Old  
@armandn

Any idea when the desktop version will be available? Will it be an AIR application?

Reply With Quote
 Graphics
80%80%80%
8
 Content
80%80%80%
8
 Usability
80%80%80%
8
 Innovation
50%50%50%
5
Average 73%
 
armandn armandn is offline armandn lives in United States 2008-07-08 #9 Old  
I plan to finish in about 1-2 weeks. Basically I want to add a Board Editor and maybe a higher search depth. I'm currently trying to increase performance a little bit more.
Yes, AIR will definitely be available, maybe PC/Mac executable for those without Zinc.
Reply With Quote  
enkriptid's Avatar enkriptid enkriptid is offline enkriptid lives in United States 2008-07-08 #10 Old  
a version for the psp would be sick-sauce, theres a flash player with the psp, i just dont know its limitations though, ive ported a small game of Simon i created for the psp's screen dimensions and added some button listers but it ran a little slow. im not sure how well Chess in flash would work out performance wise but it would be the first one im sure of that.
Reply With Quote
 Graphics
80%80%80%
8
 Content
100%100%100%
10
 Usability
80%80%80%
8
 Innovation
60%60%60%
6
Average 80%
 
Showcase Tools
Display Modes