Five-in-a-Row Game [Others]
![](/project/others_fivestones/featured_hua999a0aaa353fee1d34e27b4edf408d3_499977_720x2500_fit_q75_h2_lanczos_3.webp)
Detection and Description of Visual Attributes for Vehicles and Pedestria
Programming Language:
- Python (Server)
- HTML5 (Interface)
- JaveScript
In this project, we designed and implemented a very simple AI for the Five-in-a-Row Game. Black plays first if white did not just win, and players alternate in placing a stone of their color on an empty intersection. The winner is the first player to get an unbroken row of five stones horizontally, vertically, or diagonally.
My responsibilities:
- Designed and implemented a JaveScript client embedded inside an HTML5 webpage that allows two players to play five-in-a-row game.
- Designed and implemented a server application that judges which player wins in the end.
- Implemented a Python AI program that can play against a single player. The AI program at least beats a player that randomly place stones on the board.
The following video shows a demo of our system.