Coder Social home page Coder Social logo

slicersnake's Introduction

SlicerSnake

A quick and slightly different snake game to play around with curses.

Game Instructions:

Play Classic Snake, or Slicer Snake modes. In Slicer Snake mode, you try to get as long as possible while another computer controlled snake should be avoided. If it hits you, a part of you is sliced off, unless he hits your head which is game over. Hitting yourself does not give a game over like in classic snake, but also slices a part of you off. The longer you get, the faster the game gets. The same is true for the computer controlled snake, so being offensive can prevent the game from getting too fast. Sticking against the walls is risky, but at the same time will prevent the other snake from eating you so you can keep your length. Risk has reward in this version of snake!

Game Controls:

Use the arrow keys or WASD to move your snake. Pressing enter/return will pause and unpause the game. You can also press q to quickly kill yourself to quit the game if you want.

Build Instructions:

At least Linux (using ncurses) and Windows (using pdcurses) are supported, but this repository is currently set up for easy Cygwin builds. The easiest way to build is to have g++ and make installed. Edit the makefile if desired, and then simply run make in the directory with the makefile. A compiler with c++11 support is required.

slicersnake's People

Contributors

adisib avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.