首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
COM1008代做、代写Java程序设计
项目预算:
开发周期:
发布时间:
要求地区:
COM1008: Web and Internet Technology
Assignment: JavaScript (40%)
Deadline: 3pm, Mon 20 Jan 2025
Handin: zip file of your website via Blackboard.
Learning Outcomes
This assignment covers the following learning outcome for this module:
●Create interactive web programs using a front-end scripting language.
In addition, you will also gain more practice in relation to one of the learning outcomes that was set for the first assignment, although only using a single web page:
●Design and construct a website, controlling the structure and appearance using markup and styling languages.
1.Introduction
This assignment will test your ability to use JavaScript and the HTML5 Canvas element to develop a graphical application running on a web page. You MUST use the HTML5 Canvas.
This is an individual assignment. The work you submit must be your own work and not plagiarised.
2.The Task
A single web page should be created. The element should include a canvas element, some buttons to control what happens on the canvas and some text to explain the program.
The canvas should display a drawing of a robot. This should be a cartoonish humanoid robot with a body, head, arms and legs. It should be constructed from separate pieces, e.g. outline and background colour of the different parts of the humanoid robot including the body, head, arms, legs and any detail, for example, eyes, mouth, lights. It could be drawn using (i) basic drawing commands on the canvas (e.g. drawing lines, curves and shapes at positions on the canvas using the canvas drawing commands such as moveTo, lineTo, arc, rect, etc), or (ii) it could be constructed from a range of images, e.g. an images of robotic arms and legs, etc. (drawn at positions on the canvas using the command to draw an image, drawImage), (iii) a combination of drawing commands and images. Any of these options is ok. You choose.
When the page first loads, the robot should be powered down or “turned off”. There should be two
elements on the web page. One button is used to turn the robot on and off; you will therefore need to think of a way to distinguish between the on and off states e.g. indication lights, slumped vs upright stance, etc. The other button is used to put the robot “on charge” for when it has run out of battery. The robot will have enough battery power to perform 3 actions and will then go to the powered down due to lowered battery state, in this state, the robot cannot be turned on again until it has been charged up. The robot can be charged back to full after 1, 2 or 3 actions. The robot should have a battery status indicator to show how many more actions it can perform. There should also be some visual way to show that the robot is charging, e.g. show a cable. The robot will only charge for a short period of time (<5 seconds) before being fully charged and ready for another action.
You need to implement 3 actions that the robot can do, you can implement the following or think of your own actions:
●Click on the canvas to make the robot fire lasers from its eyes at the clicked position.
●Click on an indicated side of the canvas (left side or right side) to make the robot move to that position.
●Click on an arm to make it spin for a few seconds (<5 seconds).
As before, in implementing these, particular parts of the face are redrawn. For example, if the lips are recoloured, then that is just a different drawing or picture of different coloured lips and the rest of the face does not change.
Hint: “Smooth” animations (i.e. point A to point B) will get you the best marks but this is not required for a pass, e.g. moving the robot around can use less than a handful of “frames” to show movement. At the minimum you should use either canvas drawing or images to give the illusion of movement, e.g. blurred arms to indicate “spinning”.
Below the canvas and the buttons, you should provide a brief explanation of how to use the software and what happens when a user clicks on the buttons and on particular areas of the canvas – we will need this for marking, so we know which effects you have implemented. One other thing you need to consider is how to deal with both mobile and desktop hardware. Does your program run on smartphone/desktop/laptop/PC/Mac? This should be explained too.
3.Handin via Blackboard
Handin via the assignment link on Blackboard. Handin all the code by creating a zip file called name.zip, where name is your name, e.g. JaneSmith.zip.
Note: Remember to identify in each file that you wrote the code.
4.Marking
This will include:
●Code structure, including comments and layout (25%)
●How well the basic application works and the completeness of this, including quality and creativity of the work (75%)
5.Practical considerations
5.1Unfair means
The standard Department rules for use of unfair means will be applied, as described in the undergraduate student handbook:
Use of any generative AI tools in the preparation of the solution to this work is not permitted.
We are aware that there are lots of JavaScript tutorial sites on the Web. Do not copy them since that would be plagiarism. Instead, learn from and be inspired by them.
You must use plain, vanilla JavaScript for the assignment.
Do NOT use jQuery or any other JavaScript frameworks/libraries. This will be treated as plagiarism for the purposes of this assignment.
5.2Late hand-in
Standard Department rules will be used for late submission – see:
5.3Code reuse
You may reuse JavaScript (and HTML and CSS) code that we wrote that is either given in lecture slides, offered as examples written by us on BlackBoard, or the tutorial website.
5.4Tools
The expectation for this assignment is that you will use a code editing environment to develop your website and JavaScript (e.g. Visual Studio Code or Notepad++ or similar).
If you are using images for the robot pieces (and then using the canvas drawImage command), you can use whatever graphical tools you like to help create the individual image pieces of the robot. Surprisingly, Microsoft Word is very good for this – it has shape pieces that can be used to draw and the collection of pieces can then be saved as a picture. There is also an option to set the transparency for part of a picture, which is very useful: Paste a picture into word (i.e., drag an image file into an empty document), double click the image to get the Picture Format menu, select Colour, select Set Transparent Colour, use the picker to click on the picture area that should be the transparent colour, e.g. the background of the picture, then save the picture as a png file. (Of course, other tools are also available to do this.) When you draw the saved png file on the canvas with drawImage, the areas set to the transparent colour are not drawn, which means it is easier to create a result that combines all the images that are drawn where some may overlap others.
As part of the deliverables, you will have noted that we expect code that contains comments. These will demonstrate whether or not you understand the more complex bits of code that you have produced. Use your common sense so that the code is not cluttered with trivial comments.
5.5Keeping your work private
Your website should be developed on your own computer, not in a publicly-accessible folder.
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
com1008代做、代写java程序设计
2025-01-12
ele000042c代写、代做c/c++编程...
2025-01-12
代写pls 21-application of co...
2025-01-11
代做isom 5745 business and o...
2025-01-11
代做ada600 dissertation 2024...
2025-01-11
代写125.811 advanced risk an...
2025-01-11
代做civ2235—structural mate...
2025-01-11
代做cs/math 240: introductio...
2025-01-11
代做busi4567 corporate finan...
2025-01-11
代写(07 36334) financial sta...
2025-01-11
代做geog0093 conservation an...
2025-01-11
代做mech e4320 (fall 2024): ...
2025-01-11
代写busi4567 corporate finan...
2025-01-11
热点标签
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
软件定制开发网!