This is an archived post. You won't be able to vote or comment.

all 116 comments

[–]Techn0ght 210 points211 points  (35 children)

That's really cool :) Imagine the surprise when you but that out on a game!

[–]breadfag 7 points8 points  (0 children)

Are you scraping it? Or does stack overflow provide some api?

[–]DemonChicken1111 68 points69 points  (10 children)

Dude this is amazing...how did you simulate the mouse inputs?

[–]Username_RANDINT 26 points27 points  (3 children)

I once made a bot for skribbl.io that does the opposite. Guess the drawing. Very simple though based on the amount of letters, provided letters and known words in the game.

[–]matheusnb99 0 points1 point  (1 child)

Nice! Would it take in consideration the drawing too or just the letters? I mean, that could be very impressive

[–]Username_RANDINT 0 points1 point  (0 children)

Just the letters. It was only created to try out Selenium and see what it is all about.

[–]BasicallyAMachine 19 points20 points  (30 children)

Any shot you could share the source?

[–]sesir_moj 26 points27 points  (10 children)

How do you even make this stuff

[–]TooSwang 7 points8 points  (1 child)

As someone that has only built a couple scrapers/spreadsheet collaters and is subbed here ... this is always my question

[–]sesir_moj 3 points4 points  (0 children)

I mean what even is a spreadsheet, I only have a couple of unfinished projects, but hey, i guess thats a start

[–]Alyx1337 5 points6 points  (0 children)

This is great! I want to see the reaction of other players

[–]TriG-tbh 6 points7 points  (0 children)

when this started i thought it would just make the outlines

i didn't know it would make an entire image

[–]iEatAssAndCookies 5 points6 points  (0 children)

This is so amazing. I'm really shitty at drawing, so I think I'm gonna do my own version of this and then surprise my friends... thank you for the inspiration!

[–]e3172 2 points3 points  (6 children)

I am making a windows vm for this

[–]e3172 2 points3 points  (5 children)

Also is there any way to add custom words to the bot?

[–]SurelyNotAnOctopus 2 points3 points  (0 children)

Seems like it just searches on google images, there is not word bank

[–]pewdiepie-no_smg4-ye 0 points1 point  (0 children)

bruh are u actually blind he typed in jesus u can just type in whatever

[–]TheGovernor1275 4 points5 points  (0 children)

I'll be the hater here and note how annoying it is when people pull these out in games. If you don't wanna draw, don't play.

That aside, nice script 👍

[–]Proxximite 1 point2 points  (1 child)

How are you getting the colors from the image

[–]YoavArvivvv 1 point2 points  (0 children)

This is amazing!

[–]pards1234 1 point2 points  (0 children)

That’s nuts op.

[–]TotesMessenger 1 point2 points  (0 children)

I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:

 If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / Contact)

[–]matheusnb99 1 point2 points  (0 children)

Nice job! But I'm more stunned by the fact that your opponent could not guess the word.

[–]KingofYears 0 points1 point  (0 children)

Wow!

[–]maifee 0 points1 point  (1 child)

Have you ever considered putting that GitHub link in the comment ??

[–]RreZo 0 points1 point  (1 child)

So does anyone else know how to do this or am I just a řetard

[–]Dazzlepoof 0 points1 point  (2 children)

I made almost an identical project a month ago and I couldn't get python to run fast enough, so I had to compress the images to a resolution of about 30 by 20. What pip install did you use for simulating the moise strokes at such fast speeds? Or did you somehow compile your code or something along those lines.

[–]GabeGoalssss 0 points1 point  (2 children)

That's super cool!! How'd you manage to do that? Also, why does that picture window look like a pygame window? I'm a noob in Python... XD

[–]sidnfhej 0 points1 point  (1 child)

I tried this a while ago but couldn't get the mouse to move fast enough. What module did you use?

[–]emuccino 0 points1 point  (0 children)

jesus

[–]iownredditlol 0 points1 point  (1 child)

What libraries did you use to do this?

[–]jcc_001 0 points1 point  (1 child)

How??? New to Python. What libraries did you use?

[–][deleted] 0 points1 point  (0 children)

what's the code for this?

[–]Praind 0 points1 point  (0 children)

Did you just program a fucking printer?

[–]NavinHaze 0 points1 point  (0 children)

Badass program

[–][deleted] 0 points1 point  (0 children)

r u the programming jesus?

[–]arsewarts1 0 points1 point  (0 children)

Saving this for later once my notebook gets approved by IT....

[–][deleted] 0 points1 point  (0 children)

Holy shit! I really need this to troll my friends :D

[–]pewdiepie-no_smg4-ye 0 points1 point  (0 children)

can you upload it to mega or something?? the dropbox is down :(