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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Mary live-codes a JavaScript game from scratch

5 点作者 StylifyYourBlog超过 10 年前

1 comment

danso超过 10 年前
The final code from the OP: <a href="https://github.com/maryrosecook/gamelivecode" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;maryrosecook&#x2F;gamelivecode</a><p>Having a little (but long forgotten) experience in game&#x2F;graphics coding, it was really a delight to see the OP distill the concepts of the game loop, browser interaction, and graphics rendering...not only into something playable, but while talking in front of a crowd, and taking the time to show even via console.log the impact of each step. It was also just a great demo of why programming in the browser is so neat...Even without libraries, it doesn&#x27;t take much code to have graphical elements in front of you, responding to user input.