Skip to content

yutsareva/game-of-life

Repository files navigation

Game of life

Build

$ mvn clean install
$ java -jar target/game-of-life-1.0.jar run

Commands

$ java -jar target/game-of-life-1.0.jar help

Examples

Run with green alive and yellow dead cells:

$ java -jar target/game-of-life-1.0.jar run --color_alive green --color_dead yellow --iters_count 100

Infinite run:

$ java -jar target/game-of-life-1.0.jar run --iters_count -1

Run with figures:

$ java -jar target/game-of-life-1.0.jar reset
$ java -jar target/game-of-life-1.0.jar set_params --size 20 20
$ java -jar target/game-of-life-1.0.jar add_figure --type pulsar --place 2 2
$ java -jar target/game-of-life-1.0.jar add_figure --type pulsar --place 3 3
$ java -jar target/game-of-life-1.0.jar run --iters_count 10

Run from docker

$ docker pull dockertsareva/game-of-life:latest
$ docker run dockertsareva/game-of-life:latest run --color_alive blue --color_dead red --iters_count -1

hippo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages