Code Candy Crush in 85 Seconds - Full JavaScript Course π¬
2021 Β· Mobile Game Β· Mobile Game
Code Candy Crush in 85 Seconds - Full JavaScript Course π¬
Code Candy Crush in 85 Seconds - Full JavaScript Course π¬
2021
Mobile Game
Create a Candy Crush game clone in 85 seconds with JavaScript in this complete programming tutorial for beginners. π¬π«π‘π Code: https://replit.com/@zizyo/Candy-Crush Thanks to Replit for sponsoring this video! You can find their YouTube channel here: https://www.youtube.com/c/replityt Inspired by this other *extremely* long course from Ania KubΓ³w: https://www.youtube.com/watch?v=XD5sZWxwJUk 0:00 Introduction 0:06 Sponsor message 0:10 Setting up development environment 0:13 HTML and CSS 0:18 Accessing HTML elements and initial game setup 0:25 Creating helper function to get random candy 0:28 Setup and draw initial game environment 0:40 Demo current game state 0:44 Creating additional variables 0:47 Adding event listeners to candy elements 0:55 Defining what happens when candy is first dragged 0:58 Starting dragDrop() function 1:00 Switch candy positions 1:04 Check for candy matches 1:09 Increment score and replace matched candy 1:17 Game testing 1:21 Conclusion