Skip to content

Modularize main features#67

Merged
alexames merged 6 commits intofirebase:demo-devfrom
Grant-Postma:modularize-main-features
Jul 23, 2020
Merged

Modularize main features#67
alexames merged 6 commits intofirebase:demo-devfrom
Grant-Postma:modularize-main-features

Conversation

@Grant-Postma
Copy link

As a developer, I would like to have it so repeatable chunks of code are made into modules, so that the code is much more readable to new developers. As of the midpoint refocus, the code is currently not very well structured and resides mainly in the init() class function for both scenes, chopping this large contiguous portion of code will allow for a code base that is better organized and easier to build on while also removing duplicates setup calls for creating sprites, text fields, labels and touch listeners.
examples:
making a add border feature for text fields (Previous PR)
creating the auth screen is separate from main menu

Function to InitializeAuthenticaionLayer.
Function to InitializeLoginLayer.
Function to InitializeSignUpLayer.
Separating update functions.
Cleaning up TicTacToeLayer constructor.
Cleaning up MainMenuScene init.
Renaming uuid to uid.
Nit: new line.
removing obvious comment.
Making repeated comments more unique.
Copy link
Contributor

@DellaBitta DellaBitta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, but please ping Alex about the use of futures.

@alexames alexames merged commit b953ae8 into firebase:demo-dev Jul 23, 2020
@Grant-Postma Grant-Postma deleted the modularize-main-features branch August 6, 2020 18:43
@firebase firebase locked and limited conversation to collaborators Aug 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants