Snowpiercer, Agent Based Modeling, Simulation, Agent Based Model, Stochastic Modelling.
to get the xy co-ordinates of the agent to calculate all possible moves it could make. The passenger looks to see if there are any walls nearby, and adjusts the possible moves accordingly to avoid ending in a wall, then randomly selects a move from the remaining options. The ‘proximity.py’