Giter VIP home page Giter VIP logo

tetris200lines's Introduction

Tetris in 200 C lines

Used ncurses only to read, and time the loop. Tried to use as few libraries as possible.

You can make new shapes and change the table dimensions easily! ;)

Najib

How to run

  1. Have C installd on your PC (almost every PC ever has C installed)
  2. then run make. On Mac and Linux run make in your term.
  3. run ./a.out
Screen.Recording.2022-01-28.at.11.54.43.mov

tetris200lines's People

Contributors

najibghadri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tetris200lines's Issues

Thank you so much for sharing this code

i"m just a student who studying using linux.
In linux study my project is to make tetris.
even using 2days for making it , I don't know what is problem or where it starts.
Thanks for your code, I could fix my code.
really appreciate it

license?

Hi, this is really cool! What license applies to your code? I would like to help some kids learn about efficient C code, but without a license can not legally show them your code.

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.