The NFT Game of Life - Code Based NFTs on Hive

in #nfts4 years ago

NFT #69

<p dir="auto">Hi all, <p dir="auto"><span>A few days ago, <a href="/@rishi556">@rishi556 and I(<a href="/@cadawg">@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. <p dir="auto">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 <a href="https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Conway's Game of Life - where each tile is generated from the ID of the card you bought. <h2>How do I get some? <p dir="auto">Head over to <a href="https://nftm.art/buy/gameoflife" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">NFTMart and either purchase one that is already for sale, or to have a go at a new one, click the <code>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. <h2>How do I view them <p dir="auto">As soon as you buy them they will be visible in your <a href="https://nftm.art/inventory/gameoflife" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">NFTMart Inventory 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 <a href="https://lifenft.net/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">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. <h2>I can haz gif? <p dir="auto">Sure - if you go to <a href="https://lifenft.net/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">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 <code>https://lifenft.net/image/id.gif <p dir="auto"><img src="https://images.hive.blog/768x0/https://files.peakd.com/file/peakd-hive/nftgameoflife/23u6LJkxcndnDqG4tjNKJPEEggEvkcX1QnubzmHAuNky93okxqnfSnzjheHM5GRNq14s6.png" alt="image.png" srcset="https://images.hive.blog/768x0/https://files.peakd.com/file/peakd-hive/nftgameoflife/23u6LJkxcndnDqG4tjNKJPEEggEvkcX1QnubzmHAuNky93okxqnfSnzjheHM5GRNq14s6.png 1x, https://images.hive.blog/1536x0/https://files.peakd.com/file/peakd-hive/nftgameoflife/23u6LJkxcndnDqG4tjNKJPEEggEvkcX1QnubzmHAuNky93okxqnfSnzjheHM5GRNq14s6.png 2x" /> <p dir="auto">Where ID is the numeric ID of your NFT. or you can use <code>https://lifenft.net/image/id/force.gif if you don't want us to show it as an embed in discord (like above) <p dir="auto">We hope you find this idea fun and enjoyable.<br /> <em>P.S. Devs we left a guide on how to replicate it yourselves using your own code below <h2>The lowdown (how to replicate for devs): <p dir="auto">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 <code>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. <p dir="auto">or you could just grab the <a href="https://github.com/Snaddyvitch-Dispenser/nftgameoflife/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Source Code from Here
Sort:  

So nerdy, so awesome. !LUV 1

This is honestly brilliant I am obsessed with chaos theory so this just goes in hand 👏

Congratulations @nftgameoflife! You received a personal badge!

You powered-up at least 10 HIVE on Hive Power Up Day!
Wait until the end of Power Up Day to find out the size of your Power-Bee.
May the Hive Power be with you!

You can view your badges on your board and compare yourself to others in the Ranking

Check out the last post from @hivebuzz:

Hive Power Up Day - April 1st 2021 - Hive Power Delegation

Congratulations @nftgameoflife! You received a personal badge!

You powered-up at least 10 HIVE on Hive Power Up Day! This entitles you to a level 1 badge.
Participate in the next Power Up Day and try to power-up more HIVE to get a bigger Power-Bee.
May the Hive Power be with you!

You can view your badges on your board and compare yourself to others in the Ranking

Check out the last post from @hivebuzz:

Hive Power Up Day - April 1st 2021 - Hive Power Delegation

!WINE


0.100 WINECongratulations, @cryptoaeneas You Successfully Shared With @nftgameoflife.
You Earned 0.100 WINE As Curation Reward.
You Utilized 1/2 Successful Calls.

wine-greeting
Total Purchase : 24845.318 WINE & Last Price : 0.290 HIVE
HURRY UP & GET YOUR SPOT IN WINE INITIAL TOKEN OFFERING -ITO-


WINE Current Market Price : 0.270 HIVE

#48

I love the infinite ones.

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

Cool! I just acquired one.

image.png

And minted 2 more!

image.png

I am very interested in this unique little project.

Its a fun little thing :)

Check out card #5, its really cool.

This is really cool! Love it

Neat. Have 189. Is this still minting or is it completed/ If completed what is the mint mumber total