Home
Full Report
Contents
1. 22 SN MET NIE cece cca tes anaa sac sor cea cs te oe nc Cue cea ie oe ec Gale one ye nec Glee 23 Sr Tie Wekome P dO seca EPI RPRREIDNEPINRPURREINSMIEEPIMSPIREPIMEMIEpIMSPU EINEN enous pera MESI ee 23 S NS NANI 010 0 og UU c 24 Soo S e100 Mod e 24 SAMT m 26 Igi 27 UE PS 01 ke ae ee E 28 REE ACL aig se PH 28 3 3 59 82 CaL CEE eea ne ee eee 29 MOIS ators teeta E 29 wore M MN ee ee 30 3 25 6 Performance BEyaluation Report ide opes apenas Fo pF SFR S oF as FRE o RSS OFS so as UFa Esa S IKE So oS a eae dO SUE 31 S SW The t uda uc 33 3 95 5 Lhe IO UI Syste serrian nin heat PME nen ac ne eee me a nes nee nee vee eee 33 PUGS DEOVOIODIBODDoee en ase as RAM RR MEN grt E E 35 4 1 Tasks Division and Role Assignment eeeeeeeeeeeeeeeeeeeee eene 38 2 NUM Tec 61108 M ee 40 PEERS o o 00 0 RS 41 LE EE E E m 42 List of Figures Figure 1 Smartphone Manufacturer Share by Operating System 2 3 Figure 2 Number of Available Applications in March 2011 3 e
2. the complexity of this game 3 Designing other barriers such as negative points gaining objects to further increase the difficulty as level goes up 4 Providing online services such as enabling the user to register and login with user account which keeps the past record for each specific user or connect this game to Facebook Twitter Weibo or other social networking pages to create an online game circle for friends and families to play and maybe compete together 5 More personalized sound effects can be added such as different sound for the fish s different status normal hungry and dead To conclude the ideas for designing a game can never be enough Innovation and creativity will always be the most important thing in developing an application Our team has demonstrated the superior quality in both of the innovation and the implementation Every group member has contributed to the whole and with continuous cooperation and coordination the final result appears to be satisfactory 41 References 1 http www gartner com newsroom 1d 2120015 2 http www engadget com 2012 07 12 nielsen has android near 52 percent of us smart phone share in q2 3 http techcrunch com 2011 04 27 there are now more free apps for android than for t he ios platform distimo 4 http news cnet com 8301 1035_3 57521252 94 can apples app store maintain its lea d over google play 5 http blog flurry com d
3. was also adopted using database technology Besides a store was provided to the users for purchasing useful tools adding more fun to this game Table of Contents PN NS Ere ecol e M 3 I2 NIaRket ISGSCOECING o eet epo den ates E ona oo oon E os ens oo ORE Mes UE EE E ERE EURE 6 IPM Target User Group c 7 1 2 2 Target Platforms and Device Configurations eeeeeeeseseeeeeeeeeeee een 9 LAW E EI o P E T T ME 11 2 2 Sereen and Interac yity DUOSIB EL eee coseseeeooneperebot Ete eben teF Pot n anes EK REO cte abt EE a oeS s e a EU EE FRS UE 13 2 5 Functional Requitetnelitsseosenesusoseucennesun E ERES uS TIEFE vcn E nU EUSMTFREEEENUEHMEE 14 V VILIS NC ERE PR AW IKXE LBS Pish MOVIE eee tese terii eerta eS ErET tua UE Hee Ea E E vtr b tae te ideas A WIKXE LBS B ndary Dethol sssusa i mtdU esque A IIT PUN IUIS AW IKXE BS Game Setting cecceccecceccesccecceccescseccecceccesessccccesceaecseeeeseaesaesreeseeaeeaeens RIFE LBS Scoring SVSEGITI iieri tree eiue tesa nie uciemliebnececabemeiie terc edet RIFE LBS 2 INon Purnctonal Reguiremeni S nessossusasiosani ian a a 19 ZA A P rformance TEQuITeiMe MUS x eacsvecovasdvaconasdvesetaeddacenssdeasetasddasqncedeesetasddasencsdeesedeeddesenendeese 19 pu MA MIU NN 19 PAESE OH Seu 1 2 BIST PR EE 20 SN IE UII E mme 22 Oh IMO ENT 2 goes ene
4. 29 Figure 26 Turtle for Extra money Seahorse Figure 27 Seahorse Seahorse represents extra rope If a seahorse is killed by drawing a rope through it certain amount of rope will be awarded to the user as the following figure shows 30 220 604 k 0 32 Figure 28 Seahorse Effects 3 3 6 Performance Evaluation Report The performance evaluation report will be shown under TWO situations One is for successfully compete the current stage As mentioned although the game is designed endless still certain stages are involved SHE J LV 1 trap FST 40096 han z pi circle 94 2 gee remaining rope 52 Setar 6Cot RPG Figure 29 Performance Evaluation Report Stage Completion 31 Detailed user performance will be listed out including the percentage of fish has been caught in current stage the size of the circle the remaining rope and thus the total score The report will be only shown for certain time interval and the game will continues of the report is disappeared The performance evaluation report can also be shown when the game is over 1 e one of the two resources time and rope is used up T LV 1 Vs trap fish 096 Size of circle 096 remaining rope 096 Stage score 0 Total score 0 Money 0 pr Jazz i a ae l y JH omes c Aem gt fie Eit JI adin Es i RE E Figure 30 Performance Evaluation Report Game Over The two reports a
5. A ENAA i NEENA EANA aia 27 Figure 21 Fish Food Ecc m 27 Dieure A TS a te E R E muU m 28 FD E E A E PPE E EE E EE E ee 28 Picur 2A Freezer EN CE aan ee ee 29 Pe E OE E A A AE A AAE AAE A A 29 Figure 20 Turtle TOt Bx Grane aon EEEE EEE EE 30 FE USD 7 O E EE E E A A E A A E A A A T esso ES eR CERE SS UE SOS 30 Figure 28 Seahors EMC CS sesser esinin a a Eaa EAE Ea AE RE Eaa Eai 31 Figure 29 Performance Evaluation Report Stage Completion eese 31 Figure 30 Performance Evaluation Report Game Over eeeeeeeeeeeeeeeeeeeeee 32 Poe M Rei diu iu e P 33 Figure 32 The Shopping SY Steril uu ssseves esse ren SeE seo eru eu ren Subs cru reu up udas dinidiin aridis 34 Figure 33 Level Selection Pape e eetopei ui Rex EUER na DH Dan C EE AU RESO n UTER ANI SEO PM S Td rr 35 Figure 34 Adventure Mode INStructiOn cccccssssscccccssseccceceeesecceseueseccceseeeeceesseaeceesauanseeeees 36 Figure 35 Future INSU UCTION osiesusia cies a SOR ae ePUS TI Pa RS NUPR IUE TVEUIS OR e Rab a PO NOS Sd EPAT RU TUERI S RS MEP ST S DES 37 1 1 Background The evolution of mobile phones indicates the improvements of material living standards People cannot live without mobile phones which are not only just phones but also as powerful as small computers According to Gartner s report over 153 million mobile devices have been sold in Quarter 2 2012 1 As smartphones are be
6. Figure 32 The Shopping System 34 3 4 Future Development In the future we will keep working on this app We will add classical mode and adventure mode to provide users with totally different user experience In classical mode we will design a background story and users can enjoy the game in different scene The star system will be involved In each level user will be awarded at most three stars according to the performance f the Currey logined player On 3 Ipusts AN Available In orden to w Loek Kerxet leunet purer 2 Should be om Cw h AS A AN N C T icted Lt um U Js Sanctactory gult Figure 33 Level Selection Page In adventure mode the actual character is presented in the figure of a diver who is about to swim and hunt around in the deep sea to catch fish and collect treasures both of which need good manipulation on the character s movement Also avoidance of fatal objects such as poisonous plants and sharks is also brought into the design All of these scenarios are achieved by the gravity controlling sensor Velauo zutne Y fn Aare the Oriento gt tion censor 0 y Control yourself to Vouchin the press MENU to Target Ls e back to the Mode Sebecton fage gt press Go t Start the 1 Avan e U T7 Tune Moot Figure 34 Adventure Mode Instruction Besides new game mode we want to offer more clear and vivid instructio
7. RCH 2011 UNITED STATES CG EE 75755 212 SS ERT 3 408 53 MB 2 20 B 20 355 3 a 206 163 16 ovi BI 29 920 10 65 B 6 363 9 APP LETAL Q Bh 117311 38 ee 0 50000 100000 150000 200000 250000 300000 350000 400000 Bl Free Applications E Paid Applications Figure 2 Number of Available Applications in March 2011 3 a Google play APP INSTALLS 2 BILLION APP DOWNLOADS 2008 2009 2010 2011 2012 Figure 3 Google Play App Installs by September 2012 4 4 For the first two months of 2012 Flurry Analytics measured that more than half of all end user sessions were spent in games Figure 4 Another Nielsen s Research done in Quarter 2 2011 showed that 93 of app downloaders were willing to pay for games Figure 5 As a result our attempt to develop a game app will be a wise choice proved by historical statistics Worldwide Sessions per Category Other Utilities 1196 496 Ty f r ios Entertainment f6 News Games Social Networking FLURRY Source Flurry Analytics Jan Feb 2012 n 64 billion sessions Figure 4 Worldwide Sessions per Category January February 2012 5 App downloaders are most willing to pay for games Percentage of App Downloaders who would pay for an App by Category Past 30 Day Pald App Downloaders Games Entertainment Productivity Maps Mavigation Food News Search horce Nielsen niel sen neem ee eee F
8. Service java ULiteDatabas e 21 3 1 Configuration The application should be able to run on a touch screen supported mobile phone with the platform of Android 2 2 3 or above To install this application an apk file called FishlIt is needed which only takes up less than 10MB At current stage no internet connection is required 3 2 Known Issues As known to all Android does not do quite well in memory management Therefore for our application memory crash is always one of the fetal problems which cause system error In order not to overrun with the memory every effort is made such as resizing the images lowering the resolution of images as well as the bit rate of background music within acceptable range using stack in the recursion function for detecting whether the fish is circled and so forth 22 3 3 User Manual Figure 15 Fish It Icon As the above figure shows the icon 1s designed with an anxiety looking fish to link with the fishing theme After pressing the icon Fish It will be launched and the wonderful fishing time is starting 3 3 1 The Welcome Page Figure 16 The Welcome Page There are totally three functional buttons in the welcome page which will be shown 23 once the user launches the App The Start button can simply start the game mode the About button leads to the About page including certain information of the game and the little shell shaped button contr
9. Sob p XS City University of Hong Kong Department of Electronic Engineering FE3314 Final Report Fishit CAO Jie 51737593 DING Yuhong 51800052 GAO Xiongfei 51797817 HE Meng 51800899 LIU Heyang 51799104 Group 1 Abstract Android market enjoys an increasing market share in current touchscreen mobile devices market and gains more and more popularity day by day Among all of the applications that Google Play provides game would be viewed as the largest collection which was finally selected as our application s type In this project a relaxing fishing game named FishIt 1s developed This is a highly user interactive game which simulates the ocean environment and the vivid movement of creatures providing an amazing playing experience to the target group young generation Three different playing modes were designed at the very beginning However due to the time limitation regretfully only one mode was well developed and function supported at current stage In this mode the user can play in a leveling up scheme until the terminating condition has been met all of the rope 1s used up The difficulty will be increased as the level goes up since the length of the rope is accumulated and the user always have to come up with the most efficient way to consume the rope To add more variation to the game different ocean creatures were introduced such as clownfish sea turtle and sea horse Scoring and ranking system
10. ategy forming game designed to stimulate really fishing environment which targets for fishing enthusiasts The game aims to entertain user with high quality forged ocean setting challenging fishing tasks creative fishing methods attractive user interface and etc The overall design philosophy is self challenging which makes our game endless Basically user needs to capture as many fish as possible with limited rope provided and within the limited time The amount of time and rope as two resources to continue the game can be gained through satisfactory performance or can be purchased via the shopping system With the help of various tools and special creatures the turtle and seahorse which will be introduced detailed in the User Manual user should try their utmost to maximize the number of fish caught thus gain more coins The game will never end until one of the two resources 1 e rope and time is used up This will lead to game over and give out the performance evaluation report to show performance The game keeps a recording of SIX best players in terms of their username and final score in the ranking page Since we are planning to connect the game to social networks like Facebook or twitter allowing the competition with friends the ranking system 1s the key Although the game is endless it is still divided into certain stage 1 e levels to show users their detailed performance after each stage via the performance evalu
11. ation report Base on the report corresponding amount of the rope and coins will be awarded And the game will automatically continue after certain delay for users to view their performance The self challenging design makes the game even more interesting thus attract users by arousing their passions to challenge themselves For Fish It there is no 11 restriction on target user s age gender educational level etc therefore rather than from different purposes of using this application the interactions that we have foreseen are mainly from the perspective of the users operations and our expected input from them 12 2 2 Screen and Interactivity Design There are 5 main pages in the game They are welcome page about page ranking page shop page and game page The 5 pages will be introduced in detail in 3 3 User Manual All icons and creatures are designed by our group by using the Photoshop We aim to create a relaxed environment with attractive vivid overall design philosophy Figure 13 Creature Design 13 2 3 Functional Requirements 2 3 1 Animation In this game we designed a draw thread to achieve the animation effect Instead of using the available methods offered by android sdk we used thread to update the canvas The reason is that thread offers better stability and solves ANR Application Not Responding problem We set the fps to 50 in order to provide a fluid experience for users The idea of ac
12. coming people s first choice when purchasing mobile phones manufacturers like Apple Samsung HTC Motorola and Nokia are fighting vigorously for market share Different platforms such as IOS Android BlackBerry and Windows provide products with different user experience Among all the mobile operating systems Android has a soaring smartphone market share and would remain the biggest market in the following years Figure 1 shows the smartphone manufacturer share by operating system in Quarter 2 2012 Smartphone manufacturer share by operating system ar modile subscnber rni eee LN a Figure 1 Smartphone Manufacturer Share by Operating System 2 Wide price range touch screen pleasant appearance fast Internet access and various functional applications make these Android smartphones popular among all ages and incomes The diversity of Android applications is no doubt the most notable feature considered by smartphone purchasers From Figure 2 we can find that Google Play Android app store had the second largest number of available applications among all the application stores in March 2011 What s more as announced by Google in September 2012 Figure 3 25 billion apps had been downloaded which was a figure Apple reached six months before It looks like that Google Play still has room to grow so that it is worthwhile spending our efforts on Android application development NUMBER OF AVAILABLE APPLICATIONS DISTIMO MA
13. efault aspx Tag Usage 20Statistics 6 http blog nielsen com nielsenwire online mobile games most popular mobile app ca tegory 7 https play google com store apps details id2com RockingPocketGames iFishing 8 https play google com store apps details id com gamenauts ninjafishingfull 9 https play google com store apps details id org cocos2dx FishGame 1O http www electronista com articles 11 12 15 nielsen q3 look back shows age splits 11 http thenextweb com google 2011 12 12 nielsen reveals most popular android apps by age angry birds appeals most to over 35s 12 http www intomobile com 2011 09 14 top 20 android apps by gender led by faceb ook google maps and gmail 13 http www apps4android org p 4168 14 http www javacodegeeks com 2011 07 android game development game loop h tml 15 http www xuanyusong com archives category android android_game 42
14. hieving a stable fps 1s show below 1 50 second i time Lo LJ up date drawing sleep time time time Figure 14 Achieve Stable FPS If the sum of update time and drawing time is less than 1 50 second then the thread will be sent to sleep for a short period It is very useful for battery saving too Pseudo code While running Catch the canvas Update game state 14 Render game state to the screen Draw the canvas on the panel Calculate how long did the cycle take Calculate the sleep time j If sleep time gt 0 Send the thread to sleep In order to save the resource we calculate the fps by finding the total processing time of 20 frames We used System nanotime instead of System currentTimeMillis when calculating the fps Because System nanoTime is more reliable for timing It returns a value that is derived from some internal CPU counter clock The time measured by this clock cannot be changed by any user or program System currentTimeMillis returns 1s obtained from the internal clock of the machine If a system administrator changes the time for example if the clock is found to be running 5 minutes fast and the administrator goes and corrects it System currentTimeMillis will be affected fps Math round 100 1000000000 0 span 20 0 01 span is the time interval of 20 frames 2 3 2 Fish Moving Currently the fish has four moving modes They are line curve searching food and free
15. ickoffice m 27 Advanced Task Killer Free IM 26 words With Friends E3 225 Amazon AppStore E 228 Adobe Reader EI IU The Weather Channel B 16 Yahoo Mail E 17 Android Market EE ra Android Market MEE Facebook Ld Tr Gmail 7 TI Google Search MEE Google Maps E YouTube 5105 Angry Birds E 15 Quickoffice EN 20 Advanced Task Killer Free J 2455 amp mazan Appstore dd 75 Words With Friends d 71 Yahoo Mail E 20 Pandora Radia E 20106 Adobe Reader E 20 The Weather Channel Ej 1756 Figure 10 Mobile Application Reach by Age by September 2011 11 Gender No Limitations or Preferences According to Nielsen s research there was little influence of gender on the choices of game apps such as Angry Birds Therefore FishIt will have no limitations or preferences over gender and everyone would enjoy this kind of fishing game 8 Top Android Apps by donde e in the US Nielsen Smartphone Analytics Device Metering July 2011 o x x p E LVL ALL A activ dl ACLIVE Save MALLI D ecl taal R na h tcI t cH cn LO L E Bst r 7 G 71 aro E Fa rau 4 irs MM 25 9 ts ML 273 sirds M24 dio BE 23 9 i ree B 24 2 Pro Ml23 0 T i 1 L 1 1 i IM im ore M19 4 E nds Ms o M ice E67 iter Bite s TE B E b JE ner B3 nnar W137 ndie W148 die 2 4 TT ader BIZ 4 is 7 nielsen Figure 11 Top Android Apps by July 2011 12 1 2 2 Target Platforms and Device Configu
16. igure 5 Percentage of App Downloaders Who Would Pay for an App by Category in Quarter 2 2011 6 1 2 Market Research In Google Play there are currently many kinds of fishing games which are utilizing different methods to play games For example 1 Fishing Figure 6 simulates real fishing scene and users can drag the fishing pole to catch fish Another fishing game is Ninja Fishing Figure 7 which is similar to Fruit Ninja and you can slice your fingers on the screen to cut the fish into two pieces There is also a fishing game called Fishing Joy Figure 8 When you tap on the screen a piece of fishing net will appear and fish covered by the net will be caught There are still other fishing games but these three are the most typical ones with relative more advantages They all have user friendly interfaces and good user experience with rating about 4 5 out of 5 0 Each of them has unique fishing technique and our FishIt also has unique techniques different from all of the techniques in the market TEDAS a A i NT ugo Line out Total Weight 30 mr 200 TS o xU iR JE 29 gt lt f Line Tension na Slower Faster Bass Walleye eeem V Pike Musky Figure 6 i Fishing 7 Sh T0001 O7 iG NE Figure 8 Fishing Joy 9 1 2 1 Target User Group Age No limitations According to the Nielsen s research Figure 9 Android attracts not only young consumers but also old people above 55 Another research als
17. ilization Basically we use this class to databases for ranking database For ranking database we created an intermediate adapter class to provide service specific to ranking In this class named rankInfoService the following methods are implemented public boolean insert RankInfo rankinfo public ArrayList lt RankInfo gt listFirstSix public int getRanking int score These three methods can facilitate update and display the ranking information flexibly and we make use of a ArrayList for the displayed rankings which is easy to handle and inverse the order 1f necessary We construct a data structure for ranking information i e to specify the content format to be stored into the database Basically there are four fields for rank entry private Integer id private String player private int score private Integer ranking The direct manipulations are also incorporated in the structure class 2 3 5 Store We use a global array to store the amount of items currently in the store By buying items or using it the global value will be altered and also be reflected in the store display 18 2 4 Non Functional Requirements 2 4 1 Performance requirements Considering the requirements of maintaining our application s friendly game environment and providing enjoyable user experience the resolution of the pictures must not be lowered to an unacceptable range as well as the quality of the background music Besides the moti
18. le for developing an bug free application at the same time recording important things for future maintenance and user instruction In order to boost efficiency we try to maximize each team member s potential by allocating the person with certain talents to do the right job Following 1s the detailed role assignment table 38 E o _ B o User Interface Design Implementation on tools Documentation Implementation on database Implementation on environmental setting Implementation on rope amp time bars Implementation on animation Implementation on motion detection Testing User Interface Design Implementation on Game Setting Documentation Implementation on Boundary Detection Implementation on Scoring System Testing 39 4 2 Roadmap The roadmap for the development of this project can be viewed as follows 40 5 1 Evaluation Although not all of the three modes were developed in the end the final product still came out to be quite satisfactory and can be evaluated as an entertaining game The User Interface is quite attractive and the proposed functionalities and features for the Survival Mode have been managed to be supported Other than these this application can still be further improved from the following aspects 1 Providing a tutorial video animation to the users to make sure all the functions and scoring principles have been introduced clearly 2 Designing more useful tools to increase
19. ns via animation We tried to insert the instructions into our game however due to the memory limitation the performance is poor In the future we will find another way to achieve the instructions After solving the memory problem we can add more sound effects and animation effects as well 36 Figure 35 Future Instruction Finally we want to form online game circle Users can compete with friends by shanng the score on Facebook or other social network platform An achievement system may be involved at the same time 37 4 1 Tasks Division and Role Assignment The whole project has gone through all the following stages Market Research gt Topic Selection gt Functional Design gt User Interface Design gt Implementation gt Documentation amp Testing The project is started by research the current Android market via secondary date and thus brain storm the topic After select the theme and topic certain functionalities should be designed base on the results of market research and target customer study User Interface Design is further developed into THREE steps as analysis of product and target user visualize design using storyboard and digitalization via Photoshop Implementation is the main part of the development process in which the designed functionalities will be realized via coding by Java and XML The development environment is eclipse Last but not least documentation and testing is indispensab
20. o showed surprising statistics Figure 10 games like Angry Birds appeal more to those 35 45 when compared to other age groups 35 percent of them have used the app in the last 30 days while only 22 percent of those 18 24 and 29 percent of 25 34 year olds launched the eame Therefore we can conclude that games can be ubiquitous among all age groups and our game FishIt do not have limitations on age As long as you can use your fingers you can play this fishing game cm 50 VE mamme xbimm etm Smartphone OS penetration by age group c p hu Quosoo Barer os Qi on nce QU woows moet D wioows 7 omer 18 24 25 34 165 44 45 54 55 64 65 LEADS IN EACH AGE GROUP Figure 9 Smartphone OS Penetration by Age Group during August October 2011 10 Facebook and Google properties dominate Android application usage across age groups Mobile Application Reach by Age Nielsen Smartphone Analytics Device Metering Data September 2011 Android Market NENNEN goo Facebook MEE co Google Search E TFA coma BEBE ii Google Maps RE 70 YouTube ed 5495 Pandora Radio 3 i005 Advanced Task Killer Free EN 76 Wards With Friends Ed 2595 Angry Birds 2204 Quickoffice BU 20 The Weather Channel E 1735 Adabe Reader L 1654 Amazon AppStare H 14 Yahoo Mail E 1396 Source Nielsen Facehook EIL B156 Gmail sd Google Maps MEE vox Google Search EE vax YouTube MEME sox Angry Birds psi 2904 Pandora Redio MEM za Qu
21. ols the background music and sound effects 3 3 2 The About Page CAO Jie DING Y LIU Heyang I Figure 17 The About Page As the above screen capture shows all the developers names are listed in the About Page Other detailed information related to the game may be added in the later stage The star shaped Back button can lead user back to the Welcome Page 3 3 3 Game Mode As mentioned in the User Scenarios user should try their utmost to catch as many fish as possible with limited amount of time and rope under the help of various tools 24 One of the attractiveness of Fish It is its creative fishing method In order to capture fish user should circle the target s with closed shape using the rope provided from the ship located in the center of the screen 300 300 T 27 30 cm ha wil 927300 28 30 Figure 18 Fishing Method 25 As the above screen captures demonstrate the rope can only be drawn from the ship or the already drawn rope Only the closed shapes can form a compete fishing net for successfully catching the target s As shown on the top of the screen the rope bar and the time bar indicate the remaining amount of rope and time respectively 3 3 4 Tools Fish It provides user various tools to boost user performance and increase the attractiveness and interestingness to the game There are totally 3 kinds of tools available 1 e fish food freeze
22. on of the ocean creatures and many add on features make the demands on memory even larger After investigating the required memory of some similar ocean environment fishing games in the current market such as Fishing Joy 58M Ninja Fishing 43M and Fishing Master 13M our estimated memory will be less than 20 Megabytes And the minimum requirement on the operating system is Android 2 2 3 2 4 2 Security Since in the future development stage payment from actual currency on virtual currency in the game might be realized the user account information is considered to be a significant security issue We aim at achieving keeping all of the users data secretly and it cannot be accessed by others unless being authorized 19 2 5 Architectural Design The whole project is divided into eight parts main activity animated effects database models tools files resource and view Main Structure activities animated effects database files models tools resource view The above figure shows the structure of the main activity The layout of main activity is specified in main xml For the animation of the plant the sequences of frames are specified in the xxx animation xml in the drawable folder 2 5 1 Activities Main activity java Store java 2 5 2 Views 20 About java Game java Game_endless java 2 5 1 Activities SQLiteOpenHelp er jJaVva Database Utility java Ranking
23. p for locations in the screen 16 In this matrix different values are set for different meanings 1 means the location has rope 0 means the location has no rope and 1 means the location is not accessible Pseudo code public Boolean isInCircle x y map set current location as starting location hasNext false a flag for whether next location is found push starting location into stack set starting location to 1 in map as not accessible while stack 1s not empty if current location 1s screen border return false fish 1s not inside the circle hasNext false while have not go through 4 directions amp amp hasNext false change a direction for the next location of each direction check whether it 1s available for fish to go if found then hasNext true j if hasNext true push the location into stack set the location to 1 in map lelse pop current location out of stack j return true no way out fish is inside the circle 2 3 4 Database Implementation 17 SQLiteOpenHelper is a class that facilitates managing database creation and upgrading By extending this class and implement its onCreate onUpgrad and adding other table wise methods to provide a complete dimension of database management functionality The simplicity 1s achieved by directly implementing SQL to database of SQLiteDatabase class As we set the foundation for our database system we are now ready to extend it to specific ut
24. r and water spin which can be wined through previous performance or purchased via the shopping system However the maximum number for each kind of tools at one time 1s limited to FIVE Figure 19 Tools 26 The 3 icons of the tools are listed on the lower right corner of the screen By touching the icon once followed by touching the place where the food tends to be placed the corresponding tool will be placed to the desired place Fish Food Figure 20 Fish Food Fish food can attract creatures together to certain place on the screen Usually it will be placed very close to the ship to save rope Fish food is extremely useful for capture multiple creatures with single circle using limited amount of the rope C 377 T TD 1 O Figure 21 Fish Food Effects 27 Water Spin Figure 22 Water Spin Water Spin can force all the creatures to the button of the screen which allows easy capture Freezer Figure 23 Freezer Freezer used as ice can freeze all the creatures on the screen and make them unmoved This largely eases the capture process 28 Figure 24 Freezer Effects 3 3 5 Special Creatures Besides normal fish there are several special creatures available which will cause special effects Turtle Figure 25 Turtle Turtle represents extra money If a turtle is captured certain amount of money will be awarded to the user i e 50 coins as the following figure shows
25. rations The target platform for FishIt is Android 2 3 or above The following table and chart are based on the number of Android devices that have accessed Android Market within a 14 day period ending on December 3 2012 The most popular platforms are Android 2 3 3 and 4 0 3 In order to fulfill the most customer requirements we are going to make our application compatible with Android 2 3 or above Version Codename API Distribution 1 5 Cupcake 3 0 10 2 1 Eclair 7 2 70 2 2 Froyo 8 10 30 Gingerbread 2 3 3 2 3 7 50 60 3 1 Honeycomb 1 20 4 0 3 4 0 4 Ice Cream Sandwich 27 50 5 90 Jelly Bean 4 2 0 80 Table 1 Android Platform Version Distribution 13 Android Platform Version Distribution 0 8096 0 1096 0 3096 2 7096 E Android 1 5 B Android 1 6 m Android 2 1 E Android 2 2 E Android 2 3 E Android 2 3 3 Android 3 1 Android 3 2 Android 4 0 3 Android 4 1 Figure 12 Android Platform Version Distributions The device configurations are listed as follows e Testing Device Samsung Galaxy Tab 8 9 LTE e Android Version 2 3 or above e Processor 1 5GHz dual core Samsung Exynos processor e Screen Size 5 3 inches or above o As Fishlt needs precise operations we suggest users to play it on large screens e Screen Resolution 1 280 x 800 pixel WXGA resolution e Screen Orientation Portrait e Touch Screen Full touch bar 10 2 1 User Scenarios FishIt 1s a highly interactive str
26. re basically the same to include the detailed user performance except the total number of coins owned will be list on the upper right corner of the screen when game is over After game over user can challenge again or back to the Welcome Page Besides the shopping system is now accessible for tool purchase and the ranking page 1s also available 32 3 3 7 The Rank Page If the user s performance is really outstanding and can refresh the records listed in the Rank Page the user will be asked to input name and thus become one of the SIX best player listed in the Rank Page with detailed usernames and scores Ranks 2 XF GAQ 4432 Congratulations You won the place 6name please type in your name Demo OK A s A J Figure 31 The Rank Page 3 3 8 The Shopping System For those useful tools as well as the amount rope and time to boost user performance they can be purchased via store the shopping system Different items with required number of coins will be listed in the store By pressing the one you like and confirm once more the item will be gained if the remaining number of coins is sufficient 33 w ey Food S00coins Food 500Coins Spin 500Coln 3 Spin even Freezer soocoi Af Freezer soocoin Buy Food More Rope Are you sure to spend 500 coins to buy Food More Rope 2999 Adding Time a Adding Time 200 CongratulationstYou ve spent 500 coins for a Food
27. see 4 Figure 3 Google Play App Installs by September 2012 4 eee 4 Figure 4 Worldwide Sessions per Category January February 2012 5 5 Figure 5 Percentage of App Downloaders Who Would Pay for an App by Category in Quarter PN SNL c E 5 Daeurc o qo skill 4 Cet te ht Uic nut ee er 6 Fre eS IN Tin a SPS ossseregeeesuteeseaut ed EEEE EAEE 7 Figure Fishing Joy dp c 7 Figure 9 Smartphone OS Penetration by Age Group during August October 2011 10 8 Figure 10 Mobile Application Reach by Age by September 2011 11 J 8 Figure 11 Top Android Apps by July 2011 12 eere 9 Figure 12 Android Platform Version Distributions esee 10 Figure 13 Creature Design eeeeeseeeee eee seen nenne nennen nnn ent heu shss tasa se estes sat es shes e eas 13 Figure 14 Achieve Stable P S anasispadsicsid ebbe wineticatibevetitecsadalecetimaailivetstad diss thesi Genre timui iaa Rd 14 Lara eam E al F lt 0 LACE ESO E E E E TTL LITT 23 Figure 16 THe Welcome Page oseseessseepeo evo den Svp erue een Subaru uuo eia aea aaeain ups 23 Fiure 17 The ADOM POS ae ee ee nee ee eee ee eee eee 24 Preure 15 Fishing IVC LPOG socceroos iiiar EE EEE EEE 25 ee be Ae 000 P E E E E A T E E E E E E E E E E E 26 Figure 20 Fish Food sses encina Enana aa AEEA AA TAA
28. zing In the future when new tools are introduced there will be more modes In line mode the position of the fish 1s updated according to the former position and settled angel xx lastX distance Math cos angle yy lastY distance Math sin angle 15 In curve mode the angle will be changed within a small range 1 8 to 1 8 When angel is larger than 360 degree this angle this angle Math PI 2 A fish s moving mode is keep changing between line mode and curve mode Firstly we generate a short time interval in this time interval the fish will move in line mode or curve mode After that the mode will be changed to the other one Pseudo code While running Generate a random time interval T While T gt 0 Move in line curve mode Ts If line mode Changing to curve mode Generate a new angel randomly If curve mode Changing to line mode j In the other two modes a timer will be conducted When collision detected the moving mode will be set to curve mode and the angel will be changed within a larger range 2 3 3 Boundary Detection We designed a boundary detection algorithm to check whether a fish 1s circled or not We used a recursive function and defined a stack 1n order to make the algorithm more efficient since calling function uses system stack Generally the algorithm tries to find whether there is a way from the location of fish to the boundary of screen It makes use of a matrix of ma
Download Pdf Manuals
Related Search
Related Contents
Energizer CH2PC3 User's Manual Télécharger le journal MA VILLE 98 KitchenAid 8578233 Washer User Manual Décision no 99-026 CODE CANADIEN DU TRAVAIL PARTIE II iCN 500 serie FLAVIA® Creation 200TM/MC Tacens Anima ACRM2 UM10437 - NXP Semiconductors Copyright © All rights reserved.
Failed to retrieve file