InSyst Project – Week 3

Posted by on November 21, 2019 at 8:52 pm.

Intelligent System FP – 21/11/2019 update

At the third week meeting, our group had taken the first step in creating the Connect 4 game. We arranged how the data and its container would be placed and presented. The data will be inserted into an array that simulates columns and rows as in the game. For this reason, the array is in the form of a nested list; the outer array simulates the columns, while the inner array simulates the board rows. The array will initially be filled with zeros, zeroes indicate that a slot is still empty and can be filled by color disks belonging to either player one or player two.

This is the board in non-simulated array format. The array contains columns and in each column contains its rows. The very back element of a row represents the lowest row.
The board after it is simulated like the actual Connect 4 game.



Leave a Reply

You must be logged in to post a comment.