-
-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Mazy Mice Exercise to the Repository #2312
base: main
Are you sure you want to change the base?
Commits on Sep 1, 2023
-
Add Mazy Mice Exercise to the Repository
This commit introduces a new exercise named 'Mazy Mice'. The exercise is designed to implement a maze generator that produces perfect mazes, i.e., mazes that have only one correct path, without any isolated sections. User must also adhere to the restrictions about the maze's size and layout depicted in the problem description. Tasks also include a description of how the mazes should be visually represented. The commit also includes canonical data for testing the described functionality.
Configuration menu - View commit details
-
Copy full SHA for 354f507 - Browse repository at this point
Copy the full SHA 354f507View commit details -
Refactor Mazy Mice description format for better readability
Adjusted the format of the 'Mazy Mice' exercise description to enhance legibility. Added separate lines before the maze example sections to clearly differentiate them from the surrounding text. These changes improve the user's reading experience, making it easier for them to understand the task.
Configuration menu - View commit details
-
Copy full SHA for c78b29a - Browse repository at this point
Copy the full SHA c78b29aView commit details
Commits on Sep 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1879adf - Browse repository at this point
Copy the full SHA 1879adfView commit details -
Update test case comments in mazy-mice exercise
Expanded the comment section in the canonical-data.json file for the "mazy-mice" exercise to provide a more detailed guideline on the required checks for a generated maze. These include confirming correct maze dimensions, valid character use, singular entrance and exit, perfection of the maze and its randomness.
Configuration menu - View commit details
-
Copy full SHA for 9175bb5 - Browse repository at this point
Copy the full SHA 9175bb5View commit details -
Correct indentation in maze diagrams
Indentation in the maze diagrams within the mazy-mice exercise was inconsistent. The changes ensure tabs are uniformly used for all lines to improve readability and consistency in presentation.
Configuration menu - View commit details
-
Copy full SHA for 1f5546c - Browse repository at this point
Copy the full SHA 1f5546cView commit details -
Update section heading levels in mazy-mice description
Headings levels in the "mazy-mice/description.md" were adjusted for better organization. '# Hints' was changed to '## Hints' and '## Maze generation' and '## Box drawing characters' changed to '###'. This allows for an improved logical hierarchy and readability of the document.
Configuration menu - View commit details
-
Copy full SHA for fa8427d - Browse repository at this point
Copy the full SHA fa8427dView commit details -
Corrected the positioning of Box-drawing link in mazy-mice description
Removed the Box-drawing reference link from the code block area to the bottom of the document under the "Maze generation" section. This change was proposed to enhance the readability of the document and provide the link at a more appropriate location.
Configuration menu - View commit details
-
Copy full SHA for 181ece6 - Browse repository at this point
Copy the full SHA 181ece6View commit details -
Add additional test cases to Mazy Mice exercise
Expanded test coverage for the 'generateMaze' functionality in the Mazy Mice exercise. This includes tests for maze dimensions, character validity, maze entrance and exit, and more. Additionally, replaced 'createMaze' with 'generateMaze' in existing test cases to ensure consistency. These changes aim to provide a more comprehensive evaluation of the generateMaze function's correctness and robustness.
Configuration menu - View commit details
-
Copy full SHA for c75cd3e - Browse repository at this point
Copy the full SHA c75cd3eView commit details
Commits on Sep 19, 2023
-
Correct casing and formatting in description.md
Changed the casing of a markdown hyperlink reference to maintain consistency. Also adjusted the formatting of the 'Box drawing characters' table for better legibility. These changes aim to improve the readability and adherence of the documentation to markdown standards.
Configuration menu - View commit details
-
Copy full SHA for 45bb301 - Browse repository at this point
Copy the full SHA 45bb301View commit details -
Update expected results format in canonical-data.json
In the 'exercises/mazy-mice/canonical-data.json' file, the results format for each test case has been updated. Instead of providing an expected result as a string, a boolean or an object structure is used. The change is performed to improve the test result validation process. Boolean values help to clearly identify the pass/fail status, while the object returns the expected maze dimensions, allowing for more detailed automated test result evaluations.
Configuration menu - View commit details
-
Copy full SHA for 5cab22d - Browse repository at this point
Copy the full SHA 5cab22dView commit details