GithubHelp home page GithubHelp logo

Comments (2)

chdoc avatar chdoc commented on July 29, 2024 1

Additionally, there is one interesting implication of the current setup: in the case of guessing, the player is able to influence the game somewhat (by choosing a field and forcing it to be empty). This is what makes it truly different from a normal "pre-determined" minesweeper. There is no hidden state anymore, and you could argue the game becomes a complete information game (with human and computer as players), like chess or go.

Indeed, this is what currently motivates me to come back to this game again and again: I'm trying to understand what's a good strategy for forcing empty fields. Due to the complete information, this is actually more a psychology question than an algorithms question. I find the SAT solver to be much more reliable than me when doing "parity" arguments along long boundary regions. So I try to force fields that allow me to subsequently apply simple reasoning steps.

from kaboom.

pwmarcz avatar pwmarcz commented on July 29, 2024

With your proposal, wouldn't I need to know what are the "fields the player can/cannot know are empty"? And to determine that, I need some kind of reasoning engine anyway, even if it's brute-forcing all the possibilities. So it wouldn't be so different.

Additionally, there is one interesting implication of the current setup: in the case of guessing, the player is able to influence the game somewhat (by choosing a field and forcing it to be empty). This is what makes it truly different from a normal "pre-determined" minesweeper. There is no hidden state anymore, and you could argue the game becomes a complete information game (with human and computer as players), like chess or go.

I think the main source of complication is 1. treating boundary and non-boundary differently, 2. caching past results. These are performance optimizations, and perhaps with a different algorithm they would not be necessary.

from kaboom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.