create account

The NFT Game of Life - Code Based NFTs on Hive by nftgameoflife

View this thread on: hive.blogpeakd.comecency.com
· @nftgameoflife ·
$185.05
The NFT Game of Life - Code Based NFTs on Hive
![NFT #69](https://lifenft.net/image/69/force.gif)

Hi all,

A few days ago, @rishi556 and I(@cadawg) decided we needed to do something for April Fools. Based on that sentance you might expect this all to dissapear tomorrow - that won't be the case though.

We came up with an idea for a piece of software art, where just from an ID you can generate a unique piece of artwork, without human intervention. This took the form of the famous [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) - where each tile is generated from the ID of the card you bought.

## How do I get some?

Head over to [NFTMart](https://nftm.art/buy/gameoflife) and either purchase one that is already for sale, or to have a go at a new one, click the `Buy NFTs` button (after logging in) - this will allow you to mint the next patterns in the series for 0.5 Hive (a sum we thought would be a low barrier of entry for a little bit of fun in an amusing piece of artwork) - you can buy up to 15 in one transaction.

## How do I view them

As soon as you buy them they will be visible in your [NFTMart Inventory](https://nftm.art/inventory/gameoflife) as GIFs (They may take a little while to load if it's the first time anyone has loaded the GIF) - If you want to see it in all it's glory though, you should visit [LifeNFT.net](https://lifenft.net/) and enter the ID of the card to see it in a canvas where you can mess with the frames per second, pause it and save individual frames and play around with your new piece of art.

## I can haz gif?

Sure - if you go to [LifeNFT.net](https://lifenft.net/) and enter the ID, it'll give you a link to the GIF for your piece of art. If you don't want to use the site you can always fill it in as follows `https://lifenft.net/image/id.gif`


![image.png](https://files.peakd.com/file/peakd-hive/nftgameoflife/23u6LJkxcndnDqG4tjNKJPEEggEvkcX1QnubzmHAuNky93okxqnfSnzjheHM5GRNq14s6.png)


Where ID is the numeric ID of your NFT. or you can use `https://lifenft.net/image/id/force.gif` if you don't want us to show it as an embed in discord (like above)

We hope you find this idea fun and enjoyable.
*P.S. Devs we left a guide on how to replicate it yourselves using your own code below*

## The lowdown (how to replicate for devs):

So firstly, to decide the initial state, sha512 hash the id of the card that we were given and use the first 484 bits to determine which pixels are on and which are off (1 = on, 0 = off), to determine the color of each pixel, hash the following `x,y-id` where x is the x coordinate, y is the y coordinate and id is the numeric issue ID of the NFT. Using this and the standard rules from the game of life you should be able to fully replicate our results.

or you could just grab the [Source Code from Here](https://github.com/Snaddyvitch-Dispenser/nftgameoflife/)
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 94 others
properties (23)
authornftgameoflife
permlinkthe-nft-game-of-life-code-based-nfts-on-hive
categorynfts
json_metadata"{"app":"peakd/2021.03.9","format":"markdown","description":"Game of Life NFTs - A fun little code-as-art project which you can interact with!","tags":["nfts","gameoflife","programming","nft","hive","hive-engine","leofinance"],"users":["rishi556","cadawg"],"links":["/@rishi556","/@cadawg","https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life","https://nftm.art/buy/gameoflife","https://nftm.art/inventory/gameoflife","https://lifenft.net/","https://lifenft.net/","https://github.com/Snaddyvitch-Dispenser/nftgameoflife/"],"image":["https://lifenft.net/image/69/force.gif","https://files.peakd.com/file/peakd-hive/nftgameoflife/23u6LJkxcndnDqG4tjNKJPEEggEvkcX1QnubzmHAuNky93okxqnfSnzjheHM5GRNq14s6.png"]}"
created2021-04-01 22:15:51
last_update2021-04-01 22:15:51
depth0
children16
last_payout2021-04-08 22:15:51
cashout_time1969-12-31 23:59:59
total_payout_value93.164 HBD
curator_payout_value91.883 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,838
author_reputation2,742,702,104,772
root_title"The NFT Game of Life - Code Based NFTs on Hive"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,755,907
net_rshares175,799,689,637,567
author_curate_reward""
vote details (158)
@aerokossasjc ·
Neat. Have 189. Is this still minting or is it completed/ If completed what is the mint mumber total
properties (22)
authoraerokossasjc
permlinkre-nftgameoflife-rqrttu
categorynfts
json_metadata{"tags":["nfts"],"app":"peakd/2023.2.2"}
created2023-02-28 03:32:27
last_update2023-02-28 03:32:27
depth1
children0
last_payout2023-03-07 03:32:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length100
author_reputation670,363,893,916
root_title"The NFT Game of Life - Code Based NFTs on Hive"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id121,188,668
net_rshares0
@blockchainyouth ·
This is honestly brilliant I am obsessed with chaos theory so this just goes in hand 👏
properties (22)
authorblockchainyouth
permlinkre-nftgameoflife-202141t23263968z
categorynfts
json_metadata{"tags":["nfts","gameoflife","programming","nft","hive","hive-engine","leofinance"],"app":"ecency/3.0.15-mobile","format":"markdown+html"}
created2021-04-01 22:26:03
last_update2021-04-01 22:26:03
depth1
children0
last_payout2021-04-08 22:26:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length86
author_reputation18,287,503,665,169
root_title"The NFT Game of Life - Code Based NFTs on Hive"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,756,044
net_rshares0
@crrdlx ·
So nerdy, so awesome. !LUV 1
👍  
properties (23)
authorcrrdlx
permlinkre-nftgameoflife-qqy0iq
categorynfts
json_metadata{"tags":["nfts"],"app":"peakd/2021.03.9"}
created2021-04-02 15:32:54
last_update2021-04-02 15:32:54
depth1
children0
last_payout2021-04-09 15:32:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length28
author_reputation65,507,994,322,531
root_title"The NFT Game of Life - Code Based NFTs on Hive"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,770,546
net_rshares46,921,265
author_curate_reward""
vote details (1)
@cryptoaeneas ·
!WINE
properties (22)
authorcryptoaeneas
permlinkqqxckr
categorynfts
json_metadata{"app":"hiveblog/0.1"}
created2021-04-02 06:55:39
last_update2021-04-02 06:55:39
depth1
children1
last_payout2021-04-09 06:55:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length5
author_reputation817,977,965,277
root_title"The NFT Game of Life - Code Based NFTs on Hive"
beneficiaries
0.
accounthiveonboard
weight100
1.
accountthreespeak
weight100
2.
accountwehmoen
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,762,824
net_rshares0
@wine.bot ·
<center>
<sup>Congratulations, @cryptoaeneas You Successfully Shared <b>0.100 WINE</b> With @nftgameoflife.</sup>
<sup>You Earned <b>0.100 WINE</b> As Curation Reward.</sup>
<sup>You Utilized <b>1/2</b> Successful Calls.</sup>

<img src="https://files.peakd.com/file/peakd-hive/theguruasia/xUzavzNY-Wine5Greeting.png" alt="wine-greeting">
<sup>Total Purchase : <b>24845.318 WINE</b> & Last Price : <b>0.290 HIVE</b></sup>
<sup><b>[HURRY UP & GET YOUR SPOT IN WINE INITIAL TOKEN OFFERING -ITO-](https://wine-ico.github.io/)</b></sup>
---
<sup>[WINE Current Market Price](https://hive-engine.com/?p=market&t=WINE) : <b>0.270 HIVE</b></sup>
</center>
properties (22)
authorwine.bot
permlink20210402t182700718z
categorynfts
json_metadata{"tags":["wine","wineyard"],"app":"tan-bot/1.1","format":"markdown"}
created2021-04-02 18:27:00
last_update2021-04-02 18:27:00
depth2
children0
last_payout2021-04-09 18:27:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length648
author_reputation8,397,886,118,080
root_title"The NFT Game of Life - Code Based NFTs on Hive"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,774,026
net_rshares0
@hivebuzz ·
Congratulations @nftgameoflife! You received a personal badge!

<table><tr><td>https://images.hive.blog/70x70/http://hivebuzz.me/badges/pud.png?202104012222</td><td>You powered-up at least 10 HIVE on Hive Power Up Day!<br>Wait until the end of Power Up Day to find out the size of your Power-Bee.<br>May the Hive Power be with you!
</td></tr></table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@nftgameoflife) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>


**Check out the last post from @hivebuzz:**
<table><tr><td><a href="/hivebuzz/@hivebuzz/pud-202104"><img src="https://images.hive.blog/64x128/https://i.imgur.com/805FIIt.jpg"></a></td><td><a href="/hivebuzz/@hivebuzz/pud-202104">Hive Power Up Day - April 1st 2021 - Hive Power Delegation</a></td></tr></table>
properties (22)
authorhivebuzz
permlinkhivebuzz-notify-nftgameoflife-20210401t222733000z
categorynfts
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2021-04-01 22:27:33
last_update2021-04-01 22:27:33
depth1
children0
last_payout2021-04-08 22:27:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length831
author_reputation369,488,721,148,691
root_title"The NFT Game of Life - Code Based NFTs on Hive"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,756,072
net_rshares0
@hivebuzz ·
Congratulations @nftgameoflife! You received a personal badge!

<table><tr><td>https://images.hive.blog/70x70/http://hivebuzz.me/badges/pud.s1.png?202104020002</td><td>You powered-up at least 10 HIVE on Hive Power Up Day! This entitles you to a level 1 badge.<br>Participate in the next Power Up Day and try to power-up more HIVE to get a bigger Power-Bee.<br>May the Hive Power be with you!</td></tr></table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@nftgameoflife) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>


**Check out the last post from @hivebuzz:**
<table><tr><td><a href="/hivebuzz/@hivebuzz/pud-202104"><img src="https://images.hive.blog/64x128/https://i.imgur.com/805FIIt.jpg"></a></td><td><a href="/hivebuzz/@hivebuzz/pud-202104">Hive Power Up Day - April 1st 2021 - Hive Power Delegation</a></td></tr></table>
properties (22)
authorhivebuzz
permlinkhivebuzz-notify-nftgameoflife-20210402t011614000z
categorynfts
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2021-04-02 01:16:15
last_update2021-04-02 01:16:15
depth1
children0
last_payout2021-04-09 01:16:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length889
author_reputation369,488,721,148,691
root_title"The NFT Game of Life - Code Based NFTs on Hive"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,758,568
net_rshares0
@hivecoffee · (edited)
Cool! I just acquired one. 


![image.png](https://files.peakd.com/file/peakd-hive/hivecoffee/23vsZ9sXPgS5M1Xd9h1s9UX226jmzJa5eKnNKf2G62aztAntgUr5C3kaBeswd8oj4kDM6.png)

### And minted 2 more!


![image.png](https://files.peakd.com/file/peakd-hive/hivecoffee/23wgaPM4Ki9dMXKxu9vw4BT2GHwyfTFSGtTztALeM33Wg8Mthdbyo5jcgXdtSUBPR7pW8.png)


I am very interested in this unique little project.
properties (22)
authorhivecoffee
permlinkre-nftgameoflife-qr2je6
categorynfts
json_metadata{"tags":["nfts"],"app":"peakd/2021.03.9"}
created2021-04-05 02:10:54
last_update2021-04-05 02:43:03
depth1
children1
last_payout2021-04-12 02:10:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length388
author_reputation19,616,217,679,256
root_title"The NFT Game of Life - Code Based NFTs on Hive"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,827,226
net_rshares0
@rishi556 ·
Its a fun little thing :)

Check out card #5, its really cool.
👍  
properties (23)
authorrishi556
permlinkre-hivecoffee-qr5u8z
categorynfts
json_metadata{"tags":["nfts"],"app":"peakd/2021.03.9"}
created2021-04-06 20:58:12
last_update2021-04-06 20:58:12
depth2
children0
last_payout2021-04-13 20:58:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length62
author_reputation132,602,667,694,111
root_title"The NFT Game of Life - Code Based NFTs on Hive"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,871,454
net_rshares4,734,649,122
author_curate_reward""
vote details (1)
@jackofcrows ·
#48
https://lifenft.net/image/48.gif
properties (22)
authorjackofcrows
permlinkre-nftgameoflife-qqxo4w
categorynfts
json_metadata{"tags":["nfts"],"app":"peakd/2021.03.9"}
created2021-04-02 11:05:21
last_update2021-04-02 11:05:21
depth1
children1
last_payout2021-04-09 11:05:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length36
author_reputation5,179,945,252,458
root_title"The NFT Game of Life - Code Based NFTs on Hive"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,766,023
net_rshares0
@rishi556 ·
I love the infinite ones.
properties (22)
authorrishi556
permlinkre-jackofcrows-qqy4y2
categorynfts
json_metadata{"tags":["nfts"],"app":"peakd/2021.03.9"}
created2021-04-02 17:08:27
last_update2021-04-02 17:08:27
depth2
children0
last_payout2021-04-09 17:08:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length25
author_reputation132,602,667,694,111
root_title"The NFT Game of Life - Code Based NFTs on Hive"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,772,421
net_rshares0
@luvshares ·
Hi @nftgameoflife, you were just shared some LUV. :) Having at least 5 LUV in your wallet enables you to give up to 3 LUV per day, for free.  See the LUV tokens in your wallet at https://hive-engine.com or learn about LUV at https://peakd.com/@luvshares https://ipfs.io/ipfs/QmZosc5B9VvqHJs1xVbLoxxGGc6BfmwJukG1dAr3J6PBLX
properties (22)
authorluvshares
permlinkre-the-nft-game-of-life-code-based-nfts-on-hive-20210402t153306z
categorynfts
json_metadata"{"app": "beem/0.24.20"}"
created2021-04-02 15:33:09
last_update2021-04-02 15:33:09
depth1
children0
last_payout2021-04-09 15:33:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length321
author_reputation5,651,102,754,153
root_title"The NFT Game of Life - Code Based NFTs on Hive"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,770,552
net_rshares0
@poshbot ·
$0.04
https://twitter.com/\_CADawg/status/1377749422445096963
👍  
properties (23)
authorposhbot
permlinkre-the-nft-game-of-life-code-based-nfts-on-hive-20210401t222720z
categorynfts
json_metadata"{"app": "beem/0.24.20"}"
created2021-04-01 22:27:21
last_update2021-04-01 22:27:21
depth1
children0
last_payout2021-04-08 22:27:21
cashout_time1969-12-31 23:59:59
total_payout_value0.022 HBD
curator_payout_value0.022 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length55
author_reputation5,554,335,374,496
root_title"The NFT Game of Life - Code Based NFTs on Hive"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,756,068
net_rshares84,193,463,794
author_curate_reward""
vote details (1)
@poshbot ·
$0.05
https://twitter.com/\_foxon\_/status/1377763765257609217
👍  
properties (23)
authorposhbot
permlinkre-the-nft-game-of-life-code-based-nfts-on-hive-20210401t232524z
categorynfts
json_metadata"{"app": "beem/0.24.20"}"
created2021-04-01 23:25:24
last_update2021-04-01 23:25:24
depth1
children0
last_payout2021-04-08 23:25:24
cashout_time1969-12-31 23:59:59
total_payout_value0.024 HBD
curator_payout_value0.023 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length56
author_reputation5,554,335,374,496
root_title"The NFT Game of Life - Code Based NFTs on Hive"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,756,824
net_rshares87,654,989,475
author_curate_reward""
vote details (1)
@poshbot ·
https://twitter.com/bitinvest\_news/status/1377899417794138113
properties (22)
authorposhbot
permlinkre-the-nft-game-of-life-code-based-nfts-on-hive-20210402t082352z
categorynfts
json_metadata"{"app": "beem/0.24.20"}"
created2021-04-02 08:23:51
last_update2021-04-02 08:23:51
depth1
children0
last_payout2021-04-09 08:23:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length62
author_reputation5,554,335,374,496
root_title"The NFT Game of Life - Code Based NFTs on Hive"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,763,978
net_rshares0
@stiruzwallet ·
This is really cool! Love it
properties (22)
authorstiruzwallet
permlinkre-nftgameoflife-r154gf
categorynfts
json_metadata{"tags":["nfts"],"app":"peakd/2021.09.1"}
created2021-10-17 21:17:06
last_update2021-10-17 21:17:06
depth1
children0
last_payout2021-10-24 21:17:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length28
author_reputation0
root_title"The NFT Game of Life - Code Based NFTs on Hive"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id107,110,089
net_rshares0