Meeting the Brief Investigation and Plan Design Implementation Testing Evaluation References Word Count

Computer Science Coursework

Examination number: 142150

Meeting the Brief

Top Trumps: Airplanes

For my leaving certificate computer science project I decided to create a Top Trumps, a game which I really like. Putting together two of my biggest passions in life, airplanes and computer sicence, this is what I created:

Basic Requirements:

Requirement Meets Requirement?
The user should be able to interact with the model so that they can play the game to completion. Yes
The game should include a certain amount of randomness so that it can behave differently each time it is run. Yes
Accept a minimum of three different inputs – all data should be validated using appropriately defined validation rules. Yes
The game should be interactive and operable in a variety of modes - single player, multiplayer and allow simulation play. Yes

Advanced Requirements:

Requirement Meets Requirement?
Extend the basic model so that each time it is run, it stores results data from the game that has been played in a file or database e.g. fastest time, top score, previous results, strategy data, etc. Yes
Develop algorithms that perform some statistical analysis e.g. find the frequency, mean, median and mode of the aforementioned data set, and effectively communicate the resulting information in a graphical format. Yes
Use the model to test hypotheses (such as answering ‘what-if’ type questions) and make future predictions by changing parameters within the game. Yes

How does my game meet the requirements?

Basic requirements:

  • My game allows the players to interact by clicking buttons.
  • It has certain amount of randomness and behaves differently each time it is run by shuffling the deck of cards.
  • It has many inputs (buttons).
  • It can be played in single player, multiplayer and simulation.

Advanced requirements:

  • My game stores data about the last three games played (winner and game duration). This data is stored in the window local storage.
  • It has algorithms that perform statistical analysis that find frequency, mean, median and mode of the clicked stats during the game. Also shown in a graphical format.
  • I used my model to test a hypothesis, explained in the testing section.