How many ways are there to checkmate someone in chess?

  • Thread starter Thread starter uperkurk
  • Start date Start date
  • Tags Tags
    Chess
Click For Summary

Discussion Overview

The discussion revolves around the various ways to achieve checkmate in chess, exploring both the theoretical and practical aspects of counting these possibilities. Participants consider different interpretations of what constitutes a "way to checkmate," including the buildup to checkmate and the final board state.

Discussion Character

  • Exploratory
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants suggest that there are at least a couple of hundred thousand different ways to checkmate someone in chess.
  • Others question the definition of "ways to checkmate," proposing that it could refer to the number of sequences leading to checkmate or the final position where the king cannot move.
  • One participant mentions that the buildup to checkmate can involve numerous moves, leading to a potentially huge number of possibilities.
  • Another participant introduces the concept of the Shannon number, suggesting that the number of possible chess games is astronomically high, potentially around 10^76.
  • Several participants discuss the initial moves available in chess and provide calculations estimating the number of possible games based on these moves.
  • There is mention of computer programs working on analyzing checkmate positions and the challenges involved in calculating all possible games, especially with more pieces on the board.
  • One participant highlights the limitations of current databases for chess endgames, noting that complete analysis for 7 or more pieces is still a significant challenge.

Areas of Agreement / Disagreement

Participants express differing views on the interpretation of "ways to checkmate" and the calculations of possible chess games. There is no consensus on the exact number of ways to checkmate or the feasibility of calculating all possible games.

Contextual Notes

Participants acknowledge that the calculations provided are approximations and depend on various assumptions, such as the number of moves available at each point in a game. The discussion also touches on the limitations of current computational capabilities in analyzing chess games.

uperkurk
Messages
167
Reaction score
0
How many possible ways, in any direction, using any number of peices are there to checkmate someone in chess?

I'd have a guess and say at least a couple of hundred thousand different ways
 
Physics news on Phys.org
Define "ways to checkmate". Do you mean the number of ways to lead up to a checkmate, or do you mean simply the very last static state of the board in which the king cannot make a move? Do you count pieces on the board that do not contribute directly to the checkmate?

The first is virtually uncountable. The next is lower but still very large.
 
Well, there's suddenly, and then of course decisively. Cleverly has to be my favorite.The ones I hate is when you're doing really well and then the other guy sneak attacks you with his knight. Those pieces move really funny and it's hard to defend against them.
 
I mean the build ups to checkmate. So the first checkmate is the one that can be achieved in 2 or 3 moves I think, so that's one way, etc etc the number must be absolutely huge come to think of it
 
uperkurk said:
I mean the build ups to checkmate. So the first checkmate is the one that can be achieved in 2 or 3 moves I think, so that's one way, etc etc the number must be absolutely huge come to think of it
Are you asking how many possible chess games there are?
 
Kind of... I guess I am actually because each game can only be won via a checkmate so yeah, how many different possible chess games are there that end in a checkmate.
 
uperkurk said:
Kind of... I guess I am actually because each game can only be won via a checkmate so yeah, how many different possible chess games are there that end in a checkmate.

I don't even understand this article, but it's clearly the sort of thing you're looking for:

http://en.wikipedia.org/wiki/Shannon_number
 
There are 20 initial moves (8 pawns x 2 moves/pawn + 2 knights x 2 moves/knight), and 20 responses. Assuming you have about 20 possible moves at each point and a game is 40 moves long, this gives us 20^40 = 1e52 possible games, so that's a rough starting point.

Of course you may have fewer than 20 possible moves at any given point but a game might go for more than 40 moves, so this approximation is as good as any.
 
So many numbers so which is it? lol 2 to the power 255 is an astronomical number...
 
  • #10
uperkurk said:
So many numbers so which is it? lol 2 to the power 255 is an astronomical number...

There are far more possible chess games than there are elementary particles in the observable universe.

This is a far cry from "a couple hundred thousand."

And if you think that's a lot, consider how many possible ways there are to arrange a 52 card deck. Every time you shuffle a deck of cards, that particular configuration has probably never happened before in human history, and will probably never happen again.
 
  • #11
Well the card deck is much less than the number of chess games... 52! = 10 to the power 66. Shannons number with the chess example says 10 to the power 76.
 
  • #12
Well, taking the upper bound of 2^155 from the Shannon citation on Wikipedia, if you had a million computers calculating 2.4 billion moves per second, it would only take about an Avogadro's number of years to figure out all the games.
 
  • #13
uperkurk said:
Well the card deck is much less than the number of chess games... 52! = 10 to the power 66. Shannons number with the chess example says 10 to the power 76.

I've never heard of the "Shannon's number," but I have heard of the 20^40 number. That's what I was going by.
 
  • #14
Jack21222 said:
There are far more possible chess games than there are elementary particles in the observable universe.
What if the universe is infinite?
 
  • #15
ThomasT said:
What if the universe is infinite?

It doesn't matter. The observable universe (as Jack referenced) is not.
 
  • #16
Computer programs are slowly creeping up on this, working backwards from actual checkmate positions to see how to achieve them or avoid them. So far there are complete databases for 6 or fewer pieces on the board. Even within that limit, the longest known game needs more than 500 moves to force a win (ignoring the chess rule that more than 50 moves without a piece being captured or a pawn being moved is a draw). Google for chess tablebases.

Extending this to a full analysis of 7 pieces in a practical timescale is probably beyond the current capability of computer systems. Getting to the full starting position with 32 pieces in play may take some time...
 
  • #17
Well the deeper blue chess super computer can permutate 200 million moves a second, but how many seconds are needed to calculate all the moves if the number is indeed 10 to the power 76
 
  • #18
uperkurk said:
Well the deeper blue chess super computer can permutate 200 million moves a second, but how many seconds are needed to calculate all the moves if the number is indeed 10 to the power 76

I do believe it is an outrageously long time, if not longer than the age of the universe.

For just this reason, the computers are designed to eliminate many unlikely paths without going all the way down them.
 
  • #19
uperkurk said:
Well the deeper blue chess super computer can permutate 200 million moves a second, but how many seconds are needed to calculate all the moves if the number is indeed 10 to the power 76

This is an easy calculation that I'd urge you to attempt yourself. I think Dave's comment of "...longer than the age of the universe" is a gross understatement. Double check my calculation.
 
  • #20
DavidHume said:
There are 20 initial moves (8 pawns x 2 moves/pawn + 2 knights x 2 moves/knight), and 20 responses. Assuming you have about 20 possible moves at each point and a game is 40 moves long, this gives us 20^40 = 1e52 possible games, so that's a rough starting point.

Of course you may have fewer than 20 possible moves at any given point but a game might go for more than 40 moves, so this approximation is as good as any.
Basically yes, though an average chess game is longer than the 40 "moves" you are considering. A chess move consist of 2 half moves (i.e. 1 move in chess is w to play and b to play and if the average length of a chess game is close to 40 chess moves, then it's 80 of the moves you seem to consider by saying that there is approximately "20 possible moves at each point").
AlephZero said:
Computer programs are slowly creeping up on this, working backwards from actual checkmate positions to see how to achieve them or avoid them. So far there are complete databases for 6 or fewer pieces on the board. Even within that limit, the longest known game needs more than 500 moves to force a win (ignoring the chess rule that more than 50 moves without a piece being captured or a pawn being moved is a draw). Google for chess tablebases.

Extending this to a full analysis of 7 pieces in a practical timescale is probably beyond the current capability of computer systems. Getting to the full starting position with 32 pieces in play may take some time...
I had read in wikipedia that the complete 7 pieces tablebases might be done for 2015. I don't remember the number of terabythes but it was huge. For the 8 pieces I don't even know if the data can realistically be stored on Earth, etc.
Also the endgame tablebases have a flaw in that they don't consider the possibility of castling. This isn't so bad when there are few pieces though.
 
  • #21
fluidistic said:
I had read in wikipedia that the complete 7 pieces tablebases might be done for 2015. I don't remember the number of terabythes but it was huge. For the 8 pieces I don't even know if the data can realistically be stored on Earth, etc.
How can I phrase this as a mind boggling piece of trivia to post on facebook? "There are so many possible games of chess that mathematicians don't think there is room on Earth to digitally store all the permutations." ?
 
  • #22
DaveC426913 said:
It doesn't matter. The observable universe (as Jack referenced) is not.
Thanks Dave, I overlooked that.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
29
Views
5K
  • · Replies 17 ·
Replies
17
Views
8K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 37 ·
2
Replies
37
Views
5K
  • · Replies 22 ·
Replies
22
Views
14K
  • · Replies 27 ·
Replies
27
Views
7K