As of 2016-02-26, there will be no more posts for this blog. s/blog/pba/
Showing posts with label CPP. Show all posts

dus is meant to have better output than GNU du -s, which simply summarized the current directorys size (recursively), and bar chart for visualization of sizes.

https://lh3.googleusercontent.com/-fGK67jXeexo/VnSkafYPtXI/AAAAAAAAIpY/4ECerkOqR-8/s800-Ic42/2015-12-19--08%25253A19%25253A28.png

Watch this video for more usages

It has quite a few of options to use, watch this video for examples of some of them:

-0 Use null character (0) as target separator for stdin.
-c <count> Number of items to printout of result head.
--color Colorized output for easier interpretation.
-d Dont enter directory. Only used if a single directory is defined as target.
-h Print human readable sizes (e.g., 1K 234M 5G).
-i Inverted/reverted order of listed result.
-n Enable natural sort order if sort order is a string representation.
-s <...> Sort by property; size, name, atime, mtime, ctime.
-t <ms> File/directory parse timeout given in milliseconds.

You can also pipe in list of directories or files to dus, it reads from standard input as well and gives you the output you want.

dus was created by Rikard Johansson on 2015-10-16, written in C++14 under GPLv3, currently v0.0.6 (2015-12-18).

Cmas is a tiny Christmas tree with red and blue light bulbs blinking alternatively.

https://lh3.googleusercontent.com/-MBLPEfxTUqk/Vlv_Wfz2nXI/AAAAAAAAIjQ/SxqLvJmMDco/s800-Ic42/Cmas.gif

Dont want to buy a tree for Christmas, this would do. Maybe.

Cmas was created by Taylor Hoff, written in C++ under the GPLv3, currently git-08d594c (2015-05-31, post v1.0 (2015-05-26)).

Rescue Girlies is a fork of SuperTux by a father, R. Bassett Jr., in AugustDecember, 2013, he said:

I made RG as a Christmas gift for my children. Run, jump and think your way through the campaign to save your loved ones. Make new friends, eat some cupcakes, and squish many bad guys along the way!
https://lh3.googleusercontent.com/-Sk43SFp42ys/VluPiACoLaI/AAAAAAAAIio/mehuVkDaLNM/s800-Ic42/RescueGirlies.gif

Watch this video for more.

You must read the story that this father tells his daughters in the video with his own voice, really telling the story, this has to be one of the best Christmas gifts you can get when you are a kid.

Rescue Girlies was forked off SuperTux 0.3.3 (2010-08-06) by R. Bassett Jr., written in C++ with SDL under the GPLv3, currently git-bd68ac8 (2015-01-21)

Pipong is a simple clone of Pong game, the classic table tennis video game. It doesnt have much to offer, but it definitely is playable.

https://lh3.googleusercontent.com/-dH2yss-enbs/VlaTbZQA3bI/AAAAAAAAIes/_eu4N1GmKYs/s800-Ic42/pipong.gif

(thats a blinking cursor)

It needs a terminal size of 100x40 and two players, using ef and ok to move the paddles, but it feels more like left hand vs. right hand by the locations of the keys.

Pipong was created by Dong-jun Lim on 2015-09-18, written in C++ under the MIT License, currently git-c9a519b (2015-11-23).

Tower of Mediocrity is a tower defense game with ncurses and SDL backends.

Note

You should play this music while reading, which is played in the game.

https://lh3.googleusercontent.com/-Cfdk_4-mntc/Vk6N14WQ8QI/AAAAAAAAIYg/VB023QqvBPQ/s800-Ic42/mediocrity.gif

Click to watch whole the map played

You are in Mediocrity Central and the chatter says that some group is going to invade the Mediocrity Treasury, you job is to define while they crawling through the oddly built and hardly straight passageways through the city.

The following screenshot is of SDL backend, the bad guys are smiling devilishly, and the towers are bold-underline-strikeout icons for font styles as in word processors, WTF?

https://lh3.googleusercontent.com/-w_7-h7OVWVk/Vk6Nhcdl8FI/AAAAAAAAIYM/ClDnQIrWNxA/s800-Ic42/2015-11-20--10%25253A39%25253A06.png

Fall Of Imiryn is the name of the RPG game and Annchienta is the game engine it uses. The game is written in Python and the engine is written in C++ with Python binding. It runs on Linux and Windows. The installation process is easy (I use Gentoo), you only need to follow the steps on the web pages. If you dont want to install the engine on your system, simply copy the shared library (src/_annchienta.so) and Python binding module (modules/annchienta.py) to Fall Of Imiryns directory and run the game.

I knew this game via a post on Arch Linux forums, the poster has put it in AUR. Its not a long story game (rev903). I posted it because its written in Python. Here is some screenshots:

http://4.bp.blogspot.com/_CLdf4ORfzWk/SuqK8_7k1tI/AAAAAAAACUQ/9m6IZmyS3LU/s800/2009-10-30--10:48:04_800x600.png

Story begins

http://3.bp.blogspot.com/_CLdf4ORfzWk/SuqLCSBRTvI/AAAAAAAACUY/XTi1FpMUO0s/s800/2009-10-30--10:46:16_800x600.png

Scene Transition

http://3.bp.blogspot.com/_CLdf4ORfzWk/SuqLPp7sMXI/AAAAAAAACUg/MLh3udMxm-g/s800/2009-10-30--10:51:25_800x600.png

Heal and save point

http://3.bp.blogspot.com/_CLdf4ORfzWk/SuqLUCB6xAI/AAAAAAAACUo/HF54zQK-IvI/s800/2009-10-30--11:09:03_3360x1050.png

In-game small game

http://1.bp.blogspot.com/_CLdf4ORfzWk/SuqLYQLPfDI/AAAAAAAACUw/CFcyVe2TMt0/s800/2009-10-30--11:14:00_3360x1050.png

Alright, you caught me cheating!

The story is quite short (if you cheat). I dont think this game is near completion because you can not have any real settings to set, such music/sounds on/off. But its definitely playable.

Since its written in Python, I believe its easier to work on if you want to join the development. The default screen size is 400x300, but you can double it or more if you edit the source. I am not a gamer, so I couldnt give any comparisons. I have to disable the music and sounds, I am not used to listen to all RPG games music. (for f in music/*.ogg ; do cp /path/to/blank.ogg $f ; done, if you wonder how I disable the music and sounds.)

Lastly, let me give you few memorable quotes (revealing by selecting):

Avril: What the fuck?! March: Avril, language.

Avril: Yeah right, you fucking monster! You cannot treat Laustwan like that. If this is the way of the Fifth Guard, then it you can stick it right up your March: Avril, language.

Avril: What the fuck are you talking about? March: Avril, language.