代写COMP222、代做Python, Java编程
COMP222 2024 Second CA Assignment
Individual Coursework
Design and Implement Artificial Intelligence for a Simplified PacMan
game
Assignment 2 (of 2)
Weighting: 15%
Deadline: 4pm on Friday, 3
rd May. Standard UoL late penalties apply
Learning outcomes assessed
2. An appreciation of the fundamental concepts associated with game development: game
physics, game artificial intelligence, content generation;
3. The ability to implement a simple game using an existing game engine
Submission on Canvas:
Submit 2 files.
• A pdf design and test report. There is no strict word limit for this, but it should meet the
requirements below, and would typically be around 5 pages.
• A zip file that contains the source code for your AI implementation.
Your tasks are to:
• Design the AI for a simplified PacMan game, described below (in a pdf report)
• Implement the AI that you designed in code (frameworks are provided for Python, Java).
• Test and analyse how your AI performs (also in a pdf report)
The Game
This is a simplified PacMan game, which is played on a 30*30 grid. (or 32*32 with outside walls).
There is 1 ‘Ghost’, 1 ‘PacMan’, and 1 Power pill. The walls can be removed to make it simpler(see
below).
The Ghost and PacMan characters each move one square at a time, in any direction (including
diagonally!).
The game ends when the Ghost catches the PacMan Character (expect for the case below). Or when
1000 moves have been made.
If the PacMan character collides with the Power Pill; the PacMan has 15 moves to ‘eat’ the Ghost,
which will send the Ghost back to its starting position and score points.
The aim of the PacMan is score as much as possible. The scoring is:
100 points for ‘eating’ the Ghost
1 point for each unique square visited.
Instructions
There should be an AI design and implementation for the PacMan character. If the Ghost AI has been
amended, this should also include a design.
Your design should use any standard AI techniques that we saw in the lectures; Decision Trees, Finite
State Machines, Behaviour Trees, GOB, GOAP, HTN.
You should then Implement the AI design in code. You can use one of the code frameworks provided
to test your AI code, then you will only need to modify the ‘move’ function in the PacMan.py or
PacMan.java file.
You should test your code by running the game with your AI. Describe the paths that your PacMan
and Ghost take and analyse the performance of your AI – you can do this with a diagram of how your
PacMan moves during the test run. Describe if the AI implementation matches your design and
describe the strengths and weaknesses of the design (and implementation if this is different).
Marking Criteria
AI Design: 40%
Marks will be awarded for the detail and complexity of the AI design, as well as the suitability
and correctness of the design tools chosen. In the simplest case, this might be a decision tree that
enables the PacMan to avoid the Ghost and explore the area until it is caught. More complex designs
might try to hide behind the walls as well as to eat the Power Pill and catch the Ghost.
Implementation: 40 %
Marks are awarded for efficient and correct implementation of the AI – including techniques
such as State Machines, Decision Trees, Behaviour Trees, and Search algorithms.
Marks will also be awarded based on how closely the implementation reflects the design.
Testing and Analysis:20 %
This is based on how thorough and accurate the analysis understands and describes both the
AI design implementation. This includes analysing the strengths and weaknesses of the AI design
and comparing it with the implementation.
Notes.
1. Submit all the code files (Java / Python) as a zip file. If you implement your own game
framework, or customised walls, then make sure to include these files.
2. You may customise the game (or write your own), for example, by adding or removing walls,
or by changing the Ghost AI. Marks are awarded for the complexity and strength of the
resulting AI, not for changes to the game (but it may be difficult to demonstrate more
complex AI without a more complex game).
3. Look at the PacMan.py or PacMan.java file, as well as the relevant Ghost file to see how to
check the locations in the game. The checkPosition function can be used to find the type of
object in any given position, and the position of the PacMan and Ghost objects can be read
directly.
请加QQ:99515681 邮箱:99515681@qq.com WX:codinghelp
- Instagram营销软件推荐,ins引流工具吸客教程,ig群发软件
- 新颖WhatsApp代拉群手段,让品牌在社交平台上引发热议
- 客户询盘飙升不可阻挡:怎么找到靠谱的WhatsApp协议号卖家
- Telegram加群炒群营销软件,TG自动群组活跃软件,电报脚本炒群工具
- 商业掌门人的选择Zalo筛选器推广工具:如何揭示市场趋势,成功博主亲身经历带你领略业务的巅峰
- ins拉群软件营销工具的好奇因素是业务成功的关键
- Instagram消息群发营销软件,Ins模拟器群发软件,助你快速营销!
- instagram营销软件,ins群发拉群助手,爆粉营销欢迎测试联系
- 中企通信母公司中信国际电讯CPC成博通战略合作伙伴,协同再拓云服务新篇章
- ins强力引流神器来袭!Instagram群发营销软件,Ins客户引流不再愁!
- 捷泰天域获2023年度中国智能零售行业评选“影响力IT企业”
- 合肥市瑶海区委副书记、区长童友好等领导一行莅临安徽谷器指导
- Instagram私信博主 - ins群发工具/ig营销助手/ins引流神器
- WhatsApp群发软件,ws营销软件/ws协议号/ws拉群/ws业务咨询大轩
- 世贸通美国EB5移民:H-1B签证新规出台,留美家庭的福音还是警告?
- WhatsApp拉群工具出现我的工作仿佛迎来了翻天覆地的变化
- 百万博主推荐instagram引流营销工具,ins强力群发私信软件
- 标准化网络协议:Line协议号注册器是您的首选工具
- 星际商机的异度航程:2024年是否将是跨境电商 Telegram 群发云控冒险家踏上星际商机的异度航程
- instagram群发软件,ins批量私信群发器,ig引流营销工具
- 小土豆们一起穿越南北,品尔滨们YonSuite的魅力烟火
- Instagram营销群发工具,ins引流怎么做,ig营销出海教程
- instagram群发营销软件,天宇爆粉【TG:@cjhshk199937】
- Instagram群发脚本助手,Ins群发注册工具,助你实现营销目标!
- 新的Kinaxis达拉斯办公室将领先的供应链「Tech」带入德克萨斯
- Instagram群发神器,ins营销私信软件,ig批量采集群发
- 喜报!铭泰慧谷科技企业孵化器入选河北省“工业诊所”名单,助力企业转型升级长远发展
- 代做Air Quality in New York City
- ADMCF326BRZ: Precision Analog Front-End for Sensory Perfection | ChipsX
- 代写 COMP27112: Visual Computing
推荐
- 丰田章男称未来依然需要内燃机 已经启动电动机新项目 尽管电动车在全球范围内持续崛起,但丰田章男 科技
- 全力打造中国“创业之都”名片,第十届中国创业者大会将在郑州召开 北京创业科创科技中心主办的第十届中国创业 科技
- 疫情期间 这个品牌实现了疯狂扩张 记得第一次喝瑞幸,还是2017年底去北京出差的 科技
- 苹果罕见大降价,华为的压力给到了? 1、苹果官网罕见大降价冲上热搜。原因是苹 科技
- 智慧驱动 共创未来| 东芝硬盘创新数据存储技术 为期三天的第五届中国(昆明)南亚社会公共安 科技
- 升级的脉脉,正在以招聘业务铺开商业化版图 长久以来,求职信息流不对称、单向的信息传递 科技
- 老杨第一次再度抓握住一瓶水,他由此产生了新的憧憬 瘫痪十四年后,老杨第一次再度抓握住一瓶水,他 科技
- 如何经营一家好企业,需要具备什么要素特点 我们大多数人刚开始创办一家企业都遇到经营 科技
- 创意驱动增长,Adobe护城河够深吗? Adobe通过其Creative Cloud订阅捆绑包具有 科技
- B站更新决策机构名单:共有 29 名掌权管理者,包括陈睿、徐逸、李旎、樊欣等人 1 月 15 日消息,据界面新闻,B站上周发布内部 科技