Git Product home page Git Product logo

snakencurses's Introduction

snakeNcurses

snake game using ncurses and the c programing language implemented for GNU/linux operating systems

how to compile it , first you need to install the ncurses develoment library you can do that in debian based distros with :

sudo apt-get install libncurses5-dev libncursesw5-dev

also you will need a nerd patched font and the emoji noto font no see the game rendered in the terminal

and for compiling it you need use:

g++ snake.cpp -o snake -lncursesw

i linked the "w" version of ncurses because it the one that have compability with the unicode characters that i used. and before running it you will need to create a highscore.txt file to write the high score if you dont you will get an error and the game will not start for running it just need to do an:

./snake

into a terminal

gracias a paddy en stack overflow, que me ayudo a solucionar un bug.

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.