Trivia JavaFX
Trivia is a JavaFX application that allows users to play a trivia game by answering questions from a file. The game reads the questions and answers from the TriviaQuestions.txt
file using the ReadFile
class, and stores them in a list of Answers
objects using the Answers
class. The TriviaController
class is responsible for handling user input and updating the game state, and the TriviaLogic
class handles the logic of the game, including keeping track of the score and determining when the game is over.
Demo
Dependencies
This project requires the following dependencies:
- JavaFX 11 or higher
- FXML
Building and Running the Project
To build and run the project, follow these steps:
- Clone the repository to your local machine
- Use a Java compiler to compile the code
- Run the
Trivia
class to start the game
Known Issues
There are no known issues at this time.
🚀 About Me
● Software developer with knowledge in Java, C, Python.
● Experience developing projects using: Java, C, JavaFX, Git, GitHub etc.
● B.Sc. Computer Science Student at The Open University of Israel.