Code Monkey home page Code Monkey logo

snakec's Introduction

SNAKE ASCII GAME

This game has been tested to run only on Linux (I tested this on Ubuntu 16.04 LTS and 15.10)

LANGUAGE

- C

LIBRARIES USED

- stdlib.h
- string.h
- unistd.h
- time.h
- math.h
- curses.h
- snake.h

AUTHOR

- Aditya Sathish

CREDITS

- petrvolny (http://github.com/petrvolny)

DATE CREATED

- 16th January 2016

DATE MODIFIED

- 26th May 2017

DESCRIPTION

- This is a clone of the classic game using the C language. It runs using the curses library.
- This is designed to run on linux and doesn't contain Windows specific libraries like conio and dos

CONTROLS

- w,a,s,d for moving the snake around

SOME FEATURES

- Contains only ASCII characters
- Speeds up after every point
- Scoreboard

PLANNED FEATURES

- Bonus food (x50)
- Score multipliers
- Ability to restart game from end screen and win screen

INSTALLATION INSTRUCTIONS

- This program uses curses.h header for some functions. Therefore, inorder to run this game,
- Make sure you download the curses.h header file into your linux machine.
- To do this, run this command (without the $ character):
					
$ sudo apt-get install libncurses5-dev
					
- After you install it. Make sure you compile it with a rule to link to the curses library
					
$ gcc main.c snake.c -lncurses

snakec's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.