Project #2
Õâ¸öÏîÄ¿µÄÒªÇóÊÇ×öÒ»¸ö¼òµ¥µÄÓÎ
The Fragments (½çÃæ) 1 Welcome
Welcome is shown on launch and allows the user to start a new game and navigate
to Settings or Statistics. »¶ÓÔÚÆô¶¯Ê±ÏÔ Ê¾£¬ÔÊÐíÓû§¿ªÊ¼ÐÂÓÎÏ·²¢µ¼º½ÖÁ¡°Éè
Öá±»ò¡°Í³¼ÆÐÅÏ¢¡±
2 Settings (ÉèÖÃ)
Implement at least 2 game settings using at
least 1 RadioGroup as UI. ʹÓÃÖÁÉÙ 1 ¸ö
RadioGroup ×÷Ϊ UI ʵÏÖÖÁÉÙ 2 ¸öÓÎÏ·Éè Öá£
3 Statistics(ͳ¼Æ:
ͳ¼ÆÄ¿±êÖÁÉÙÏÔʾ 3 ¸öÏà¹ØÊý¾Ýµã£¬ÀýÈç»ñʤ´ÎÊýµÈ)
The Statistics destination displays minimally 3 relevant data points like number of wins, etc.
4 Configuration (ÅäÖÃ)
The configuration destination presents a RecyclerView to allow the user to pick one of at least 3 different game modes like levels, number of cards, etc. ÅäÖÃÄ¿±ê³ÊÏÖÒ»¸ö RecyclerView ÒÔÔÊ ÐíÓû§Ñ¡ÔñÖÁÉÙ 3 ÖÖ²»Í¬ÓÎϷģʽÖеÄÒ»ÖÖ£¬ÀýÈç¹Ø¿¨¡¢¿¨Æ¬ÊýÁ¿µÈ¡£
5 Game (ÓÎÏ·)
This is where your game is played. Show a “New Game” button that navigates back to Welcome only once the game is over. ÕâÊÇÄãÍæÓÎÏ·µÄµØ·½¡£ÏÔʾһ¸ö¡°ÐÂÓÎÏ·¡±°´Å¥£¬Ö»ÓÐ ÔÚÓÎÏ·½áÊøºó²ÅÄܵ¼º½»Ø»¶ÓÒ³Ãæ¡£
The game details are completely up to you. Make sure to include all required animations. You need 2 different kinds of simple animations and 2 animation sets. ÓÎϷϸ½ÚÍêÈ«ÓÉÄú¾ö¶¨¡£È· ±£°üº¬ËùÓбØÐèµÄ¶¯»¡£ÄúÐèÒª 2 ÖÖ²»Í¬µÄ¼òµ¥¶¯»ºÍ 2 Ì׶¯»¡£×¢Òâ:ÕâЩ¶¯»Óëµ¼º½ÖÐʹ ÓÃµÄ xml ¶¯»ÊÇ·Ö¿ªµÄ¡£
Note: These animations are separate from the xml animations used in navigation.
Layout and Navigation
Your app is implemented in 5 fragments. Use proper pop behavior and disallow popping from game fragment to Configuration. All transitions are to be animated in logical fashion, so if your settings destination slides in from the top, it should slide back out to the top. ÄúµÄÓ¦ÓÃÔÚ 5 ¸öƬ¶ÎÖÐʵÏÖ¡£Ê¹ÓÃÕýÈ·µÄµ¯³öÐÐΪ²¢½ûÖ¹´ÓÓÎϷƬ¶Îµ¯³öµ½ÅäÖá£ËùÓйý¶É¶¼½«ÒԺϺõÂß¼ µÄ·½Ê½½øÐж¯»´¦Àí£¬Òò´ËÈç¹ûÄúµÄÉèÖÃÄ¿±ê´Ó¶¥²¿»¬È룬ËüÓ¦¸Ã»¬»Ø¶¥²¿¡£
Configura tion
Statistics
Programming Help, Add QQ: 749389476
Available points
Required Elements Notes
Custom Icon
Appearance
Custom colors with dark mode support.
Localization
One additional language.
NavigationUI
5 destinations as shown, game fragment pops to welcome.
Custom xml transitions between all fragments
2 simple animations, 2 animation sets
Reveal newGame button on game over.
Configuration
Uses RecyclerView with CardView items with rounded corners.
2 application settings, UI includes 1 RadioGroup minimally.
Statistics
Shows 3 statistical data points gathered from all games played since launch.
at least 2 fragments use a shared viewModel, all UI is updated via LiveData observation.
Custom Feature
Add a worthy feature of your own.
______________________
Create a new directory called “yourEmailPrefix_p2”
1. add a filled out copy of our ReadMe template
2. add a detailed overview of your game and mention anything the grader might need
3. itemize all your game and navigation animations
4. add one screenshot of your app running on the required emulator
5. add your full project directory
6. zip everything up (yourEmailPrefix_p2.zip) and submit it to Blackboard.
Code Help