Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 831 Bytes

File metadata and controls

27 lines (20 loc) · 831 Bytes

🎲 Backgammon Game (Java Project)

This is a Java-based implementation of the classic Backgammon game, originally built as a Data Structures course project. It demonstrates the use of core data structures such as linked lists, stacks, and queues to simulate game mechanics.

✅ Features

  • Two-player gameplay (local)
  • Core Backgammon rules implemented:
    • Dice-based moves and doubles
    • Hitting and re-entering checkers
    • Bearing off phase
  • Basic GUI using Java Swing (or similar)
  • Random dice roll simulation
  • Modular logic with extensibility in mind

🚀 How to Run

1. Requirements

  • Java JDK 8 or higher
  • Terminal or IntelliJ IDEA / Eclipse

2. Running from command line

If the .class files are already compiled:

cd out/production/backgammon-rewrite00
java sample.Main