{"id":13610258,"url":"https://github.com/icexin/gocraft","last_synced_at":"2025-05-15T20:03:45.939Z","repository":{"id":44397395,"uuid":"127778924","full_name":"icexin/gocraft","owner":"icexin","description":"A Minecraft like game written in go","archived":false,"fork":false,"pushed_at":"2023-07-14T23:19:57.000Z","size":2303,"stargazers_count":1893,"open_issues_count":9,"forks_count":134,"subscribers_count":50,"default_branch":"master","last_synced_at":"2025-04-08T01:38:42.953Z","etag":null,"topics":["game","golang","minecraft","opengl"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icexin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-04-02T16:00:39.000Z","updated_at":"2025-04-04T13:53:40.000Z","dependencies_parsed_at":"2024-01-06T01:04:08.016Z","dependency_job_id":"cd2497a1-d36b-4ccb-b08b-c51fe5d09771","html_url":"https://github.com/icexin/gocraft","commit_stats":{"total_commits":27,"total_committers":3,"mean_commits":9.0,"dds":0.07407407407407407,"last_synced_commit":"50535c9c92c7156b161e0a06ea3eedf12e11a37b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icexin%2Fgocraft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icexin%2Fgocraft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icexin%2Fgocraft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icexin%2Fgocraft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icexin","download_url":"https://codeload.github.com/icexin/gocraft/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254414493,"owners_count":22067271,"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":["game","golang","minecraft","opengl"],"created_at":"2024-08-01T19:01:42.973Z","updated_at":"2025-05-15T20:03:43.604Z","avatar_url":"https://github.com/icexin.png","language":"Go","funding_links":[],"categories":["Go","Clones"],"sub_categories":[],"readme":"# GoCraft\n\nA Minecraft like game written in go, just for fun!\n\n![ScreenShot](https://i.imgur.com/vrGRDg1.png)\n\n## Features\n\n- Basic terrain generation\n- Add and Remove blocks.\n- Move and fly.\n- Multiplayer support\n\n## Dependencies\n\n### For go\n\n- go 1.10+\n\n### For glfw\n\n- On macOS, you need Xcode or Command Line Tools for Xcode (`xcode-select --install`) for required headers and libraries.\n- On Ubuntu/Debian-like Linux distributions, you need `libgl1-mesa-dev` and `xorg-dev` packages.\n- On CentOS/Fedora-like Linux distributions, you need `libX11-devel libXcursor-devel libXrandr-devel libXinerama-devel mesa-libGL-devel libXi-devel` packages.\n\n\n## Install\n\n`go get github.com/icexin/gocraft`\n\n## Run\n\nSuppose `$GOPATH/bin` is in your `PATH` env, use command below to run. \n\n`cd $GOPATH/src/github.com/icexin/gocraft \u0026\u0026 gocraft`\n\n## How to play\n\n- W, S, A, D to move around.\n- TAB to toggle flying mode.\n- SPACE to jump.\n- Left and right click to add/remove block.\n- E,R to cycle through the blocks.\n\n## Multiplayer\n\nMultiplayer is supported now!\n\nThe server code is at https://github.com/icexin/gocraft-server .\n\nYou can use `gocraft -s gocraft.icexin.com` to connect the public server.\n\nSince the player on public server is anonymous, be carefull for your work!\n\nIf any network error occurs, the game will end with a panic, may changed in the future.\n\nLocal cache is saved as `cache_$server.db`, you can use `gocraft -db xxx.db` to offline use.\n\n## Roadmap\n\n- [x] Persistent changed blocks\n- [x] Multiplayer support\n- [ ] Ambient Occlusion support\n\n## Implementation Details\n\nMany implementations is inspired by https://github.com/fogleman/Craft, thanks for Fogleman's good work!\n\nMultiplayer is implementated used a duplex rpc call, client can call server to update blocks or fetch chunks, server can also push changes to clients. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficexin%2Fgocraft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficexin%2Fgocraft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficexin%2Fgocraft/lists"}