This is a Java Swing GUI implementation of the classic War card game, built with Object-Oriented Programming (OOP) principles.
The project includes a graphical interface, user accounts, saving/loading progress, and different game modes.
deckpackage โ Card creation, catalog, and shuffling logicfilepackage โ Reading and saving users/gamesgamepackage โ Core game engine, game states, and game list managementguipackage โ Menus, game screens, sound systemplayerpackage โ Human, guest, computer players, and user list managementmainpackage โ Main entry point for starting the application
- Built with Java Swing
- Interactive menus, buttons, panels, and labels
- Custom background images and card visuals
- Create and log in with a username
- Save game progress in a
.txtfile - Continue playing from where you left off
- Guest mode available (no account needed)
- Single Player โ Play against computer AI
- Two Players โ Local multiplayer with a friend
- Guest Mode โ Quick play without account saving
- Replace
.txtfile saving with SQL database (MySQL/PostgreSQL) - Add online multiplayer functionality
- Improve card animations and GUI effects
- Java (JDK 17+)
- Java Swing for GUI
- File I/O for saving accounts and progress
- Planned: SQL Database integration
This project is licensed under the MIT License.
See the LICENSE file for details.