There are two game modes:
– Implementation of the game. Implement the game in a structured and flexible way to allow the selection of game modes and parameters. Build a method to build and visualize the grid filled with random numbers. Build a method to visualise a path. (30%)
– Develop your own heuristic algorithm. Identify simple criteria and strategies to find short paths. This algorithm should be taken as a baseline. (10%)
Write your own code as much as possible and provide detailed comments of each step. Relying on more sophisticated implementations available online is not the objective of the task, but to be able to write your own code. (30%)
– Plan and implement a statistical analysis to characterize the length of the shortest path in dependence of several parameters of the grid and comparing the two game modes. Relevant parameters are size of the grid, distribution from which cell numbers are generated, etc. (30%)
An agent can move from cell to cell (U, D, L, R).
Each time it enters a cell, it spends some time in this cell.
2 game modes:
– the number on the cell indicates time spent on the cell
– the absolute difference between origin cell and destination cell indicates the time spent on the cell.
The goal is to move from top-left to bottom-right position as fast as possible.
Game: creating the environment:
Implementation of the game (30%)
Game: finding the shortest path:
Game: analyze factors affecting the shortest path:
Design and implement an analysis of factors that affect the length of the shortest path (30%)