Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

127 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note: This is a remake of a 2020 project, rebuilt from scratch after the original code was lost — metrics may be a little bit different from the research report.

Darkchess Robot

darkchess-robot
Research Report Video
HuggingFace

🤖 Demo

demo1 demo2

💡 Getting Started

Setup

Use pixi to set up the development environment:

pixi shell

Run Darkchess Robot System with Specific Mode

# Run Robot Server along with Website Monitor
python app.py --robot

# Run API Server of 'brain' & 'eye' Only
python app.py --api

Go config.py to configure app settings before running server.

monitor sample-board

🚀 Features

Brain - AI Engine for Darkchess Board Game

  • Search-based Agents
    • Random: Just Random.
    • Min-Max: 60% win rate versus human.
    • Alpha-Beta: Faster version of Min-Max.
  • Learning-based Agents

Overall: DRL-MCTSDRLAlpha-Beta = Min-Max > QL-MCTS > QL > Random.
For small mode (3x4), read here for detail.
For Brain training/testing script, refer to brain_train.ipynb.

Eye – Real-World Detection and Recognition of Darkchess Board States

  • Model Architecture: VGGNet-based darkchess board recognition
  • Training Accuracy: 99.9%
  • Training Loss: 7.2336e-06
  • Real-world Test Success Rate: 98.9%

For Eye training/testing script, refer to eye_train.ipynb.
Detailed model information is available on Huggingface.

Arm – Robotic Arm Control for Real-World Darkchess Applications

Our Third-Generation Catcher model with robotic arm that doing Chess-Flipping actions in Real-World Darkchess game.

Explore the Hardware and Firmware for more details.

AIoT – Darkchess Robot System Operable via WiFi

  • API server collects training data from both Eye and Brain features.
  • Just a single button press starts gameplay via WiFi remote control.

For API specifications, please see documentation.

🌟 Awards

®️ Patent

  • Invention Patent - DARK CHESS ROBOT (Dec 1, 2021) - TWI748780B
  • Utility Model Patent - Robot arm gripper (Feb 21, 2021) - TWM608235U

Please visit here and search for the patent code as mentioned above.

About

A self-learning robotic arm plays Darkchess with you in Real-World.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages