S4b3 / DestinyFlutter

Flutter dev bootcamp's second boss challenge, but with a graph-like data structure for the storyData.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Destini 🤔

This project comes from the flutter course I took, which you can find here. While coding, i thought I'd give it some twist just to see if i could make it a bit more interesting.

My twist

I replaced the story array with a graph-like data structure adding a dedicated class to the choices. It's nothing difficult really, but i think that beginners could benefit from seeing some sort of application of data structures in a project they made.

The idea is seeing the texts as nodes and choices as arches. Of course this could be more destructured, by adding two arrays in the storybrain containing, respectively, the nodes and the arches and then linking them with a hashmap, i just thought that would be an overkill.

Feel free to send pull requests if you want to improve this even more! Just mind that I did this in a hurry and so the stories' initialization is terryfing 🙇

This is a companion project to The App Brewery's Complete Flutter Development Bootcamp, check out the full course at www.appbrewery.co

End Banner

About

Flutter dev bootcamp's second boss challenge, but with a graph-like data structure for the storyData.


Languages

Language:Objective-C 58.4%Language:Makefile 32.3%Language:Dart 4.7%Language:C 3.0%Language:Java 0.7%Language:Ruby 0.5%Language:Shell 0.4%