ความคิดเห็น •

  • @WebDevSimplified
    @WebDevSimplified 6 ปีที่แล้ว +89

    Thanks for collaborating with me on this video! I really enjoyed working with you and making this project.

    • @zacglasgow
      @zacglasgow 6 ปีที่แล้ว +1

      Hope to see more from both of you!

    • @WebDevSimplified
      @WebDevSimplified 6 ปีที่แล้ว

      @@zacglasgow thanks. I really enjoyed working on this project as well!

    • @fujisan0388
      @fujisan0388 4 ปีที่แล้ว

      Thank you to both of you

  • @bahrawygamer3929
    @bahrawygamer3929 ปีที่แล้ว +2

    Even after 4 years there is some ppl like me who acctually learned from this video alot ty

  • @zacglasgow
    @zacglasgow 6 ปีที่แล้ว +19

    This is ULTRA quality.
    Well done.

  • @jamesaustin2039
    @jamesaustin2039 2 ปีที่แล้ว +2

    I learned a lot from this video! You do a great job explaining each step in detail without being too wordy.

  • @CCGGCCGY
    @CCGGCCGY 4 ปีที่แล้ว

    I'm very bad at Javascript. I was so happy that your video is explain very clear and detail that make me so easy to understand. if you have Javascript basic tutorial, I can guess that many people will want to join your course, right now I try my best to understand more Javascript to watch your other video. Your video really nice and make with heart.

  • @Teacher_Ali
    @Teacher_Ali 4 ปีที่แล้ว +1

    Just excellently and professionally done. It was like some official course video. Really high quality and lot of learning for anybody learning JS. Thanks for this amazing video. Hope to see many more from you.

  • @stidd1
    @stidd1 6 ปีที่แล้ว +14

    It's nice to see vanilla js tutorials. 👍

    • @shadsluiter
      @shadsluiter 5 ปีที่แล้ว +3

      I was thinking that a lot of code would be easier to write and read in jQuery. Too bad people are hating on it these days.

    • @xMoSicc
      @xMoSicc 4 ปีที่แล้ว

      @@shadsluiter Same thoughts.

  • @DanijelLapadatovic
    @DanijelLapadatovic 2 ปีที่แล้ว

    Thank you for this video! I learned a lot about classes from here! And i like the way how easily u explain the code!

  • @andersonhall08
    @andersonhall08 6 ปีที่แล้ว +6

    Great videos! I would like to see more of these tutorials.

    • @PortEXE
      @PortEXE 6 ปีที่แล้ว

      Then you've come to the right place! I produce at least 1 video per week just like this one!

  • @wasilwasolomon6323
    @wasilwasolomon6323 4 ปีที่แล้ว +1

    wow i do appreciate you for this tutorial! i really liked the presentation and I managed to have it count.
    I hope this can help me to come out with two players as well

  • @remibardon7843
    @remibardon7843 6 ปีที่แล้ว +2

    Thank you for this video, it is really complete and the final product is really great 👍🏻 You both did a great job 👌🏻

  • @elcikay
    @elcikay 2 ปีที่แล้ว +1

    Hi. Thanks for your lesson. I was coding along with the video and I think the shuffleCards function did not implement the said algorithm correctly, because you did not store the values with a temporary variable when you swap. As a result, after the shuffle, many of the cards may have the same order value. Hence, they are arranged based on the order with which they were written in "index.html", which means they are not really shuffled. I logged the order values to the console and confirmed this is happening.
    (For those who wants to fix this, take note that "style.order" by default is an empty string.)

    • @444yoshitha8
      @444yoshitha8 ปีที่แล้ว

      can you pls say how can we fix it

  • @harag9
    @harag9 5 ปีที่แล้ว +1

    Just watched the CSS video and was impressed with it. Just about to start on this one (just a few minutes in) and have a quick question - Why load the script "async", Can't you just put the script element tag at the bottom of the body, that way it loads after the dom?

  • @andrewpham3933
    @andrewpham3933 3 ปีที่แล้ว

    Learned so much from this, and you explained things so well. Much thanks man!

  • @santiagoramirez5507
    @santiagoramirez5507 3 ปีที่แล้ว

    Great tutorial!! I'd like to watch more of these projects using vanilla js!! Kind Reagards from Chile!

  • @jovannovakovic5975
    @jovannovakovic5975 5 ปีที่แล้ว

    This is pure gold, man! Awesome!
    Thank you very much for this!
    We really appreciate it. We want more!
    Cheers!

    • @PortEXE
      @PortEXE 5 ปีที่แล้ว

      Working on a new video this weekend!

    • @PortEXE
      @PortEXE 5 ปีที่แล้ว

      Head over to my Twitter account to vote for the next video topic! @portexe

  • @Maxtasy888
    @Maxtasy888 6 ปีที่แล้ว +1

    Really nice tutorial, thanks for the work!

  • @nhanpham3225
    @nhanpham3225 2 ปีที่แล้ว

    Thank you so much. Learn a lot from this tutorial!

  • @RakeGrayFox
    @RakeGrayFox 3 ปีที่แล้ว

    Excellent and very brillian!
    Just one note, may the flip counter should be ++ed when the matching function is triggered :)

  • @tomo_thats_me294
    @tomo_thats_me294 4 ปีที่แล้ว +1

    Great Video thank you for your help.

  • @anru_kitakaze
    @anru_kitakaze 2 ปีที่แล้ว

    Thank you, amazing tutorial!

  • @sophiochaphidze7732
    @sophiochaphidze7732 7 หลายเดือนก่อน

    Great video! Thank you

  • @kazimrahman7499
    @kazimrahman7499 4 ปีที่แล้ว

    WoW....!!....Super Programmers with Great Hearts....Only Thanks will not be enough....But Thanks a lot...!! Looking forward for more GAMEs using OOP paradigm from you .....cause....your clear concept makes me easy to understand...thanks..!!

  • @eddiebrett
    @eddiebrett 5 ปีที่แล้ว

    couldnt really see your screen properly, new to JS so seemed very quick but it is all helping me improve so thank you for making this video.

  • @mech4byte
    @mech4byte 5 ปีที่แล้ว

    Very informative and entertaining tutorial! Thanks for the information :)

  • @sandoxs
    @sandoxs 5 ปีที่แล้ว

    Just awesome, thank you very much for that tutorial!

  • @anfilofiosantosfilho7792
    @anfilofiosantosfilho7792 3 ปีที่แล้ว

    Congratulations!!! very, very good.

  • @mikolashweiss1990
    @mikolashweiss1990 4 ปีที่แล้ว +1

    source code is wrong. "Matched Cards" isn't instantiated at the constructor level, only in the start game function and no longer works unless you also instantiate it when making the other properties of the class at the top.

  • @annabelle3977
    @annabelle3977 4 ปีที่แล้ว

    thank you very much for that tutorial!

  • @sajitheditz7530
    @sajitheditz7530 ปีที่แล้ว

    Can you upload a video connecting this game to database to display scoreboard?

  • @gumpie
    @gumpie 6 ปีที่แล้ว +7

    Small suggestion. Increase your font size when presenting. Its a little bit small. But great content otherwise

    • @_.sunnyraj._
      @_.sunnyraj._ 4 ปีที่แล้ว +1

      wear glasses

    • @botirbrian6249
      @botirbrian6249 4 ปีที่แล้ว

      Sunny Raj he is right if u watching on phone its so hard

  • @agent-33
    @agent-33 3 ปีที่แล้ว

    R.I.P. mobile users. I can't see the codes clearly. But I think I understood the logic thanks to explanations.

  • @lauraklabe2259
    @lauraklabe2259 3 ปีที่แล้ว

    hi i'm struggling with an assignment for art school. i'm trying to code a matching game. he has us using adobe dreamweaver and I have all my art in the game and I can get the pieces to change when i hover over it and click on it, but I'm having trouble getting the card to stay flipped once it's clicked on (rn a click flips it once and automatically flips back over) and flip back over

  • @filtersland7493
    @filtersland7493 ปีที่แล้ว

    Is it possible to make it multiplayer?

  • @aisjdijasijdajsd
    @aisjdijasijdajsd 4 ปีที่แล้ว +1

    Anyone knows why isit that for the function getCardType, you cant use "card.getElementById(" ")" but have to use getElementsByClassName

  • @philhamilton3946
    @philhamilton3946 4 ปีที่แล้ว

    Would like to see more

  • @johncelgrande8513
    @johncelgrande8513 2 ปีที่แล้ว

    can you teach me how to add more seconds in time? i just want to ask for my project i need it

  • @LapahnYT
    @LapahnYT 6 ปีที่แล้ว +2

    I thought asynchronous means that it doesn't load at the same time, it will just load whenever it is ready and the other threads can continue doing their thing without having to wait for the js file to be loaded.

    • @nestorcortes2257
      @nestorcortes2257 6 ปีที่แล้ว

      It does, you're correct. I think he may have the concept reversed.

    • @nestorcortes2257
      @nestorcortes2257 6 ปีที่แล้ว

      Disregard my comment. I think I have the concepts reversed.

    • @PortEXE
      @PortEXE 6 ปีที่แล้ว

      To clarify for you so that you don't get confused; asynchronicity allows more than one thing to happen at one time. Here's the kicker though. JavaScript can't actually run asynchronously. Lots of work has been done to make JavaScript appear to run asynchronously, thus giving us "async" functions.

    • @nestorcortes2257
      @nestorcortes2257 6 ปีที่แล้ว

      @@PortEXE Wow, that's interesting.

  • @pattypool6703
    @pattypool6703 4 ปีที่แล้ว

    This is great video, i have been able to create the game with my own pictures, on the computer it is working in all browers but not IE, when trying on my Iphone and ipad I see the pictures in mirror and not the background. Wehn click on picture you see other cards turn to the back side of the card and turns back again. I have downloaded edge and chrome on my iphone and have to same issue, I added the animation browser code in css. When checking the virtual iphone it is working, but not on my owns. Any ideas what I am missing? The sounds is working, except the one running out of time. The picture are dancing when matched,😫😩

  • @mohonabhattacharya4184
    @mohonabhattacharya4184 3 ปีที่แล้ว

    idk if i did something wrong but when i restart the game and match two cards the animation doesn't work anyone know why?

  • @bubsztyn
    @bubsztyn 5 ปีที่แล้ว

    U guys will be successfull, great content.

  • @Wave9B
    @Wave9B 5 ปีที่แล้ว +1

    thank u so much man

  • @teetir1981
    @teetir1981 4 ปีที่แล้ว

    Hi can you please update a scoreboard or Highscore with this...and something to save those data in Webstorage! That would be practically helpful!
    Thanks much though

  • @neelia.concept
    @neelia.concept 3 ปีที่แล้ว

    i love this! But i use Typescript and forEach does not work and i cant find something similar... if you got me any advice i would be so happy!!

    • @PortEXE
      @PortEXE 3 ปีที่แล้ว

      forEach works in TypeScript. It must be the way you’re approaching it with your Types.

  • @RaptorMediaGRP
    @RaptorMediaGRP 5 ปีที่แล้ว

    if i wanted to make a card drag and drop how would i do that? i have tried everything

  • @Marksman6
    @Marksman6 5 ปีที่แล้ว

    The matched sound is used only on the first flipped card and his clone. Please help

  • @jaydeest
    @jaydeest 5 ปีที่แล้ว

    i got a problem with the overlay not disappearing when i click.. ive rewritten the code multiple times to exact, was wondering if you knew a solution. sucks cause i went through the css one and i thought maybe i made a mistake on the css but then copied the css code from github and it still wont work.. sigh/ this looked like a fun project

    • @jaydeest
      @jaydeest 5 ปีที่แล้ว

      you think its cause im using visual code? not sure what program your using. but you seem like a good teacher so ill subscribe

    • @ChaosmaedcheJulie
      @ChaosmaedcheJulie 5 ปีที่แล้ว

      did you put loading in the JS in " " ?? That was my mistake...now it works as it should

    • @jaydeest
      @jaydeest 5 ปีที่แล้ว

      @@ChaosmaedcheJulie no unfortunately i deleted the files maybe ill try it again later and revert back to your comment thanks for the tip

  • @444yoshitha8
    @444yoshitha8 ปีที่แล้ว

    what is happening inside the shuffle card function 😑😥

  • @enriquegrageda
    @enriquegrageda 11 หลายเดือนก่อน

    Thanks man, you havent uploaded lately. Hopefully everything is ok!

  • @mostviews4171
    @mostviews4171 2 ปีที่แล้ว

    hard to read fonts are very small on mobile device

  • @yasminamran5
    @yasminamran5 4 ปีที่แล้ว

    How do you make this game a multiplayer game?

  • @muhammadnazmulhasan4613
    @muhammadnazmulhasan4613 5 ปีที่แล้ว

    Very nice tutorial. Can i make the same game with PHP Script?

  • @igalc
    @igalc 6 ปีที่แล้ว

    The " return setInterval (( ) => { .... " function, where exactly did you specify what value it is returned by the internal function?

    • @PortEXE
      @PortEXE 6 ปีที่แล้ว

      That function returns the interval itself. On each interval the function inside will be called. It's set to return the interval itself so that we can later reference the interval in the clearInterval function.

    • @igalc
      @igalc 6 ปีที่แล้ว

      @@PortEXE Um ok, so it returns 1000, correct?

    • @PortEXE
      @PortEXE 6 ปีที่แล้ว

      Nope. 1000 is the number of milliseconds between each interval. I'd highly recommend looking at the setInterval() method www.w3schools.com/jsref/met_win_setinterval.asp

  • @AhSoh7091
    @AhSoh7091 5 ปีที่แล้ว

    hi...one part i checked a long time i cannot understand how it works. Hope someone can help me up.
    In the flipCard method. what return of this.cardToCheck in first If Method... i checked it return null from startGame.
    and this code is works !!! so i confuess...
    if(this.cardToCheck){
    // check for match
    this.checkForCardMatch(card);
    } else {
    this.cardToCheck = card;
    }

  • @victorschweitz3506
    @victorschweitz3506 5 ปีที่แล้ว

    So, I have a bug. The bug is that the flip counter still increments by one when clicking on a card with the front facing me. I can't figure out how to fix this since it's clearly not what should be going on. Hopefully, someone can help me out.
    Thanks in advance!

    • @Marksman6
      @Marksman6 5 ปีที่แล้ว

      Same bug, did you resolved it ? :(

    • @xanalana6713
      @xanalana6713 4 ปีที่แล้ว

      Just below 1 line of code inside flipCard function
      flipCard(card){
      if(this.canFlipCard(card){
      // Just add this line
      if(card === this.cardToCheck) return;
      /*
      * Same code as in video
      */
      }// end of canFlipCard
      }// end of flipCard function

  • @tommyVassallo
    @tommyVassallo 4 ปีที่แล้ว +1

    Ahhh .. I used bootstrap to create the lay out of my cards and now the shuffling algorithm wont work.... head meet keyboard.

    • @PortEXE
      @PortEXE 4 ปีที่แล้ว

      Have you solved this

    • @botirbrian6249
      @botirbrian6249 4 ปีที่แล้ว

      I think u should remove bootstrap grid classes from cards and give another css class

  • @_.sunnyraj._
    @_.sunnyraj._ 4 ปีที่แล้ว

    where is the js file in description

    • @PortEXE
      @PortEXE 4 ปีที่แล้ว

      It's the GitHub link

  • @EyeIn_The_Sky
    @EyeIn_The_Sky 5 ปีที่แล้ว

    Hey Guys, the game when played on mobile devices or Ipad the cards faces are already turned/revealed

    • @michaelbabin2434
      @michaelbabin2434 4 ปีที่แล้ว

      Same isssue. Found a solution?

    • @pattypool6703
      @pattypool6703 4 ปีที่แล้ว

      Same issue on iphone and ipad, android is fine. Did you find a solution?

    • @pattypool6703
      @pattypool6703 4 ปีที่แล้ว

      @@michaelbabin2434 Same issue on iphone and ipad, android is fine. Did you find a solution?

    • @piaalvarez32
      @piaalvarez32 4 ปีที่แล้ว

      Same issue also on Safai on a desktop :(

    • @213crause
      @213crause 3 ปีที่แล้ว

      Lame

  • @yasminamran5
    @yasminamran5 4 ปีที่แล้ว

    I mean can you give a tutorial that makes it multiplayer?

    • @PortEXE
      @PortEXE 4 ปีที่แล้ว +1

      I could yes. A 2-player card game would be a fun idea, but this game is single player only. So I’d need a different card game to choose.

  • @lukaslinares7198
    @lukaslinares7198 2 ปีที่แล้ว

    @26:20-32:30 shuffle
    43:30

  • @dimpledharamshi6404
    @dimpledharamshi6404 3 ปีที่แล้ว

    Why can't he make the text clear and big ,

  • @nickslobodsky4444
    @nickslobodsky4444 5 ปีที่แล้ว

    overlays.forEach(overlay => {
    overlay.addEventListener("click", () => {
    overlay.classList.remove("visible");
    });
    });
    Doesn't work.
    I did exactly how you did.
    I'm sorry but it's a fraud.
    Also, i can't download the audio files.
    Where to get them ?

  • @shelbyposton3611
    @shelbyposton3611 2 ปีที่แล้ว

    Make game called tonk.

  • @NoName-zr8kq
    @NoName-zr8kq 4 ปีที่แล้ว

    Damn this is sooo harrd 💔💔

  • @aliasger3452
    @aliasger3452 2 ปีที่แล้ว

    Why u just use async and create some useless function 😅. U also doing these things in a simple way 😐

  • @alberts6096
    @alberts6096 6 ปีที่แล้ว +1

    youtube more views pls >: -(

    • @PortEXE
      @PortEXE 6 ปีที่แล้ว

      Haha I know right! Thanks for your support.

  • @MylesGmail
    @MylesGmail 5 ปีที่แล้ว +1

    Yes plz do more. I tweeted this.

    • @PortEXE
      @PortEXE 5 ปีที่แล้ว

      Thanks I appreciate it!