Highlights
Task:
Introduction The model-view-controller (MVC) structure is a popular way to organize code for software projects that involve a Graphical User Interface (GUI). In this structure, the software is broken into three components - the model, the view and the controller. The goal of this assignment is to implement the model component of the software for the game Pipe. The code for the view and controller are supplied in support code
Gameplay Pipe is a single-player puzzle game where players place various pipe pieces in grid cells. The objective is for the player to connect the start pipe to the end pipe. The game play utilises simple mouse control.
Selecting and placing pipes A left click on a pipe in the selection panel should toggle the selection of that pipe piece. A left click in the game board should then place a pipe of the selected type over the selected tile provided that an available pipe piece (i.e. quantity > 0) is selected in the selection panel.
Rotating and removing pipes A left click on a pipe in the game board should rotate the given pipe, and a right click on a pipe in the game board should remove that pipe and return it to the selection board, provided the pipe was placed by the user. If a pipe is loaded in from the beginning of the game, it will not be able to be rotated or removed.
“Restart” and “New Game” buttons The Restart button will restart the game. The New Game button will prompt for the player to enter the name of the file they wish to load into the game. The name of the file will be automatically passed through to PipeGame. This much functionality is implemented already in the support code. However, the New Game button will only become functional (actually present the user with the game from the requested file) if you successfully implement the Bonus Task load_file function described at the end of this assignment sheet. Game over The player wins the game by connecting the pipes from start to finish, see Figure 1. On game completion, the player is informed of their outcome via a messagebox
This Engineering Assignment has been solved by our Engineering Experts at My Uni Papers. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2025 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.