Week 11. Vacuum Cleaner evaluator optimised and Sync Follow Lime Game Demo.

less than 1 minute read

Week 11. Vacuum Cleaner evaluator optimised and Sync Follow Lime Game Demo.

Hello all!

This week I have worked on optimizing the Vacuum Cleaner game evaluator. What I have done is to use a matrix array for the checkpoints instead of using just a ine dimension array for searching the closer cell to the vacuum. As the canvas height and width are the dimensions of the circuit, with the coordinates given to the fillCell function, they are proccessed in order to get a floored integer corresponding to the coordinates of the closer cell to the vacuum.

Also, I have recorded a video demo for the synchronous follow line game. Here it is:

Follow Line Game Synchronous Demo