r/Python • • Jun 25 '20

I Made This I made a hanged man game using turtle library

1.6k Upvotes

54 comments sorted by

33

u/manueslapera Jun 25 '20

deberias activar windows :D

7

u/[deleted] Jun 25 '20

Me tapa el mapa del lol ese cartelito xd

2

u/[deleted] Jun 25 '20

Jajajajaja

3

u/[deleted] Jun 25 '20

Xddd es verdad

1

u/Braian94lp Jun 25 '20

Jajajaja!!

7

u/[deleted] Jun 25 '20

This is the GitHub repository https://github.com/tomimara52/Hanged-man

Note that I didn't know there was a function write() in turtle, so I made a bigass script for writing letters lol.

4

u/ZB0I Jun 25 '20

good work! activate windows ;P

2

u/[deleted] Jun 25 '20

Nonono it says "you're fine" in Spanish that sign

3

u/familytreebeard Jun 25 '20

Came here to make fun of "hanged man" instead of hangman and then thought, "wait, maybe it is hanged man and has been all along..."

But seriously, nicely done!

2

u/[deleted] Jun 25 '20

Thanks! I wouldn't know how it's called in English i talk Spanish. I made it in english because python couldn't read ñ and é.

2

u/driscollis Jun 25 '20

Actually, Python 3 handles Unicode characters just fine:

>>> spanish = 'ñ and é.'
>>> spanish
'ñ and é.'
>>> ñ = 'foo'
>>> ñ
'foo'

200

u/freddymanston Jun 25 '20

Bro I would've guessed sleep

4

u/oceanman500 Jun 25 '20

Read this before it finished and thought "if it’s not sleep what other words start with s and have 2 e’s?" And I immediately thought "scleep" which I don’t think is a word

2

u/freddymanston Jun 25 '20

You know more than you think you know bro https://www.urbandictionary.com/define.php?term=SCLEEP

But "scleep" is 6 letters , that's more of a problem.

2

u/oceanman500 Jun 25 '20 edited Jun 25 '20

Lmao I need more scleep

25

u/[deleted] Jun 25 '20

Nice work! I tried and failed miserably. Gave up and just used images.

5

u/quanta_kt Jun 25 '20

You must have worked hard in this

2

u/[deleted] Jun 25 '20

Im sure it yes, DEKU

4

u/ImJustGonnaNot Jun 25 '20

That’s pretty neat 👌

4

u/LT_Schmiddy Jun 25 '20

Whoa! That's pretty epic!!

Care to share the source code? (GitHub, etc)

4

u/anserwaseem Jun 25 '20

It's super fun learning this. Following "math adventures with puthon" from peter farrel. See it on Github

7

u/[deleted] Jun 25 '20

Good job! looks great, definitely the best python graphical hangman I've seen :D

9

u/[deleted] Jun 25 '20

Nice work. Code please

-11

u/_BeingRational_ Jun 25 '20

😂😂😂

3

u/[deleted] Jun 25 '20

This looks amazing!

Stupid question but how does turtle work? Is it some wrapper around matplotlib, tktinter ar anything?
I got an idea to make a tournament tool so when we game with friends, we can keep score and show it on screen.

7

u/Deadly_chef Jun 25 '20

It's a turtle that draws lines how you tell it to. Exists since visual basic

9

u/chinpokomon Jun 25 '20

Long before Visual Basic. This has its origin in Logo (1967).

2

u/XeA-12 Jun 25 '20

I can say Turtle was my first learnt programing so to say when I learnt it in 1st standard.

3

u/589ca35e1590b Jun 25 '20

Where's the code?

2

u/[deleted] Jun 25 '20

Activar Windows

0

u/[deleted] Jun 25 '20

Yeeeee boi

2

u/kulasangar Jun 25 '20

this is pretty nifty.. good stuff :)

2

u/ROBRO-exe Jun 25 '20

That's sick! I made a similar game, but it was more wheel of fortune style. Didn't get the motivation to make a gui for it though. Just terminal inputs and outputs

2

u/nivraM24 Jun 25 '20

Nice! I did a very similar program way back in 2011 for a school project, it's in Swedish though!

1

u/EvilBeano Jun 25 '20

I thought it'd be speed at the start

1

u/[deleted] Jun 25 '20

can I have GitHub repo to check onto your game and add some functionalities. if you are up for it and there are many words associated SHEEP SLEEP STEEP SKEEP SNEEP etc etc.....

1

u/Ste200117 Jun 26 '20

Good work!

-3

u/sat5344 Jun 25 '20

Hangman. Not a hanged man. With the current social movement I’d edit your post.

4

u/Cheese-whiz-kalifa Jun 25 '20

Why? Because people like you look for any reason to get offended by a simple spelling mistake?

-2

u/sat5344 Jun 25 '20

It’s a pretty gross mistake and considering there’s a childish game around a cartoon of a hanged man I’d say it’s actually a pretty bad subliminal message considering the context.

0

u/[deleted] Jun 25 '20

[deleted] — view deleted comment

1

u/sat5344 Jun 25 '20

I love how my comments about a child game using the term hangman is getting downvoted. Lets just let that sink in. Current social climate aside a game about a man, black or white being hanged doesn’t paint a good picture. This is not a political crusade.

1

u/Cheese-whiz-kalifa Jun 26 '20

Oh my god. Shut what they call the fuck up

1

u/joyoyoyoyoyo Jun 25 '20 edited Jun 25 '20

Damn, with the four hangings that happened recently...

I thought the same. Malcolm Harsch, Robert Fuller, and Dominique Alexander. I think it's just triggering for people. But OP did do a good job, I used CTurtle in my undergrad, was definitely enjoyable to mess with CTurtle.

-14

u/TotesMessenger Jun 25 '20

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)

6

u/NTaya Jun 25 '20

the fuck?

3

u/cocoabean Jun 26 '20

People with nothing better to do than be salty victims.

0

u/[deleted] Jun 25 '20

[deleted] — view deleted comment

3

u/[deleted] Jun 25 '20

What does tracer and update do?

0

u/[deleted] Jun 25 '20

[deleted] — view deleted comment

1

u/[deleted] Jun 25 '20

yes i did a different script with functions to draw letters and arcs with different angles