An open API service indexing awesome lists of open source software.

https://github.com/sanjinkurelic/terminalsnake

Snake for Linux terminal
https://github.com/sanjinkurelic/terminalsnake

c game gcc linux terminal termios

Last synced: 2 months ago
JSON representation

Snake for Linux terminal

Awesome Lists containing this project

README

          

# Snake

Snake game for Linux/Unix terminal. The game requires two players, one plays with the WASD key combination and the other with IJKL. Each player is trying to collect as many asterisks as they can. By collecting asterisks, snake's tail is getting bigger, so player can easily surround his enemy. The goal of the game is to eliminate the opponent by staying alive longer or surrounding him with the tail.

## Images

![alt text](https://github.com/SanjinKurelic/TerminalSnake/blob/master/resources/img1.png "Basic gameplay")

![alt text](https://github.com/SanjinKurelic/TerminalSnake/blob/master/resources/img2.png "Player 1 wins")

## Requirements

+ Linux/Unix terminal or any terminal that support termios header file.
+ Gcc for compiling the code