Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7613771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:14:08+00:00 2026-05-31T02:14:08+00:00

So there is a n x n game board and each location on the

  • 0

So there is a n x n game board and each location on the board has an integer. Player one picks a number from row 1 and player 2 picks a number from row 2 and they alternate until there are no more rows. Then they add up all the numbers and player 1 wins if the sum is equal to a predetermined sum S, player 2 wins otherwise. A winning strategy for player 1 for a particular board and sum (B, S) is if player 1 can win no matter what player 2 does.
I want to show that this problem is PSpace-complete

So first I have to show that it’s in PSpace, which I think is pretty easy because the total number of moves is bound by the size of the board, which is n^2.

I am getting stuck on showing that it’s PSpace-hard though, I know I have to reduce from QSAT, but I can’t figure out how. Can someone help?

EDIT: Well actually I don’t know that I have to reduce from QSAT, but after searching around it appears that QSAT is the most likely candidate. Many other two-player games, Geography being the most prominent example, reduces from QSAT, so I figured this one must too. However, feel free to correct me if I am wrong about this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T02:14:09+00:00Added an answer on May 31, 2026 at 2:14 am

    If you choose a reduction from QSAT, your task starts with a formula.

    You need to construct an instance of your game so that the negation of this formula is a tautology exactly if player 1 has a winning strategy. Player 2’s role is primarily to fix valuations of universally quantified Boolean variables; player 1 has a similar role with regard to existentially quantified Boolean variables.

    You will need to show some ingenuity in populating the table so that player 1 can only force a zero sum in the case of a tautology. Be also sure that the number of table rows that you will need is only linear in the number of quantifier ocurrences within the formula.

    [SPOILER 1 starts]
    Remember we discuss in homework mode. I will now add almost all the detail to the hint but hide three technical flaws in the solution that I expect you to find once you understand the detail. Please try to find as many as you can and propose your own fixes to as many as you can in a comment.

    First look at QSAT in game theory terms. Without the loss of generality, assume that a quantified Boolean sentence (formula with no free variables) is written with all quantifiers in the front; first a few existentially quantified variables, then a few universal, then another block of existential and so on. The first player begins playing by assigning (substituting) specific Boolean values to the first few existentially quantified variables (to the whole first block, stopping only when the formula after substitution begins with the leftmost universal quantifier. Then player 2 handles the first block of universal quantification likewise; then player 1 proceeds with what was originally the second block of existential quantification and so on. Player 1 wins if the formula, after all variables have been specified, evaluates to “true”; otherwise player 2 wins.

    This QSAT game can also be played numerically if you assume some coding of formulas, so that each formula has unique number based on the syntax (so that one can efficiently determine the number from a formula and also the formula from a number). Instead of exchanging formulas, the players will exchange numbers (formula codes).

    Now imagine that we want to convert this QSAT-like game to your board game. Each row will stand for one player’s move (for one block of quantifiers of the same type). Each location on the row will represent a possible move of that player from any position on the preceding row; more specifically, the numeric difference made by the move: the code of the formula after the move minus the code of the formula before the move. This way the running total always equals the formula as it stands in a given phase of the game.

    As a special exception, modify all locations on the last row by further subtracting the code of formula true. This way, the sum total of the completed board game will be 0 if player 1 has won, and non-zero otherwise. That is the desired reduction of quantified formula tautologicity to your board game. [SPOILER 1 ends]

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There is this interesting game, that has numbers in a grid, where each number
I'm coding a board game where there is a bag of possible pieces. Each
I create a game board with squares. The size of each square (both height
I am implementing a turn based game, there are two sides and each side
I'm implementing a board game for a course I'm taking. There are 5 racks
I am developing a word game similar to the most famous one. The board
I am trying to build a board game ... And looks like it has
Are there any game engines for iPhone?
There is a game called Verbosity (it's a Game With A Purpose) and it's
I wonder if there are any game engine written in Scala or easily accesible

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.