Simple Game Idea with three challenge levels#13
Merged
nikhilbansal97 merged 7 commits intonikhilbansal97:masterfrom Oct 19, 2019
Merged
Simple Game Idea with three challenge levels#13nikhilbansal97 merged 7 commits intonikhilbansal97:masterfrom
nikhilbansal97 merged 7 commits intonikhilbansal97:masterfrom
Conversation
- Upgrades gradle & gradle wrapper - Updates the compile & target SDK to fix warnings - Moves from 'appcompat' to 'androidx' library usage - Moves hard coded strings to 'Strings.xml' - Removes unused resources - Fixes Lint warnings This commit migrates the code base to the latest android development tools before adding new features. The migration is done as follows, - Analyze the project using lint and apply auto-suggesions wherever possible - When auto-suggestion isn't available, apply sensible changes manually
- Adds new launcher activity with challenge levels - Replaces the hard-coded number of tiles & tries with flexible number based on challenge The idea is to present the user with three challenge levels 1. Easy 2. Medium 3. Hard Based on the user choice, set the number of tiles & max. number of tries. The user can play as many times as he wants in the current challenge level. To choose a much challenging level, he has to go back to the start of the app and change and continue playing. We can track how quickly user clears a challenge and award points/stars. For now, Easy -> 4 tiles, 4 tries Medium -> 6 tiles, 6 tries Hard -> 8 tiles, 8 tries The number of tiles & tries are chosen as the same for simplicity but can be improved.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Screenshots:
Start
Easy
Medium
Hard