Skip to content
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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Commits on Sep 1, 2023

  1. 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.
    rabestro committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    354f507 View commit details
    Browse the repository at this point in the history
  2. 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.
    rabestro committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    c78b29a View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2023

  1. Configuration menu
    Copy the full SHA
    1879adf View commit details
    Browse the repository at this point in the history
  2. 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.
    rabestro committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    9175bb5 View commit details
    Browse the repository at this point in the history
  3. 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.
    rabestro committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    1f5546c View commit details
    Browse the repository at this point in the history
  4. 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.
    rabestro committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    fa8427d View commit details
    Browse the repository at this point in the history
  5. 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.
    rabestro committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    181ece6 View commit details
    Browse the repository at this point in the history
  6. 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.
    rabestro committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    c75cd3e View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. 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.
    rabestro committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    45bb301 View commit details
    Browse the repository at this point in the history
  2. 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.
    rabestro committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    5cab22d View commit details
    Browse the repository at this point in the history