Skip to content

JaxenTSandland/Chess_Java-Console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chess_Java-Console

Built by Jaxen Sandland for Object-Oriented Programming

A fully playable console-based Chess game written in Java. The game features a clean terminal UI, a working move history, basic AI for black pieces, and full implementation of chess rules including castling, pawn promotion, en passant, and checkmate detection.

Purpose

This project was created to demonstrate:

  • Object-oriented principles in Java
  • Practical use of polymorphism, encapsulation, and inheritance through a full set of chess piece classes
  • A turn-based console UI system
  • Game state management including move validation, win/loss conditions, and basic AI simulation

How to Use

  1. Clone or download this repository.
  2. Open the project in your Java IDE (e.g., IntelliJ or Eclipse).
  3. Run the main() method from the Main.java file.
  4. Follow the terminal prompts:
    • Choose whether to start a new game or exit
    • Select pieces by entering positions (e.g., C2)
    • Choose where to move based on highlighted legal moves
    • Continue playing until checkmate or stalemate

The terminal interface will guide you clearly throughout gameplay.

Dependencies and Setup

There are no special dependencies required for this project.

  • Built with Java 17+
  • Uses only standard Java libraries

To run the program:

  • Open and execute Main.java in your IDE
  • The console will launch the game interface

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages