improve sudden death mode
This commit is contained in:
parent
ca709a3736
commit
75381069e3
|
@ -827,8 +827,9 @@
|
||||||
mineChance += 0.03;
|
mineChance += 0.03;
|
||||||
|
|
||||||
//don't want the chance to get to 100% because that's completely predictable
|
//don't want the chance to get to 100% because that's completely predictable
|
||||||
if (mineChance > 0.8) {
|
// 2/3rds chance is the most likely to create an unsolveable repeating pattern (xxoxxoxxo, etc.)
|
||||||
mineChance = 0.8;
|
if (mineChance > 0.666) {
|
||||||
|
mineChance = 0.666;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue