Skip to content

Turtleb01/colorflood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Colorflood by Turtleb01

This is an old learning project of mine. Most code was written around 2020.

Requirements

gcc

make

Terminal with color support (most modern X terminals)

/dev/urandom (works on Linux and macOS but not windows)

Installation

make
sudo make install

(requires /usr/local/bin/)

Usage

Change color of the top left corner with keys 1-8 or a-h . Quit the game with q .

You can create boards with custom sizes:

colorflood 50 25 4

creates 50x25 board with 4 different colors. Minimum and maximum values can be seen by inserting too big or too little values. With less than 3 arguments, board defaults to maximum size for user's terminal and 6 colors.

About

Simple TUI colorflood game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published