InSyst Project – Week 5

Posted by on December 5, 2019 at 9:34 pm.

Intelligent System FP – 05/12/2019 update

In the previous post, we explained that the game has no winner jut yet. To remedy this, we implemented a function that checks other indices for similar disks. The function works by determining whether the last inserted disk and the other indices surrounding it results in a four in a row of similar disks, which then the game will be won by the disks owner.

The function also has several copies of itself that works the same way but different is that it checks two in a row and three in a row, these function is used later to determine the heuristic value of the last placed disk in a column.

Leave a Reply

You must be logged in to post a comment.