New! Hire Essay Assignment Writer Online and Get Flat 20% Discount!!Order Now

MITS4002 Object Oriented Software Development

  • Subject Code :  

    MITS4002

  • Country :  

    AU

  • University :  

    Victorian Institute of Technology

Problem Description

This project is based on the design, and implementation in Java, of the seven different Lottery games .

In Part 1 of the project, you are asked to use arrays and inheritance to code versions of these games and in Part 2 to create an appropriate GUI that writes to a report file.

  • The LuckyGame class represents the generic concept of a game of chance and therefore is to be declared as an abstract class. It contains two abstract methods

SetNumberOfRandoms( ) and collectUserInput (String input). The LuckyGame class also contains an array of String which is used to record the randomly generated numbers used by each object of LuckyGame type.

  • The class TattslottoGame is a LuckyGame and it thus should implement code forLuckyGame’s two abstract methods as well as its own constructor and any other methods.
  • The games SaturdayTattslotto and Oz Lotto are all instances of the classTattslottoGame.
  • You can implement the remaining class games in any manner you believe appropriate.For example, class PowerBallGame can be implemented using either using
  • Option 1: the class PowerBallGame is a LuckyGame and thus should implement code for LuckyGame’s two abstract methods as well its own constructor and other methods.
  • Option 2: the class PowerBallGame is a TattslottoGame and thus should implement code for its own constructor and other methods.
  • You have been provided with some code for the class TestGames, which is a text-based application used to create instances of games and test all of their respective behaviours.
  • To collect user input for all games, a class UserInput is needed. It should collect user input and deal with any problems in the input, such as repeat numbers or numbers outside the possible range of values.
Get An Awesome Price Quote For Your Paper – Absolutely FREE!
    Add File
    Files Missing!

    Please upload all relevant files for quick & complete assistance.

    Getting started with MyEssayAssignmentHelp is FREE

    15,000+ happy customers and counting!

    Rated 4.7/5 based on
    1491 reviews
    ;