Skip to content

Implementation of Conway's game of Life as a Java command line application

Notifications You must be signed in to change notification settings

miles-milne/cmd-Game-of-Life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmd-Game-of-Life (Archive)

Implementation of Conway's Game of Life in Java

HOW TO USE GAME OF LIFE WITH A .txt FILE:

The first line of the .txt file is dedicated to the row and column length. The first int will be the number of rows, while the second will be the number of columns. To make your game, first fill your .txt file with periods (".") in a grid that matches the rows and columns of the .txt file name. Then, fill any of the tiles that you wish to be 'alive' with "█".

See the example below for what the contents of the .txt file should look like. A valid name for a .txt file containing that pattern would be myGrid4x5.txt

4 5
.█.█.
.█...
..█..
█...█

About

Implementation of Conway's game of Life as a Java command line application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages