Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/echosingh/twoplayer-chess-game

Incomplete chess game
https://github.com/echosingh/twoplayer-chess-game

chess-algorithm html-css-javascript

Last synced: 2 days ago
JSON representation

Incomplete chess game

Awesome Lists containing this project

README

        

# ♟️ Chess Game ♛♞♝♚

Welcome to the Simple Chess Game project! This project allows you to play chess against your friends directly in your web browser.
![Mage Image](Screenshots/smallchess1.0.jpg)
### 🚀 Quick Start

To start playing:

1. Clone this repository.
2. Open `index.html` in your web browser.

### 🎮 How to Play

- Click on a piece to select it.
- Click on a valid square to move the selected piece.

### 📜 Game Rules

- Implements basic chess rules for movement.
- **Piece-specific movement logic is incomplete**.

### 🤖 AI Behavior

- The AI currently makes random valid moves.
- **AI logic is rudimentary and needs improvement**.

### 🛠️ Project Structure
```sh
chess-game/
└── index.html
└── css/
└── styles.css
└── js/
└── script.js (Incomplete - Needs piece-specific movement logic and improved AI)
```

### 🌟 Future Improvements

- Implement movement rules for all chess pieces (knights, bishops, rooks, queens, kings).
- Improve AI using algorithms like Minimax with Alpha-Beta Pruning.
- Enhance user interface with features like move history, check indicators, etc.

### 📚 Resources

- [Chessboard.js](https://chessboardjs.com/) for rendering the chessboard.
- [Chess.js](https://github.com/jhlywa/chess.js/) for chess game logic.

### 📝 Contributing

Feel free to contribute to improving this project! Fork it, make your changes, and submit a pull request.

### 📄 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE.txt) file for details.

### 📧 Contact

For questions or suggestions.

Enjoy playing chess! ♕♖♗♘♙♚♛♜