Skip to content

Console app to play a Q&A game and get millionaire in five rounds.

License

Notifications You must be signed in to change notification settings

Jebrayam/MillionaireApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MillionaireApp

MillionaireApp models a Q&A contest in a Console UI, the aim is to implement a solution designed to allow having a question bank with different options and unique right answers. Each question has a category in which the difficulty level is the same for all questions. The game is played in five rounds, so a reward is won in each of them. Round's level increases the difficulty of the game and therefore the amount of the reward.

The logic of development is performed in based at the followig ER diagram:

MillionaireModelER

The implementation makes use of the OOP modelling, data persistence, and manegement of data trhough list and control loops. The above implemented using Java and MySQL. JDBC API is used to set the connection between the app and the DB.

DB Setting

Create a new connection in MySQL and execute all the queries in src/utils/createSchema.sql. Then edit the credentials in db_credentials.json to your own DB credentials. Finally, as the app is developed in Netbeans 12.0 and JDK11, please try to use them as well and from the IDE add the following libraries stored in libs to the JAR/Folder: json-simple-1.1.1 and mysql-connector-java-8.0.26.

Running App

To execute de app, please run the Main.java file located in the folder path src/millionaireapp.

About

Console app to play a Q&A game and get millionaire in five rounds.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages