Skip to content

lancelee2885/go-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

Introduction

This Snake Game is a modern take on the classic arcade game. Built with Go and utilizing the tcell library for terminal-based graphics, it offers a simple yet engaging gaming experience directly from your terminal. Navigate the snake around the screen, eating food to grow in size, but be careful not to run into the walls or yourself!

Features

  • Simple, intuitive gameplay directly in your terminal
  • High score tracking for each game session

Prerequisites

  • Go (version 1.14 or later recommended)

Installation

  1. Build the game from source:
go build -o snake
  1. Run the game:
./snake play

Usage

  • Use the arrow keys to navigate the snake around the screen
  • Eat food to grow in size
  • Avoid running into the walls or yourself
  • Press esc to quit the game at any time

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages