1. Trang chủ
  2. » Luận Văn - Báo Cáo

capstone project document mobile based cashflow boardgame

185 0 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Mobile-based Cashflow Boardgame
Tác giả Thái Đức Lợi, Trịnh Gia Huy, Nguyễn Phùng Công Danh, Dương Kim Long
Người hướng dẫn Mr. Nguyễn Thế Hoàng
Trường học FPT University
Chuyên ngành Software Engineering
Thể loại Capstone Project
Năm xuất bản 2023
Thành phố Ho Chi Minh
Định dạng
Số trang 185
Dung lượng 6,47 MB

Nội dung

Table 44 - Player Service Class Specification 102Table 46 - Manage event card Service Class Specification 107Table 47 - Mange dream Service Class Specification 110Table 48 - Manage game

Trang 1

MINISTRY OF EDUCATION AND

TRAINING

FPT UNIVERSITY

Capstone Project Document

Mobile-based Cashflow Boardgame

GSP23SE27

Group Members

Thái Đức Lợi – Team Leader – SE140060Trịnh Gia Huy – Team Member – SE140059Nguyễn Phùng Công Danh – Team Member – SE140142Dương Kim Long – Team Member – SE140175

Capstone Project code SE23SE37

Ho Chi Minh, May 2023

Trang 3

1.1 Scope & Estimation 23

Trang 5

1.2 Package Diagram 73

73

3.3.4 Update Character Selected Sequence Diagram 96

Trang 6

3.4 Change Job Feature 97

Trang 7

3.8.2 Class Specification 112

Trang 8

1.2 Known Issues, Limitations & Restrictions 151

Trang 9

3.2.4 Player View list room and join or create room 160

Trang 10

3.2.11 View financial report in Fasttrack 166

Trang 12

Table 21 - Dream Management Function 45

Table 32 <Screen authorization> Web application and Game application 57

Table 34 - Logic entities and attributes description 66

Table 41 - Change outfit Service Class Specification 95

Trang 13

Table 44 - Player Service Class Specification 102

Table 46 - Manage event card Service Class Specification 107Table 47 - Mange dream Service Class Specification 110Table 48 - Manage game account Service Class Specification 112

Table 50 - Manage Asset Service Class Specification 121

Table 55 - <System Requirements> Web application 152Table 56 - <System Requirements> Software requirement 152

Trang 14

List of Figures

Figure 3 - <Use case overview> CashFlow Application 33Figure 4 - <Screen flow diagram> Game application 38Figure 5 - <Screen flow diagram> Admin web application 39

Trang 15

Figure 22 - Get Player Asset Sequence Diagram 95Figure 23 - Update Character Selected Sequence Diagram 96

Figure 31 - <Class Diagram> Admin manage event card 106Figure 32 <Sequence Diagram> Admin create event card 107Figure 33 - <Sequence Diagram> Admin update event card 108Figure 34 - <Sequence Diagram> Admin inactive event card 109Figure 35 - <Class Diagram> Admin manage dream 110Figure 36 - <Sequence Diagram> Admin update dream 111Figure 37 - <Class Diagram> Admin manage game account 112Figure 38 - <Sequence Diagram> Admin create game account 113Figure 39 - <Sequence Diagram> Admin update game account 114Figure 40 - <Sequence Diagram> Admin inactive game account 115Figure 41 - <Class Diagram> Admin update job 116Figure 42 - <Sequence Diagram> Admin update job 117

Figure 44 - <Sequence Diagram> Create Match history 119

Trang 128

Image16:Artwin/lose

Trang 129

Image18:Someofthepicturesareusedasdreaminthematch

Trang 131

● Player job:

Image23: Player job

Trang 132

● Npc: NPCs will appear in the map so players can interact or do quests:

Trang 133

Description: Player will run quickly towards the joystick when pressing the button onthe screen.

Content: Made for the player to run fast in the direction of the joystick that the playercontrols, if not, the player will not run

Image26: Thecharacter runswhentherun buttonispressed

4.3.1.3 Player's Jump

Description: Player jumps when pressing the jump button on the screen

Content: Implemented for the player to be able to jump when pressing the jumpbutton And when possible, combine moving and jumping at the same time

Image27:Thecharacter runs whenthejumpbutton ispressed

Trang 134

4.3.2.1 Create a playroom or join a playroom

Description: Players can create or enter an existing playroom to start the match.Content: Use Photon fusion to make a game server, and use it to create a playroom.Some pictures:

Image28:List room

Image29:In room

4.3.3 Play Game

4.3.3.1 Move on the chessboard

Description: Move the piece when the dice roll button is pressed

Content: Move the correct number of squares to the number of dice rolled

Trang 135

4.3.3.2 Make events in the Rat Race

Description: Player moves to cell and executes event within Ratrace

Content: The player rolls the dice and moves to the tile, and each tile contains an eventtype Player can either fire the event or ignore it (if allowed)

Some pictures:

Image31:MakeaDoodadevent

Trang 136

Image33:MakeaBig Deal/SmallDeal event

4.3.3.3 Move out the Fasttrack

Description: From the Ratrace move outside the fasttrack

Content: Eligible cash flows in the financial statements within Rat Race will

automatically move out of the Fasttrack

Some pictures:

Trang 137

Image35: Player movestothe Fasttrack

4.3.3.4 Make events in the Fasttrack

Description: Player moves to cell and executes event within Fasttrack

Content: The player rolls the dice and moves to the tile, and each tile contains an eventtype Player can either fire the event or ignore it (if allowed)

Some pictures:

Trang 138

Image37: Makeanproblemevent

4.3.3.5 Win match

Description: Player reaches the condition and wins

Content: Player accumulates enough money that the game offers or enough money tobuy his dream to be able to win the match

Some pictures:

Trang 139

Image39:Buy yourdreamtowin

Trang 140

4.3.4 Owning and changing outfits

4.3.4.1 Buy outfit

Description: Buy outfit in shop

Content: Use the money earned through playing the game to enter the shop to buy thecostumes for sale and own them

Trang 141

4.3.4.2 View inventory and change outfits

Description: View inventory and change outfits

Content: Open the inventory to see the purchased skins, click on the outfit image tochange the outfit

Trang 142

Image43:Insidetheinventory

Trang 143

4.3.5 Change Job

Description: Change player's job

Content: Change the player's current job

Image45: Changingjobisavailable in the game

4.3.6 Build map and chessboards

Trang 144

4.3.6.2 Chessboard

Description: This is where chess pieces and events appear

Content: Build a chessboard in the classroom selected in the map

Trang 145

● Making setting UI

● Making match history UI

● Making the job selection screen and create a name for the first player created inaccount

● Some UI in game and match

Content: The function buttons are all done

Image48:LoginUI

Trang 146

Image50:CreatecharacterUI

Trang 147

4.3.8 Add sounds

Description: Add background sound to the game

Content: Add sound to the game Write an AudioManager to manage the backgroundsound and effects, you can adjust the volume up and down in the game options.Music in the game:

● Infinite Doors

● Potato

Trang 148

● Optimize UI interface to suit more phone devices

● Optimize 3D models in the game to reduce capacity and optimize performance.Content: Adjusted UI to suit many devices

Trang 149

V Software Testing Documentation

1 Overall Description

1.1 Test Scope

We plan to define test cases in main flow only

1.2 Test Model

We use Incremental testing for some approaches:

● Each module is required a role to use clearly

● Each module could test at the early stage of the develop process1.3 Testing Levels

● Testing Level: User Acceptance Test

● Testing Types: Functional Testing, User Interface Testing

2 Test Plan

2.1 Test Stages

Type of Test

Test LevelUnit Integration System Acceptance

Table51- TestStages

2.2 Resources

Thái Đức Lợi Leader Planning, execute, verify test result

Trịnh Gia Huy Member Planning, execute, verify test result

Trang 150

Nguyễn Phùng Công

Danh Member Planning, execute, verify test result

Dương Kim Long Member Planning, execute, verify test result

3 Test Cases and Test Reports

User Acceptance Test

iTranslator-_-Capstone-Project-_-Test-Report.xlsx

TestDocuments\2023.Spring-_-TestCaseTable56-TestCases andTestReports

Trang 151

VI Release Package & User Guides

1 Deliverable Package

1.1 Source codes & documents

Table54- Sourcecodes &documents

1.2 Known Issues, Limitations & Restrictions

● Installers for each projects haven’t been packaged

● Database must be initialized by using database scripts

Trang 152

versionTable55 -<SystemRequirements>Webapplication

2.1.2Game application

Trang 153

2.3 Installation Instruction

2.3.1Setup Database

Install Sql Server 2019 by following guidelines link:

don-gian-chi-1312926

https://www.thegioididong.com/game-app/huong-dan-cai-dat-sql-server-2019-cuc-2.3.2Setup BackendAPI

+ Install Visual Studio by following guidelines link:

https://thuthuatphanmem.vn/huong-dan-tai-va-cai-dat-visual-studio/+ Extracting:MobileBasedCashFlowAPI.zip

Figure48- Setup BackendAPI

+ Open MobileBasedCashFlowAPI.sln file with Visual Studio

+ Config your database connection

Trang 155

+ Open terminal and enter npm I:

Figure52- Setup ManagementWeb+ Change baseUrl based on your backend configuration

Trang 156

+ In terminal, enter npm start

Figure54- Setup ManagementWeb

+Project start withhttp://localhost:3000/

Trang 157

3 User Manual

3.1 Overview

- Admin manage dream, game account, asset , event card and user

- Player can play game, create room, join room, change outfit, view history,shopping, change job,

3.2 Application Usage

3.2.1Guest registeraccount

Trang 158

1 Click “đăng ký” button in login scene

2 Enter username: Longdklong

3 Enter email:longdk0486@gmail.com

4 Enter password: 123465789

5 Enter confirm password: 123465789

6 Click “đăng ký” button

Trang 159

3.2.2Player loginintogame

1 Enter username: LongdkLong

2 Enter password: 123456789

3 Click “đăng nhập” button

3.2.3Create nameandchoose job

1 Swipe to choose job

2 Enter name: “Zero”

3 Click “Xác nhận ” button

Trang 160

3.2.3Talk npctoswitchscenelobby

1 Use joystick to control character move near npc

2 Click white text to switch scene lobby

3.2.4Player Viewlistroom andjoinor createroom

Trang 161

1 Click “Tham gia” button to join room

2 Click “ Sẵn Sàng “ to start the match

3.2.5Play game

1 View detail info job

2 Click “Chấp nhận” button to accept

Trang 162

1 Click “Đổ Xúc Xắc” button to roll Dice

3.2.7DoRatraceevent

Trang 163

1 Click “Chấp Nhận” button to accept envent card

2 Only big deal/small deal card player can click “Từ chối” button to cancel event

Trang 164

3.2.8View financialreport

1 Click button have report icon

2 If it slider have 100% player can move out to fasttrack

Trang 165

3.2.10Do eventinFasttrack

Trang 166

1 Click “Chấp nhận” or “Ok” button to do event card in Fasttrack

3.2.11Viewfinancialreport inFasttrack

1 Click button have report icon

Trang 167

1 If it current income equal income target player can win game

Trang 168

2 Or player can win game by buy dream

3 Click “Muốn” button to buy dream

Trang 169

4 Click “Ok” button to finish match

3.2.13Viewmatchhistory

1 Click button have icon History

Trang 170

3.2.14Buyitem

Trang 171

2 Click button have icon shop

3 Click button “Get” to buy item

4 Item has been purchased will be disappear in shop

3.2.15Changeoutfit

Trang 173

1 Click button have icon Inventory

2 Click button have outfit picture

3 Click back button to see outfit change

Trang 174

3.2.17AdminCreate EventCard

1 Click Event Card button in navbar

2 Click “New Card” button

Trang 175

3 Fill all information

4 Click “Create” button

3.2.18Adminupdate eventcard

Trang 176

1 Click “edit” icon button on the row want to update

2 Fill all information

3 Click “Update”

Trang 177

1 Click “bin” icon button on the row want to delete

2 Click “Yes” button to delete or “No” to cancel

Trang 178

3.2.20Adminupdate job

1 Click Job button in navbar

2 Click “edit” icon button on the row want to update

Trang 179

3 Fill all information

4 Click “Update” button

3.2.21Adminupdate dream

Trang 180

1 Click Dream button in navbar

2 Click “edit” icon button on the row want to update

3 Fill all information

4 Click “Update” button

3.2.22Admincreategameaccount

Trang 181

1 Click Game account button in navbar

2 Click “New Game Account” button

3 FIll all information

4 Click “Create” button

Trang 182

1 Click “edit” icon button on the row want to update

2 FIll all information

3 Click “Update” button

Trang 183

1 Click “bin” icon button on the row want to delete

Trang 184

2 Click “Yes” button to delete or “No” to cancel

3.2.25AdminUpdateasset

Trang 185

1 Click Asset button in navbar

2 Click “edit” icon button on the row want to update

3 Fill all information

4 Click “Update” button

Ngày đăng: 09/05/2024, 10:58

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w