How evanval/teampurple-videopoker works
Project type and purpose
• This is a standalone desktop Video Poker game written in Java, using JavaFX for the UI.
• It follows an MVC-style separation: FXML defines the view, controller classes handle user events, and backend classes contain game logic and data models.
File structure
• Top-level Java classes and FXML:
• Main.java – application entry point, boots JavaFX runtime
• VideoPoker.java – core game engine (deals cards, evaluates hands, manages rounds)
• VideoPokerUI.java – JavaFX controller, binds UI actions to game logic
• VideoPoker.fxml – defines the UI layout (buttons, card placeholders, labels)
• Card.java, Player.java, Bank.java – data models for playing cards, player state, and betting bank
• module-info.java – declares the Java module and its JavaFX dependencies
• No external services or databases; all state is held in memory.
README
• Confirms it’s a course project implementing video poker.
Detail
• Clearly distinguish which classes hold state (model) vs. which respond to events (controller) vs. which perform logic (engine).
• This granularity ensures a comprehensive architectural overview without overthinking external integration.