{"id":17049461,"url":"https://github.com/samccone/clojure-snake","last_synced_at":"2025-03-23T04:25:23.942Z","repository":{"id":35162022,"uuid":"39408170","full_name":"samccone/clojure-snake","owner":"samccone","description":"a snake clone written in clojure","archived":false,"fork":false,"pushed_at":"2015-07-30T17:07:54.000Z","size":350,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-28T10:49:03.217Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samccone.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":"2015-07-20T21:00:54.000Z","updated_at":"2015-07-27T23:04:41.000Z","dependencies_parsed_at":"2022-09-01T06:42:34.974Z","dependency_job_id":null,"html_url":"https://github.com/samccone/clojure-snake","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/samccone%2Fclojure-snake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samccone%2Fclojure-snake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samccone%2Fclojure-snake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samccone%2Fclojure-snake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samccone","download_url":"https://codeload.github.com/samccone/clojure-snake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245054245,"owners_count":20553480,"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-14T09:54:40.727Z","updated_at":"2025-03-23T04:25:23.918Z","avatar_url":"https://github.com/samccone.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clojure-snake\n\nclojure snake a work in progress\n\n\u003cimg width=\"195\" alt=\"screen shot 2015-07-24 at 5 24 00 pm\" src=\"https://cloud.githubusercontent.com/assets/883126/8920545/70862012-3498-11e5-93de-342268d2a871.png\"\u003e\n\n### Todo\n\n* [x] Prevent moving ontop of self\n* [x] When the snake moves out of the window bounds, the snake should wrap around\n* [x] Add apples that you can eat\n* [x] When you eat an apple grow the snake\n* [x] When you eat an apple lay down another apple\n* [x] Slowly increase speed\n* [x] End the game when the snake runs into itself\n* [ ] Add score to title bar ... `score = (.2 * time-alive * apples eaten)`\n* [ ] Allow a user to restart the game\n* [ ] Apples should not be placed on top of other apples or on top of the snake\n* [ ] Add a start screen\n* [ ] Add an autoplay mode\n* [ ] Add an optional computer AI mode\n* [ ] Add a difficulity slider (1 - 10) determines growth and speed\n* [ ] Use left and right arrows to steer snake in continuous angles\n\n### Dev\n\n    $ lein repl\n    $ (require 'clojure-snake.core)\n    $ (clojure-snake.core/game)\n\nWhen you make a file change run to reload\n\n    $ (require 'clojure-snake.core :reload-all)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamccone%2Fclojure-snake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamccone%2Fclojure-snake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamccone%2Fclojure-snake/lists"}