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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Writing Space Invaders in Go

9 点作者 sausheong超过 7 年前

1 comment

indescions_2018超过 7 年前
Great stuff! But I actually think implementing Space Invaders is much easier if done as a true &quot;bitmap&quot;. An array of bits in memory. Rather than a sprite sheet.<p>Animation is just flipping the bottom rows. Collision detection is pixel precise. Rendering effects can also be optimized.<p>But the draw to bash shell looks like its running at high frame rate. Could this usher in a new dawn of terminal gaming?
评论 #16289068 未加载