.NET Maui – How can I improve code quality and performance in maze generator app?
Hi folks!
This is probably my first discussion on the forum, I hope it’s a good place for it.
I’m trying to learn a bit of .NET Maui and MVVM architecture. I chose maze generating to take on a bit of graphical challenge.
My observations
I am aware that drawing a maze on canvas would have been much better for performance. However, I would have less control over cells positions. At the moment cells are really simple, but perhaps I could push the concept further in the future so there would be more graphics involved and maybe some character moving through the maze.
I’m also experiencing some issues with spacing between rows and columns in my Grid.
Conclusion
I am trying to learn as much as possible so any sort of tips or advices will be greatly appreciated. Doesn’t matter if they would be about Maui, MVVM or anything else.
Link to the repo:
https://github.com/Szafware/MazeGenerator
Thank you in advance!
Hi folks!This is probably my first discussion on the forum, I hope it’s a good place for it.I’m trying to learn a bit of .NET Maui and MVVM architecture. I chose maze generating to take on a bit of graphical challenge.My observationsI am aware that drawing a maze on canvas would have been much better for performance. However, I would have less control over cells positions. At the moment cells are really simple, but perhaps I could push the concept further in the future so there would be more graphics involved and maybe some character moving through the maze.I’m also experiencing some issues with spacing between rows and columns in my Grid.ConclusionI am trying to learn as much as possible so any sort of tips or advices will be greatly appreciated. Doesn’t matter if they would be about Maui, MVVM or anything else.Link to the repo:https://github.com/Szafware/MazeGeneratorThank you in advance! Read More