Bringing Connect 4 to players with visual or mobility impairments
At face value, Connect 4 is a very simple game. Players take turns placing pieces into columns, with the first player to make 4 in a row horizontally, vertically, or diagonally winning. However, with over 4.5 trillion board states, this game allows for complex strategies to force your opponent into a losing position. This makes Connect 4 ideal for players of all ages.
Unfortunately, Connect 4 is not accessible to all. Individuals who are blind or have difficulty moving the pieces may find it challenging to play with either the physical board or existing online versions. We’ve developed a program to let such players play Connect 4 without touching or seeing the board.
Our solution came in two major parts: a reinforcement learning model and an accessible UI. Each posed its own challenges.
When developing our model we evaluated based on metrics that we graphed and playing against the model. Here are the results from Our final Model.
Perfect Play: A Mini-Max or full MCTS implementation could guarantee optimal moves. Would then require some system for allowing different difficulty of levels.
Enhanced UI: Integrate a live speech-to-text / text-to-speech engine for real-time voice interaction, should be able to work on all systems. This may require a separate application to be able to run well.
Game Expansion: Expand the creation of systems such as these to other games to improve accessibility across the hobby gaming space.
Leads to repository with full code and branches containing some past designs (branches not organized):
Connect 4 Reinforcement RepositoryClick the link below to download the complete project folder, including the Jupyter notebook and trained weights:
📦 Download Project Notebook and Trained Weights