React JS Snake Game | React Interview Questions | Frontend Machine Coding

Поделиться
HTML-код
  • Опубликовано: 8 ноя 2024
  • Let's build react js snake game frequently asked in interviews.
    react interview questions
    react js
    react hindi
    snake game javascript
    javaScript
    interview questions react js
    react js interivew questions
    react interview questions
    snake react js
    snake game react js
    snake game react js hindi
    snake game react js beginner
    frontend interview questions
    snake game react js
    how to create snake game in react js
    interview machine coding round
    frontend interview questions
    react js
    javascript
    grid
    hindi react js
    snake game in react js
    snake game in hindi
    Snake game in react js
    react js snake game
    react interview questions
    machine coding round
    Frontend interview questions

Комментарии • 23

  • @FrontendAman
    @FrontendAman  3 месяца назад +1

    Code :- codesandbox.io/p/sandbox/snake-game-pgyddy?file=%2Fsrc%2FComponents%2FSnakeGame.jsx

  • @simran19
    @simran19 3 месяца назад +1

    You are really amazing. Please try to upload atleast 2 videos daily. thank you so much.

  • @sumanthprabhu11
    @sumanthprabhu11 3 месяца назад +2

    Nice explanation, bro 👍
    Please keep the machine coding videos coming.
    It's helping a lot, and your explanations are good.

  • @rahulbhoir1820
    @rahulbhoir1820 3 месяца назад +1

    Nice explanation understood in one go

  • @anujbalmiki170
    @anujbalmiki170 3 месяца назад

    Sir you explains the concepts really great ☺

  • @prathameshdichwalkar2477
    @prathameshdichwalkar2477 3 месяца назад +1

    thanks bro keep making such videos i have interview next month

  • @prashlovessamosa
    @prashlovessamosa 3 месяца назад

    Great

  • @blackopss017
    @blackopss017 Месяц назад

    Finished ✅✅🙏🏻

  • @hamudxd9497
    @hamudxd9497 3 месяца назад

    TOP CLASS

  • @preetambhardwaj8086
    @preetambhardwaj8086 Месяц назад

    Hello Aman, I am facing an issue - on boundary collisions, the snake begins moving from the collision point in this direction
    (directionRef.current = [0, 1];
    return intitalSnakeBody;)
    rather than from the original reset position.
    Please Reply

    • @FrontendAman
      @FrontendAman  Месяц назад

      what are you storing in directionRef.current? is it an array ? if yes can you compare two array like this as you doing here?

  • @dipaksaha6629
    @dipaksaha6629 3 месяца назад

    awesome content... just wanted to know how to build logic in react?

    • @FrontendAman
      @FrontendAman  3 месяца назад

      build stuff. practice, practice and practice. one task for practice :- try to implement the same game without useRef. use state for direction and food

    • @dipaksaha6629
      @dipaksaha6629 3 месяца назад

      @@FrontendAman thank you so much.

  • @the_extraordinary_journe
    @the_extraordinary_journe 3 месяца назад

    bro complete web app ka tutorial bhi leyao yar chai aur code ka video dekh lena level unse acha kardo (functionality)

  • @anmolchandra8370
    @anmolchandra8370 3 месяца назад

    sir, is it for interview purpose only or I can put these ( all projects on your channel ) on my resume ? Kindly reply

    • @FrontendAman
      @FrontendAman  3 месяца назад +1

      you can add, but i'll recommend to have more solid project than this. which will take you some days to build.

  • @sanjibdera4839
    @sanjibdera4839 3 месяца назад

    Can you make a video on memory game in react (matching two same image)