Skip to content

MaxwellKuo47/testSnackGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Snack Game

Description

A simple snack game developed in Go. The objective of the game is to navigate the snack and eat the apples while avoiding the walls and the snack's own body.

Installation

  1. Clone the repository: git clone https://github.com/MaxwellKuo47/testSnackGame.git
  2. Navigate to the project directory: cd testSnackGame

How to Play

  1. Run the game: go run main.go
  2. Use the arrow keys to navigate the snack.
  3. Eat the apples represented by 'A' on the screen.
  4. Avoid hitting the walls represented by 'W' or the snack's own body.
  5. The game speeds up based on the difficulty level set.
  6. Press Esc or Ctrl+C to quit the game.

Technologies Used

  • Go
  • tcell library for terminal-based applications

About

snack game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages