Home » DEMO GAME OF LIFE

DEMO GAME OF LIFE

Features:

  • RT-DESK v2.0
  • x32 bits, x64bits
  • OpenGl
  • Single-threaded program

Description:

This demo implements an array of the game of life. This array comprises 25600 cells (160 x 160) and it is implemented in Continuous Mode and Discrete Mode. This demo aims to show the high precision of Discrete Mode in both the moment and order of execution of each cell. To do this, we have assigned each cell in the array a specific update period. If you want all the array updates to have the same frequency, the same period must be assigned to all the cells. This enables us to configure different areas of the array with different update periods.

NOTE: All the cells interact with their neighbouring cells even if they have different update periods.

For this demo, the array has been divided into four areas with different update periods.

Split4Matrix-150x150

It is possible to note that in Continuous Mode, due to its executing loop, which connects different phases of the application, when a cell is late to the execution moment that corresponds to it, it causes the evolution of the array to be wrong. Whereas in Discrete Mode, due to its execution in simulation time and synchronized with real time, it does not fail and allows us to observe a proper evolution in each of the four defined areas.

 

 

 

Author: Vicente Broseta Toribio (vibroto<at>doctor<dot>upv<dot>es)