{"id":17484775,"url":"https://github.com/creationix/adventure","last_synced_at":"2025-04-10T02:43:27.575Z","repository":{"id":1038629,"uuid":"867864","full_name":"creationix/adventure","owner":"creationix","description":"Adventure is the start of a real-time RPG world using node.js and Websockets.","archived":false,"fork":false,"pushed_at":"2015-10-23T04:37:57.000Z","size":1512,"stargazers_count":41,"open_issues_count":3,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-19T04:20:22.514Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/creationix.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-08-28T04:25:22.000Z","updated_at":"2023-09-08T16:27:23.000Z","dependencies_parsed_at":"2022-08-16T11:50:46.068Z","dependency_job_id":null,"html_url":"https://github.com/creationix/adventure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creationix%2Fadventure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creationix%2Fadventure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creationix%2Fadventure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creationix%2Fadventure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/creationix","download_url":"https://codeload.github.com/creationix/adventure/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248145255,"owners_count":21055090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-19T01:08:31.288Z","updated_at":"2025-04-10T02:43:27.543Z","avatar_url":"https://github.com/creationix.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Adventure!\n\nAdventure is a proof of concept of making a massive real-time game in node.js.  The backend database is custom coded for this specific use case and is available at \u003chttp://github.com/creationix/world-db\u003e\n\nThe communication is using websockets with fallbacks (powered by socket.io).  I have tested the game on Firefox 3.6, 4.0, Chrome 6, 7, Safari 5, Mobile Safari and Android browser.\n\n## How to Play\n\nClone the code and start a local server.\nThen scroll around the massive world. You can either drag the screen or use the keyboard arrows. There are no limits other than the ram of the server.  Since each tile takes only one byte (yes 8-bits) of ram to store, it's pretty efficient.\n\nOnce you've chosen a place as home start drawing away.  There are four layers in the map.\n\n  - Top - Shift + Click\n  - Mid - Shift + Alt + Click\n  - Base - Click\n  - Ground - Alt + Click\n\nYou simple click on a tile on the left (including the empty tile at top) and then click on the map to place it.  When you see it appear that means it's round-tripped to the server and everyone who is watching that viewport just saw your change.\n\n## The Challenge\n\nThe game has no physics or moving characters, but it's still a game.  To play, you need to stake out a place on the map, build you kingdom, and share the url (with the hash-tag) on twitter. Try to make the best landscape and even join up with neighbors.  But beware.  This is real-time and the moment you publish the url, people may try to deface it.  It's your job to keep it tidy.\n\nHave Fun!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreationix%2Fadventure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreationix%2Fadventure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreationix%2Fadventure/lists"}