ariel-weiss / game_of_life

Game of Life, programmed in multi-threaded way

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:C++ 96.5%Language:Makefile 3.5%