https://github.com/bcmmbaga/snaketask
https://github.com/bcmmbaga/snaketask
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bcmmbaga/snaketask
- Owner: bcmmbaga
- Created: 2021-03-01T17:33:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-04T07:46:59.000Z (about 4 years ago)
- Last Synced: 2025-04-10T00:37:30.856Z (about 2 months ago)
- Language: Go
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Skycoin Golang SnakeTask
# Instructions
```code
➜ [~] git clone https://github.com/bcmmbaga/SnakeTask snake
➜ [~] cd snake && go build -o snake cmd/main.go
➜ [snake] ./snake or ./snake --width {value} --height {value}
```# Additional Information
- Task Completed in One and a half days.
- Assumptions Made
- Game is over when snake collide with itself or play ground boarder(s).
- Snake can move to different direction but not from direction it came (no reverse).
- Snake length increase as it eates more food unit.
- Single food unit carry 1 score.