Skip to content

Cod-e-Codes/rain

Rain

Go Report Card CI

A Go program that displays animated rain falling from clouds in the terminal.

Rain Demo

Requirements

Go 1.11 or later

Installation

Pre-built Binaries (Recommended)

Download the latest release from GitHub Releases and extract the appropriate binary for your platform.

From Source

git clone https://github.com/Cod-e-Codes/rain.git
cd rain
go run main.go

Usage

Run the program to display animated rain. Press Ctrl+C to exit.

Implementation

  • Displays white ASCII clouds with blue rain characters
  • 60% probability of rain at each position
  • 200ms frame delay
  • Clears screen between frames

Releases

  • v1.0.2 - Fixed cloud spacing and restored original visual appearance
  • v1.0.1 - Fixed deprecated rand.Seed usage and improved CI workflow
  • v1.0.0 - Initial release with cross-platform builds for Windows, Linux, macOS, and Android

License

This project is licensed under the MIT License - see the LICENSE file for details.