An open API service indexing awesome lists of open source software.

https://github.com/bcmmbaga/snaketask


https://github.com/bcmmbaga/snaketask

Last synced: about 2 months ago
JSON representation

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.