TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Snake in a block – how I ran snake on Ethereum

48 pointsby sirnicolazover 3 years ago

5 comments

brokensegueover 3 years ago
Is this just an ad for their $500 gifs? <a href="https:&#x2F;&#x2F;opensea.io&#x2F;assets&#x2F;0x7eefee2d0b0e23b7ce6b56a9ce9b62a599e6e9da&#x2F;121" rel="nofollow">https:&#x2F;&#x2F;opensea.io&#x2F;assets&#x2F;0x7eefee2d0b0e23b7ce6b56a9ce9b62a5...</a>
评论 #29455340 未加载
评论 #29454871 未加载
phrzover 3 years ago
How many pounds of coal did this game consume? I wonder if it&#x27;s possible to compare the watt-hours of a typical game of snake as compared to this.
评论 #29455604 未加载
评论 #29454509 未加载
评论 #29455324 未加载
评论 #29455014 未加载
评论 #29454442 未加载
kginover 3 years ago
&gt; With a 30M gas limit one could think this is still nothing to worry about, but the more precisely the simulation logic is implemented (including edge case handling, etc), the more operations like those listed above are needed, making it very likely that with a long game, the limit is breached.<p>I’m not sure how much efficiency was gained rewriting with bitwise operators, but the 30M gwei game would be very expensive: $125 USD for a single game of snake at current gas prices.
dr_dshivover 3 years ago
Flashbacks to Tron and snake-like destruction in financial bits… <a href="https:&#x2F;&#x2F;hackaday.com&#x2F;2018&#x2F;11&#x2F;14&#x2F;re-enacting-tron-on-the-apple-iigs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hackaday.com&#x2F;2018&#x2F;11&#x2F;14&#x2F;re-enacting-tron-on-the-appl...</a>
peanut_wormover 3 years ago
Great so now for only 400 dollars and a several days worth of electricity I can have a gif of a game of snake.<p>I love having fun with technology but when you add money and grossly negligent resource use it stops being so fun.