Skip to content

ariel-weiss/game_of_life

Repository files navigation

game_of_life

Game of Life, programmed in multi-threaded way (course assignment).


How to run:

Use the makefile('make' command) and use the input parameters:
(1) text file path
(2) number of cycles
(3) number of threads
(4) animation output (Y-yes,N-no)
(5) display output (Y-yes,N-no)
example:
The command:
./GameOfLife mid.txt 10 4 Y Y
Will use mid.txt as starting board, run for 10 cycles using 4 threads and display output as animation.
The files I implemented:
-Game.cpp
-Game.hpp
-PCQueue.hpp
-Semaphore.cpp
-Thread.hpp

About

Game of Life, programmed in multi-threaded way

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published