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.
- Host: GitHub
- URL: https://github.com/giriraj-g0511/consolegrandmaster
- Owner: giriraj-g0511
- License: apache-2.0
- Created: 2025-02-08T05:33:51.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-02-08T05:46:23.000Z (5 months ago)
- Last Synced: 2025-02-08T06:26:00.753Z (5 months ago)
- Topics: chess-game, console-chess, java, java-8, java-console-game
- Language: Java
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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! ♟️🔥