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. 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.

# 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:

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.

Description
The number game that you know and love, with a surprising twist!!
Readme 287 KiB
Languages
Rust 92.8%
Dockerfile 7.2%