News for hackers. Stuff that matters.
Re:Screeps – An MMO strategy open world game for programmers by dan_blanchard on Friday August 07, 2015 @10:14AM (#10022583)
This is a cool idea, but I can't imagine why you'd want to login via GitHub. They get read/write access to all your public and private repos.
Re:Screeps – An MMO strategy open world game for programmers by fortytw2 on Friday August 07, 2015 @10:19AM (#10022607)
And all your organizations public/private repos? Not sure why it needs that.

Anyways, the game looks awesome, I've been playing with a similar idea for a while on and off.

Re:Screeps – An MMO strategy open world game for programmers by RadioactiveMan on Friday August 07, 2015 @10:58AM (#10022810)
It looks like you can commit code to the game by pointing it at a GitHub repository or other methods[1]. I couldn't find documentation on the GitHub integration but here's some people talking about it[2].

[1] http://support.screeps.com/hc/en-us/articles/203022512-Commi...

[2] http://support.screeps.com/hc/communities/public/questions/2...

Re:Screeps – An MMO strategy open world game for programmers by fortytw2 on Friday August 07, 2015 @11:08AM (#10022853)
Ahh. Makes sense then - I wonder if GitHub allows granular permissions from OAuth requests?

Looks like they don't, unfortunately - https://developer.github.com/v3/oauth/#scopes

Re:Screeps – An MMO strategy open world game for programmers by thefreeman on Friday August 07, 2015 @11:12AM (#10022881)
They do. From the link you provided:

public_repo - Grants read/write access to code, commit statuses, collaborators, and deployment statuses for public repositories and organizations. Also required for starring public repositories.

repo - Grants read/write access to code, commit statuses, collaborators, and deployment statuses for public and private repositories and organizations.

Also, I don't think they need write access at all to your repositories, so I think the default no scope would be sufficient

(no scope) - Grants read-only access to public information (includes public user profile info, public repository info, and gists)

Re:Screeps – An MMO strategy open world game for programmers by fortytw2 on Friday August 07, 2015 @11:19AM (#10022933)
Well, by granular I meant on a per-repository basis, ie. so you could grant an application access to only one repo (If anyone from GitHub is reading this...)
Re:Screeps – An MMO strategy open world game for programmers by lojack on Friday August 07, 2015 @12:04PM (#10023218)
As RadioactiveMan said, they have a somewhat undocumented feature where they will sync your screep code with a GitHub repository. The only way to do that with GitHub scopes is to allow full read/write access to your all of your repositories including organizational repos.
Re:Screeps – An MMO strategy open world game for programmers by thefreeman on Friday August 07, 2015 @11:13AM (#10022891)
You can also just create an account with an email address.
Re:Screeps – An MMO strategy open world game for programmers by artchiv on Friday August 07, 2015 @03:19PM (#10024422)
This authentication issue has been fixed already.
Re:Screeps – An MMO strategy open world game for programmers by thefreeman on Friday August 07, 2015 @11:09AM (#10022859)
Pretty fun. I did experience an EXTREMELY frustrating issue though. I tried multiple times to complete the simulation. However, you really need to hijack the back button or at least the backspace key. Hitting the backspace key without selecting the code editing window immediately navigates you away from the simulation and forces you to start the entire thing over. Extremely frustrating to say the least, and it prevented me from finishing it.
Re:Screeps – An MMO strategy open world game for programmers by haack on Friday August 07, 2015 @11:31AM (#10023020)
This is seriously awesome. Great for helping to understand programming conceptually as well as being great fun.

Less nice visuals would be good, then I could make it look like I'm just working.

Re:Screeps – An MMO strategy open world game for programmers by sctb on Friday August 07, 2015 @10:32AM (#10022676)
Re:Screeps – An MMO strategy open world game for programmers by vyrotek on Friday August 07, 2015 @10:38AM (#10022709)
Finally! It only took 5 years for someone to finally make it. - https://news.ycombinator.com/item?id=1538171
Re:Screeps – An MMO strategy open world game for programmers by deutronium on Friday August 07, 2015 @10:35AM (#10022695)
Although not really similar this reminded me of Core War - https://en.wikipedia.org/wiki/Core_War
Re:Screeps – An MMO strategy open world game for programmers by Anderkent on Friday August 07, 2015 @10:36AM (#10022699)
Really needs tab completion in the editor :P