TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Electrobillion, a city builder game where you build the power grid

4 点作者 evrimoztamur6 个月前
Hi everybody!<p>After four months of hard work, I&#x27;m finally launching the <i>demo</i> for my little game.<p>It&#x27;s called electrobillion, and it&#x27;s a city builder where instead of building the city, you build its power grid. As the city consumes more power, it sprawls out further, and demands ever-increasing amounts of electricity!<p>It was born out of the confusion I had one day when I turned the lights on, and realised I had no clue how electricity made it to my house. I started digging around, and soon figured out that it was a <i>lot</i> more complex than I could have ever imagined it to be.<p>In turn, I set my sights on building a game such that others also get a rough idea of how the electricity comes from various sources to our various sinks.<p>My goal with this game is to be educational. So far, I&#x27;ve worked on a rather superficial level of complexity. Electricity flows without much struggle, prices are fixed, and costs of various elements such as fuel or energy storage are not really accounted for. However, my ultimate goal is to strike a good balance between education, fun, and realism.<p>...<p>Like my last couple games (Maginet and Critter Showdown, both available on itch as well <a href="https:&#x2F;&#x2F;evrimzone.itch.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;evrimzone.itch.io&#x2F;</a>), this one is also built in Rust. This time, I got a little fancier and included WebGL to improve the rendering performance of the much larger amount of sprites. Besides that, it&#x27;s essentially pure HTML5, including all of the UI running inside the Canvas.<p>Don&#x27;t hesitate to ask if you have any questions here, and check out the source code of my previous big release, Maginet (which is an online multiplayer chess-like puzzle game): <a href="https:&#x2F;&#x2F;github.com&#x2F;evrimoztamur&#x2F;maginet">https:&#x2F;&#x2F;github.com&#x2F;evrimoztamur&#x2F;maginet</a><p>...<p>I&#x27;m going to take a short week-long break from development before going for another sprint where I:<p>- Push players into a constant battle against the forces of nature and their own pollution.<p>- Design a larger simulation of the economic factors hindering your path to profits: Government policies, fluctuating market prices for fuel and resources, chaotic weather events.<p>- Include real-life mechanics such as marginal pricing systems, grid congestion, and long-term storage.<p>So watch out for more updates, and let me know how you liked it so far!

暂无评论

暂无评论