https://github.com/himmat12/chess_board_game
This project is a simple implementation of chess in Scala. It provides a basic chess board, pieces, and rules to play the game.
https://github.com/himmat12/chess_board_game
chess-cli chess-engine chess-game chess-programming scala3
Last synced: about 2 months ago
JSON representation
This project is a simple implementation of chess in Scala. It provides a basic chess board, pieces, and rules to play the game.
- Host: GitHub
- URL: https://github.com/himmat12/chess_board_game
- Owner: himmat12
- License: mit
- Created: 2024-04-09T15:20:11.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-15T17:09:17.000Z (11 months ago)
- Last Synced: 2025-02-04T10:58:46.654Z (4 months ago)
- Topics: chess-cli, chess-engine, chess-game, chess-programming, scala3
- Language: Scala
- Homepage:
- Size: 632 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Scala Chess Board Game (still in development)

Welcome to my Scala-based chess board game project!
This project is a simple implementation of chess in Scala. It provides a basic chess board, pieces, and rules to play the game.
## Features
- **Chess Board**: A standard 8x8 chess board.
- **Pieces**: Implementation of all standard chess pieces - King, Queen, Rook, Bishop, Knight, and Pawn.
- **Movement**: Valid movement logic for all pieces according to standard chess rules.
- **Check and Checkmate Detection**: Detection of check and checkmate conditions during gameplay.
- **Simple Text-based Interface**: The game is played via a simple text-based interface in the terminal.## Requirements
- **Scala 3.3.1 SDK**: This project is built using Scala programming language with Scala 3.3.1 SDK.
- **IntelliJ**: The project was developed using IntelliJ IDE.
- **JUnit 4**: JUnit 4 library is used for unit testing in this project.## Getting Started
1. **Clone the Repository**: Clone this repository to your local machine.
```bash
https://github.com/himmat12/chess_board_game.git
```
2. **Build the Project**: Navigate to the project directory and use SBT to build the project.
```bash
cd chess_board_game
sbt compile
```
3. **Run the Game**: Once the project is compiled successfully, you can run the game.
```bash
sbt run
```
### Or, walkthrough this documentation to setup scala in intellij
[Getting Started | Scala Documentation](https://docs.scala-lang.org/getting-started/index.html)## How to Play
- **Game Setup**: The game starts with a standard chess board setup with pieces placed in their initial positions.
- **Move Input**: To make a move, enter the chess piece value and then destination position of the piece you want to move. For example, move "wp5" white pawn to "f3" from its initial position "f2".
- **Game Progression**: The game alternates between players, allowing each player to make a move until checkmate or stalemate is reached.
- **Check and Checkmate**: The game will notify players if a king is in check or if a checkmate has occurred (checkmate and stalemate are still in development).## Contributing
Contributions are welcome! If you'd like to contribute to this project, please fork the repository and submit a pull request with your changes.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Acknowledgements
- This project was inspired by the love for chess and the desire to learn Scala.
- Special thanks to the Scala community and Chess programming community for providing valuable resources and support.## Game screenshots





---