Implementing a simple snake game using the GUI module I made here: https://github.com/gowhale/LED-MATRIX-GOLANG
If an LED segment display has been wired up to the Raspberry Pi correctly. After running the following command:
go run .
snakePi.mov
To run the code without using an Raspberry Pi and to get the output to print onto the terminal use the following command:
go run . -debug
The debug flag specifies to just print on the terminal.
SnakeTerminal.mov
The pkg-cov workflow runs all go tests and ensures pkg coverage is above 80%.
The pages workflow publishes a test coverage website everytime there is a push to the main branch. The website can be found here: https://gowhale.github.io/go-snake/#file0
The revive workflow is executed to statically analsye go files: https://github.com/mgechev/revive
The golangci-lint workflow runs the golangci-lint linter: https://github.com/golangci/golangci-lint