Skip to content

Latest commit

 

History

History
65 lines (49 loc) · 2.01 KB

README.md

File metadata and controls

65 lines (49 loc) · 2.01 KB

WeatherSpect v2.0

by Kirk Baucom [email protected]
http://www.robobunny.com

WeatherSpect provides a reasonably accurate simulation of what the weather looks like outside, in ASCII art. It includes rain, snow, lightning, sleet, and hail. The windspeed and cloudiness are reflected in the velocity and quantity of clouds. There are trees that age, reproduce and die over the course of an hour, and a sun and moon that follow the actual sun and moonrise. There's also a dancing turtle.

Installation

WeatherSpect is a single perl script, so all you have to do is make sure it's executable and put it somewhere convenient, like /usr/local/bin or /usr/local/games.

Requirements

You must have the Term::Animation module, which you can get from http://www.cpan.org. The Term::Animation module also requires the Curses module, which you can also get from CPAN.

Contributors

Kevin Ferree (http://chavo-one.com): All art in the code marked with 'kf'

Hayley Wakenshaw (http://www.bornsquishy.com/flump/index.html): All art in the code marked with 'hjw'

Joan Stark (http://www.geocities.com/SoHo/7373/): All art in the code marked with 'jgs'

You can grep for ATTRIB in the code to get a list of credits for all the ASCII art.

Usage

Before weatherspect will work, you have to create a config file for it. Running it with the -c option will prompt you for info to create a config file in ~/.weatherspect.

   weatherspect [-f <config_file>]
   weatherspect -c [-f <config file>]
   weatherspect -h

    -h              Print this help message
    -f <file>       Supply a config file to use instead of the default
    -c              Generate a config file

While weatherspect is running, the following commands are available:

q	Quit
h	Toggle the help window
w	Toggle the detailed weather info window
d	Toggle the debug window
u	Force an update of weather data
r	Redraw. This will remove all objects
	and recreate them, probably in different places.