Skip to content

Commit

Permalink
Removed harder difficulties for now as the solver takes too long when…
Browse files Browse the repository at this point in the history
… generating a map
  • Loading branch information
squee72564 committed Jan 9, 2024
1 parent 54eb9df commit 1ea0a93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
4 changes: 0 additions & 4 deletions scenes/settings_scene.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ typedef enum {
MineSweeperSettingsScreenDifficultyTypeEasy,
MineSweeperSettingsScreenDifficultyTypeMedium,
MineSweeperSettingsScreenDifficultyTypeHard,
MineSweeperSettingsScreenDifficultyTypeVeryHard,
MineSweeperSettingsScreenDifficultyTypeImpossible,
MineSweeperSettingsScreenDifficultyTypeNum,
} MineSweeperSettingsScreenDifficultyType;

Expand All @@ -27,8 +25,6 @@ static char* settings_screen_difficulty_text[MineSweeperSettingsScreenDifficulty
"Child",
"Boy",
"Man",
"God",
"???",
};

static void minesweeper_scene_settings_screen_set_difficulty(VariableItem* item) {
Expand Down
4 changes: 1 addition & 3 deletions views/minesweeper_game_screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,10 @@ typedef struct {
} MineSweeperGameScreenModel;

// Multipliers for ratio of mines to tiles
static const float difficulty_multiplier[5] = {
static const float difficulty_multiplier[3] = {
0.15f,
0.17f,
0.19f,
0.20f,
0.21f,
};

// Offsets array used consistently when checking surrounding tiles
Expand Down

0 comments on commit 1ea0a93

Please sign in to comment.