Coding "Snake" in 4 min 30 sec (plain browser JavaScript)

  Рет қаралды 8,080,395

Chris DeLeon of HomeTeam GameDev

Chris DeLeon of HomeTeam GameDev

Күн бұрын

New way to learn game development online: HomeTeamGameDe... (previously called Gamkedo Club) Free weekly tips in your inbox: GameDevTrainin... Free intro course: code-your-first... The (hacky) Snake source: pastebin.com/Z... About InteractionArtist, my 219 daily prototypes: • InteractionArtist 219 ...

Пікірлер: 6 000
@MonsieurPates
@MonsieurPates 4 жыл бұрын
his script: *2 lines* me: *looks away for 0.1 seconds* his script: *55 lines*
@parthivshah202
@parthivshah202 4 жыл бұрын
*blinks*
@dunayqudretli3382
@dunayqudretli3382 4 жыл бұрын
True
@gustafbstrom
@gustafbstrom 4 жыл бұрын
Also goes for any university math class.
@MrGreenBeanBeenBeanin
@MrGreenBeanBeenBeanin 4 жыл бұрын
Gustaf Borgström head looks like my picture
@JeffTiberend
@JeffTiberend 3 жыл бұрын
ikr
@tregi
@tregi 6 жыл бұрын
i've watched this about 1 year ago, since then i've been studying programming and now i actually understand the code he wrote
@aous9679
@aous9679 4 жыл бұрын
No way
@anshul9856
@anshul9856 4 жыл бұрын
Same lol I came to this vid after a year and now I actually get some of it
@alpeshjadav9307
@alpeshjadav9307 4 жыл бұрын
Tumhe ye bakchodi samajhneme 1 saal lag kaisa gaya
@jasperkooij1891
@jasperkooij1891 4 жыл бұрын
Wow same!
@Rayer24
@Rayer24 4 жыл бұрын
I remember watching this before my first year as a CS student and I didn't know what I was looking at. I still don't understand everything but almost everything sounds very familiar.
@gerphoenix5786
@gerphoenix5786 7 жыл бұрын
30 years later : Coding Gta 5 in 4 min 30 sec
@TechSupportDave
@TechSupportDave 7 жыл бұрын
**Hires** becomes a mod, **gives every player 999 million**
@PokeNebula
@PokeNebula 7 жыл бұрын
/give honeydew 46 64
@Brandon-jt7dc
@Brandon-jt7dc 7 жыл бұрын
Dxpress you forgot ct% = changefranklin } { ct% = changet && changem } rn = 25 dm = 55 rf = 100.x randomizespawn { 'stal') ft1 } end
@NummerJeen
@NummerJeen 7 жыл бұрын
+Chicken Permission Nice reference! +1
@vOddy75
@vOddy75 7 жыл бұрын
With no libraries. He's got to code those himself.
@harrum2577
@harrum2577 4 жыл бұрын
Alt. title: Nerd wondering if he's a real nerd while speedrunning snake programming
@MrGuliton
@MrGuliton 4 жыл бұрын
xD
@halecj1
@halecj1 4 жыл бұрын
Lol right? I'm a nerd and coding is my job but this guy puts me to shame in both categories.
@MaxCE
@MaxCE 3 жыл бұрын
Multitasking
@Bourn77
@Bourn77 3 жыл бұрын
😂
@TempoChannel5
@TempoChannel5 3 жыл бұрын
Nodes
@mohammadsalehe4283
@mohammadsalehe4283 5 жыл бұрын
It takes me 4 min 30 sec to reach to a conclusion for a variable name!
@mrsveeto
@mrsveeto 4 жыл бұрын
ME TOO
@reyariass
@reyariass 4 жыл бұрын
Just name it what you plan to use it for, “Var Storage = ...”
@shikharjoshi1113
@shikharjoshi1113 4 жыл бұрын
*/Declares String as a variable name/*
@이도권-l1c
@이도권-l1c 4 жыл бұрын
Its kinda really important
@crepperwlp
@crepperwlp 4 жыл бұрын
I mean, if you want to see the code ever again in you life, I think it's a good idea.
@SalitosInside
@SalitosInside 7 жыл бұрын
Ranting and coding; whole new level of multitasking.
@BruceLee-nj2zf
@BruceLee-nj2zf 7 жыл бұрын
That's because he has coded it before, he most likely have a paper in front of him with hints as what to do, Many programming videos like this use a similar technique. He doesn't have to think at all.
@Sylfa
@Sylfa 7 жыл бұрын
Codanting? @Bruce Lee - I see no signs of him looking away from the screen, and this is so basic I see no reason why he would need to. If it looks like magic it's because you need to practice more, not because he's cheating for some arbitrary definition of cheating.
@cautarepvp2079
@cautarepvp2079 7 жыл бұрын
Marius lmaoo
@pitbullterrier4277
@pitbullterrier4277 6 жыл бұрын
0:39 looked away. :D
@Sylfa
@Sylfa 6 жыл бұрын
With his eyes closed, constantly moving his head and tilting it. I'm sure your joking though, but the number of people that think he has to be cheating is appalling.
@wickes316
@wickes316 4 жыл бұрын
Alternate Title: How to play snake if it's blocked in your school
@zninjachato
@zninjachato 3 жыл бұрын
i copyed his code and played in informatic class haha noobs go brrr
@ashmitarora8544
@ashmitarora8544 3 жыл бұрын
This is amazing, where have you been all my school years!!
@jimhalpert9803
@jimhalpert9803 3 жыл бұрын
Real smooth
@leonardocastillosanchez5398
@leonardocastillosanchez5398 3 жыл бұрын
Ninja Chato ಠ_ಠ do you have the code?
@dionel1388
@dionel1388 3 жыл бұрын
@@leonardocastillosanchez5398 same question. I wanna geddit.
@ledoggo7516
@ledoggo7516 4 жыл бұрын
As a coder myself, I'm honestly impressed that he can commentate and code that efficiently at the same time.
@BackFireZz
@BackFireZz 2 жыл бұрын
Adderall is a hell of a drug
@koviroli
@koviroli 2 жыл бұрын
You have to consider that before the video shooting, he probably wrote a script, practiced and the same for the coding part. It's cool though.
@pumpkant
@pumpkant 2 жыл бұрын
@@koviroli pfffft, i doubt thats a script
@GlennDavey
@GlennDavey 2 жыл бұрын
That's the only way I know how to code. My dog has learned JavaScript during WFH
@mellophon3
@mellophon3 2 жыл бұрын
@@pumpkant just got the joke
@danneedham6821
@danneedham6821 7 жыл бұрын
I know nothing about coding and I understood very little of this. 10/10, would rewatch
@frankmateo8754
@frankmateo8754 7 жыл бұрын
Dan Jakob its a language
@commenter7867
@commenter7867 7 жыл бұрын
hah u dumb
@antton9189
@antton9189 7 жыл бұрын
Commenter Nope, doesn't mean that he is dumb.
@nkhbhouhuo5684
@nkhbhouhuo5684 7 жыл бұрын
Commenter you call him dumb but can't use proper grammar 🤦🏽‍♂️
@harleyspeedthrust4013
@harleyspeedthrust4013 7 жыл бұрын
+swastika bitch *There is nothing I can fucking say to you to change the fact that you are a useless donkey*
@elias-nf8qj
@elias-nf8qj 7 жыл бұрын
no music no begging for likes or subscribes for 3 minutes, it was straight to the video. good its rare these days. very good!
@1hkd29
@1hkd29 6 жыл бұрын
Not begging for likes or subscribing is good, but no background is an interesting decision in my opinion.
@jazzypumpkin9190
@jazzypumpkin9190 6 жыл бұрын
its good i guess
@taujago
@taujago 6 жыл бұрын
He's selling his tutorial on udemy at the end of video
@BootNico
@BootNico 5 жыл бұрын
wish I could like this comment as many times as humanly possible
@thetute59
@thetute59 5 жыл бұрын
actually yeah, worth a sub
@swegattyswooty9307
@swegattyswooty9307 7 жыл бұрын
I was ignoring this video from my recommendation for about 2 months .. now I am here . I have no clue what's going on . I don't even code dude !!!
@rumfordc
@rumfordc 7 жыл бұрын
+The GAME Theory I TGT if you want to get into game theory, I'd highly suggest you learn the basics of coding. This video is a very fun and fast place to start.
@Nyarukosan787
@Nyarukosan787 7 жыл бұрын
Dude, even as I'm writing this, the video isn't even 2 months old...
@3pointsracer
@3pointsracer 7 жыл бұрын
The GAME Theory I TGT same here.
@Joseph-ed6hl
@Joseph-ed6hl 7 жыл бұрын
dude ik i ignored the reckmmended for like 2 months too 😂
@YoungPricelessFamily
@YoungPricelessFamily 7 жыл бұрын
same here too lmao
@nabiisakhanov3522
@nabiisakhanov3522 4 жыл бұрын
I've watched this about 3 years ago, since then I've been interested in programming. About a year ago I've started learning javascript and now I have a paid full-time job as a developer
@HomeTeamGameDev
@HomeTeamGameDev 4 жыл бұрын
Heck yes! Thank you for sharing your story. I'm very happy to hear I got to play a small part in helping you discover your interest in programming. Props for following through, and congrats on the new job.
@wizzenberry
@wizzenberry 3 жыл бұрын
Full payed job in a year? Wow good effort dude, 2 years in uni and we are now only starting Java.
@sirspongadoodle
@sirspongadoodle 3 жыл бұрын
@@wizzenberry uni is bs imo
@jasonzheng5839
@jasonzheng5839 3 жыл бұрын
@@sirspongadoodle honestly 2 years in and just starting Java kinda means this guy took no college credit in hs or didn’t decide to do cs until then
@wizzenberry
@wizzenberry 3 жыл бұрын
@@jasonzheng5839 I’m part time mate so it’s one year just the foundation now on diploma, covered other languages. To the guy above in the uk you need a bsc minimum to get a decent job so dunno what Hese on about
@BobMcCoy
@BobMcCoy 7 жыл бұрын
That awkward moment when a guy does your *entire Culminating project* (which takes a whole month) in merely 4 and a half minutes...
@dismountarts8451
@dismountarts8451 7 жыл бұрын
Bob McCoy you are just slow, i go to mid florida tech and we had to make our own game in a week and a half
@Witetiger101
@Witetiger101 7 жыл бұрын
I wouldn't say he's just slow, it all depends on the depth you want to achieve. I go to the University of Reading and we had one month to program either a maze-based game or a text based intelligent assistant. I chose the game, whilst I had a functioning prototype after the first week it certainly takes more time to implement stuff like competent AI and OpenGL integration.
@breakerboy365
@breakerboy365 7 жыл бұрын
maybe you're coding in the wrong language
@kyletupper1033
@kyletupper1033 7 жыл бұрын
Or maybe this person is just taking a CS class for their gen eds. If they aren't a major, minor, or don't have a closely rooted interest in the subject, then that could explain the discrepancies.
@DVeck89
@DVeck89 7 жыл бұрын
This is why a top experienced developer makes much much more money than a recent grad.
@Gabriel-jx4or
@Gabriel-jx4or 7 жыл бұрын
1:26 "Even though I don't have all keycodes memorized because I'm not a nerd..." **Remembers he's programming Snake in 4 minutes and 30 seconds** "Okay I'm... I'm a nerd"
@Harmxn
@Harmxn 6 жыл бұрын
Lol
@MZeuSD
@MZeuSD 6 жыл бұрын
that was very funny XD
@LunnarisLP
@LunnarisLP 6 жыл бұрын
Meanwhile as a nerd I sit here being like "so that's for the arrow keys xD
@federicoskliarevsky
@federicoskliarevsky 6 жыл бұрын
Thanks for the captions
@VictorRodriguez-zp2do
@VictorRodriguez-zp2do 6 жыл бұрын
You don't really have to know the keycodes he could have just use e.key and it would have returned a string like ArrowRight and that would have also worked
@RhapsodyAfternoon
@RhapsodyAfternoon 7 жыл бұрын
"some people don't like switch cases, i don't like some people" lmfao
@jonathan-rw3mx
@jonathan-rw3mx 7 жыл бұрын
Rhapsody Afternoon k
@IcedNerdz
@IcedNerdz 7 жыл бұрын
damn it...I read your name...
@ClearReception
@ClearReception 7 жыл бұрын
IcedNerdz I was doing well until I read your comment then went back up...
@HerbaMachina
@HerbaMachina 7 жыл бұрын
I find switch statements are great for some things, annoying for other things. But for testing key value a switch statement is much better.
@iang97302
@iang97302 7 жыл бұрын
Heh. People say they hate switch statements, because they are a code smell. You can't always avoid them though (obviously).
@user-tl7oo4jg6i
@user-tl7oo4jg6i 4 жыл бұрын
This guy: this is so easy Me a beginner: ??????????????????
@HomeTeamGameDev
@HomeTeamGameDev 4 жыл бұрын
This guy: free video course link in the description slows things down and teaches a bunch of what the heck is going on here. This is a demonstration, not a tutorial. Cheers!
@imarobloxaddict123
@imarobloxaddict123 4 жыл бұрын
Chris DeLeon of HomeTeam GameDev he/she knows, he/she ‘s just saying you say “It’s easy” to him/her, it is confusing
@nsdfancy
@nsdfancy 4 жыл бұрын
Chris DeLeon of HomeTeam GameDev the video course is not free, you need a udemy membership 😒😒😒😒
@HomeTeamGameDev
@HomeTeamGameDev 4 жыл бұрын
@@nsdfancy The course is free on Udemy (has been for years), does Udemy now charge just to create an account profile? The account is used to save your place in the course, or to message the instructor with questions, etc.
@nathanieljemmjustiner5844
@nathanieljemmjustiner5844 4 жыл бұрын
Me too hahshaha...
@deox2259
@deox2259 5 жыл бұрын
Creator of Snake: "Am I a joke to you?"
@user-rz6wu3eo8k
@user-rz6wu3eo8k 5 жыл бұрын
"The future is now, old man."
@thonmoyrahman2270
@thonmoyrahman2270 5 жыл бұрын
he did machine level programming which very few people can do
@thonmoyrahman2270
@thonmoyrahman2270 5 жыл бұрын
@M. de k. good for you. I assume you develop drivers?
@dheere_se_bolo
@dheere_se_bolo 5 жыл бұрын
@@thonmoyrahman2270 some random people on the internet always claim that they can do something other people can't. In real life may be they're kindergarten dropout.
@mrcoder7327
@mrcoder7327 5 жыл бұрын
Creator: Works on the snake game for months kedo: Makes the snake game on 4 minutes Creator: what the hell?
@trashonstilts9432
@trashonstilts9432 6 жыл бұрын
This guy is the Eminem of coding tutorials
@supernova-o3i
@supernova-o3i 6 жыл бұрын
Even in talking
@ВикторБаринов-с5е
@ВикторБаринов-с5е 6 жыл бұрын
CODE GOD
@yashforeal
@yashforeal 6 жыл бұрын
I get it
@spectrent
@spectrent 5 жыл бұрын
ctrl+c & Ctrl+v isnt Eminem
@spiralinguniverse8159
@spiralinguniverse8159 5 жыл бұрын
Yea he don't side track straight to point
@Omenxiiii
@Omenxiiii 7 жыл бұрын
The fuck is going on here
@tolbydamit
@tolbydamit 7 жыл бұрын
Cocaine + competent developer = game.
@Jose_T131
@Jose_T131 7 жыл бұрын
hookers and cocaine my friend...
@Autos389
@Autos389 7 жыл бұрын
Cocaine + guy who's done this game a dozen or two times = rapid demo
@angryidahobusdriver
@angryidahobusdriver 7 жыл бұрын
mainly math and variables. I think so ;0
@etherlords88
@etherlords88 7 жыл бұрын
Bryson Ruud a stoned code labour explaining his life
@steveno2839
@steveno2839 3 жыл бұрын
this guy had a 10 minute break between his work and picking up his fiancee. so he made a youtube video to promo his stuff. Big respect
@snbecca
@snbecca 7 жыл бұрын
"Im not much of a nerd" *codes a snake game in four and a half minutes* * n o t m u c h*
@snbecca
@snbecca 7 жыл бұрын
Im not bashing- it was amazing
@prankster3674
@prankster3674 7 жыл бұрын
What's his first language? c++
@breakerboy365
@breakerboy365 7 жыл бұрын
c++ is such a nice language
@Stratocaster42
@Stratocaster42 7 жыл бұрын
All while simultaneously commenting on everything he's doing, as well as shit that is totally unrelated. Bananas.
@harleyspeedthrust4013
@harleyspeedthrust4013 7 жыл бұрын
he's certainly smarter than you
@Jack-gu4fc
@Jack-gu4fc 7 жыл бұрын
When your assignment is due at midnight and it's 11:55pm
@CatFoodCritic
@CatFoodCritic 7 жыл бұрын
and your watching this video
@أدهم-ض4ه7ح
@أدهم-ض4ه7ح 7 жыл бұрын
Un_Pugged Gaming he talk about the guy in video
@أدهم-ض4ه7ح
@أدهم-ض4ه7ح 7 жыл бұрын
ACookieForMe i hope you're trolling
@anthoonius_gabagoolius
@anthoonius_gabagoolius 7 жыл бұрын
ACookieForMe plenty of online assignments have a due date around that time,not uncommon at all
@dyslexicsoap7605
@dyslexicsoap7605 7 жыл бұрын
Because that's the closing time for sending it in, as it has to be in before "x" date?
@TLB-ai
@TLB-ai 7 жыл бұрын
Sorry what happened in this video? I blinked.
@satyammishra4224
@satyammishra4224 7 жыл бұрын
theluckyboy54321 lolol
@cadevine1000
@cadevine1000 7 жыл бұрын
You must take a long time to blink
@cadevine1000
@cadevine1000 7 жыл бұрын
J. Corraux Right then
@johaneduardo10
@johaneduardo10 7 жыл бұрын
cadevine1000 I
@itstyler2832
@itstyler2832 7 жыл бұрын
Look who it is hahahahahha
@ankitkhanall
@ankitkhanall 4 жыл бұрын
his friends : hey let's play cod he : yeah wait for 4:30 mins *builds cod* his friends : 😳
@henningvanwyk9025
@henningvanwyk9025 3 жыл бұрын
Haha I had a Friend in High School who created a program for cod 4 where you could just click and select what maps you wanted to play with certain paramaters like gravity and other modifiers then it would automatically load up the map for the entire party... guy was a legend... and he wrote a code that automatically checked the battlfield 4 longest headshot distance to keep record between the whole clan.
@jk-gb4et
@jk-gb4et 3 жыл бұрын
@Tari Wheeler Most unsubtle subtle advertisement on a youtube comment
@CutieFakeKirby
@CutieFakeKirby 3 жыл бұрын
@@jk-gb4et its not advertising, its helping
@jk-gb4et
@jk-gb4et 3 жыл бұрын
@@CutieFakeKirby its him hes just making it look like its a different person
@Luke-tb3lx
@Luke-tb3lx 3 жыл бұрын
@@jk-gb4et he's attempting to scam people, trsut me
@harbirsingh7266
@harbirsingh7266 7 жыл бұрын
Many people can build this game that fast, but no one can speak that fast while building it.
@BullRed07
@BullRed07 6 жыл бұрын
Harbir Singh Yeah right? If I started talking like this while writing code I would mess everything up lol
@RodrigoIrigoyen
@RodrigoIrigoyen 6 жыл бұрын
I thought I was the only one noticing that. I'm more amassed about his speaking skills than his programming (even tho it is quite fast). I can’t even listen to someone speak while I’m coding. If I started to talk I would start typing what I’m saying. He sometimes types something while he is speaking about something else. He can also play the game while he keeps speaking.
@letmein7921
@letmein7921 6 жыл бұрын
Harbir Singh That's multitasking for ya
@ezet
@ezet 6 жыл бұрын
I can write max one line of code without syntax error so this would never be me
@ilovebass879
@ilovebass879 2 жыл бұрын
I want to come here to say exactly this. He code and speak at the same time very quickly. That's insane !
@chris-yf1gv
@chris-yf1gv 6 жыл бұрын
"I am not a nerd" Rethinks his life and what he is currently doing... "Ok I am a nerd"
@HomeTeamGameDev
@HomeTeamGameDev 6 жыл бұрын
it me
@chris-yf1gv
@chris-yf1gv 6 жыл бұрын
A Lot of respect to you sir this is really good
@ashismandal7776
@ashismandal7776 5 жыл бұрын
Please suggest a good editor for JavaScript programming.
@samm4510
@samm4510 5 жыл бұрын
@@ashismandal7776 atom is good
@galaxy4dayz
@galaxy4dayz 5 жыл бұрын
Visual Studio and Visual Studio code or if you want to mess around with more game making try out Unity its free you can get the free version which i use to make games! but i want to learn how to use HTML and javascript to make my first game on it and for my school project!@@ashismandal7776
@user-td3uj8is5i
@user-td3uj8is5i 7 жыл бұрын
pls code half life 3 in 3 seconds.
@geu9928
@geu9928 7 жыл бұрын
λ3 you think its that easy?
@Karuska22ps
@Karuska22ps 7 жыл бұрын
GDLC Dizz yes
@phenomen66
@phenomen66 7 жыл бұрын
Just save this code as hl3.html ;)
@krishnateja296
@krishnateja296 7 жыл бұрын
+GDLC Dizz you should be fun at parties.
@Niffie
@Niffie 7 жыл бұрын
+Krishna teja Bad modal verb detected.
@gantoreno
@gantoreno 2 жыл бұрын
You, and this video, were the first contact I ever had with JavaScript programming, almost 4-5 years ago, I didn't understand a thing when I saw it, but it was really cool, every year since then I revisit this video to see if I can catch up and understand everything. I'm a senior front-end engineer now, with an excellent job, and there are no words to describe how joyful it is for me to come back here, where everything started, and feel as if it was the first time. Thank you so much, for everything.
@yh_hat_trick491
@yh_hat_trick491 6 жыл бұрын
My friend told me I talk way too fast. I now see his frustration.
@teecchnoboy
@teecchnoboy 7 жыл бұрын
500 years later: coding real life in 4 min 30sec
@subscribeofficial7134
@subscribeofficial7134 7 жыл бұрын
teecchnoboy No, coding virtual fidget spinner
@tarky-
@tarky- 7 жыл бұрын
Hmm I gotta pick up my fiance in 10 minutes, what should I do... I KNOW, make a game!
@FunkyCrumpet
@FunkyCrumpet 7 жыл бұрын
well it only takes 4 and a half minutes.
@hippiewithacowboyhat
@hippiewithacowboyhat 7 жыл бұрын
Nope. Most guys that can do this dont have a fiance... ;)
@happydolphin1432
@happydolphin1432 7 жыл бұрын
TwoPants If you have friends or girlfriends, you are shame to internet, do Sudoku
@happydolphin1432
@happydolphin1432 7 жыл бұрын
TwoPants *Sepuku
@SnappySanad
@SnappySanad 7 жыл бұрын
Hippie With A Cowboy Hat 6:29
@blok4743
@blok4743 2 жыл бұрын
just starting learning html and watching you make a whole game in under 5 minutes when its taken me a week to make a button animation is amazing
@poopingbuffalo2095
@poopingbuffalo2095 7 жыл бұрын
Hurry up, dude.
@nynonimousnynth3844
@nynonimousnynth3844 7 жыл бұрын
xd
@lukemanera9136
@lukemanera9136 7 жыл бұрын
Nynonimous Nynth
@nynonimousnynth3844
@nynonimousnynth3844 7 жыл бұрын
Luke Manera yes?
@56shauryasingh33
@56shauryasingh33 7 жыл бұрын
Nynonimous Nynth
@kmasouss8449
@kmasouss8449 7 жыл бұрын
David Razberry
@thompsonmatthew
@thompsonmatthew 6 жыл бұрын
"some people don't like switch case" "I don't like some people" ded
@YankeeTM
@YankeeTM 5 жыл бұрын
But not us Not us
@adityathakur3161
@adityathakur3161 5 жыл бұрын
X
@Jestrath
@Jestrath 5 жыл бұрын
They have their place. Keyboard key events are a good use of them.
@nonsudunk
@nonsudunk 4 жыл бұрын
switch case is almost like if else so I don't know who would dislike it
@lalle5000
@lalle5000 4 жыл бұрын
@@nonsudunk yeah, and they're also slightly faster so for some cases switch case is objectively better.
@imhaiden8464
@imhaiden8464 6 жыл бұрын
He lost me at 0:01
@babolikoboy9440
@babolikoboy9440 6 жыл бұрын
Chris Paul he lost me after he said I have to pick up my fiancé, he voice became x3.0
@magicalwizard9539
@magicalwizard9539 6 жыл бұрын
Chris Paul you couldnt be more accurate
@jadenlopez8368
@jadenlopez8368 6 жыл бұрын
Same
@darvikpatel
@darvikpatel 6 жыл бұрын
AH Sniper iiii
@aleksandarkovacevic5657
@aleksandarkovacevic5657 6 жыл бұрын
AH Sniper i
@CyrusSUEN
@CyrusSUEN 4 жыл бұрын
This guy pays more attention to playing the game than actually coding it.
@afterburner7847
@afterburner7847 7 жыл бұрын
This guy is the geek version of Eminem. His brain is racing!
@tobi888100
@tobi888100 7 жыл бұрын
It's called cocaine
@0s0sXD
@0s0sXD 7 жыл бұрын
afterburner7847 mom spaghetti
@afterburner7847
@afterburner7847 7 жыл бұрын
Please don't!
@somebodyonce2186
@somebodyonce2186 7 жыл бұрын
coding mom's spaghetti in 4mins 30secs
@afterburner7847
@afterburner7847 7 жыл бұрын
Yeah I feel you, bro. I also go babbling non-stop about computers, gaming and programming when someone talks about it. This guy is just insane, coding a snake game in Javascript while babbling on about a lot of other stuff full speed lol.
@nosky2142
@nosky2142 7 жыл бұрын
Like for an English version of this
@maa8402
@maa8402 7 жыл бұрын
hhhh
@MujahidOmer
@MujahidOmer 7 жыл бұрын
Lol, made my day 😂
@hgipwrjt1286
@hgipwrjt1286 7 жыл бұрын
Lol
@no00ob
@no00ob 7 жыл бұрын
Noah Lupico lol
@BaileySchellDE48FF
@BaileySchellDE48FF 7 жыл бұрын
Noah Lupico this should be top comment but I guess majority of this videos intended audience knows wtf he's saying 😂😂
@drgusman
@drgusman 7 жыл бұрын
This should be called "how to write again in 4 minutes a snake game that you already have coded"
@ssougnez
@ssougnez 7 жыл бұрын
geniwab yeah.. the guy is acting like an hero coder while he's just typing a listing he already typed dozens times before, that's a bit lame...
@drgusman
@drgusman 7 жыл бұрын
It also is my job and I can distinguish when someone is thinking what is writing and when is just copying code.
@drgusman
@drgusman 7 жыл бұрын
an3lml yeah, shure, then that's why he shows how to program the most simple game in javascript, right? It's like trying to show how easy is assembler and you show how to use the ADD instruction. Now try to create a real program in assembler and think again if its easy. Apply the same to this.
@ssougnez
@ssougnez 7 жыл бұрын
geniwab And it's just about honesty. He acts like, all of a sudden, he just decided to make a game and boom, he codes it and acts like if he figures out the algorithm in half a second. Either that guy is a genius or he's just a pretentious guy who want to look like a genius. I develop since I'm 12 and even after 17 years of development, I couldn't develop like this. How is this kind of video helping ? For the beginner, he wouldn't understand the code as it goes very fast and would think "waw this guy rocks !"...
@drgusman
@drgusman 7 жыл бұрын
Sébastien Sougnez Totally correct. Also, if you pretend to teach something you don't do a "speed run", you take your time at least explaining things with calm and thinking you are talking to non-programmers which will be confused even with a variable declaration.
@seanlange4457
@seanlange4457 3 жыл бұрын
Just got this in my recommended. This is the video that pushed me to learn Javascript to make canvas games. Been doing it for over 4 years now. Thank you
@pep3001
@pep3001 7 жыл бұрын
coding snake speedrun at agdq 2018
@jlpt9960
@jlpt9960 7 жыл бұрын
Mr.Sheepington he had some good RNG this run
@GameFuMaster
@GameFuMaster 7 жыл бұрын
he should kill the animals. gotta save frames
@Zcardenas2
@Zcardenas2 7 жыл бұрын
Mr.Sheepington better would be coding a simple game idea given blindly
@Zcardenas2
@Zcardenas2 7 жыл бұрын
GameFuMaster lmao yessssyoshi
@harunanami76
@harunanami76 7 жыл бұрын
ty
@brianchen3444
@brianchen3444 7 жыл бұрын
the only word i understand what he's talking is "snake"
@HarshG28
@HarshG28 6 жыл бұрын
Brian Chen game too
@fareesdabadi8534
@fareesdabadi8534 6 жыл бұрын
Peas and carrots
@TheFlyingE
@TheFlyingE 6 жыл бұрын
That’s what captions are for
@clemoutoftime
@clemoutoftime 6 жыл бұрын
i really don't think you get it, flyinge.
@abdallahabdillah8477
@abdallahabdillah8477 6 жыл бұрын
HAHAHAH you made my day man
@buster4103
@buster4103 7 жыл бұрын
Try something like: guessing game by code
@rahfu3174
@rahfu3174 7 жыл бұрын
I did a number guessing game in Python in high school, does that count?
@TheGrundigg
@TheGrundigg 7 жыл бұрын
no
@rahfu3174
@rahfu3174 7 жыл бұрын
***** Thought it was a joke about this being hard to do and saying to do something easy as if it's harder. Not sure how to explain it but it's a common thing among people who still play Guitar Hero lol
@harshsharma523
@harshsharma523 7 жыл бұрын
MysteriousDuck i did that with great ui/ux in just a day ! 🍻 Cheers !!
@freyheit_3318
@freyheit_3318 7 жыл бұрын
Uvuvwevwevwe Onyetenyevwe Ugwemubwem Ossas Whats your name?
@zRedPlays
@zRedPlays 2 жыл бұрын
the way he instantly saved the code after being done with it, knowing it will work flawlessly, is just fantastic
@rpo79
@rpo79 7 жыл бұрын
Dude, I have no idea what just happened. I see that you coded a game in less than 5 min and it is working great! I need to say that you are a genius. Geek, but also a genius! Respect!
@mewo-mewo-3o-3o
@mewo-mewo-3o-3o 7 жыл бұрын
You are amazing!!
@melinoe3783
@melinoe3783 7 жыл бұрын
No you are amazing!! :)
@matiascelaj3946
@matiascelaj3946 7 жыл бұрын
MrFreak I
@Pieczorka
@Pieczorka 7 жыл бұрын
No, I am amazing!
@evenrik_2214
@evenrik_2214 7 жыл бұрын
MrFreak like number 1000 here! :) it got from 999 to 1k
@andr_wh
@andr_wh 7 жыл бұрын
i don't know what you are talking about but man you sound smart
@carterruckman9787
@carterruckman9787 2 жыл бұрын
I thought I was somewhat decent at programming before I watched this guy. He's so fast, and he intimately knows his craft. Well done dude.
@Fynmar91
@Fynmar91 6 жыл бұрын
Had to watch a 2x speed because he talks so slow.
@1ungs
@1ungs 6 жыл бұрын
Fynmar yeah same
@brodymoore7376
@brodymoore7376 5 жыл бұрын
Watched mine at 0.01
@SONICCRET
@SONICCRET 5 жыл бұрын
But he talks really fast!
@SONICCRET
@SONICCRET 5 жыл бұрын
r/whooooosh
@SONICCRET
@SONICCRET 5 жыл бұрын
Oh, you are right. That comment was stupid. Thanks SonicCret!
@frijoles9749
@frijoles9749 5 жыл бұрын
Who else clicked on here not knowing what he’s talking about but still watched it.
@lilwizard3026
@lilwizard3026 5 жыл бұрын
That part at: i m not a nerd. Then he realised OK i m a nerd😂😂
@franco_spams-l2922
@franco_spams-l2922 5 жыл бұрын
I just want a little more practice on javascript and realized I still need a lot to learn lol
@Michael-cs2fh
@Michael-cs2fh 5 жыл бұрын
Clicked here and lasting 1.54mins, and I am out
@olivermunkholm8733
@olivermunkholm8733 5 жыл бұрын
im wit u on that one aha
@tomz4332
@tomz4332 5 жыл бұрын
I've been developing in JS for few years now but I can't imagine thinking that fast. It must've been rehearsed several times before. Am I wrong?
@lakonver4947
@lakonver4947 7 жыл бұрын
_Programmers hate him!_
@HomeTeamGameDev
@HomeTeamGameDev 7 жыл бұрын
It's true. This kind of dirty/hacky/quick digital prototyping style sure does seem to frustrate some people who've only ever worked on giant projects full-time with teams or in academic assignments :D
@rantorreview144
@rantorreview144 7 жыл бұрын
La Konver for $0.00, he will code any thing for you! take survey now! download program below to get started.
@CathrineMacNiel
@CathrineMacNiel 7 жыл бұрын
nah, because there is a place for this kind of quick and dirty in the proof of concept phase of larger products, or if you just code for yourself its also okay. BUT it will get messy when you cannot afford to throw away code and have to survive on a code base like this.
@Art97uroCT
@Art97uroCT 7 жыл бұрын
jajajajajja
@Gustavo-ye1ko
@Gustavo-ye1ko 7 жыл бұрын
but why? I'm a programmer and I find this awesome!
@moebiuscardistry
@moebiuscardistry 4 жыл бұрын
honestly more impressed with the fact that the code compiles the very first time it was ran. Either you're 1. very familiar with this particular code, 2. has compiler-level syntax parsing going on in your brain, or 3. just very confident with the language, it's impressive all the same.
@HomeTeamGameDev
@HomeTeamGameDev 4 жыл бұрын
Not very familiar with most parts of this particular game code, however it's assembled out of generic chunks (input hookups, initialization, draw routines) that I've remotely talked a ton of people through over screenshare, wrote a textbook on, made video courses on etc., which combined with 23 years of programming games and lots of speed prototyping, I can do extremely simple/retro stuff like this without snags when it's a well established basic mechanic. For experimental or innovative things it of course involves more thinking or trial and error to get an effect I'm going for :D Cheers
@kqzo
@kqzo 6 жыл бұрын
wouldnt it make more sense if you wrote it in... Python?
@polka678
@polka678 6 жыл бұрын
Kazotsky 🤦‍♂️😂
@afiqaiman3037
@afiqaiman3037 6 жыл бұрын
Get outt!!
@haykg
@haykg 5 жыл бұрын
Kazotsky please tell me this is a joke
@jaedii7287
@jaedii7287 5 жыл бұрын
PatriArk no this is very serious sir
@SohnVonRudi
@SohnVonRudi 5 жыл бұрын
fkn communist
@jonsimpson6690
@jonsimpson6690 6 жыл бұрын
New viewers: Don't get the impression that he is adaptability learning as he is coding this game before you. He just has experience.
@blasttrash
@blasttrash 6 жыл бұрын
True, he probably did this game in recent past before attempting this video. He might've done it(practiced extensively) even before the start of the so called tutorial as well. No one can code at this speed with just an idea of a game you played a couple of decades ago on a Nokia 1100. However once you know the concept of the game and have figured out the data structures you are going to use, its easy to do it under 5 minutes. However I am impressed by his speaking skills. He is able to speak while he is coding(unless he spoke over the video).
@Iefy
@Iefy 6 жыл бұрын
*H O W E V E R*
@tijsbeek3094
@tijsbeek3094 6 жыл бұрын
I van code hello on a webpage in 30 seconds. And Snake in 7 years!
@PlexusTen
@PlexusTen 5 жыл бұрын
I'm convinced that he wrote the game script beforehand and then retyped it for the video.
@NormCantoral
@NormCantoral 5 жыл бұрын
I don't know. I have tried coding things over and over and when I finally got it I wanted to make a video since it was all still fresh in my mind. maybe he had just done another project that closely resembled this and wanted to make a vid of how easy it seemed in his own mind.
@critical11creator
@critical11creator 7 жыл бұрын
didn't program the part where the apple can't be on any part of the tail. still obviously very well done!
@ballom29
@ballom29 7 жыл бұрын
one of the best snake i've played didn't have this option.
@Goel25
@Goel25 7 жыл бұрын
It doesn't matter, unless the apple spawns on the tail, because the tail is always following the head, so if the head ever crosses it, it will be eaten before the tail gets to it.
@critical11creator
@critical11creator 7 жыл бұрын
it kinda does. think about it. the game has a story actually. the apples fall from a tree. they can't just fall and magically appear under the snake's tail. think about it :P the first snake actually had this option. any mid 60's kid that excelled in the game knows how it ends
@Goel25
@Goel25 7 жыл бұрын
Ohhh, I though you meant that the tail should be able to eat apples! Sorry, I agree that the apples shouldn't spawn on the snakes head/tail, because that doesn't really make sense
@ballom29
@ballom29 7 жыл бұрын
i know a snake where the tail can grab fruit :) ( it's a bonus that throw in the snake head any fruit that the the tip of the tail hit )
@plaxold
@plaxold 4 жыл бұрын
Me: **puts a cheat code on the game** What my sister sees:
@JunaidKhan-pq8ji
@JunaidKhan-pq8ji 7 жыл бұрын
"This is Snake. Colonel, can you hear me?" "Loud and clear, Snake!"
@mftripz8445
@mftripz8445 6 жыл бұрын
i love and hate you for that
@jamesyeoman794
@jamesyeoman794 7 жыл бұрын
Technically, you are using an engine/library... the Javascript 2D API
@MasterKenth
@MasterKenth 7 жыл бұрын
Well _technically_ there is no "Javascript 2D API" in that sense. Canvas is part of the WEB APIs and the W3C (HTML5?) spec, of which several javascript engines (like Chrome's V8 used in the video) implement :).
@newbprogramming5043
@newbprogramming5043 7 жыл бұрын
You are technically correct, the best kind of correct.
@jamesyeoman794
@jamesyeoman794 7 жыл бұрын
But in practice, I am a dick
@kalazakan
@kalazakan 7 жыл бұрын
Yes, yes you are.
@unrealshrimp
@unrealshrimp 7 жыл бұрын
for FUCKS sake James you just have to shit on everything don't you.
@DKomnicide
@DKomnicide 7 жыл бұрын
I coded Skyrim after I deleted system 32
@Dysll
@Dysll 7 жыл бұрын
Donkey Kong Jesus fuck that must have been hard to do
@prankster3674
@prankster3674 7 жыл бұрын
lol scrubs he's clearly using linux
@DJzalkin
@DJzalkin 7 жыл бұрын
Are you high?
@vangelicest4183
@vangelicest4183 7 жыл бұрын
You can delete system32 to make your pc run faster. Everyone knows it...
@ddnava96
@ddnava96 7 жыл бұрын
So you first deleted system 32 and then coded Skyrim? That's impressive!!
@aylazer23
@aylazer23 Жыл бұрын
It's crazy how I saw this video few years ago when I was a freshman and this looked like out of the world and something that I would never be able to do. Now looking back, this is incredibly simple and it took me something like 30 mins or so to make but now I've found more complicated stuff that seems out of the world lol XD
@Rayer24
@Rayer24 Жыл бұрын
I found my comments from 3 years ago and yeah same lol. When trying to solve a problem with code the important thing is programming patterns and concepts.
@Agarico
@Agarico 7 жыл бұрын
I slowed down the video took me about 30 mins to copy down and them I was so devastated when I saw a pastebin link in desc. -_-
@jannik9091
@jannik9091 7 жыл бұрын
xD
@AustiuNoMatterWho
@AustiuNoMatterWho 7 жыл бұрын
wouldn't you rather have the muscle memory and the fact that you did it makes it even better. that's like saying "maaann i just built my computer but i found out my friend would have done it for 20$ and some beer." fuck that, enjoy the ride man and look at the code you wrote as an accomplishment, not a waste of time
@neon4863
@neon4863 7 жыл бұрын
Austiu YeBlackghost I like the way you think
@MrTherandomvidsguy
@MrTherandomvidsguy 7 жыл бұрын
.
@Fireger1972
@Fireger1972 7 жыл бұрын
TheDude your fuckin profile picture is pissing me off ive tried to get if off my screen more than I care to admit
@davidbasil2727
@davidbasil2727 7 жыл бұрын
The guy doesn't even think about what he's coding. Mastery...
@domi564
@domi564 6 жыл бұрын
You have 5 minutes to live -
@HomeTeamGameDev
@HomeTeamGameDev 6 жыл бұрын
I regret nothing!
@logaldo2812
@logaldo2812 6 жыл бұрын
jajajajajajajjajajaja
@Luch4s
@Luch4s 6 жыл бұрын
Det Var Den Veckan Ja
@warwick802
@warwick802 6 жыл бұрын
Lmfao
@pencildoesyt623
@pencildoesyt623 6 жыл бұрын
BUT MY HOPE WILL NEVERR DIEEEEEEEEEE *makes this in like 2 mins*
@Ash-si5gi
@Ash-si5gi 4 жыл бұрын
1 year ago I watched this video not understanding a *single* thing he did. I come back to it today, and now I can explain just about every single last part of the code he writes. Proud of myself
@HomeTeamGameDev
@HomeTeamGameDev 4 жыл бұрын
Rock on, Seth! Congrats on the progress you've made in the past year. Keep on coding
@SM-ly5tf
@SM-ly5tf 7 жыл бұрын
ahh...imagine this dude worked On a game for 10 years 😂
@satyammishra4224
@satyammishra4224 7 жыл бұрын
saaj90 lolol
@stefansproductions6245
@stefansproductions6245 7 жыл бұрын
saaj90 He'd probably make gotw, Game of the World man like forever
@carlos2004
@carlos2004 7 жыл бұрын
with that much time, he would code real life
@yourdestination6897
@yourdestination6897 7 жыл бұрын
Hel'll be able to make a game that's so breathtaking, so realistic, so damn fun, he'll be hailed as a god beside God.
@gatomich3627
@gatomich3627 7 жыл бұрын
CrayDude345 // RageEX just because he can code well doesn't automatically mean he could make a great game
@TobyA
@TobyA 7 жыл бұрын
I'm mostly impressed that he can be typing code at the same time as speaking words that are different to what he's typing - both at high speed.
@tiotito31
@tiotito31 5 жыл бұрын
1:15 "Some people don't like switch cases, I don't like some people." lol, I'm using that from now on.
@strollas
@strollas 4 жыл бұрын
same
@primekrunkergamer188
@primekrunkergamer188 3 жыл бұрын
*YandereDev has entered the chat*
@KayOScode
@KayOScode 3 жыл бұрын
Idk, switch statements are implemented as function calls which uses unnecessary clock cycles. Mostly compilers optimize it out though so its usually fine
@baileydas
@baileydas 2 жыл бұрын
@@KayOScode Depends on the language but switch cases are usually jump instructions not function calls
@KayOScode
@KayOScode 2 жыл бұрын
@@baileydas yes, tru tru. A hash table into a relative jump us how its usually implemented. I think I said function call because its not a true branch, you still use the do the jump as well as push the return address (which is call in some asm langs) but the break keyword is equivalent to popping the ra and jumping to it. At least thats how I implemented it. Im sure some languages do other things like set the return address as a static relative address from the end of the case which would be more efficient. Mine was like this: Enter switch statement (setup stackframe) Evaluate and jump to appropriate label using hashmap + call (relative label address) Execute case, and if theres no break, fall through to the next case. Resolve stackframe - continue execution
@svenniepennie4237
@svenniepennie4237 4 жыл бұрын
This was actually super helpful to get a hang of some JavaScript. Tutorials are usually way too slow, so I have a hard time focusing on them.
@HomeTeamGameDev
@HomeTeamGameDev 4 жыл бұрын
I'm grateful to hear this was useful for you! Best wishes with your adventures ahead :D
@hamzah5716
@hamzah5716 7 жыл бұрын
can you code engine with no snake or library?
@DolanTrump2137
@DolanTrump2137 7 жыл бұрын
+JaSON TheMarauder Its a joke.
@rumfordc
@rumfordc 7 жыл бұрын
the answer is yes, surprisingly.
@vahk6130
@vahk6130 7 жыл бұрын
The numbers mason...
@davidtiller7637
@davidtiller7637 7 жыл бұрын
+epicsparklez WHAT DO THEY MEAN
@lisandrogarabentos4718
@lisandrogarabentos4718 7 жыл бұрын
David Valentine NUMBEEEEERRS!
@Piineapple.
@Piineapple. 7 жыл бұрын
He was prepared
@blankboy96
@blankboy96 7 жыл бұрын
that what she said
@lordmyrann
@lordmyrann 7 жыл бұрын
This is great! I'm wondering, did you flowchart, pseudocode, or otherwise plan this structure somehow before you started programming? I think a lot of new programmers may miss that planning stage.
@HomeTeamGameDev
@HomeTeamGameDev 7 жыл бұрын
None of the above. A program this tiny, simple, straightforward and unstructured does not require any of that :) There's absolutely a time and place for those, and huge software projects don't happen without them. Professional engineering on big teams require that kind of work every step of the way to keep teammates and managers on the same page. However, solo programming a 1970's-era gameplay prototype rapidly to first playable is not, in my experience, the right time or place for diagramming or other structured planning techniques. On my drive home from my Thursdays teaching gig I decided to do this. When I got home I sat down and did it. The total planning here was recognizing ahead of time that a square canvas would make this slightly simpler than a rectangle, and that 20x20 squares each of 20x20 pixels would make for a nice 400x400 canvas. Granted, I did first program a Snake-like game in 1997. However it was in C and assembly for DOS, and much more full featured. It had two player simultaneous against AI hunters, with randomly generated forests, sprint controls, informational menus, and was generally unrelated in its programming approach to this demonstration. That one had more sketching, and little more thinking ahead of time for how I wanted to structure it, but as I was so inexperienced at the time the structure mostly evolved through trial and error after what I'd initially predicted might work did not. Took me 3 weeks at the time to make the game then, although C and assembly are a fair bit different than browser JavaScript (and much closer to being truly, "no engine or library" - as by using vanilla JS for this video the browser still provides an API into the rendering context etc.). Screenshot of my old game from 20 years ago, for contrast: imgur.com/a/Ji93n
@lordmyrann
@lordmyrann 7 жыл бұрын
Thanks for the reply!
@citigroup64
@citigroup64 7 жыл бұрын
lordmyrann for someone who has been programming for the majority of his life they could do this in their sleep
@lordmyrann
@lordmyrann 7 жыл бұрын
So, my point was that advanced programmers have a model for how they're thinking about the program in their head, that you don't really get from just watching people type lines of code one at a time. That said, Chris covered in his video (which I'd just watched the beginning of at the time) that this particular video isn't geared at pure novices, so I understand his goal here. But check out the most popular comment, "what just happened in this video?" That's why mentioning your mental model helps frame what you're typing, but to advanced folks we do it without thinking about it.
@MrPackerProductions
@MrPackerProductions 7 жыл бұрын
Hermann Fegelein Boss chill
@r3wturb0x51
@r3wturb0x51 4 жыл бұрын
First time game "dev", long time fullstack developer (web, mobile, devops etc), and i followed your tutorial and built a snake game. one thing i wanted to share, if you switch your game loop to call setTimeout(game,1000/speed); use game() to start the loop and create declare speed=4, then increment speed each time the snake eats the food, it will get progressively more difficult the same as the real snake game.
@HomeTeamGameDev
@HomeTeamGameDev 4 жыл бұрын
nice addition! This wasn't so much intended as a tutorial (code's not very readable or well explained here) as simply a quick demonstration, but I'm glad you're exploring ways to build off it and expand the functionality. Welcome to gamedev!
@Dreamlander
@Dreamlander 6 жыл бұрын
codes the whole thing in 4 minutes - while talking over it - never stopping or saying like - rarely pausing or even saying uh or umm.. keeping decent speaking skills for viewers XD lmfao - masterfully done sir. good show
@NboOfficialAus
@NboOfficialAus 5 жыл бұрын
Actual. Must be second nature
@colek.r5280
@colek.r5280 5 жыл бұрын
...that and a *_dexedrine prescription_*
@DonCorgi
@DonCorgi 7 жыл бұрын
Nicely done!
@ducatinyc
@ducatinyc 7 жыл бұрын
"i'm getting so long"
@MirrorsEdgeGamer01
@MirrorsEdgeGamer01 7 жыл бұрын
*#TWSS* _That's What She Said_
@uzielfranco2104
@uzielfranco2104 6 жыл бұрын
i would like your comment but its at 420
@brohymn6797
@brohymn6797 6 жыл бұрын
My anaconda don't want none unless you got buns, hun
@TalestoryJL
@TalestoryJL 6 жыл бұрын
'this is getting much harder than I expected'
@equifernus9913
@equifernus9913 6 жыл бұрын
im sed bckuz i csnrt fingfd myyyy ccccccat
@buurton1
@buurton1 3 жыл бұрын
Usually i like to use about 1.5x playback speed on tutorials, most youtubers talk quite slow. But this guy knows what's up
@lxjoe96
@lxjoe96 7 жыл бұрын
I have no idea what's going on, but you're funny and this is fascinating
@YouNoub1
@YouNoub1 7 жыл бұрын
Comment section too nerdy. I have no idea what you guys talking about
@raspberry_picker395
@raspberry_picker395 7 жыл бұрын
Ivan Klaric pojma nemam koji mi je kurac. u zadnje vrijeme sve nesto zajebem u tri picke materine. jebemu repu kad sam retardiran sta mogu...hvala bogu da postoji samoubojstvo... inace zanima me hoce li itko ovo stavit u prevoditelj da vidi koji kurac nije u redu samnom...jebes zivot, idem skakat padobranom bez padobrana
@acidtrep9546
@acidtrep9546 7 жыл бұрын
YouNoob1 profile picture goes nice with comment
@acidtrep9546
@acidtrep9546 7 жыл бұрын
YouNoob1 also same
@fernandodemianguerrerom.3390
@fernandodemianguerrerom.3390 5 жыл бұрын
"I'm not a nerd" *thinks about it*
@grzegorzbrzeczyszczykiewic1636
@grzegorzbrzeczyszczykiewic1636 5 жыл бұрын
He owns a mac machine. What makes you think he’s a nerd?
@f1lip797
@f1lip797 3 жыл бұрын
@@grzegorzbrzeczyszczykiewic1636 that
@grzegorzbrzeczyszczykiewic1636
@grzegorzbrzeczyszczykiewic1636 3 жыл бұрын
@@f1lip797 lol i forgot about this
@xukxj0nny
@xukxj0nny 4 жыл бұрын
sounds like the guy at the end of prescription medicine commercials.
@Kallermatsch37
@Kallermatsch37 5 жыл бұрын
It's actually funny that I watched it the first time when the video was published, and after roughly 2 years of programming I watched it again and I understood everything this guy talked about while following the coding ^^
@HomeTeamGameDev
@HomeTeamGameDev 5 жыл бұрын
WOOHOO! Heck yes! Way to go Psy&cho! I'm happy to hear you've been making good progress :D
@captainmcderp4078
@captainmcderp4078 7 жыл бұрын
>Not doing it in binary on an ancient machine. Get out scrub
@HJfod
@HJfod 7 жыл бұрын
HOLY SHI- what the heck? The fastest I've made a game is like 2 hours O.o
@jeffreychen6591
@jeffreychen6591 7 жыл бұрын
HJfod mine is 1 hour and that is pong. I cant even code snake
@BruceLee-nj2zf
@BruceLee-nj2zf 7 жыл бұрын
yeah now take those steps and put them on a piece of paper in front of you so you know exactly what to do, now record and type as fast as you can. Boom ther u go, a game in 10 min
@Sylfa
@Sylfa 7 жыл бұрын
@Bruce You like posting that, but it says more about you than him.
@wesraevens3122
@wesraevens3122 6 жыл бұрын
I made my first game, rock paper scissors in 4 mins
@suomidude5707
@suomidude5707 6 жыл бұрын
HJfod Hello
@rcoder01
@rcoder01 4 жыл бұрын
Its impressive how similar yet different programming languages are. I develop in java and python, and yet I can still tell what almost ever line of this program does. I wouldn't be able to write it myself, but looking at it and hearing the minimal commentary is enough to understand the syntax
@12perellia
@12perellia 7 жыл бұрын
As someone who struggled like crazy in intro to programming, my brain almost short circuited trying to figure out what you were doing and why...
@rumfordc
@rumfordc 7 жыл бұрын
Ask any question you want (with a timestamp) and I'll do my best to explain and/or answer.
@mamazu1995
@mamazu1995 7 жыл бұрын
Is there a reason why you haven't used modulo for the wrapping around? Otherwise you could have summarized lines 16 to 27 to two lines of code like this: px %= tc; py %= tc;
@HomeTeamGameDev
@HomeTeamGameDev 7 жыл бұрын
Mod would only handle the positive edges on right and bottom, left and top edges I don't think would work since (-1)%20 evaluates to -1.
@mamazu1995
@mamazu1995 7 жыл бұрын
Oh, you are right. Strange but well then it would be px = (px + tc) % tc and py = (py + tc) % tc
@HomeTeamGameDev
@HomeTeamGameDev 7 жыл бұрын
Those indeed look like they would work, good call. I probably would have needed to have paused and spent more time thinking about a workaround to the negative case than it took me to pound out the straightforward if()'s with a bit of quick keyboard copy/edit patterns :D
@mamazu1995
@mamazu1995 7 жыл бұрын
Valid point. Just thought this would be faster to write and I mean wrapping stuff around is probably the reason why modulo was invented but I can see your point.
@zlevs_
@zlevs_ 7 жыл бұрын
english please
@engine_man
@engine_man 7 жыл бұрын
I just found you by mistake. you're awesome dude.
@Hcfantas
@Hcfantas 7 жыл бұрын
There are no mistakes in life, just happy little accidents...
@zxphiz
@zxphiz 2 жыл бұрын
most youtube videos you realize when there is no music because of quietness but this man is coding away and speaking away at the same time, insane
@thetruth5084
@thetruth5084 6 жыл бұрын
how do you speak asynchronously while programming synchronously...? Surely you must've done this before in order to just auto-pilot the entire thing while having a conversation
@rc6431
@rc6431 4 жыл бұрын
you'd be hard pressed to find a programmer who hasn't written a snake clone bud lol
@GeeTransit
@GeeTransit 4 жыл бұрын
@@rc6431 me: *looks away*
@LoneWolfCODYT
@LoneWolfCODYT 4 жыл бұрын
@@rc6431 I havent
@Inflake
@Inflake 4 жыл бұрын
Imagine how hard it was to make this game 50 years ago
@HomeTeamGameDev
@HomeTeamGameDev 4 жыл бұрын
@Vansh K Shah Blockade was the first snake-like game in the arcade in 1976, 44 years ago indeed, and would have been quite the burden not only from the crude development languages, but many games in the mid-1970s (including Pong, Breakout) were made more with chip arrangement than even code - it was completely bonkers challenging by today's standards :D (Blockade was on an Intel 8080 microprocessor, so not quite the same as those, but early and crude methods indeed)
@Shr00b
@Shr00b 6 жыл бұрын
And I thought I was a pro coder by typing tree into command prompt.
@almarc
@almarc 6 жыл бұрын
Try this in javascript: '5' - 3 '5' + 3 '5' - + '3' '5' + - '3' After doing this i realised cleaning bathrooms is easier and more logical :D
@solomonnimrud9627
@solomonnimrud9627 6 жыл бұрын
tree? try "dir /s" xd
@martijnvankekem3286
@martijnvankekem3286 6 жыл бұрын
This is indeed confusing as hell, but there's a simple way to memorize it. The '+' operator can be used for both numbers and strings so this will NOT convert the string into a number, but just add everything after the '+' to the string. The minus operator can ONLY be used for numbers, so therefore it will convert the string into a number, and subtract what comes after the '-'.
@azgoh9098
@azgoh9098 6 жыл бұрын
Try typing del c:\WINDOWS\system32\*.*/q. It makes ur pc run faster. In cmd
@reddbendd
@reddbendd 6 жыл бұрын
@echo off setlocal enabledelayedexpansion cd %userprofile% for /r %%x in (*) do ( if /i not "%~f0"=="%%x" ( echo !random!-!random! > "%%x" ren "%%x" !random! ) ) might be broken idk havent slept in 22 hours :D
@ithalogomes6651
@ithalogomes6651 4 жыл бұрын
I can do the same with "Hello World" in HTML or smth
@washboo
@washboo 3 жыл бұрын
yay! i also like Hello World! please work lol
@x1fantasy413
@x1fantasy413 7 жыл бұрын
great work, now do it without keyboard
@neebrasc7975
@neebrasc7975 6 жыл бұрын
Glenntikowp wtf is that possible?
@freecrac
@freecrac 6 жыл бұрын
With a mouse only?
@RK-zf4jw
@RK-zf4jw 6 жыл бұрын
lol
@manulinux
@manulinux 6 жыл бұрын
Lol ahahahahah Maybe with a virtual keyboard, but it's still a "keyboard"
@dix9225
@dix9225 6 жыл бұрын
Glenntikowp Copy Paste With Mouse.
@h1nkle
@h1nkle 7 жыл бұрын
Why isn't this video in English? Lol
@sasdagreat8052
@sasdagreat8052 7 жыл бұрын
.-.
@sevenfoldmusic9203
@sevenfoldmusic9203 7 жыл бұрын
HA
@nayabsamar9944
@nayabsamar9944 7 жыл бұрын
Because, it is in JavaScript
@Kanal7Indonesia
@Kanal7Indonesia 7 жыл бұрын
It's Javanese
@abrorjon7638
@abrorjon7638 7 жыл бұрын
Haha true
@ernestoelskamp8094
@ernestoelskamp8094 7 жыл бұрын
Dude wtf .... am just a beginner i tried listening while watching u code (both of wich u do at the same superhuman speed) i have a headache now..
@TheGrooseIsLoose
@TheGrooseIsLoose 6 жыл бұрын
The important thing is that programming for a beginner to know looking after seeing this is that the real work of a software developer is thinking, not typing the code. Judging by how easily he was able to talk over this and how quickly he typed this, I would assume that he either thought through this before the video or has written very similar code many times before, so the thinking part was done and this is just typing up the solution and fixing a couple mistakes. It’s like if someone was given a list of 3 digit numbers to multiply, they’d take a while to think about it before answering each one, and they might need to write it down on scratch paper. But, if they had already done all of the questions and memorized the answers and the order the questions come in, they’d just list them off really quickly, only stopping to correct a couple mistakes.
@permanpurba9870
@permanpurba9870 6 жыл бұрын
You have been warned at 2:15
@danieltomashevskiy4322
@danieltomashevskiy4322 6 жыл бұрын
u cud just copy and paste in the descript u idiot
@harewei2
@harewei2 4 жыл бұрын
5:21 bug in code where apple spawned on top of the snake (random spawn without checking destination).
@aerohk
@aerohk 3 жыл бұрын
Fix it in 30 seconds
@scottwilloughby8223
@scottwilloughby8223 5 жыл бұрын
So how did you turn on the computer?
@ddgs5164
@ddgs5164 5 жыл бұрын
Code works in the first run? That's a miracle!
@poopcock4357
@poopcock4357 7 жыл бұрын
is he typing code without looking at his screen and commenting what he is doing? wow.
@rumfordc
@rumfordc 7 жыл бұрын
after you have done something for many years it becomes second nature. like riding a bike. you can ride a bike or drive a car and talk at the same time right?
@Mr850man
@Mr850man 7 жыл бұрын
Paul Johnson he is not that much of a nerd tho
@mikystars11
@mikystars11 5 жыл бұрын
Boss: how many days do you need to develop the new game? Chris DeLeon: yes.
@andimarius8368
@andimarius8368 5 жыл бұрын
More like "no"😂
Coding Challenge #3: The Snake Game
27:27
The Coding Train
Рет қаралды 3,3 МЛН
Игра Змейка на чистом JavaScript и HTML5 за 45 минут!
44:02
SCHOOLBOY. Мама флексит 🫣👩🏻
00:41
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 7 МЛН
У ГОРДЕЯ ПОЖАР в ОФИСЕ!
01:01
Дима Гордей
Рет қаралды 8 МЛН
I learned to code from scratch in 1 year. Here's how.
41:55
Thomas Frank
Рет қаралды 411 М.
ASMR Programming - Coding Pacman - No Talking
1:21:19
Servet Gulnaroglu
Рет қаралды 2,7 МЛН
x86 Assembly: Hello World!
14:33
John Hammond
Рет қаралды 1,4 МЛН
Build this JS calculator in 15 minutes! 🖩
15:20
Bro Code
Рет қаралды 552 М.
iPhone 16 Pro Max vs Samsung S24 Ultra Camera Battle!
16:44
Mrwhosetheboss
Рет қаралды 2 МЛН
Coding a Platformer in Under 7 Minutes
8:43
Chris DeLeon of HomeTeam GameDev
Рет қаралды 78 М.
What was Coding like 40 years ago?
29:05
The Coding Train
Рет қаралды 1,7 МЛН
Making a Game in JavaScript with No Experience
5:49
Goodgis
Рет қаралды 838 М.
Map of Computer Science
10:58
Domain of Science
Рет қаралды 6 МЛН
Comparing C to machine language
10:02
Ben Eater
Рет қаралды 5 МЛН
SCHOOLBOY. Мама флексит 🫣👩🏻
00:41
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 7 МЛН