What is the formula for winning at Pentago?

  • Thread starter greswd
  • Start date
  • Tags
    Formula
In summary, Pentago is a highly advanced version of tic-tac-toe that has been strongly solved with the aid of supercomputers. Like tic-tac-toe, the player who starts first has an advantage, but there is no general formula for perfect play that can be applied by humans. The Perfect Pentago website has stored the result of all positions with less than 18 stones, and every first move is winning except for the corners. However, there is no known formula that a human can use in a reasonable amount of time with pencil and paper.
  • #1
greswd
764
20
Pentago is a board game and you can think of it as a highly advanced version of tic-tac-toe.

With the aid of supercomputers, it has been strongly solved. Just like tic-tac-toe, it is possible for the player who starts first to always in.

I'm looking for a formula to always win at Pentago if I'm the first player. For tic-tac-toe, always mark the central square. For Pentago, never touch the 4 corners.

Tic-tac-toe is simple enough, but what is a formula for Pentago that can be applied by humans anytime?

Just like once someone memorises the algorithm, he can solve any Rubik's cube problem.
 
Mathematics news on Phys.org
  • #2
greswd said:
Just like tic-tac-toe, it is possible for the player who starts first to always in.

Tic-tac-toe is impossible to lose for either player unless they make mistakes. If both players know what they are doing, it will end in a draw.
 
  • #3
Oops. My bad.

So in Tic-Tac-Toe perfect play, it will always end in a draw. What constitutes perfect play for Pentago?
 
  • #4
look here:

https://perfect-pentago.net/

They store the result of all positions with less than 18 stones. Every first move is winning, except for the corners.
 
  • #5
willem2 said:
look here:

https://perfect-pentago.net/

They store the result of all positions with less than 18 stones. Every first move is winning, except for the corners.

omg i didnt see that earlier. looks like they've just updated the site
 
  • #6
but anyway, is there a general formula that can be applied to all stages of the game? what constitutes perfect play?
 
  • #7
greswd said:
but anyway, is there a general formula that can be applied to all stages of the game? what constitutes perfect play?
Depends on what you mean by "formula".

Is there an algorithm to determine perfect play? Yes.

Is there a polynomial formula that returns an optimal move for any possible position. Yes, trivially. Encode the board position as 36 variables x1 through x36 with values 0 (no stone), 1 (black stone) or -1 (white stone). Then a polynomial with 336 terms exists which will return the required result. That polynomial could, in principle, be constructed as a sum of 336 products like the following one that embodies the starting board position:

k * (x1 - 1 )(x1+1)(x2-1)(x2+1) ... (x36-1)(x36+1)

Is there a formula that a human can use in reasonable time with pencil and paper? The fact that the Perfect Pentago site used a supercomputer to accomplish the task suggests that no such formula is known.
 
  • #8
perhaps it could be simplified? that would be very hard though
 

Related to What is the formula for winning at Pentago?

1. What is the overall objective of Pentago?

The overall objective of Pentago is to be the first player to get 5 marbles in a row on a 6x6 board. The rows can be horizontal, vertical, or diagonal.

2. What is the basic strategy for winning at Pentago?

The basic strategy for winning at Pentago is to control the center of the board and create multiple threats at once. This allows for flexibility and forces your opponent to constantly defend.

3. Is there a specific formula or algorithm for winning at Pentago?

There is no specific formula or algorithm for winning at Pentago as the game is highly strategic and relies heavily on player decision-making and adaptation to their opponent's moves.

4. What are some common mistakes that players make in Pentago?

Some common mistakes that players make in Pentago include focusing too much on one area of the board, not paying attention to their opponent's moves, and not anticipating potential moves by their opponent.

5. How important is the opening move in Pentago?

The opening move in Pentago can set the tone for the entire game, so it is important to make a move that controls the center and allows for future threats. However, it is possible to recover from a less than ideal opening move by adapting to your opponent's moves and creating new strategies.

Similar threads

  • General Math
6
Replies
195
Views
19K
Replies
1
Views
1K
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
5K
Replies
4
Views
762
  • General Math
Replies
3
Views
3K
Replies
1
Views
3K
  • General Math
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
Back
Top