Skip to content

Out of bounds? #73

@Collederas

Description

@Collederas

Hello,

What is preventing stack.top() from being (0,0) and so this lambda to return a negative number (-m_nMazeWidth) as a result when offsetting to (-1, 0) or (0, -1)?

https://github.com/OneLoneCoder/videos/blob/537664947db31529d2d2236deda9105ca19c041c/OneLoneCoder_Mazes.cpp#L115

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions