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.

Show HN: Sprig, open-source game console and engine, by teenagers for teenagers

274 pointsby apexedisonover 2 years ago

22 comments

kleibaover 2 years ago
This obvious age discrimination against non-teenagers is preposterous! Where are the lawers when you need them?<p>Just kidding, this is an awesome project! I wish I would have been that creative and competent in my teenage years... or even now, for that matter. Respect!
评论 #33454219 未加载
评论 #33451717 未加载
评论 #33451732 未加载
linsomniacover 2 years ago
Hack Club is awesome, I highly recommend it to anyone with teenage kids.<p>There is a playable version on the home page at: <a href="https:&#x2F;&#x2F;sprig.hackclub.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sprig.hackclub.com&#x2F;</a><p>Aside: The game you play on that one was written by my 13yo son. He has become super involved in Hack Club over the last few months, since I showed him that &quot;Sine Rider&quot; game announced on HN (another Hack Club project), and I left it up to him to discover Hack Club from that. As someone who used to run and attend Hacking Society meetings, I was pretty happy to see him dig into Hack Club.
评论 #33454779 未加载
评论 #33454875 未加载
threesidedover 2 years ago
Love to see the combo of hardware and software being offered up to aspiring young game developers! I&#x27;m a huge fan of Pico-8 and other &quot;fantasy consoles&quot; so always welcome to see another one.<p>Awesome work!
评论 #33453153 未加载
bdickasonover 2 years ago
This is very cool. I love the focus on builders and do think there&#x27;s a gap in easy to use 2d web-friendly game engines currently.<p>Phaser still requires a ton of boilerplate code compared to the example games here.<p>Both Godot and Unity are very similar to each other and aren&#x27;t great for say.. hacking together a quick js prototype and sharing it with your friends on the web (or with a lil&#x27; device).
评论 #33454749 未加载
评论 #33454965 未加载
omayover 2 years ago
I am a big fan of Sprigs. It is kind of crazy that my game is on the front page. Sprig is really easy to make games with, but it is also capable enough to make more complex things.
cedric-hover 2 years ago
Hey everyone, I&#x27;m Cedric and part of the Sprig team. I&#x27;m 19. I&#x27;ve been trying to make games since middle school.<p>Right now I&#x27;m working on getting Lingdong Huang&#x27;s - who has made a bunch of really cool interactive experiences[0] (like a human face eating simulator) - he made a Sprig game for us[1], I&#x27;m trying to get it working on the physical device - but there&#x27;s a problem, since the device is Raspberry Pi 2040 based and only has 256kb of available RAM (yet the games are written in JavaScript - we run them using our own little JerryScript based runtime[2]).<p>The runtime also runs on personal computers, not just arm-eabi-none, to help us test the games to get better error messages than the physical hardware can give (because no operating system). We call this our Sprig emulator, even though it&#x27;s just the runtime compiled to a different architecture, hooked up to CoreAudio and a minifb window. Thanks to the emulator, we know Lingdong&#x27;s game theoretically only uses 180kb of RAM, so we should be fine. And it actually works great in the emulator, but when I try to run it on the device it doesn&#x27;t get past the startup screen ... which hurts because the entire reason we made the emulator was to get better error messages.<p>All I can do now is puts(&quot;&quot;) debug everything and figure out what code is reading or writing out of bounds and making the device freeze. I probably configured the heap to be too small again.<p>I have always loved finding excuses to figure out how things _actually work_, which is why every time I sit down to make a game, one thing leads to another and I&#x27;m making a game engine. Working on Sprig has taken this to a whole &#x27;nother level because it&#x27;s essentially our own operating system, too. Nobody tells you if you overflow the stack, the stack guard is only 32 bytes and disabled by default. It all started as a module for Kaluma, but we hit so many performance, RAM and flash constraints that we found it was better to write our own JS runtime. Apologies to Kaluma which is also trying to frontpage HN right now! We both use JerryScript heavily, but Kaluma connects you directly to the GPIOs and IRQs. We just connect you to the screen and the buttons through the same API as in the web browser, which is handy for making tile-based games.<p>[0] - <a href="https:&#x2F;&#x2F;lingdong.works&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lingdong.works&#x2F;</a> [1] - Lingdong&#x27;s game. Keep in mind the controls are all WASD and IJKL because the device only has 8 buttons. <a href="https:&#x2F;&#x2F;editor.sprig.hackclub.com&#x2F;?file=https:&#x2F;&#x2F;raw.githubusercontent.com&#x2F;hackclub&#x2F;sprig&#x2F;main&#x2F;games&#x2F;generic_dungeon_crawler.js" rel="nofollow">https:&#x2F;&#x2F;editor.sprig.hackclub.com&#x2F;?file=https:&#x2F;&#x2F;raw.githubus...</a> [2] - github.com&#x2F;hackclub&#x2F;spade
评论 #33453676 未加载
评论 #33454655 未加载
评论 #33452326 未加载
评论 #33452920 未加载
dustedover 2 years ago
Except for the bare pcb thing, it looks cool..<p>I cringe thinking about long-term exposure to bare PCBs, sure RoHS is a thing, but it&#x27;s R(eduction), not E(liminiation).. And those guidelines are under the assumption that the electronics are packaged and not touched to bare skin..<p>PCBs are still made with fibers which can penetrate the skin, and I&#x27;d be worried about exposure to soldermask, solder and what other chemicals are involved.
评论 #33452319 未加载
评论 #33456551 未加载
评论 #33452094 未加载
riwskyover 2 years ago
I’ve seem many a front page HN article about teenage engineering—but I’ve gotta admit, this might be the first one about teenagers engineering.
sdrothrockover 2 years ago
There&#x27;s a dead comment from one of the creators that needs some vouches: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33451938" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33451938</a>
zach_garwoodover 2 years ago
Man, I wish something like this would have existed back when I was trying to make choose-your-own-adventure games in QBASIC back in my teens! This is really awesome!
评论 #33454863 未加载
pjmlpover 2 years ago
In a way it is funny to see JavaScript vs Python competing for the next BASIC in this kind of platforms.<p>Good work, it looks cool.
评论 #33451834 未加载
stefanvdw1over 2 years ago
Love it! Sent it to my two teenage brothers who’ve I been trying to get interested in technical stuff like this
apexedisonover 2 years ago
If you want to check out some of the games people have made you can find them here: <a href="https:&#x2F;&#x2F;sprig.hackclub.com&#x2F;gallery" rel="nofollow">https:&#x2F;&#x2F;sprig.hackclub.com&#x2F;gallery</a>
reesericciover 2 years ago
I&#x27;ve been loving my Sprig so far - great project from Hack Club!
asicspover 2 years ago
See also:<p>&quot;Some Assembly Required: An approachable introduction to assembly&quot; - <a href="https:&#x2F;&#x2F;github.com&#x2F;hackclub&#x2F;some-assembly-required" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hackclub&#x2F;some-assembly-required</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31909183" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31909183</a> <i>(587 points | 4 months ago | 125 comments)</i>
sampoderover 2 years ago
Curious, what&#x27;s the thinking behind making projects like this?
评论 #33451560 未加载
z3over 2 years ago
Great project! Well done boys, that’s a true hacker spirit
culiover 2 years ago
Wow they even got Nicky case to make a game for it. Really cool project!
ofrzetaover 2 years ago
So teenagers don&#x27;t like housings? :)
评论 #33454665 未加载
evolve2kover 2 years ago
Is this restricted to US teens only?
评论 #33462278 未加载
_lucas_hondaover 2 years ago
nice idea! :)
scandoxover 2 years ago
Slightly OT: I&#x27;ve been wondering recently if the word teenager and it&#x27;s use has been a bad thing for people between 12 and 20. If we didn&#x27;t have this word I&#x27;m guessing we wouldn&#x27;t view them as such a distinct lump and be less ready to generalize about them.
评论 #33454593 未加载
评论 #33452995 未加载
评论 #33453863 未加载