Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Proejct 4: The Treasure Hunt Game with GUI and I/O a Java GUI Application with Networking and File I/O Functionality CISC 3120 Design and Implementation

Proejct 4: The Treasure Hunt Game with GUI and I/O a Java GUI Application with Networking and File I/O Functionality

CISC 3120 Design and Implementation of Software Applications I

Project Description

We are now adding I/O functionalities to the Treasure Hunt GUI application. The functionalities should include saving game statistics in a file, loading game statistics from the file, allow multiple players to communicate, and play on multiple stations over the Internet (if no network firewalls in between). The instructor wrote the start-up code for the project, and the start-up code is a Maven project in a Github repository. You may browse the code from the following URL, https://github.com/CISC3120SP18/Project4StartupCode

2.3 Add Game Statistics Pane

You will keep track of a set of game statistics in the game. The game statistics must include at least the following, the number of rounds that the user has played; the total number of attempts that the user has made; the average number of attempts to answer a puzzler; the minimum number of attempts to answer a puzzler; the maximum number of attempts to answer a puzzler; the average number of attempts to locate a treasure; the minimum number of attempts to locate a treasure; the maximum number of attempts to locate a treasure; the round score and the total score. You are to design a GameStatistics class and an UI component to satisfy this requirement. It is required that you display the game statistics before the user exit the game and in the flash screen when the game starts.

2.4 Save and Load Game Statistics

The game has a simple menu where a user can save and load the game statistics. Once the statistics is loaded, the game should function as if there were no interruption in between after the player closes the application and restarts it. This requirement goes hand-in-hand in the requirement above because whether you can restart the game as if there were no interruption depending on what were written to the file.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Apache Cassandra Development

Authors: Vivek Mishra

1st Edition

1484201426, 9781484201428

More Books

Students also viewed these Databases questions

Question

2. To compare the costs of alternative training programs.

Answered: 1 week ago