I've got 10 btc for the best CoffeeScript/JavaScript Nodewar bot
nodewar.com
nodewar.com
1. Offline support: I'd love to work on this offline, write unit tests, use vim, all those nice things. You mentioned elsewhere that you're running the server-side simulation in Node—would be great if that was open sourced. :)
2. Better auto-saving: If offline support isn't available, editing online needs to be improved. I was messing around with my AI while on a shuttle with flaky WiFi. I saved my progress and navigated away. Later I came back, and turned out my progress was not saved. (a) Let me know if saving failed? (b) Maybe use LocalStorage as a fallback?
3. Better built-in library for common operations: o.lib.physics is a great start, but I'd love to not have to implement things like: "orbit around TARGET at distance X", "maintain distance X from TARGET", "orient towards (or away from) TARGET", etc. Sounds like these kinds of libraries could sprout organically from the community, but it's not obvious where to find them.
Unit testing a physics simulation could be quite tricky too.
If you want to see examples of competitions like this, many teams for Battlecode hosted by MIT have open sourced their code.
Does this go both ways? What if Bitcoins are worth $500 USD at come award time? Will you still be paying in BTC, or will you just pay $2,000 USD instead?
Right now the moons are such a big threat that the best way to win is to simply devote all resources to avoiding them, and hope the enemy collides with them before you do (as all the top bots in the ladder clearly demonstrate). This not a very fun strategy and makes for quite boring matches.
One way to avoid this problem is to make the moons harmless. They still pull you in and push you around, but when you collide with them nothing happens. Thus they would no longer be the biggest threat on the field, but rather a nonfatal annoyance. The biggest threat on the field would instead be your enemy, and to increase your chances of winning you have no choice but to actively try to kill him.
The moons will still have to be dealt with accordingly by the ships if they want to be effective, but a majority of the resources will now go towards battling enemy ships. Much more fun to code and to watch.
A twitter username? Does it have to be twitter? Is it just a regular username? Then why does it have an @ sign? Do I need to enter an @ sign or are you going to prepend it after I submit the form?
Edit: okay, so it prepends the @ as you type. Now I'm even more confused about whether or not it's supposed to be my twitter username or not.
Edit 2: Signed up, seems to be just a username. The website refers to usernames in the same way as twitter? The top bar says '@<username>' and links to the account settings. On the home page it links two @usernames to twitter, not a website profile. On the ladder, it shows more @usernames but don't link to twitter and look like they will link to user profiles.
Please don't mix twitter usernames with your site's usernames, it's confusing, especially when some are internal links and some are twitter links.
Anyways, awesome site, reminds me of the google ai challenges. I hope you keep this open perpetually though, or keep running different challenges. Sucks that the google ai challenges only run once a year.
What kind of environment does the code execute in? What standard javascript functions/libraries do we have access to?
I typed in a username in the field and pressed enter. It worked fine. Mystery solved.
My edits make the comment a bit dramatic, but that wasn't my intention.
I'll second what shazow said about auto-saving and resiliancy to internet/browser issues. The page has crashed multiple (7-10) times in Chrome. Fortunately I didn't lose too much, but even losing a couple obscure changes is rather annoying.
The UI for reloading your own species was rather confusing at first. I thought when I reloaded the page I would have my species there already and freaked out when it wasn't! Eventually I figured out I had to Add Team with my existing team.
I'd love to have a bit more robust vector libraries, such as doing vector dot product (vector projection) and vector rejection, in additional to just speedTowards.
It would be particularly helpful during testing & debugging to have a mode with no moons, or perhaps just a single static moon in the center. Continue having the three moons for ladder and competition, but it'd be super to have the more basic map to make it easier while training my geometries how to move and maneuver. Maybe limit the option to when only one team is loaded.
Thanks!
edit: specifically, the part at the end when the moons fly off the screen, the world shrinks to nothing, and the counter on the right expands wildly.
Right now it starts a game 1 minute after the previous one ends. I will likely speed that up as the number of submissions increases.
Other than that, I forsee thousands of dollars in otherwise billable hours evaporating before my eyes. Nice work!
You can write the AI of a herbivor or carnivor, and try to invade other people's terrariums :) The documentation is a bit lacking though.
any thoughts on this from the creators of the project?
https://developer.mozilla.org/en-US/docs/JavaScript/Referenc...
Would be nice if they mentioned what each item was. Is it magnitude + direction or deltaX, deltaY?
I've got a piece of iron sitting mostly idly, so I could spare a VPS. I guess many people here could pledge something similar for a fun project like this.
My "species" code then uses grunt for all sorts of awesomeness (basic tests, concatenation of files and autoupload on save).
Downloading a replay is taking a very long time. Also, is there an easy way to plot things like projection vectors?
Edit: This appears to be a chrome specific issue.
Firefox Nightly v23.0a1
Simply activate a post-push hook that runs a specifically named js/coffee file!
This would both accomodate for offline editing and any compile-to-js language.
Now, is there any way to code in ones editor of choice and deploy from the command line? Chrome tab crashed on me while I was editing my species and I lost all of my changes.
I've sent you an email (found on your GH).
Cool idea moving it into modern JS environment.
"@MtGox Maintenance Over however we are now under a DDoS attack." [1]
Mt Gox has taken a credibility knock, which has a ripple effect on the BTC pricing right now.
Overall it probably a temporary setback, but does bring to light irrational exuberance voices ignoring others that were calling for a more decentralized ingress/egress between USD and BTC. IOW bitcoin needs more exchanges to drive competition, and perhaps even meta-exchanges too.
I don't think it's at all unreasonable to think that each of those sites would have naturally seen their greatest traffic surge with the events of yesterday. For example, over 20% of all subscribers were present on /r/bitcoin (for comparison, (eg) /r/android is currently at about 0.5%, /r/bitcoin is around 10% now).
I'll see if I can dig up sources.
MtGox has to be where market manipulators live - and they run the coin prices up every day. Now that it's not trading at the moment over there, the real demand is meeting the real supply.
If they stay shut down for a while longer, it will give all the horders and speculators a chance to rightfully panic and sell. $60 is not the bottom.
Seeing that they use a Glicko rating system makes more sense; not having the option to compete against a specific species means that top ranked players won’t have to worry about tradeoffs between game activity and game rankings. Well maybe they’ll still worry, but they won’t be able to do anything about it except build stronger AI.
Time-wise I can commit only a couple of hours a week so I don't expect much but it seems like it could be fun.
I know a bit of JavaScript, but my math intuition is somewhat poor as well, so it'd be more so I can learn than anything else.
Really great fun to play. I love it.
i have a team that seems to beat anyone i test against, but i can't figure out how to rank up.