首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
代写8PRO102、代做C++程序设计
项目预算:
开发周期:
发布时间:
要求地区:
8PRO102 – Programming Language (C++)
1
Project Week #2
Rules
• The project must be developed in a team (3-6 members)
• Using code from Internet is not allowed (Don’t take a premade project from internet).
• Comment your additional files.
• Choose one of the two projects (one is simpler but gives fewer points).
• Write a report describing the structure of your project (follow the template provided). Everything
must be explained in your report.
Project A
• Implement a meeting management application.
• The application allows the user to:
o Add, remove, update, show (information) people. A person has:
An ID (composed by a 4-digit number (years of registration), and a counter that
increases each time one person is registered, 20221 for example)
A first name and a last name.
A status (Professor, Student, Administrative).
o Add, remove, update show (information) working rooms. Workings rooms have:
An ID (a number)
Maximum capacity
Remote meeting (Visio telephony) system or not
o Schedule meetings (by adding people to working rooms and setting a period). A meeting
has:
A period.
A list of participants.
The need for a visio telephony system or not
o Cancel meetings.
o A meeting that does not need visio telephony system can be set in a room that proposes
one. However, a meeting that needs a visio telephony system can not be set in a room
that does not propose one.
o Warn the user if a working room is not available for a specific period.
• Save and load from a file.
• Show credits.
• If the user tries to interrupt the program by pressing (CTRL + C) the application should asked the
user if they want to save before).
8PRO102 – Programming Language (C++)
2
• If a room is removed, and a meeting booked the room, the system asks the user to confirm. If the
user confirms all the meeting linked to this room are removed.
• If the user tries to add more participants than the room capacity, the system raises a message
and propose another room is one is available or another period.
Features Descriptions Score
Menu Main menu is show and can quit the program 1
Person Can add, remove, update and show a person, show option
prints all information about one person.
1
Working room Can add, remove, update and show a working room. Show
option prints, the ID of the room, maximum capacity, if the
room contains a visio telephony system or not, the number of
meetings linked to the meeting room
2
Meeting Can add, remove, update and show a meeting. Show option
prints, the ID of the room, the list of participants, the period, the
need for visio telephony system or not.
2
Save and load Can save and load from file (one or several, you can use JSON,
https://github.com/nlohmann/json)
2
Interrupt If the user press (CTRL + C) the application, ask if you want to
save before.
1
Credit The program show the names of all members of the group 1
Modulization Your project use headers files 1
Feedback Each action generates feedback to inform if the action has
been completed or not
1
Total 12
Welcome to Meeting Management Application
0 : Quit
1 : People menu
2 : Room menu
3 : Meeting menu
4 : Save/Load menu
5 : Credit
FIGURE 1: MAIN MENU
8PRO102 – Programming Language (C++)
3
People menu
0 : Back to main menu
1 : Register
2 : Show
3 : Update
People update menu.
> Enter person ID:
20221
> What do you want to update?
0: Cancel and back
1: First name
2: Last name
3: Status
Meeting menu
0 : Back to main menu
1 : Add
2 : Show
3 : Update
FIGURE 2: PEOPLE MENU
FIGURE 3: PEOPLE UPDATE MENU
FIGURE 4: MEETING MENU.
8PRO102 – Programming Language (C++)
4
Project B
• Implement a “Snake X Game of Life” game.
• “Snake X Game of Life”’s rules
o a two-dimensional orthogonal grid (400x400) of square cells
o each cell is in one of four possible states, alive (eatable, or rotten), dead, or wall.
o every cell interacts with its eight neighbours:
Any alive(rotten) cell with fewer than two live neighbours dies.
Any alive cell with two or three live neighbours lives on to the next generation.
Any alive(rotten) cell with more than three live neighbours dies on to the next
generation.
Any dead cell with exactly three live neighbours becomes alive(eatable) on to
the next generation. An eatable cell born with a counter starting at 10.
Each time an eatable cell should die, the counter is decreased by 1. If the
counter reaches 0 the eatable cell is transformed into a rotten cell.
o The snake can eat alive cells.
o If the snake eats an eatable cell, its tail grown by one cell, the user owns 3 points.
o If the snake eats a rotten cell, its tail loses one cell. The user owns 1 point. If the length
of the tail is 0 the game is over.
o If the snake head hit a wall, or its tail the game is over.
o The snake’s head and tails are considered as alive cells.
o Wall are set a random position at the beginning of the game. All are considered as dead
cells.
Room booking menu.
> Do you need a visio telephony system? (y: yes, n: no)
y
> How many people?
16
> When? (MMDDHHmm)
03111500
> When? (MMDDHHmm)
03111500
> Time in minutes
60
> Rooms: 101, 102, 202, 301 are available. Which one would you like?
FIGURE 5: BOOKING MENU
8PRO102 – Programming Language (C++)
5
o The player can use WASD keys to move the snake.
o The snake starts with a tail tree size length.
o The score is saved and loaded from a file each time we launch and quit the game.
Features Descriptions Score
Graphics You draw the game by using the console, (1 point),
or you use https://www.raylib.com/ (3 points)
The head and tails should have different form/colors
3
Move the snake Can move the snake using WASD keys 3
Score The score is updated each time the head eats an eatable cell 1
Tail size The tail is updated each time the head eats an eatable cell 2
Save and load Can save and load from file 1
Cells Cells follow game of life’s rules with new rules 1
Credit The program shows the names of all members of the group 1
Modulization Your project use headers files 1
Snake rules The game stops if the snake’s head hits his tail or wall cells 1
End of game Player’s score and Top score (10) is showed at the end of the
game. The users can enter their name.
2
Menu The player can start, view scores, or quit the game 1
Pause The game can be paused, and resumed 1
Cells preview The users can see a preview of next grid’s state if they don’t do
anything
2
Total 20
The following table shows optional features you can implement. You have to complete all core features
before implementing the following features.
Features Descriptions Score
Two players mode The game can be played with another player using arrows key.
Player one, starts on the left, player two on the right side of the
screen.
2
Network Two players mode using network 6
AI mode Two players mode where the second played is controlled by an
AI
4
Customization Players can customize the look of snakes (head, and tail) 1
Grid size Players can change during runtime the size of the grid 1
Total 14
Naming conventions and additional rules
1. Each cpp or header files much start with a “/**/” comment containing.
a. The name of the file
8PRO102 – Programming Language (C++)
6
b. Names and ID of all members of the group
c. Names of persons who work on the file.
2. Each variable, and function starts with lower case.
3. Classes, structures, and unions type start with upper case.
4. No chunk of code copied, pasted from internet.
Thank you!
Resources
https://en.wikipedia.org/wiki/Conway's_Game_of_Life
https://playgameoflife.com/
https://conwaylife.com/
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代做ceng0013 design of a pro...
2024-11-13
代做mech4880 refrigeration a...
2024-11-13
代做mcd1350: media studies a...
2024-11-13
代写fint b338f (autumn 2024)...
2024-11-13
代做engd3000 design of tunab...
2024-11-13
代做n1611 financial economet...
2024-11-13
代做econ 2331: economic and ...
2024-11-13
代做cs770/870 assignment 8代...
2024-11-13
代写amath 481/581 autumn qua...
2024-11-13
代做ccc8013 the process of s...
2024-11-13
代写csit040 – modern comput...
2024-11-13
代写econ 2070: introduc2on t...
2024-11-13
代写cct260, project 2 person...
2024-11-13
热点标签
mktg2509
csci 2600
38170
lng302
csse3010
phas3226
77938
arch1162
engn4536/engn6536
acx5903
comp151101
phl245
cse12
comp9312
stat3016/6016
phas0038
comp2140
6qqmb312
xjco3011
rest0005
ematm0051
5qqmn219
lubs5062m
eee8155
cege0100
eap033
artd1109
mat246
etc3430
ecmm462
mis102
inft6800
ddes9903
comp6521
comp9517
comp3331/9331
comp4337
comp6008
comp9414
bu.231.790.81
man00150m
csb352h
math1041
eengm4100
isys1002
08
6057cem
mktg3504
mthm036
mtrx1701
mth3241
eeee3086
cmp-7038b
cmp-7000a
ints4010
econ2151
infs5710
fins5516
fin3309
fins5510
gsoe9340
math2007
math2036
soee5010
mark3088
infs3605
elec9714
comp2271
ma214
comp2211
infs3604
600426
sit254
acct3091
bbt405
msin0116
com107/com113
mark5826
sit120
comp9021
eco2101
eeen40700
cs253
ece3114
ecmm447
chns3000
math377
itd102
comp9444
comp(2041|9044)
econ0060
econ7230
mgt001371
ecs-323
cs6250
mgdi60012
mdia2012
comm221001
comm5000
ma1008
engl642
econ241
com333
math367
mis201
nbs-7041x
meek16104
econ2003
comm1190
mbas902
comp-1027
dpst1091
comp7315
eppd1033
m06
ee3025
msci231
bb113/bbs1063
fc709
comp3425
comp9417
econ42915
cb9101
math1102e
chme0017
fc307
mkt60104
5522usst
litr1-uc6201.200
ee1102
cosc2803
math39512
omp9727
int2067/int5051
bsb151
mgt253
fc021
babs2202
mis2002s
phya21
18-213
cege0012
mdia1002
math38032
mech5125
07
cisc102
mgx3110
cs240
11175
fin3020s
eco3420
ictten622
comp9727
cpt111
de114102d
mgm320h5s
bafi1019
math21112
efim20036
mn-3503
fins5568
110.807
bcpm000028
info6030
bma0092
bcpm0054
math20212
ce335
cs365
cenv6141
ftec5580
math2010
ec3450
comm1170
ecmt1010
csci-ua.0480-003
econ12-200
ib3960
ectb60h3f
cs247—assignment
tk3163
ics3u
ib3j80
comp20008
comp9334
eppd1063
acct2343
cct109
isys1055/3412
math350-real
math2014
eec180
stat141b
econ2101
msinm014/msing014/msing014b
fit2004
comp643
bu1002
cm2030
联系我们
- QQ: 9951568
© 2021
www.rj363.com
软件定制开发网!