Forkaholics / game-off-2012

The GitHub Game Off 2012 is a game jam / hackathon / coding challenge to create an open source a web-based game
https://github.com/blog/1303-github-game-off
0 stars 0 forks source link

Idea for 'Forking' #5

Open travisby opened 11 years ago

travisby commented 11 years ago

@trescenzi suggested that you should be able to "fork" someone else's answer to a problem. I've been thinking about it a lot, and think this is a great idea, bouncing off of it:

For each user (after they turn the feature on):

This forces some good habits on our part: configuration for levels. Instead of some solving some arbitrary way to store position (and ESPECIALLY when we expect them to go back to the level), we can store it as structured data that users can import and export.

We lose the need to track levels between computers (so, HTML5 Web Storage as a cache is still viable, and we don't need to worry about a way to let them transfer it).

It adds a whole new level (literally, playing WITH github) to the game's design.

It also sounds trivial~ish to impliment. Just a few github API calls. Since we're starting out ground up, I don't think handling the level as structured data (ensuring it can be exported), would be a big deal.

As a bonus, they can edit their levels with actual code, rather than the GUI :+1: (haha)

trescenzi commented 11 years ago

I love it. Sounds great. I think we do need to come up with a way to represent the levels though. I'm not too familiar with YAML right now.

travisby commented 11 years ago

Think of more readable JSON.

This website, http://yaml.org

is actually VALID YAML