A fully playable console-based implementation of the card game Spades, built in Java using object-oriented design principles.
- Complete 52-card deck implementation
- Trick-taking logic with trump (Spades)
- Follow-suit enforcement
- Team system (2 vs 2)
- Bidding phase with NIL support
- Score calculation with bags and penalties
- Manual console-based card play
- Object-Oriented Programming
- Encapsulation
- Abstraction
- Aggregation
- Game State Management
- Input Validation
- Rule Enforcement
-
Clone the repository: git clone https://github.com/Noah4649/spades-java.git
-
Open in IntelliJ
-
Run: Main.java (the last block with "FINAL GAME TEST" written below it)
-
Follow console instructions
- Currently, the person using the console would be able to see all the hands, so later this can be fixed so that each player sees only their hands.
- Better console interface
Built as a portfolio project to demonstrate object-oriented design in Java.