Skip to content

Kkashyap3002/Voice-enabled-two-player-2D-chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voice-enabled-two-player-2D-chess

GDSC Project submission

Voice-Controlled Chess is a chess engine which works on the basis of voice commands given by the user. It is a single player game in which the other player is the computer which makes its move with minimax and Alpha-Beta pruning algorithms.

Modules and libraries used:

  • Pip install pygame
  • Pip install speech_recognition
  • Pip install pyaudio
  • Pip install playsound
To install PyAudio, follow these commands:
  • pip install pipwin
  • pipwin install pyaudio

Files used:

  • Chess.py file contains a the valid moves of a chess game and position evaluation used to make a move( bitboard representation of chess board) algorithm used to generate moves by a computer and other factors that can improve the computer choose best move.

  • Gui.py With this one can control the size of the board and squares it is having escalate difficulty level, Press particular keys on keyboard to do specific functions.

  • Rulebook.pdf was added to acknowledge the player about the keys used from the keyboard to add some special advanced features to the game.

  • Book.txt contains already made moves which would result in better winning chances.

Instructions to play the game:

  1. Download the chess.py and gui.py files from code.
  2. Download all the images from data.
  3. Install all the libraries mentioned.
  4. Also, download rulebook.pdf from data which will let you know about the special keys.
  5. Run gui.py and click the mouse button to pay your game.

Author:

Kishan Kashyap ,Ayush Kumar ,Gaurav Kodopi ,Dhiraj Kumar

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published