Skip to content

Write the DFS algorithm. #3

Description

@LineG
  • write the algorithm for the search

  • use the appropriate stopping condition:

  • stop if max depth is reached

  • stop if all board is white

  • output should be a string:
    (ex: 4x4 board)

  • 0000 0000 0000 0000 (goal state all white side up)

  • 1000 0100 1111 1110 (not a goal state but max_d is reached)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions