GithubHelp home page GithubHelp logo

telekobold / falling_chars Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 38 KB

Makes all the letters of the current view of your Unix console "fall down" one by one.

C++ 100.00%
c console console-application console-art cpp

falling_chars's Introduction

Falling chars

Description

This is a reprogramming of the payload (visualization) of the MS-DOS Cascade computer virus for Unix systems in C using the ncurses library. It makes all the letters of the current view of your Unix console "fall down" one by one.

Usage

To run the program, you must install ncurses on your system. Probably, you can do that using your package manager (e.g. "apt" on Debian and derivatives). After that, compile and link the source file with g++ falling_chars.c -o falling_chars -l ncurses

Current limitations

I started to write this in C and then added C++ code where necessary due to limitations of C (no vector data type, complicated string concatenation, etc.). Therefore, the program's source file is now a mixture of C and C++ code. Maybe, I will translate the whole program into pure C++ in the future.

Currently, there is a bug leaving a single character on the screen at the end, which also may prevent other characters above it from falling down.

Also, the program behaves strange e.g. when starting programs like vim or ssh doing more complicated things than just printing some output to the console.

falling_chars's People

Contributors

telekobold avatar

Watchers

 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.