Skip to content

A Java console app that simulate Vietlott. My 1st Java project.

Notifications You must be signed in to change notification settings

MegamanXD/VietlottJava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Features

_ Add/edit/delete/view a list of customer.

_ Allow customers to subscribe. If they do, whenever there is a new drawing, they are notified.

_ Add/edit/delete/view a list of Vietlott shops.

_ Draw the jackpot by generating 6 numbers between 0 and 45.

_ Buy until the jackpot is obtained. Print the number of times bought + the details for each buy.

_ Run the buying process 5 times and calculate the average number of times one needs to buy to become a winner.

_ Proper try-catch to handle all errors.


Design Patterns

_ Singleton

_ Memento

_ Decorator

_ Observer


Assignment from

Programming 1 course.

About

A Java console app that simulate Vietlott. My 1st Java project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published