Skip to content

Implementation of Conway's Game of Life as a `jq` filter

License

Notifications You must be signed in to change notification settings

Infinoid/game-of-life.jq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game of life

This is an implementation of Conway's Game Of Life as a jq filter.

Enjoy.

pretty animation of the game of life playing.

Why?

Why not?

How?

jq is a filter language for JSON data. It takes JSON input, and produces JSON output. I wrote a filter program that takes in the previous board state, and outputs the next board state.

Then I put it through some post-processing to produce the pretty picture above (runpretty.sh). Without that post-processing, it looks more like this (run.sh):

less pretty animation of the game of life playing.

About

Implementation of Conway's Game of Life as a `jq` filter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published