Comments (3)
Sounds promising!
NaNoGenMo/2017#123 used cellular automata, but not Game of Life:
Yes, itâs based on the elementary (1D) automata studied extensively by Wolfram and others.
Game of Life is generally represented in 2D grid space with edge cells in either 4 or 8 directions. I havenât figured out how to translate this 2D space to a text representation (yet!), but the 1D automata structure has a fairly intuitive mapping to the linear ordering of words in prose/book conventions.
from 2019.
I've worked up a "working" interactive version of this idea here:
https://codepen.io/compysando/pen/bGGaEjq
Here's a fun excerpt using a section of "The Strange Case of Dr. Jekyll and Mr. Hyde" as input:
The figure these the all any time he dozed over it but it glide more stealthily through sleeping houses or move more swiftly and the swiftly lamplighted city a child and And the face which he might know even in his it face or that him and melted before his and thus it was apace in the lawyerâs mind strong an curiosity to behold the features on him thought the mystery would perhaps away was the of when He a reason for friendâs preference or (call it you and the will it a face the face of man was bowels mercy: had but to itself raise up in the the a spirit of hatred that Mr Utterson began haunt the door the shops In the office hours at when business was and at night fogged city moon all lights all hours solitude concourse lawyer on âIf he be Mr Hydeâ he âI shall be Mr Seekâ And his was fine night; frost the the streets a the unshaken by any wind a pattern of and shadow oâclock when shops the very in of low of from all round silent Small carried far; domestic sounds houses were clearly on the roadway; approach any him a long time some minutes at his post when he was aware of light footstep
A few issues I've noticed up front:
- Longer input texts inherently generate longer sentences with the current rules
- Not all runs will generate a 50,000-word output (if the game dies out, etc.)
- Punctuation, sentence structure isn't handled dynamically yet
I'll be making another pass at this tomorrow to clean up/document the code so far, then this weekend I'll look into adding a canvas element to display the game as it plays out.
from 2019.
The tags on this are confusing me :) I see the Interactive version and ran it, but do you want to attach a 50,000 word Sample output and claim your "completed" label?
from 2019.
Related Issues (20)
- Ladder (#NNGM) HOT 2
- Deconstructing Yogi Berra with #NNNGM HOT 1
- Je me souviens HOT 3
- 1001 or so Nights HOT 1
- Cassini Traceback
- Nano-NaNoGenMos HOT 2
- The World (According to Computers)
- Directions in Venice HOT 1
- NaNaNoGenMoGenMo: National NaNoGenMo Generation Month
- Random walk through syntax tree space HOT 11
- Bitscreech, a #NNNGM
- A tale of many swaps by Smooth Dickens
- Paranoid Transformer HOT 3
- #NNNGM: On meillä uniseuranta, pÜytätietokone, elokuvaääni ja mukanakulkeva
- Ahe Thd Yearidy Ti Isa (asemic GAN-generated novel)
- Paradissssse Lossssst ("serpent-ify")
- The Whale: Dick Moby HOT 1
- An End of Tarred Twine
- A Most Portentous Dream Diary HOT 1
- Fluff and Flowers: Paving the Road to Hell
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ď¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 2019.