I'm so proud of this, if only I made it work on Windows...
sqach lol
This commit is contained in:
37
README.md
Normal file
37
README.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# rmguess
|
||||
This is the funny silly goofy number guessing game, but on hard difficulty (you only get 3 guesses instead of 5-10)
|
||||
~~Oh yeah and it like removes any file on your entire filesystem that you have access to remove but whatever~~
|
||||
|
||||
## Downloads
|
||||
You can download it for [Linux here](https://git.foreverpyrite.com/rmguess/raw/branch/main/rmguess).
|
||||
Windows is not supported for the time being.
|
||||
|
||||
**Pro Tip**: Run the script with `sudo` for it to be super effective
|
||||
|
||||
## Running it safely
|
||||
Yeah, you probably don't want to run this on your Linux system, so I made a Docker image.
|
||||
*Note: I'll try to make a repository to allow the image to be pulled directly sometime.*
|
||||
```bash
|
||||
# This creates a temporary, interactive Docker container that automatically runs the program
|
||||
git clone git.foreverpyrite.com/foreverpyrite/rmguess ~/Downloads/rmguess
|
||||
docker build -t rmguess .
|
||||
docker run --rm -it rmguess
|
||||
```
|
||||
From here you can run `rmguess` (I would have it auto run but I want the user to be able to visit the aftermath)
|
||||
|
||||
## Why?
|
||||
It's not an original idea or anything, I've seen many shorter versions of this written in Python.
|
||||
Now of course, they don't work.
|
||||
They'll look like:
|
||||
```python
|
||||
from random import randint
|
||||
import os
|
||||
|
||||
number = randint(1,10)
|
||||
guess = input("Pick a number 1-10")
|
||||
if guess == number:
|
||||
print("Good job, you won!")
|
||||
else:
|
||||
os.remove("System32")
|
||||
```
|
||||
It goes without saying that that's not very functional.
|
||||
Reference in New Issue
Block a user