https://github.com/afonsocraposo/go-snake
Terminal based snake game written in Golang
https://github.com/afonsocraposo/go-snake
game go golang snake tcell
Last synced: 5 months ago
JSON representation
Terminal based snake game written in Golang
- Host: GitHub
- URL: https://github.com/afonsocraposo/go-snake
- Owner: afonsocraposo
- Created: 2024-04-20T23:49:39.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-21T14:25:42.000Z (about 2 years ago)
- Last Synced: 2024-04-22T04:07:59.659Z (about 2 years ago)
- Topics: game, go, golang, snake, tcell
- Language: Go
- Homepage:
- Size: 96.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-snake
I built this game as part of the [Coding Challenge #57 - Snake](https://open.substack.com/pub/codingchallenges/p/coding-challenge-57-snake).
I picked Golang as I really like this language and I'm trying to improve on it.
This game was a good opportunity to explore the use of channels in Go, `chan`.
I also used the package [`tcell`](https://github.com/gdamore/tcell) to create the terminal UI aspect of the game.
It was a fun challenge and a great opportunity to learn more about this language.
## Controls
You can simply use the arrow keys to control the snake or you can also use WARS (I'm trying out Colemak at the moment).
## Screenshots

