1. Computing & Technology

Discuss in my forum

Barstool Philosopher

Fancy Delphi Application Contest Entry #5 by Rawlyn Watson

By , About.com Guide

Barstool Philosopher  - Fancy Delphi Application Contest Entry #5

Barstool Philosopher - Fancy Delphi Application Contest Entry #5

I'm drunk from programming in Delphi :)

This "program" (?!?) might be a little odd and take some explaining. Basically it's an application that resides in the system tray. When you click it, it shows/hides the main form. The main form is a little drunk man, who generates random "drunk philosophy" using Markov chains. Hide him, then show him again, and he'll have something new to say.

A great idea for the Fancy Delphi Application Contest ;-)

Rate this FDAC Entry!

"Barstool Philosopher" - your system tray's resident drunk

The Markov chains are generated based on the contents of the file thoughts.txt, so can be easily modified. To give him "philosophical" edge, the file is filled with quotes, proverbs and sayings. He also pauses (by inserting "..." into his speech) at random to add to the impression of drunkenness.

"Barstool Philosopher" was submitted by Rawlyn Watson.

Do you have a FDA(C)? Submit your Delphi code to the Fancy Delphi Application Contest.

©2012 About.com. All rights reserved.

A part of The New York Times Company.