Repository navigation
Packaged jar version
๐ฎ FNaF-Themed JavaFX Quiz App
Welcome to the FNaF Quiz App, an interactive, animated quiz application inspired by Five Nights at Freddy's. Built with JavaFX, this project features a rich UI, music, GIFs, and a themed pause menu for a polished, spooky quiz experience!
๐ Getting Started
Prerequisites
- Java 21 (or higher, e.g., OpenJDK 23)
- JavaFX 21 SDK (JARs placed in the
lib/directory) - Visual Studio Code with Java Extension Pack
Project Structure
๐ quiz_app_package/
โโโ app/
โ โโโ run_app.bat # Batch file to run the quiz app
โ โโโ target/
โ โโโ quiz_app-1.0-SNAPSHOT.jar
โ โโโ original-quiz_app-1.0-SNAPSHOT.jar
โ โโโ classes/
โ โโโ ... # Compiled classes and resources
โโโ server/
โ โโโ run_server.bat # Batch file to run the server
โ โโโ target/
โ โโโ server_app-1.0-SNAPSHOT.jar
โ โโโ original-server_app-1.0-SNAPSHOT.jar
โ โโโ classes/
โ โโโ ... # Compiled server classes
โโโ javafx-sdk-23.0.2/ # JavaFX SDK (Windows)
โ โโโ lib/
โ โโโ bin/
โ โโโ ... # SDK files and legal docs
โโโ README.txt # This file
๐ How to Run
You can run the application in one way
Using the Provided Batch File (Windows)
- Double-click
run_app.batin the project root, or - Open a terminal in the project root and run:
run_app.bat
Note: The batch file assumes Java and JavaFX are properly set up and referenced.
๐ก Features
- ๐ง 10-question quiz with randomized selection
- โฑ๏ธ Countdown timer with animated progress bar
- ๐ถ Background music that loops during the quiz
- โธ๏ธ Pause menu (ESC or pause button)
- GIF background (pause.gif)
- Themed buttons: Resume, Restart, Quit
- โ Correct/incorrect answer highlighting
- ๐จ Themed UI with custom fonts and effects
- ๐ Responsive question layout
๐ Online Mode
- Connects to a server on port
12345 - Sends a
CONNECTcommand - Submits score, time, and correct answers to the server
- Receives leaderboard rankings
โ Requirements
- Java 21+ (OpenJDK recommended)
- JavaFX 21 SDK (JARs in
lib/) - VSCode with Java Extension Pack
โ๏ธ Customization
- Add questions to
src/main/resources/txt/ - Replace background music in
audio/ - Update GIFs/images in their respective folders
๐ฌ Feedback
Have suggestions or want to fork this for another theme?
Send feedback or bug reports here.
โ๏ธ Legal
This project uses JavaFX, which is licensed under the GNU General Public License, version 2, with the Classpath Exception.
All Five Nights at Freddy's references and assets are for educational/fan use only. This project is not affiliated with or endorsed by Scott Cawthon or the official FNaF franchise.
Made with ๐, ๐, and JavaFX and way too much coffee โ.