#ascii-art #terminal #console #fun

bin+lib smileypyramid

Create pyramids built out of smiley faces

2 stable releases

Uses old Rust 2015

1.0.1 May 19, 2018

#47 in #ascii-art

GPL-3.0 license

15KB
75 lines

Smiley Pyramid

Output a pyramid of smiley faces.

$ ./smileypyramid 18
)
:)
:-)
:):)
:-):)
:-):-)
:-):):)
:):):):)
:-):-):-)
:-):):-):)
:-):):):):)
:):):):):):)
:-):-):):-):)
:):):):):):):)
:-):):-):):-):)
:):):):):):):):)
:-):):):):):):):)
:-):-):-):-):-):-)

Rust version

Build and install with cargo.

C++ version

Installation

Build with sakemake or qmake.

Linux

Install with:

install -Dm755 smileypyramid /usr/bin/smileypyramid

BSD or macOS

Build with sakemake or qmake.

Install with:

install -d /usr/local/bin
install -m755 smileypyramid /usr/local/bin/smileypyramid

Requirements

If docopt is not installed in /usr/include and /usr/bin you might need to either edit the Makefile or edit smileypyramid.pro and then generate a new makefile with qmake.

General info

  • Version: 1.0
  • License: GPL2
  • Author: Alexander F Rødseth

Dependencies

~3–5MB
~91K SLoC