Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

sqlchow/GameOfLife_PowerShell

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TheGameOfLife.ps1

This is my first attempt at simulating Conway's the game of life in powershell. There are certain problems with the code currently.

  1. The code has a pre-defined initial state. This can be changed by editing the sample filler code in the Main function.
  2. The Get-NextGeneration function is taking about 10.5 secs.

Setup

Copy the code into a file called 'TheGameOfLife.ps1'

Execution

.\TheGameOfLife.ps1

About

The game of life in powershell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.