Skip to content

giri-bikash/card-game-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Card Game — Java OOP

A Java-based card game that demonstrates core object-oriented programming principles including classes, encapsulation, inheritance, and game logic.

Built as part of the SYST 17796 course at Sheridan College.


Tech

Java


Features

  • Object-oriented design with dedicated classes for cards, deck, and players
  • Encapsulated game state and logic
  • Turn-based gameplay with win/loss conditions
  • Clean separation of concerns across classes

How to Run

Prerequisites: Java 11+ and a terminal or IDE (IntelliJ IDEA, Eclipse, VS Code with Java extension)

Compile and run from the terminal:

# Clone the repository
git clone https://github.com/giri-bikash/card-game-java.git
cd card-game-java

# Compile
javac -d out src/**/*.java

# Run
java -cp out Main

Or open in IntelliJ IDEA / Eclipse and run the Main class directly.


Project Structure

card-game-java/
├── src/
│   ├── Main.java          # Entry point
│   ├── Card.java          # Card model
│   ├── Deck.java          # Deck management
│   └── Player.java        # Player logic
└── README.md

Sheridan College — Computer Systems Technology

About

This project is part of the ICE 1 (In-Class Exercise) for the course SYST 17796. The objective is to demonstrate basic Java programming and Git version control skills by creating a simple card game application.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages