How azavo/fnaf_minima works
This is a small Swing survival game: the player operates office lights and doors while Bonnie and Chica approach; a timed night loop tracks battery and hours and ends in a win or jumpscare. The graph separates startup, animatronic behavior, game progression, and presentation/audio. Relationships are based on the sampled Java excerpts; image and sound assets are represented through the code that loads or plays them.
Main entry points: OfficeUI.java Office UI · App.java Game startup · GameLoop.java Night loop · Bonnie.java Bonnie AI
Components 7
Startup
- Game startup
freddyfivebear/src/App.java
Night gameplay
- Night loop
freddyfivebear/src/GameLoop.java
Office presentation
- Office UI
freddyfivebear/src/OfficeUI.java - Sound effects
freddyfivebear/src/SFX.java
Other components
- Player
Connections 15
- Game startup → Office UI: creates
freddyfivebear/src/App.java - Game startup → Bonnie AI: creates and starts
freddyfivebear/src/App.java - Game startup → Chica AI: creates and starts
freddyfivebear/src/App.java - Game startup → Office UI: sets animatronics
freddyfivebear/src/App.java - Game startup → Night loop: starts night
freddyfivebear/src/App.java - Player → Office UI: operates controls
freddyfivebear/src/OfficeUI.java - Office UI → Sound effects: plays control sounds
freddyfivebear/src/OfficeUI.java - Office UI → Bonnie AI: checks state
freddyfivebear/src/OfficeUI.java - Office UI → Chica AI: checks state
freddyfivebear/src/OfficeUI.java - Bonnie AI → Office UI: checks door; repaints
freddyfivebear/src/Bonnie.java - Chica AI → Office UI: checks door
freddyfivebear/src/Chica.java - Night loop → Office UI: reads controls; updates display
freddyfivebear/src/GameLoop.java - Night loop → Bonnie AI: checks survival
freddyfivebear/src/GameLoop.java - Night loop → Chica AI: checks survival
freddyfivebear/src/GameLoop.java - Office UI → Sound effects: plays outcome sound
freddyfivebear/src/OfficeUI.java