Homework 6: Life Counter
Due April 19
Last updated
Due April 19
Last updated
For this assignment, you'll help Ted keep track of each player's life count in the game of .
This is the perfect opportunity to study topics like event handlings and the Model-View-Controller architectural pattern in more details on your own.
This class does not have a style guide for you to follow. So how you choose to write your code is completely up to you. That being said, you should pick a style guide and follow its rules. Remember that your project will still be visible on GitHub and some people, especially recruiters and hiring managers, may evaluate how you code.
A strong understanding of how each layout in Android works will be very useful. Users should be able to use the app in whatever orientation they prefer and in any screen size of the device they own. That means you should select a layout that allows elements to be equally balanced.
A suggestion might be to use .
But Constraint Layout is not the only answer. If you think creatively, you can also nest Linear Layout inside of a Relative Layout. This will work but a few adjustments will be needed.