Skip to content

Extractor minigame

JunxianHuang edited this page Oct 27, 2023 · 13 revisions

Sprint 1-4

Introduction

In the game, the extractor minigame feature is designed as an immersive experience that allows players to repair extractor by clicking on it. The core of the extractor mini-game is a racing mini-game in which players must repair as quickly as possible to avoid affecting their schedule or causing more damage to the enemy during the repair.

Based on the new requirements, we added new elements to increase player engagement, such as the need to use the right tool for repairs that would otherwise result in punishment, to prevent players from doing things lightly。

Members

Arsh Upadhyaya (@mr-popo123) Zhen Feng (@Foref) Junxian Huang(@JunxianHuang)

Player Guide

Left Mouse click to control,just click to choose tool and then click on right entity to repair.

Code Documentations

ExtractorMinigameWindow.java

ExtractorMiniGameArea.java

ExtractorMiniGameScreen.java

partly inStructureFactory.java

ExtinguisherInputComponent.java

FireInputComponent.java

HoleInputComponent.java

SpannerInputComponent.java

ExtractorRepairPartComponent.java

Assets/Design Decisions:

extinguisher:A button icon that helps users select fire extinguishers

extinguisher

extinguisherCursor:After the user mouse image is changed, the corresponding tool is extinguisher

extinguisherCursor

bang:Using the wrong tool to repair will cause it to need to be repaired again!

bang

fire:Machine damage is part of a description of the appearance of this icon,That means there's a fire and it needs to be put out

fire

Hole:Machine damage is part of a description of the appearance of this icon,That means physical damage. It needs to be repaired by spanner

Hole

spanner:A button icon that helps users select spanner

spanner

spannerCursor:After the user mouse image is changed, the corresponding tool is spanner

spannerCursor

else due to incident trouble have not been pushed to the main in sprint 3

UML Diagram

ExtractorMiniGameArea ExtractorMiniGameScreen ExtractorRepairPartComponent ExtractorMiniGameWindow RelatedInput components

Junit test

ExtractorWindowTest.java

ExtractorGameAreaTest.java

ExtractorScreenTest.java

ExtinguisherInputComponentTest.java

FireInputComponentTest.java

HoleInputComponentTest.java

SpannerInputComponentTest.java

Clone this wiki locally