{"id":13590820,"url":"https://github.com/tristangoossens/snake-go","last_synced_at":"2025-04-08T14:31:54.891Z","repository":{"id":65247980,"uuid":"213695779","full_name":"tristangoossens/snake-go","owner":"tristangoossens","description":"Snake game made in Go! 🐍 ","archived":false,"fork":false,"pushed_at":"2020-08-15T12:20:49.000Z","size":3480,"stargazers_count":328,"open_issues_count":1,"forks_count":32,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-06-18T18:46:13.777Z","etag":null,"topics":["awesome-go","first-project","game","golang","snake","terminal-game"],"latest_commit_sha":null,"homepage":"https://tristangoossens.itch.io/snake-go","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/tristangoossens.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}},"created_at":"2019-10-08T16:30:19.000Z","updated_at":"2024-06-11T10:09:47.000Z","dependencies_parsed_at":"2023-01-16T15:01:00.404Z","dependency_job_id":null,"html_url":"https://github.com/tristangoossens/snake-go","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristangoossens%2Fsnake-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristangoossens%2Fsnake-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristangoossens%2Fsnake-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristangoossens%2Fsnake-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tristangoossens","download_url":"https://codeload.github.com/tristangoossens/snake-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213548047,"owners_count":15603736,"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":["awesome-go","first-project","game","golang","snake","terminal-game"],"created_at":"2024-08-01T16:00:50.794Z","updated_at":"2024-08-01T16:05:37.501Z","avatar_url":"https://github.com/tristangoossens.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"## Snake [![](https://godoc.org/github.com/nathany/looper?status.svg)](https://godoc.org/github.com/tristangoossens/snake-go/game) [![Go Report Card](https://goreportcard.com/badge/github.com/tristangoossens/snake-go)](https://goreportcard.com/report/github.com/tristangoossens/snake-go) [![Build Status](https://travis-ci.com/tristangoossens/snake-go.svg?branch=master)](https://travis-ci.com/tristangoossens/snake-go) [![HitCount](http://hits.dwyl.com/tristangoossens/snake-go.svg)](http://hits.dwyl.com/tristangoossens/snake-go)\n\n![Logo](https://github.com/tristangoossens/snake-go/blob/master/images/snake-logo.png)  \nThis is a Terminal based snake game made by tristangoossens. ![GitHub followers](https://img.shields.io/github/followers/tristangoossens?style=social)  \nPlease star this repository to help my first big project grow! ![GitHub stars](https://img.shields.io/github/stars/tristangoossens/snake-go?style=social)  \n**Documentation can be found at** https://github.com/tristangoossens/snake-go/tree/master/docs.\n\n[![Run on Repl.it](https://repl.it/badge/github/tristangoossens/snake-go)](https://repl.it/github/tristangoossens/snake-go)  \n[![Snake on itch.io](https://github.com/tristangoossens/snake-go/blob/master/images/itch-badge.png)](https://tristangoossens.itch.io/snake-go)\n\n## The game\n\nHere is a GIF of the second version of the game! For version 1 [click here](https://github.com/tristangoossens/snake-go/tree/v1).\n\n![GIF](https://github.com/tristangoossens/snake-go/blob/master/images/game-v2.gif)\n\n## Game settings\n\nHere is a demo on how the game settings panel works. for more information on this [click here](https://github.com/tristangoossens/snake-go/blob/master/docs/gameoptions.md).\n\n![GIF](https://github.com/tristangoossens/snake-go/blob/master/images/gameoptions.gif)\n\n## Save score\n\n**IMPORTANT!**    \nYou need to clone the repository in order to use this function, for more information [click here](https://github.com/tristangoossens/snake-go/blob/master/docs/instructions.md).\n\n![GIF](https://github.com/tristangoossens/snake-go/blob/master/images/savehighscore.gif)\n\n## How to play\n\n**There is a handful of ways to play snake**\n - Install the package\n - Install from itch (Windows) [![Snake on itch.io](https://github.com/tristangoossens/snake-go/blob/master/images/itch-badge.png)](https://tristangoossens.itch.io/snake-go)\n - Play on repl (online IDE) [![Run on Repl.it](https://repl.it/badge/github/tristangoossens/snake-go)](https://repl.it/github/tristangoossens/snake-go)\n - Clone the repository\n\n### Install the package\n\nFirst of all you will need Go, you can find more information [here](https://golang.org/).\n\nWhen you have installed Go, you will need to install the game:\n\n```shell\ngo get github.com/tristangoossens/snake-go\n```\n\nThen play it using the following command:\n\n```shell\n$GOPATH/bin/snake-go\n```\n\n### Cloning the repository\n\nCloning the repository is useful if you want to change any of the code or save your highscores to the markdown file.\n\nHow to clone:\n\n```shell\ngit clone https://github.com/tristangoossens/snake-go.git\n```\n\nThen play it using:\n\n```bash\ngo run run.go\n```\n\n\n## Bucket list for future versions\n\n- [x] Implementation of the skull mechanic\n- [x] Implement game difficulty options: easy, normal, hard\n- [x] Add a setting panel for a user to change the color of the snake, food and border\n- [x] Implement a restart button / quit button on gameoverscreen\n- [x] Add score to Gameover screen\n- [x] Add instructions to the sidepanel\n- [x] (could)Create to save highscores. (markdown file)\n- [x] Create a binary release\n- [ ] Add test files for all game file\n- [x] Rework title and gameover screens\n\n## Links\n\n- [Snake-go on termloop examples.](https://github.com/JoelOtter/termloop)\n- [Snake-go on itch.io](https://tristangoossens.itch.io/snake-go)\n- [Snake-go on github pages](https://tristangoossens.github.io/snake-go/)\n- [Snake-go mentioned on golang weekly](https://golangweekly.com/issues/286)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftristangoossens%2Fsnake-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftristangoossens%2Fsnake-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftristangoossens%2Fsnake-go/lists"}