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

You are not logged in.

- Topics: Active | Unanswered

Pages: **1**

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

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

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

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

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 107,765

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

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,631

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

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 107,765

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.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,631

Hey Bobby, please explain. Is Shredder yours?

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

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 107,765

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.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,631

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

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

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)

Offline

**MathsIsFun****Administrator**- Registered: 2005-01-21
- Posts: 7,631

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

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 107,765

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.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**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.

Offline

JaneFairfax wrote:

This program is really, really, really stupid.

Not as stupid as this one.

Offline

**Olinguito****Member**- Registered: 2014-08-12
- Posts: 649

*Bassaricyon neblina*

Offline

**phrontister****Real Member**- From: The Land of Tomorrow
- Registered: 2009-07-12
- Posts: 4,512

*Last edited by phrontister (2017-02-22 00:28:56)*

"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

**phrontister****Real Member**- From: The Land of Tomorrow
- Registered: 2009-07-12
- Posts: 4,512

*Last edited by phrontister (2017-02-22 00:27:43)*

"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

Pages: **1**