From cef6f153b9cffe17bd1a3901d8abd561a9bfe0b7 Mon Sep 17 00:00:00 2001 From: Lucas Heil Date: Wed, 7 Feb 2024 17:32:47 +0100 Subject: [PATCH] refactoring: 2 --- src/main/c/sudoku.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/c/sudoku.c b/src/main/c/sudoku.c index 1b0827d..ee41b13 100644 --- a/src/main/c/sudoku.c +++ b/src/main/c/sudoku.c @@ -18,7 +18,7 @@ int difficulty; int selected_level; -void startSudoku(); //is instead of main +void Game_loop(); //is instead of main void Level_Pool(int difficulty); void selectLevel(int grid[SIZE][SIZE]); void initializeGrid(int grid[SIZE][SIZE]); @@ -227,7 +227,7 @@ int solutionLevels[3][3][SIZE][SIZE] = { }; -void startSudoku() { +void Game_loop() { int grid[SIZE][SIZE]; selected_level = 0; @@ -573,6 +573,6 @@ void doneFunction(int grid[SIZE][SIZE]) { int main(){ - startSudoku(); + Game_loop(); return 0; } \ No newline at end of file