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.
- 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.
figlettool installed.
To install figlet, use the following command:
sudo apt-get install figlet-
Clone the repository:
git clone https://github.com/yourusername/random-number-animation.git cd random-number-animation -
Make the script executable:
chmod +x random_number.sh
-
Run the script:
./random_number.sh
This script was written by ChatGPT based on the user's requirements.
For more details about the creation process, check the conversation link: ChatGPT Conversation
This project is licensed under the MIT License.
