Skip to main content

Questions tagged [minesweeper]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

Minesweeper - :( add_knowledge cannot infer safe cells when given new information

I'm implementing Minesweeper AI add_knowledge funcion which I expanded with add_sentence function for recursion in inference. I've written tests to test my add_knowledge function and it seems to be ...
Maciej Zamojski's user avatar
0 votes
1 answer

Minesweeper AI randomly gets stuck in infinite loop when checking for subsets

I am working on the Minesweeper AI for the CS50A course. My program seems to work perfectly and identifies all known safe squares and mines except for one small issue where sometimes the code gets ...
Watunki's user avatar
0 votes
1 answer

CS50 AI minesweeper adding safe moves to the safe_moves set when it is not one

my program keeps adding "not safe mines" to the safe mines set , so it says that it made a safe move but it actually lost the game , this usually happens in mid or late in the game . also ...
Mishary's user avatar