Using Blender's BGE and modifying the Sunfish chess script, a chess game was created with Blender and Python. The .blend file is only around 200kb and allows you to play against the computer.
The purpose of this game is to show how easy it is to create games with AI in Blender.
Blender 2.7x since Blender 2.8x removed Blender's internal game engine.
Start Blender 2.7x (preferably from the console to also see a console representation of the 3D Blender game version). Hover over the 3D window that has the chess board and pieces. Press P to play, and Esc to end.
This add-on is CC0 licensed. When applicable, this license is superceded by Blender's licensing.
To submit code changes, please open pull requests against the GitHub repository. Patches submitted in issues, email, or elsewhere will likely be ignored. Here's some general guidelines when submitting PRs:
- In your pull request, please:
- Describe the changes, why they were necessary, etc
- Describe how the changes affect existing behaviour
- Describe how you tested and validated your changes
- Include any relevant screenshots/evidence demonstrating that the changes work and have been tested