Views
No views yet
requirements.txt.stockfish executable is in your system's PATH or update the stockfish_path variable in stockfish_analysis.py.google/gemma-3-4b-it), you will need a Hugging Face account and an access token. See the instructions in gemini_chat.py on how to set this up.1git clone <repository_url>
2cd <repository_directory><repository_url> and <repository_directory> with the actual details.)pip install -r requirements.txtstockfish executable is accessible from your system's PATH.python chess_gui.pychess_gui.py: Handles the Pygame graphical user interface, drawing the board, pieces, and chat, and processing user input.chess_logic.py: Contains the core chess game rules, piece definitions, move validation, and game state management.stockfish_analysis.py: Provides functions to interact with the Stockfish engine for move evaluation and principal variation analysis.gemini_chat.py: Manages the integration with the Hugging Face language model for the AI chat assistant.requirements.txt: Lists the necessary Python libraries..env: (Optional) Can be used to store environment variables like the Hugging Face token.assets/pieces/: Contains the SVG image files for the chess pieces.MODEL_ID variable in gemini_chat.py to use a different compatible Hugging Face language model. Be aware that larger models may require more system resources (RAM, GPU).stockfish executable is not in your system's PATH, you can update the stockfish_path variable in stockfish_analysis.py to the full path of the executable.