go-snake

command module
v0.0.0-...-8dd31a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

README

Go-Snake

Go implementation of the Snake game. Fully in-terminal.

Preview

To run the program, you can clone the repository and run it. See the following guide on how to do it.

Run with source code

  1. Make sure you have Go installed on your machine. (See how)
  2. Clone this repository.
  3. Run go run . in the project directory.

Motivation

I started this project because I want to learn about Go. I had several project ideas but in the end I chose to build a simple console game that I can realistically finish in a short amount of time.

Process

The project took me a weekend to finish. Not only did I learn a lot about Goroutines, but I also learned a lot about ANSI escape sequences, which is heavily used in the printing operations.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL