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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Multiplayer Genetic Cars

114 点作者 gwil将近 12 年前

23 条评论

alan_cx将近 12 年前
Probably missing something ...<p>Which is my car? Is it competing? If so, against who? How can I tell? I have no idea what Im looking at, which is my car, who Im competing against, who is doing well.<p>Is there some sort of dummies guide for the likes of me???? :)<p>Despite all that, Im mesmerized!!!<p>Edit: I see down votes? How is it wrong to not understand something and ask for some help. Why is that a down vote?
评论 #5954999 未加载
评论 #5955082 未加载
artjumble将近 12 年前
So did you ask Rafael Matsunaga if you could copy and release his code as open source?
评论 #5953984 未加载
jsnell将近 12 年前
I don&#x27;t think this idea works. All players will very soon have the same top car (or the descendant of the same top car), and get a copy of that car from all other players. This creates a massively inbred mono-population.<p>Not sure what the appropriate fix would be. Import the top car from one random player in each generation?
评论 #5954634 未加载
评论 #5953290 未加载
评论 #5953392 未加载
ynniv将近 12 年前
The biggest problem here is a lack of server-side validation. The &quot;remote champion&quot; is determined by the score claimed by a client, so set a breakpoint in the function that posts the score and you can claim that any car parameters achieved any score... You see where this is going.<p>A proper implementation would run the simulation server-side to verify that a configuration achieves a high score. Almost as good would be to rank configurations based on the average runs across clients. This still lets a client submit an absurd configuration, but won&#x27;t let an inferior configuration continue to be &quot;champion&quot;.
eterm将近 12 年前
One problem is that everyone shares their best, which becomes someone else&#x27;s best, which then gets shared. Very quickly all my cars are all the same car ID.<p>It needs a way to prevent 2 identical copies racing each other.
评论 #5953312 未加载
jstanley将近 12 年前
Is this based at all on the HTML5 genetic cars project submitted the other day?
评论 #5953659 未加载
评论 #5953241 未加载
评论 #5953167 未加载
mistercow将近 12 年前
This is a neat idea, although currently I can&#x27;t really figure out what the deal is. It seems that I&#x27;ll have a really effective car, and then the next round, I&#x27;ll end up with a completely new set of cars, none of which resemble the previous winner, and all of which are less effective.<p>Anyway, would would be really cool to see would be something like Picbreeder, but for cars, where you can manually choose which cars to breed, then let them evolve on different courses, etc. Having some extra control over the situation would make for something extremely addictive.
评论 #5955339 未加载
pubnub将近 12 年前
We&#x27;ve pushed a few updates but are still working on making improvements! Soon a Chat feature will be added too....
Glyptodon将近 12 年前
It seems a bit opaque&#x2F;confusing. Pretty soon everyone seems to be based on the same root &#x27;genome&#x27; and you can&#x27;t even tell which cars are &#x27;yours&#x27; so to speak. Likewise, you can&#x27;t wall off your own gene pool so that it doesn&#x27;t get cross-contaminated.
评论 #5953997 未加载
webjprgm将近 12 年前
I&#x27;ve been watching &quot;PubNub-World-4&quot; for a while (28 generations, animation is still on). It has a nasty hill to climb that stops all cars at about 160 meters. I saw one <i>almost</i> make it over. So now I don&#x27;t want to refresh and lose the chance that one might eventually evolve to make it.<p>Most of the cars seem to be quite similar, though. Also, the one that almost made it over doesn&#x27;t seem to be marked as the leader so there&#x27;s no net improvement in the cars. I saw one more, in about Gen 30, almost make it over too (it jumps up and sits on the ledge a while before falling back, as opposed to not getting past the ledge or jumping straight up in the air and falling back down).<p>Very mesmerizing thing.
评论 #5954543 未加载
qwerty_asdf将近 12 年前
Let&#x27;s all coordinate on the &quot;HackerNews&quot; world.<p>Join World: HackerNews
Ra1d3n将近 12 年前
Im hitting performance problems after about 5 minutes. I get massive lags. Running on latest Chrome i5 3.4GHz x 4 and 8GB RAM.<p>Edit: Just press &quot;New Population&quot; a few times and watch your browser slow down. There is a memory leak somewhere.
emehrkay将近 12 年前
Hmm, things started off interesting with the best car i&#x27;ve seen thus far (short, wheels covered the top and bottom, etc) then this<p><a href="http://imgur.com/a/XFCYZ" rel="nofollow">http:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;XFCYZ</a>
评论 #5955725 未加载
hyramgraff将近 12 年前
I&#x27;ve found the the string &quot;HN&quot; generates a nice but challenging world.
评论 #5954531 未加载
评论 #5957487 未加载
pubnub将近 12 年前
Adding the chat shortly and we will change the world number again.<p>FORK us - <a href="https://github.com/pubnub/genetic-car-2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pubnub&#x2F;genetic-car-2</a>
ndr将近 12 年前
Now put a js based bitcoin miner on the background and you&#x27;re done.
评论 #5954530 未加载
MWil将近 12 年前
The go button is not working for me (firefox 22)
评论 #5953300 未加载
评论 #5953284 未加载
pubnub将近 12 年前
We just pushed a new update go check it out. Upgraded Chat. Soon to come is a Intelligent Design (God Mode).
pubnub将近 12 年前
We are working on improvements to the Genetic Algorithm! Updates Shortly.
评论 #5953666 未加载
deletes将近 12 年前
Is the world based on the same map(terrain) or the same pool of cars?
评论 #5953377 未加载
snake_plissken将近 12 年前
Ummm can someone explain to me what exactly is going on here?
评论 #5955343 未加载
dta5003将近 12 年前
Watch out for the XSS in the chat.
评论 #5954734 未加载
评论 #5956407 未加载
pubnub将近 12 年前
VERSION 2.35 UPDATED!