MITS4002: Java Lottery Game Project for Object-Oriented Development
VerifiedAdded on  2022/08/21
|14
|588
|22
Project
AI Summary
This Java project implements a lottery game, designed and developed as a solution for the MITS4002 Object-Oriented Software Development course. The project, created using Netbeans IDE, features seven different lottery games including Sunday Super66, Monday MeghaJackpot, Tuesday Oz Lotto, Wednesday Super Jackpot, Thursday Powerball, Friday LuckyLotteries, Saturday Tattslotto, each adhering to specific rules and parameters. The application is designed with both console and GUI interfaces, allowing users to select and play any of the seven games. Users can pick numbers, which are then compared to system-generated numbers to determine winners, considering supplementary and trackball options. The provided document showcases the game's functionality, including the selection of games, number generation, and result display through various screenshots of console and GUI outputs.

Running head: LOTTERY GAME USING JAVA
Lottery Game
Name of the Author
Name of the University
Author Note
Lottery Game
Name of the Author
Name of the University
Author Note
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

1LOTTERY GAME USING JAVA
Table of Contents
Lottery Game Description & Overview:.........................................................................................2
Output:.............................................................................................................................................3
Figure 1........................................................................................................................................3
Figure 2........................................................................................................................................4
Figure 3........................................................................................................................................4
Figure 4........................................................................................................................................5
Figure 5........................................................................................................................................6
Figure 6........................................................................................................................................6
Figure 7........................................................................................................................................7
Figure 8........................................................................................................................................7
Figure 9........................................................................................................................................8
Figure 10......................................................................................................................................8
Figure 11......................................................................................................................................9
Figure 12......................................................................................................................................9
Figure 13....................................................................................................................................10
Figure 14....................................................................................................................................11
Figure 15....................................................................................................................................12
Figure 16....................................................................................................................................12
Figure 17....................................................................................................................................13
Table of Contents
Lottery Game Description & Overview:.........................................................................................2
Output:.............................................................................................................................................3
Figure 1........................................................................................................................................3
Figure 2........................................................................................................................................4
Figure 3........................................................................................................................................4
Figure 4........................................................................................................................................5
Figure 5........................................................................................................................................6
Figure 6........................................................................................................................................6
Figure 7........................................................................................................................................7
Figure 8........................................................................................................................................7
Figure 9........................................................................................................................................8
Figure 10......................................................................................................................................8
Figure 11......................................................................................................................................9
Figure 12......................................................................................................................................9
Figure 13....................................................................................................................................10
Figure 14....................................................................................................................................11
Figure 15....................................................................................................................................12
Figure 16....................................................................................................................................12
Figure 17....................................................................................................................................13

2LOTTERY GAME USING JAVA
Lottery Game Description & Overview:
This project is based on the design and implementation in Java, seven days a week seven
different Lottery games being played. Sunday Super66, Monday MeghaJackpot, Tuesday Oz
Lotto, Wednesday Super Jackpot, Thursday Powerball, Friday LuckyLotteries, Saturday
Tattslotto lottery game is being played. This project is created on the Netbeans Ide. A Game
Three project file is created and in this file two other com.design and com. model package is
created. In the com. design package 7 individual game class is created and a main game info
class is created for the design purpose. Similarly on the com. model package four class is created
lucky game.java, powerballgame.java, tattslotogame.java and another test.java class is created in
this file main method are created. This game is console as well as GUI application. There are
seven games each game has its own rules. A GUI based design is created in which all the 7
games are included. Users can choose any game and play. Users will pick 6 or 7 or 8 random
numbers. Then after that system will choose 6 or 7 random numbers 1to 45 or 1 to 35 it depends
on the game rule. Each game has a minimum and maximum value. There is a supplementary as
well as track ball option. Where it will match the user input with the system number and will
declare a number of the winner on the normal side. Then check the winner on the supplementary
side or trackball side. This way getting the result.
Lottery Game Description & Overview:
This project is based on the design and implementation in Java, seven days a week seven
different Lottery games being played. Sunday Super66, Monday MeghaJackpot, Tuesday Oz
Lotto, Wednesday Super Jackpot, Thursday Powerball, Friday LuckyLotteries, Saturday
Tattslotto lottery game is being played. This project is created on the Netbeans Ide. A Game
Three project file is created and in this file two other com.design and com. model package is
created. In the com. design package 7 individual game class is created and a main game info
class is created for the design purpose. Similarly on the com. model package four class is created
lucky game.java, powerballgame.java, tattslotogame.java and another test.java class is created in
this file main method are created. This game is console as well as GUI application. There are
seven games each game has its own rules. A GUI based design is created in which all the 7
games are included. Users can choose any game and play. Users will pick 6 or 7 or 8 random
numbers. Then after that system will choose 6 or 7 random numbers 1to 45 or 1 to 35 it depends
on the game rule. Each game has a minimum and maximum value. There is a supplementary as
well as track ball option. Where it will match the user input with the system number and will
declare a number of the winner on the normal side. Then check the winner on the supplementary
side or trackball side. This way getting the result.
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

3LOTTERY GAME USING JAVA
Output:
Figure 1
Output:
Figure 1
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

4LOTTERY GAME USING JAVA
Figure 2
Figure 1 and figure 2 are the console output of seven day seven different lottery games
and it runs successfully.
Figure 3
This Figure 3 is shown a game page where in the select section 7 different game is
shown. Choose any one of the game and select Get Game Info option.
Figure 2
Figure 1 and figure 2 are the console output of seven day seven different lottery games
and it runs successfully.
Figure 3
This Figure 3 is shown a game page where in the select section 7 different game is
shown. Choose any one of the game and select Get Game Info option.

5LOTTERY GAME USING JAVA
Figure 4
Figure 4
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

6LOTTERY GAME USING JAVA
Figure 5
Figure 6
Figure 5
Figure 6
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

7LOTTERY GAME USING JAVA
Figure 7
Figure 8
Figure 7
Figure 8

8LOTTERY GAME USING JAVA
Figure 9
Figure 10
All of the above from Figure 4 to Figure 10 are shown the different game option.
Figure 9
Figure 10
All of the above from Figure 4 to Figure 10 are shown the different game option.
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

9LOTTERY GAME USING JAVA
Figure 11
Choose one of the game option and after that this page is open and select get info. A
dialog box is open where automatically numbers is generated.
Figure 12
Once numbers are generated supplementary numbers are shown.
Figure 11
Choose one of the game option and after that this page is open and select get info. A
dialog box is open where automatically numbers is generated.
Figure 12
Once numbers are generated supplementary numbers are shown.
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

10LOTTERY GAME USING JAVA
Figure 13
After that 6 user can pick number between 1 to 45.
Figure 13
After that 6 user can pick number between 1 to 45.

11LOTTERY GAME USING JAVA
Figure 14
User six numbers are generated.
Figure 14
User six numbers are generated.
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide
1 out of 14
Related Documents
Your All-in-One AI-Powered Toolkit for Academic Success.
 +13062052269
info@desklib.com
Available 24*7 on WhatsApp / Email
Unlock your academic potential
Copyright © 2020–2026 A2Z Services. All Rights Reserved. Developed and managed by ZUCOL.



