How To Code Hangman In C# | Tutorial For Beginners | Visual Studio 2022
Vložit
- čas přidán 23. 01. 2022
- Hey everyone!
In today's video we discuss how to code a classic childhood game with the help of C#. This is a console app that allows users to guess a word and will update a stick figure drawing as time goes on. Everyone knows how hangman works, but does everyone know how to code it?
Watch to find out! :)
This project is available on GitHub at
--------------------------------------------------------------------------------------
github.com/ShaunHalverson/Csh...
Add Me On Discord!
--------------------------------------------------------------------------------------
Username: Shaun(Hashtag)5626
Software Engineering / Programming for beginners / variables types / computer science /compsci / coding for beginners / learn how to program / learn how to code / C# variables / python for beginners / coding tutorial / programming tutorial
Thanks for watching! :)
Want to see more? Click on this spicy link :D
/ @shaunhalverson
Assets in the thumbnail were provided by artists on
www.canva.com
All art and copyright ownership belongs to the artists on Canva and is under the protection of the Canva pro membership.
#programming #tutorial #learntocode
Thank you was really good exercise. Am still in my early days of C# but am beginning to under it more and more all the time. Videos like this are really useful.
the meme breaks are awesome! keep it up Shaun :)
Thank you! You are the first person to mention the meme breaks and I am so happy lol :) I am so happy someone likes them! They’re epic!
@@ShaunHalverson your welcome i really like how the video is fast paced. other people just keep explaining unnecessary stuff.
@@arunabhrakshit that’s good! I try to explain what’s necessary and cut out the jibberish. Thank you for the kind words!
your videos are so good man
Thank you so much ❤
hello when i start a new projekt i dont have that code in the begining idk how to get it i need a little help
Hello Shaun! Can you help me?
When I guess a letter, it counts as 3 guesses, why is this?
We demand to make it with a gui. Thank you for this.
Please make it with a GUI! Great content, thank you!
I would love to soon! Thank you so much for the kind words :)
Hi Shuan, thanks for the video. However, my code isn't working. experiencing issues with the following
Operator '!=' cannot be applied to operands of type 'list' and 'int'
line 122 isn't working.
and then,
only assignment, call, increment, decrement, await, and new object expressions can be used as a statement.
line 120 & 137
if you can help me out I'd really appreciate it :D
You can’t compare between a letter/char and a number/int
there is an error the printWord function
for me it prints everything like 5 times but i cant see a problem in my Code...
9 times*
if - / if (letterGuessed == randomWord[i]) { right = true; }/ - is not on the same line as - / for (int i = 0; i < randomWord.Length; i++) \
Would you do some unity videos, that's uses C#.
I would like to in the future!
@@ShaunHalverson thanks !
@@random_precision_software thanks for watching and thank you for the suggestions!
idk why my code isn't working
Which part of it? What error are you getting?
nothing but a ";" was missing 🤦♂️🤦♂️
@@blertonrexhepi31 hahahaha! Happens to the best of us :D
Nice dude can you please teach me C++
Y are u using this old style c# why dont u do it with top level statements so less confusing for beginners
Hello, this tutorial was awesome!
But, I did notice an issue...
if you have a word that contains two of the same letters (ex. hello), the program won't let me input the second letter in the word.
I was wondering if you had the same issue, and if you had an idea on how I could adjust it so that it would allow me to have two of the same letters in the word, but no more?
Thank you!
@ShaunHalverson