Giter Site home page Giter Site logo

tetris's Introduction

Tetris

Tetris game with NCurses

Subject here

Usage

$> ./tetris --help
Usage: ./tetris [options]
Options:
    --help Display this help
    -L --level={num} Start Tetris at level num (def: 1)
    -l --key-left={K} Move the tetrimino LEFT using the K key (def: left arrow)
    -r --key-right={K} Move the tetrimino RIGHT using the K key (def: right arrow)
    -t --key-turn={K} TURN the tetrimino clockwise 90d using the K key (def: top arrow)
    -d --key-drop={K} DROP the tetrimino using the K key (def: down arrow)
    -q --key-quit={K} QUIT the game using the K key (def: ‘q’ key)
    -p --key-pause={K} PAUSE/RESTART the game using the K key (def: space bar)
    --map-size={row,col} Set the numbers of rows and columns of the map (def: 20,10)
    -w --without-next Hide next tetrimino (def: false)
    -D --debug Debug mode (def: false)

Screenshots

A game with 3 tetriminos.

Authors

Bastien Rinck Thibaut Cornolti

tetris's People

Contributors

thibautcornolti avatar

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.