Skip to content

Parallel Implementation

This guide is for the Rust version of the coursework, which is offered as an optional extension.

In this stage, you are required to write code to evolve Game of Life using multithreading on a single machine.

The following pages are some suggested steps to help you get started, you are not required to follow them.

Your implementation will be marked against the success criteria outlined here.

Step 4

Step 4

Implement logic to output the state of the board as a PGM image after all turns have completed.

Send an ImageOutputComplete event after the PGM image is saved.

Test

To test your implementation, type the following in the terminal.

bash
cargo test --release --test pgm