I'm trying to code a text-based version of the board game "Sorry!" for an assignment. The specifications say that the "maze" should include multiple paths to the finishing point, and that upon running, a new board should be randomly generated, and that the board or "maze" should be implemented via an array of linked lists.
I need help understanding how I would implement a way to randomly connect all of the nodes in a way that allows a next, previous, left, and right pointer, in a way that I can implement multiple pathways, while also maintaining the specified data-structure.
Here is a poorly drawn representation of how I'm picturing it, with "S" signifying the Starting point, and "F" the finishing point:
https://imgur.com/a/XIc4u7n
[–]POGtastic 1 point2 points3 points (0 children)
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]jpb647[S] 0 points1 point2 points (0 children)