SOFE 3980U Winter 2020 Project: Pac-Man Game with Test Automation

Verified

Added on  2022/08/13

|38
|1311
|34
Project
AI Summary
This project details the development of a Pac-Man game using Java. The assignment utilizes the iterative software development methodology, with the Eclipse IDE as the development environment. The report discusses the iterative model's phases: requirements, design, implementation & test, and review. The Pac-Man game's source code, including the Board and Pacman classes, is presented through numerous screenshots. The project also addresses challenges faced during test automation, specifically with the isValidDest method, and describes the solutions implemented to resolve the issues. The conclusion emphasizes the suitability of the iterative method for the Pac-Man game and the importance of addressing testing challenges. References to relevant literature are provided.
Document Page
Running head: SOFTWARE QUALITY
SOFTWARE QUALITY
Enter name of the Student:
Enter name of the University:
Author note:
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
1SOFTWARE QUALITY
Table of Contents
1. Introduction............................................................................................................................2
2. Discussion..............................................................................................................................2
3. Conclusion............................................................................................................................36
4. References............................................................................................................................37
Document Page
2SOFTWARE QUALITY
1. Introduction
In this project, the Pac-Man game is created by using the Java programming language.
It is very simple gaming software [1]. For this, here the Eclipse IDE is used. For this game,
the iterative software development methodology is used.
2. Discussion
For this project, the Pac-Man game is selected to develop using the Java programming
language [2]. Pac-Man is the board game in which the players roll dice for moving the Pac-
Man and ghosts. The player can decide direction for the Pac-Man also player can spin the
spinner to get direction for movement of every ghost [3].
For this game, the iterative software development process is used. This model does
not attempt to begin with the full specification of the requirements [4]. It starts by specifying
also implementing some part of the software that can be reviewed for identifying additional
requirements.
Figure 1: Iterative Model
(Source: [5])
Document Page
3SOFTWARE QUALITY
This model has a life cycle consist of repeating four phases sequentially which are as
follows:
i) Requirements Phase: The requirements for software are collected and analysed in this
phase.
ii) Design Phase: In this phase, the software that meet the requirements is designed.
iii) Implementation and Test phase: The software is then coded, integrated also tested in
this phase [6].
iv) Review Phase: The software is evaluated in this phase, the present requirements are
reviewed, and alteration also addition to the requirements recommended.
In the Source code of the Pac-Man game, there are two classes, one is Board and
another is Pacman. The screenshot of the two classes are given below:
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
4SOFTWARE QUALITY
Figure 2: Source code for Pac-Man game
(Source: Created by author)
Document Page
5SOFTWARE QUALITY
Figure 3: Source code for Pac-Man game
(Source: Created by author)
Document Page
6SOFTWARE QUALITY
Figure 4: Source code for Pac-Man game
(Source: Created by author)
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
7SOFTWARE QUALITY
Figure 5: Source code for Pac-Man game
(Source: Created by author)
Document Page
8SOFTWARE QUALITY
Figure 6: Source code for Pac-Man game
(Source: Created by author)
Document Page
9SOFTWARE QUALITY
Figure 7: Source code for Pac-Man game
(Source: Created by author)
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
10SOFTWARE QUALITY
Figure 8: Source code for Pac-Man game
(Source: Created by author)
Document Page
11SOFTWARE QUALITY
Figure 9: Source code for Pac-Man game
(Source: Created by author)
chevron_up_icon
1 out of 38
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]