Hello, alright I wasnt sure about how to call this thread. I am having an assessment where I have to create a simple game.
We have a board:
Spoiler (Click to View)
A board has 78 squares. Every square has a LeftSquare, RightSquare, UpSquare and DownSquare so it actually creates a path.
But I am kinda clueless where to start.
Solution I have thought of:
Creating 78 square objects with coordinates as name. And setting the Left, Right etc in a big piece of code.
But there must be a more efficient way.
Anyone that has an idea?
Let me know. Thanks!
We have a board:
Spoiler (Click to View)
A board has 78 squares. Every square has a LeftSquare, RightSquare, UpSquare and DownSquare so it actually creates a path.
But I am kinda clueless where to start.
Solution I have thought of:
Creating 78 square objects with coordinates as name. And setting the Left, Right etc in a big piece of code.
But there must be a more efficient way.
Anyone that has an idea?
Let me know. Thanks!


![[Image: xt4IfLp.png]](https://i.imgur.com/xt4IfLp.png)
![[Image: jYK9GP1.gif]](https://i.imgur.com/jYK9GP1.gif)


![[Image: zl4qhHt.png]](https://i.imgur.com/zl4qhHt.png)
![[Image: LjsmASl.gif]](https://i.imgur.com/LjsmASl.gif)