Skip to content

Noah4649/spades-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Spades Game (Java)

A fully playable console-based implementation of the card game Spades, built in Java using object-oriented design principles.

Features

  • 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

Concepts Demonstrated

  • Object-Oriented Programming
  • Encapsulation
  • Abstraction
  • Aggregation
  • Game State Management
  • Input Validation
  • Rule Enforcement

How to Run

  1. Clone the repository: git clone https://github.com/Noah4649/spades-java.git

  2. Open in IntelliJ

  3. Run: Main.java (the last block with "FINAL GAME TEST" written below it)

  4. Follow console instructions

Future improvements

  • 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages