Skip to content
项目

关于

Snake game made in Go! 🐍

游戏与模拟器

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Snake Go Report Card Build Status HitCount

Logo
This is a Terminal based snake game made by tristangoossens. GitHub followers
Please star this repository to help my first big project grow! GitHub stars
Documentation can be found at https://github.com/tristangoossens/snake-go/tree/master/docs.

Run on Repl.it
Snake on itch.io

The game

Here is a GIF of the second version of the game! For version 1 click here.

GIF

Game settings

Here is a demo on how the game settings panel works. for more information on this click here.

GIF

Save score

IMPORTANT!
You need to clone the repository in order to use this function, for more information click here.

GIF

How to play

There is a handful of ways to play snake

  • Install the package
  • Install from itch (Windows) Snake on itch.io
  • Play on repl (online IDE) Run on Repl.it
  • Clone the repository

Install the package

First of all you will need Go, you can find more information here.

When you have installed Go, you will need to install the game:

go get github.com/tristangoossens/snake-go

Then play it using the following command:

$GOPATH/bin/snake-go

Cloning the repository

Cloning the repository is useful if you want to change any of the code or save your highscores to the markdown file.

How to clone:

git clone https://github.com/tristangoossens/snake-go.git

Then play it using:

go run run.go

Bucket list for future versions

  • Implementation of the skull mechanic
  • Implement game difficulty options: easy, normal, hard
  • Add a setting panel for a user to change the color of the snake, food and border
  • Implement a restart button / quit button on gameoverscreen
  • Add score to Gameover screen
  • Add instructions to the sidepanel
  • (could)Create to save highscores. (markdown file)
  • Create a binary release
  • Add test files for all game file
  • Rework title and gameover screens

Links

探索相关项目

加载中…