1. Homepage
  2. Programming
  3. COMP222 Principles of Computer Games Design and Implementation - Assignment 2: Design and Implement Artificial Intelligence for a Simplified PacMan game

COMP222 Principles of Computer Games Design and Implementation - Assignment 2: Design and Implement Artificial Intelligence for a Simplified PacMan game

Engage in a Conversation
LiverpoolCOMP222Principles of Computer Games Design and ImplementationArtificial IntelligencePacManGame DevelopmentPython

COMP222 2024 Second CA Assignment Individual Coursework CourseNana.COM

Design and Implement Artificial Intelligence for a Simplified PacMan game CourseNana.COM

Assignment 2 (of 2) CourseNana.COM

Submission on Canvas:
CourseNana.COM

Submit 2 files. CourseNana.COM

  • 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. CourseNana.COM

  • A zip file that contains the source code for your AI implementation. Your tasks are to: CourseNana.COM

  • Design the AI for a simplified PacMan game, described below (in a pdf report) CourseNana.COM

  • Implement the AI that you designed in code (frameworks are provided for Python, Java). CourseNana.COM

  • Test and analyse how your AI performs (also in a pdf report) CourseNana.COM

    The Game CourseNana.COM

    This is a simplified PacMan game, which is played on a 30*30 grid. (or 32*32 with outside walls). CourseNana.COM

    There is 1 ‘Ghost’, 1 ‘PacMan’, and 1 Power pill. The walls can be removed to make it simpler(see below). CourseNana.COM

    The Ghost and PacMan characters each move one square at a time, in any direction (including diagonally!). CourseNana.COM

    The game ends when the Ghost catches the PacMan Character (expect for the case below). Or when 1000 moves have been made. CourseNana.COM

    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. CourseNana.COM

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.
CourseNana.COM

Instructions CourseNana.COM

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. CourseNana.COM

Your design should use any standard AI techniques that we saw in the lectures; Decision Trees, Finite State Machines, Behaviour Trees, GOB, GOAP, HTN. CourseNana.COM

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. CourseNana.COM

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). CourseNana.COM

Marking Criteria CourseNana.COM

AI Design: 40% CourseNana.COM

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. CourseNana.COM

Implementation: 40 % CourseNana.COM

Marks are awarded for efficient and correct implementation of the AI – including techniques such as State Machines, Decision Trees, Behaviour Trees, and Search algorithms. CourseNana.COM

Marks will also be awarded based on how closely the implementation reflects the design. CourseNana.COM

Testing and Analysis:20 % CourseNana.COM

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. CourseNana.COM

Notes. CourseNana.COM

  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. CourseNana.COM

  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). CourseNana.COM

CourseNana.COM

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.  CourseNana.COM

Get in Touch with Our Experts

WeChat WeChat
Whatsapp WhatsApp
Liverpool代写,COMP222代写,Principles of Computer Games Design and Implementation代写,Artificial Intelligence代写,PacMan代写,Game Development代写,Python代写,Liverpool代编,COMP222代编,Principles of Computer Games Design and Implementation代编,Artificial Intelligence代编,PacMan代编,Game Development代编,Python代编,Liverpool代考,COMP222代考,Principles of Computer Games Design and Implementation代考,Artificial Intelligence代考,PacMan代考,Game Development代考,Python代考,Liverpoolhelp,COMP222help,Principles of Computer Games Design and Implementationhelp,Artificial Intelligencehelp,PacManhelp,Game Developmenthelp,Pythonhelp,Liverpool作业代写,COMP222作业代写,Principles of Computer Games Design and Implementation作业代写,Artificial Intelligence作业代写,PacMan作业代写,Game Development作业代写,Python作业代写,Liverpool编程代写,COMP222编程代写,Principles of Computer Games Design and Implementation编程代写,Artificial Intelligence编程代写,PacMan编程代写,Game Development编程代写,Python编程代写,Liverpoolprogramming help,COMP222programming help,Principles of Computer Games Design and Implementationprogramming help,Artificial Intelligenceprogramming help,PacManprogramming help,Game Developmentprogramming help,Pythonprogramming help,Liverpoolassignment help,COMP222assignment help,Principles of Computer Games Design and Implementationassignment help,Artificial Intelligenceassignment help,PacManassignment help,Game Developmentassignment help,Pythonassignment help,Liverpoolsolution,COMP222solution,Principles of Computer Games Design and Implementationsolution,Artificial Intelligencesolution,PacMansolution,Game Developmentsolution,Pythonsolution,