Skip to content

denny0223/random-number-animation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Number Animation

This project is a Bash script that displays a random number from 1 to 9 each time the Enter key is pressed. The script includes an animation effect where the numbers change gradually and are displayed in the center of the screen using ASCII art. The number drawn each time will not repeat until all numbers have been drawn.

Demo

Features

  • Displays random numbers from 1 to 9.
  • Numbers are displayed in large ASCII art format.
  • Animation effect with gradually slowing numbers.
  • Ensures no repetition of numbers until all have been displayed.

Requirements

  • figlet tool installed.

Installation

To install figlet, use the following command:

sudo apt-get install figlet

Usage

  1. Clone the repository:

    git clone https://github.com/yourusername/random-number-animation.git
    cd random-number-animation
  2. Make the script executable:

    chmod +x random_number.sh
  3. Run the script:

    ./random_number.sh

Author

This script was written by ChatGPT based on the user's requirements.

Share Link

For more details about the creation process, check the conversation link: ChatGPT Conversation

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages