An open API service indexing awesome lists of open source software.

https://github.com/giriraj-g0511/consolegrandmaster

ConsoleGrandmaster is a Java-based console chess game, fully developed by me from scratch. It features a functional chessboard, piece movement, and turn-based gameplay using an OOP approach. Currently, 50% of the code is complete, with check/checkmate detection, special moves, and AI opponent still in progress.
https://github.com/giriraj-g0511/consolegrandmaster

chess-game console-chess java java-8 java-console-game

Last synced: 3 months ago
JSON representation

ConsoleGrandmaster is a Java-based console chess game, fully developed by me from scratch. It features a functional chessboard, piece movement, and turn-based gameplay using an OOP approach. Currently, 50% of the code is complete, with check/checkmate detection, special moves, and AI opponent still in progress.

Awesome Lists containing this project

README

        

# ConsoleGrandmaster

ConsoleGrandmaster is a Java-based console chess game that allows players to play chess in a terminal environment. The game is being developed from scratch, focusing on implementing chess logic using pure Java.

## 🚧 Project Status: Work in Progress 🚧
Currently, **about 50% of the code is complete**, with several features implemented while others are still under development.

### ✅ Completed Features:
- Chessboard rendering in the console.
- Basic movement logic for **pawns, knights, bishops, rooks, queens, and kings**.
- Player input system for making moves.
- Turn-based gameplay between two players.

### 🚀 Features Under Development:
- Implementing **check, checkmate, and stalemate detection**.
- Move validation considering chess rules (castling, en passant, etc.).
- AI opponent for single-player mode.
- PGN (Portable Game Notation) support for saving and loading games.
- Undo/redo functionality.

## 🛠️ Tech Stack
- **Language:** Java
- **Paradigm:** Object-Oriented Programming (OOP)
- **Input Handling:** Java Scanner (for now, may upgrade later)

## 🔧 How to Run
Since the project is in development, you can run the existing functionality using:
```bash
javac ConsoleGrandmaster.java
java ConsoleGrandmaster
```
Ensure you have Java installed on your system before running the game.

## 📜 License
This project is licensed under the **Apache License 2.0**. See the [LICENSE](LICENSE) file for more details.

## 🤝 Contributions
Contributions are welcome! Once the base functionality is complete, issues will be created for enhancements and additional features.

Stay tuned for updates! ♟️🔥