improve sudden death mode

This commit is contained in:
synth-ruiner 2015-04-22 22:45:46 +01:00
parent ca709a3736
commit 75381069e3
1 changed files with 3 additions and 2 deletions

View File

@ -827,8 +827,9 @@
mineChance += 0.03;
//don't want the chance to get to 100% because that's completely predictable
if (mineChance > 0.8) {
mineChance = 0.8;
// 2/3rds chance is the most likely to create an unsolveable repeating pattern (xxoxxoxxo, etc.)
if (mineChance > 0.666) {
mineChance = 0.666;
}
}
}