#!
/bin/bash
# Install necessary dependencies
#install all required packages
echo "Installing dependencies..."
#updating the package with pkg update
#for force update use -y along
pkg update -y
pkg upgrade -y
#Install bash with force installation
pkg install -y bash coreutils
# Rendering The Header
echo "=================================="
echo " Duiwin H Hack Accuracy ~905"
echo "=================================="
# Enter Your Last 3 Digit Of Period Number Here
read -p "Enter Last 3 Digits of 3-Minute Wingo: " digits
# Conforming The entered input
#after the script will match with server period number
echo "You entered: $digits"
echo "Initializing Hack..."
sleep 2
# After The Connection with server starts
echo "Connecting to the Server..."
sleep 3
echo "Getting Results..."
sleep 2
echo "Waiting for Connection..."
sleep 3
echo "Connected to Server..."
sleep 2
echo "Waiting..."
sleep 3
#result function is used to fetch the result of the entered parity number
#testing the server with random results
TestServer=$((RANDOM % 2))
if [ $TestServer -eq 0 ]; then
status="🔴"
else
status="🟢"
fi
#if code matches with any 🔴 or 🟢 then it shows the results
# Display the final result by this code
echo "Result for $digits: $status"