This commit is contained in:
waldek 2022-07-14 14:41:23 +02:00
parent 6f87421044
commit b9badbde9d
1 changed files with 1 additions and 1 deletions

View File

@ -1227,7 +1227,7 @@ waldek@debian:~$
#!/bin/bash #!/bin/bash
difficulty=100 difficulty=100
computernumber=$(( "$RANDOM % $difficulty")) computernumber=$(( $RANDOM % ( $difficulty + 1)))
echo "I have a number in mind between 0 and $difficulty" echo "I have a number in mind between 0 and $difficulty"
while true; do while true; do