[ASMR] Programming a Game (Python)

preview_player
Показать описание
Tonight I will be CODING a GAME on PYTHON PROGRAMMING to make you relax and FALL ASLEEP to!
Disclaimer: I do not study programming, nor code regularly it is just a hobby.

▶ Socials ◀
(Let me know if you think I should make an Snapchat or Facebook Page!)

▶ Other Links ◀

▶ What is ASMR? ◀
Autonomous sensory meridian response (ASMR) is a term used for an experience characterised by a static-like or tingling sensation on the skin that typically begins on the scalp and moves down the back of the neck and upper spine. It has been compared with auditory-tactile synesthesia. ASMR signifies the subjective experience of "low-grade euphoria" characterised by "a combination of positive feelings and a distinct static-like tingling sensation on the skin". It is most commonly triggered by specific acoustic or visual stimuli, and less commonly by intentional attention control.

▶ Equipment I Use ◀
Camera: Sony Cyber-shot DSC-WX350
Microphone: Rode NT-USB
Editing Software: Camtasia Studio 8

Don't forget to leave a like and subscribe/turn on notifications to be updated whenever I post!

#ASMR #Coding #Programming
Рекомендации по теме
Комментарии
Автор

Hope you enjoy this slightly different video than usual! Let me know if you have done programming before and any ideas you have for what I should do next!

DidoASMR
Автор

I would recommend using something like Visual Studio Code, so you can have a dark background which is much better for ASMR. You can also use python through a terminal, where the background will be dark as well.
Love the vid

simonengelhardt
Автор

I've done a python course a few years back. This makes me happy. Keep up the good work dude. It's fun watching your channel grow.

kengetz
Автор

Not sure if anyone commented yet but the final "elif" statement you couldn't get to work (for an invalid guess) was coded correctly, but ordered incorrectly. The code was reaching the other two "if" end "elif" lines firsts and because an invalid guess would trigger the greater or less than statements first, your invalid guess check would never trigger. 😄

harrylaing
Автор

Education... and ASMR? Now this is a welcome surprise!

verWay
Автор

you make really interesting stuff, not only the standard ASMR videos I love it!

derfman
Автор

If Usernumber > target number was resolving before the <1 or >100 argument, so when you entered 101 it never passed the second argument, you could achieve what you were trying to do by putting the <1 or >100 argument before the others in the while loop

XAVR_
Автор

There is nothing better then a good old keyboard sound 🤗

jeromeasmr
Автор

Hey👋🏼 This is going to be fun to watch👍🏼

frikk
Автор

Fresh cut? Nice brotha. About to start the video just found your channel recently and it’s dope! Thanks for the quality content

vloggergamer
Автор

Great content - really enjoyable. Hoping you get some video sponsors ASAP cuz that Ad at the 7.5 minute mark really scared the calm out of me lol

inponderland
Автор

I was just going to try some python automation this weekend. Thanks for the upload and keep up the great work with the channel and coding.

troopah
Автор

A thing that keeps me up at night is whether i should study math or computer engineering in uni. So i guess this is reverse psychology?👀

electricbill
Автор

It wasn't working because if you have an (if, elif, else) block these statements are checked in order. This means that if one of them evaluates as true it will no longer check the others but exit the if block immediately. In your case when you put in 101 for testing, "if Usernumber > TargetNumber:" evaluated as true thus skipping all the other elif as well as the else statement. Remember to move what's called "sanity checks", in this case your code checking if the number is smaller than 1 or larger than 100, to the top of your if block such that this will always be the first thing checked and therefore never skipped.

TheFighterfreedom
Автор

I have a course that involves python! Love this idea 🤓

miasluca
Автор

you should rename the variable Guesses to GuessCount so it makes sense when reading your code.

dominicmartinez
Автор

Video is great dude.. keep it up...😍 but a wonderful addition would have been using a text editor with a dark background 😎

jahdielcastaneda
Автор

Very cool video man, Love It. I've always wanted to see how python works or try it out. I've took courses on other types of coding like Java, css, and html but never python. But anyways great video as always!

Mlynoph
Автор

I still kinda remember the basics of python, but I'm currently at a trade school where we are pretty much learning javascript, c#, html and css, and a little c++ (though it's very similar to c# so I understand it pretty well still) and I think we are going to learn swift (iOS app language) at some point

I mainly focus on javascript, html and css, and a language I'm learning on my own, php. I plan on being a web developer or, if I can ever find a job, a game developer

mattg
Автор

Might be late but here is a simple fix to the elif statement u had trouble with


[[[OLD Version]]]
import random

def GuessTheNumber():
TargetNumber = random.randint(1, 100)
UserNumber = 0
Guesses = 0
print("I am thinking of a number between 1 and 100")
while UserNumber != TargetNumber:
UserNumber = int(input("What number am I thinking of?"))
Guesses = Guesses + 1
if UserNumber > TargetNumber:
print("My number is lower than", UserNumber)
elif UserNumber < TargetNumber:
print("My number is higher than", UserNumber)


elif UserNumber < 1 or UserNumber > 100:
print("Warning! This is an invalid guess! Please try again:")


else:
print()
print("Well done! You guessed", TargetNumber, "in", Guesses, "guesses!")

else:
PlayAgain = input("Would you like to play again? (Yes/No)")
if PlayAgain.lower() == "yes":
print()
GuessTheNumber()
else:
exit()

GuessTheNumber()








[[[REVISED Version]]]
import random

def GuessTheNumber():
TargetNumber = random.randint(1, 100)
UserNumber = 0
Guesses = 0
print("I am thinking of a number between 1 and 100")
while UserNumber != TargetNumber:
UserNumber = int(input("What number am I thinking of?"))
Guesses = Guesses + 1


if UserNumber < 1 or UserNumber > 100:
print("Warning! This is an invalid guess! Please try again:")


elif UserNumber > TargetNumber:
print("My number is lower than", UserNumber)
elif UserNumber < TargetNumber:
print("My number is higher than", UserNumber)
else:
print()
print("Well done! You guessed", TargetNumber, "in", Guesses, "guesses!")

else:
PlayAgain = input("Would you like to play again? (Yes/No)")
if PlayAgain.lower() == "yes":
print()
GuessTheNumber()
else:
exit()

GuessTheNumber()


My routine for something like this would be in this order. ( Check for False Answers, Check for Positive Answers, Else for Blank/Misc Answers ) Hope this helped!

undxrscorx