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

https://github.com/oslint/console-chess-java

This is a simple console-based chess game implemented in Java. It allows two players to play chess against each other in the console window. The game follows the standard rules of chess, including all legal moves and win conditions.
https://github.com/oslint/console-chess-java

beginner-friendly beginner-project chess console-application console-chess console-game java vanilla-java

Last synced: 6 months ago
JSON representation

This is a simple console-based chess game implemented in Java. It allows two players to play chess against each other in the console window. The game follows the standard rules of chess, including all legal moves and win conditions.

Awesome Lists containing this project

README

        

### ♟️ Console Chess in Java ♞

This is a simple console-based chess game implemented in Java. It allows two players to play chess against each other in the console window. The game follows the standard rules of chess, including all legal moves and win conditions.

## How to Play ♟️

- Clone the repository to your local machine:

```bash
git clone https://github.com/your-username/console-chess-java.git
```
- Compile the Java source files:
```bash
javac ChessGame.java
```
- Run the game:
```bash
java ChessGame
```
- Follow the on-screen instructions to input your moves and play the game.

![Board](https://github.com/oskalbarczyk/console-chess-java/assets/106467480/9443b95b-e6e4-4d75-92e2-e511949a072e)

## Notes 📝
- There is no En passant 😡
- A tie will only happen when both players agree

## Contributing 🤝
Contributions are welcome! If you find any issues or want to add new features, please submit a pull request.

## License 📝
This project is licensed under the MIT License.

## Links
- [GitHub](https://github.com/oskalbarczyk)
- [YouTube](https://www.youtube.com/@codewithoskar)
- [Donations](https://tipply.pl/u/oskalbarczyk)
- [Twitter](https://twitter.com/oskalbarczyk)