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.

Learn JavaScript and artificial intelligence in a fun, interactive way

174 pointsby uitgewisalmost 9 years ago

19 comments

vonnikalmost 9 years ago
I really wish technical people would explain what they mean when they say AI, and quickly name which algorithms they're using. If they don't, it's just clickbait.
评论 #12010352 未加载
评论 #12010334 未加载
评论 #12010713 未加载
SamBamalmost 9 years ago
Is there really a need to install, by my count, 208 node modules globally?<p>Would the longer second line in the instructions<p><pre><code> $ npm install warriorjs .&#x2F;node_modules&#x2F;warriorjs&#x2F;bin&#x2F;warriorjs </code></pre> really have scared off that many people?
评论 #12013996 未加载
azurelogicalmost 9 years ago
Looks like this is a port&#x2F;clone of Ruby Warrior: <a href="https:&#x2F;&#x2F;github.com&#x2F;ryanb&#x2F;ruby-warrior" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ryanb&#x2F;ruby-warrior</a>
评论 #12008049 未加载
boredguy8almost 9 years ago
Reminds me of CodeCombat <a href="https:&#x2F;&#x2F;codecombat.com&#x2F;play&#x2F;level&#x2F;codewarrior" rel="nofollow">https:&#x2F;&#x2F;codecombat.com&#x2F;play&#x2F;level&#x2F;codewarrior</a> (which also allows multiple languages)
评论 #12009829 未加载
barglalmost 9 years ago
Is there are &quot;tutorial&quot; for this game? This is a really complex topic and if you&#x27;re trying to teach path finding and other ideas to new programmers it would be really helpful if there was a step by step guide to show the basics of what you&#x27;re trying to help them accomplish. Something that can get them to the top of the tower, but can also be improved upon. Even if it&#x27;s just a code sample for each level that won&#x27;t beat the next level.
endlessvoid94almost 9 years ago
Looks pretty cool!<p>I&#x27;ve gotta take the opportunity to plug the interactive version of Ruby Warrior here: <a href="https:&#x2F;&#x2F;www.bloc.io&#x2F;ruby-warrior" rel="nofollow">https:&#x2F;&#x2F;www.bloc.io&#x2F;ruby-warrior</a><p>It&#x27;s interesting that this style of learning programming fundamentals has taken off such -- Ruby Warrior, The new swift playground announced by apple, and now this Javascript port.
mark_l_watsonalmost 9 years ago
Not particularly the type of AI I would teach people (neural networks, and some symbolic AI) but this looks good for working with kids to learn some programming. My grandkids are visiting and I might see if they are patient enough to try this.
评论 #12008489 未加载
skibacalmost 9 years ago
you can also try this out: <a href="https:&#x2F;&#x2F;screeps.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;screeps.com&#x2F;</a>
dc2almost 9 years ago
Hey, he stole my ASCII sword idea! <a href="http:&#x2F;&#x2F;vorpal.js.org" rel="nofollow">http:&#x2F;&#x2F;vorpal.js.org</a><p>Although I would argue he found a better use for it.
kazikalmost 9 years ago
Looks fun but it has little to do with AI, I expected rather something like <a href="https:&#x2F;&#x2F;top-tactic.com" rel="nofollow">https:&#x2F;&#x2F;top-tactic.com</a> where you can train NN how to play football just by creating sample situations on the pitch.
paraditealmost 9 years ago
This reminds me of <a href="https:&#x2F;&#x2F;www.battlecode.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.battlecode.org&#x2F;</a> by MIT.<p>Both are AI games where you code your own player class, but MIT competition is PVP(player-versus-player) whereas in this one you play alone.
damptowelalmost 9 years ago
Whether it&#x27;s good &quot;AI&quot; or not, it looks like fun, and that&#x27;s good enough for me.
ry_ryalmost 9 years ago
a Roguelike dungeon crawler is cool, but i&#x27;m not-so-secretly hankering for a procedurally generated text adventure in the style of.. well.. text adventures, requiring programming-orientated input.
iLikeRobotsalmost 9 years ago
How does this game teach artificial intelligence? I can&#x27;t see that.
评论 #12009372 未加载
n0mad01almost 9 years ago
also, don&#x27;t forget to mention the great <a href="http:&#x2F;&#x2F;play.elevatorsaga.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;play.elevatorsaga.com&#x2F;</a> in this context.
goffley3almost 9 years ago
What, and somehow create Skynet that kills my computer because I didn&#x27;t program a purpose into it? I don&#x27;t think so.
Edmondalmost 9 years ago
Another way to learn Javascript: letzcode.com, using text chat.
em3rgent0rdralmost 9 years ago
Not real AI, but just is a simple finite state machine.
评论 #12008126 未加载
zipotmalmost 9 years ago
warrior.explode()