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

adds type information for Chessboard and File #2832

Closed
wants to merge 1 commit into from

Commits on Sep 15, 2024

  1. adds type information for Chessboard and File

    This lesson is about iterating over maps and slices: every function returns an int. Without asking, you're requiring that the student already know the structure of `Chessboard` and `File`.
    
    If defining the structs based on the test file is not the intention, this should be included in the instructions somewhere as it is with other examples I've seen previously on this journey.
    
    This is also a way of writing Types/Structs that hasn't been introduced in this learning flow yet. The only reason I got this was because I asked ChatGPT to reverse engineer the test file, and this output allowed me to start working on the actual implementations of the functions.
    brandonaaskov authored Sep 15, 2024
    Configuration menu
    Copy the full SHA
    db8455a View commit details
    Browse the repository at this point in the history