Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2010-03-17 13:59:49

JaneFairfax
Member
Registered: 2007-02-23
Posts: 6,868

Chess (Flash Version)

http://www.mathsisfun.com/games/chess.html

This program is really, really, really stupid. This was the game I just played against it.

StupidComputer.png

Last edited by JaneFairfax (2010-03-17 14:03:45)


Q: Who wrote the novels Mrs Dalloway and To the Lighthouse?

A: Click here for answer.

Offline

#2 2010-03-17 14:15:45

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,771

Re: Chess (Flash Version)

Hi Jane;

Here is one of my games. It is true it doesn't play very well but it is every programmers dream to write a chess program. It is a great achievement to write one, no matter how well it plays.

Try this one when you are feeling good. It is a watered down version of the grandmaster strength shredder but it is still formidable. One of my final positions with it where I had white is below. Easy level is easy to beat but the other levels are tougher.

http://www.shredderchess.com/play-chess-online.html

View Image: Clipboard01.gif View Image: Clipboard02.gif

In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#3 2010-03-17 14:42:45

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,529

Re: Chess (Flash Version)

That is about as good as I can get it with limited computing power. A rewrite in Actionscript could give it 10x the speed and allow deeper thinking.


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#4 2010-03-17 14:46:07

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,771

Re: Chess (Flash Version)

Not knocking it Maths, it plays better than mine did.

Here is one of my games. It is true it doesn't play very well but it is every programmers dream to write a chess program. It is a great achievement to write one, no matter how well it plays.

Sorry, MIF for this incredibly off the wall attempt at a compliment. It does sound like a knock. I was trying to make a point to Jane and tripped over my own tongue doing it. I didn't want to sound like I was rebuking her statement and started fence straddling.

I cannot ascertain how well that program plays based on one or two results.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#5 2010-03-17 17:41:29

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,529

Re: Chess (Flash Version)

Hey Bobby, please explain. Is Shredder yours?


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#6 2010-03-17 18:09:17

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,771

Re: Chess (Flash Version)

Hi MathsisFun;


Heck no! Stefan Meyer-Kahlen wrote Shredder. It is one of the strongest engines in the world. I was just a guy who was interested in AI.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#7 2010-03-17 21:19:00

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,529

Re: Chess (Flash Version)

So ... don't be shy ... tell me about the AI. I was once a member of the AAAI, y'know.


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#8 2010-03-18 03:16:26

JaneFairfax
Member
Registered: 2007-02-23
Posts: 6,868

Re: Chess (Flash Version)

MathsIsFun wrote:

That is about as good as I can get it with limited computing power. A rewrite in Actionscript could give it 10x the speed and allow deeper thinking.

Well, for a start, you could teach your program

(1) not to move knights to the sides of the board unnecessarily (knights are more useful in the centre of the board, where they are more mobile)

(2) not to touch the a- and h-pawns until later in the game (the side pawns early on are better engaged in defending the more central pawns, which should be deployed to take control of the centre of the board as quickly as possible)


Q: Who wrote the novels Mrs Dalloway and To the Lighthouse?

A: Click here for answer.

Offline

#9 2010-03-18 08:21:50

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,529

Re: Chess (Flash Version)

Thanks, Jane. I can play with settings like that ... but it may open up other avenues for savvy humans smile


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#10 2010-03-19 13:46:41

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,771

Re: Chess (Flash Version)

Hi MathsisFun;

Sorry, didn't see your question.

I think you are overestimating me. As soon as I learned the minimax algorithm I wrote some chess engines to solve specific chess positions. They didn't do a very good job. You see I knew nothing of Alpha - Beta pruning, razoring, iterative deepening, bitbases, or tablebases. All the things that make todays engines strong.

I became interested in machine learning but thought the modern attempts were junk. From Turing's love letters to shrdlu and eliza  to Doug Lenats monstrosity. I Came to Vegas and wrote some stuff to solve specific gaming problems. Then I began to work on an intelligent poker program. I made some progress but the legendary draw poker expert Mike Caro (The Mad Genius ) completed Orac before me. I could see that he was miles ahead of me so I stopped.

Then I heard that a lot earlier Marvin Minsky and Terry Winograd ( I think ) had written an expert system that scored better on the MIT calculus exam than most humans could. I became fascinated with the thought of computer algebra. My brother ( jimmyR, also on this forum at times ) and I set out to write our own CAS. I got about 1/4 of the way done when I discovered Mupad 1.4 lite on the internet. It was again way ahead of my package. My career in programming and AI stopped right there.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#11 2013-11-23 00:54:37

Nehushtan
Member
From: London
Registered: 2013-03-09
Posts: 608
Website

Re: Chess (Flash Version)

Norwegian prodigy Magnus Carlsen is new chess champion

Norwegian chess prodigy Magnus Carlsen has become the world champion, beating Indian title holder Viswanathan Anand.

Despite having been world champion since 2007, 43-year-old Anand was ranked number eight in the world.

But his role in promoting chess in India, a country obsessed with cricket, is without parallel.

BBC News


147 books currently added on Goodreads

Offline

#12 2013-12-14 21:58:25

Nehushtan
Member
From: London
Registered: 2013-03-09
Posts: 608
Website

Re: Chess (Flash Version)

JaneFairfax wrote:

This program is really, really, really stupid.

Not as stupid as this one.

ReallyStupidComputer.png

http://scacchi.chess.com/


147 books currently added on Goodreads

Offline

Board footer

Powered by FluxBB