r/Python • u/[deleted] • Jun 25 '20
I Made This I made a hanged man game using turtle library
7
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
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
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
20
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
25
5
4
4
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
9
3
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
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
2
2
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
1
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
-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
Jun 25 '20
[deleted]
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
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:
[/r/againsthatesubreddits] r/python user makes a game with racist roots. As if POC weren't having enough of a tough time feeling welcome in tech...
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
0
0
Jun 25 '20
[deleted]
1
Jun 25 '20
yes i did a different script with functions to draw letters and arcs with different angles
33
u/manueslapera Jun 25 '20
deberias activar windows :D