Coding Challenge #72: Frogger - Part 1

Subscribers:
1,750,000
Published on ● Video Link: https://www.youtube.com/watch?v=giXV6xErw0Y



Game:
Frogger (1981)
Duration: 23:04
92,704 views
1,405


In this multi-part challenge, I create a simplified version of the classic Atari video game Frogger in Processing (Java). Code: https://thecodingtrain.com/challenges/72-frogger

๐Ÿ’ป Github Repo: https://github.com/CodingTrain/Frogger

p5.js Web Editor Sketches:
๐Ÿ•น๏ธ Frogger: https://editor.p5js.org/codingtrain/sketches/crMMFw8vD
๐Ÿ•น๏ธ Frogger - Refactored: https://editor.p5js.org/codingtrain/sketches/C8gqXQ3Qd

Other Parts of this Challenge:
๐Ÿ“บ Part 2 - Add cars: https://youtu.be/06-ZvYmSeus
๐Ÿ“บ Part 3 - Add additional elements of Frogger: https://youtu.be/hk326ZHlENQ
๐Ÿ“บ Part 4 - Refactoring the code: https://youtu.be/c6WdJltqEtM

๐ŸŽฅ Previous video: https://youtu.be/LFU5ZlrR21E?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ŸŽฅ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

References:
๐ŸŒ Frogger on Wikipedia: https://en.wikipedia.org/wiki/Frogger

Videos:
๐ŸŽฅ Video of the Gameplay: https://youtu.be/l9eTOaNFwKQ
๐ŸŽฅ Video Games track: https://thecodingtrain.com/tracks/games
๐Ÿ”ด Coding Train Live 96: https://youtu.be/7BdfPG3peP4?t=1547s

Related Coding Challenges:
๐Ÿš‚ #3 The Snake Game: https://youtu.be/AaGK-fj-BAM
๐Ÿš‚ #46 Asteroids: https://youtu.be/hacZU523FyM
๐Ÿš‚ #67 Pong!: https://youtu.be/IIrC5Qcb2G4
๐Ÿš‚ #71 Minesweeper: https://youtu.be/LFU5ZlrR21E
๐Ÿš‚ #91 Snakes & Ladders: https://youtu.be/JrRO3OnWs5s
๐Ÿš‚ #115 Snake Game Redux: https://youtu.be/OMoVcohRgZA

Timestamps:
0:00 Introducing today's topic: the classic arcade game Frogger
1:43 What do we need to program Frogger?
4:07 Make a Rectangle class
5:36 Write a function that tests whether two rectangles are intersecting
9:34 Use inheritance to make a frog object that extends the Rectangle class
11:29 Use the "super" key word to initialize the inherited values
15:54 Write a function to move the frog
22:41 Conclusion and next steps

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

๐Ÿš‚ Website: http://thecodingtrain.com/
๐Ÿ‘พ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
๐Ÿšฉ Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
๐Ÿ’ก GitHub: https://github.com/CodingTrain
๐Ÿ’ฌ Discord: https://thecodingtrain.com/discord
๐Ÿ’– Membership: http://youtube.com/thecodingtrain/join
๐Ÿ›’ Store: https://standard.tv/codingtrain
๐Ÿ–‹๏ธ Twitter: https://twitter.com/thecodingtrain
๐Ÿ“ธ Instagram: https://www.instagram.com/the.coding.train/

๐ŸŽฅ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ŸŽฅ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

๐Ÿ”— p5.js: https://p5js.org
๐Ÿ”— p5.js Web Editor: https://editor.p5js.org/
๐Ÿ”— Processing: https://processing.org

๐Ÿ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new

#gamemechanics #froggeratari #inheritance #processing




Other Videos By The Coding Train


2017-07-0310.7: Neural Networks: Matrix Math Part 2 - The Nature of Code
2017-07-0210.6: Neural Networks: Matrix Math Part 1 - The Nature of Code
2017-06-3010.5: Neural Networks: Multilayer Perceptron Part 2 - The Nature of Code
2017-06-2710.4: Neural Networks: Multilayer Perceptron Part 1 - The Nature of Code
2017-06-2610.1: Introduction to Neural Networks - The Nature of Code
2017-06-24Coding Train Live 98: Starting Series on Neural Networks
2017-06-20Coding Challenge #72: Frogger Refactoring
2017-06-1910.3: Neural Networks: Perceptron Part 2 - The Nature of Code
2017-06-16Coding Challenge #72: Frogger - Part 3
2017-06-15Coding Challenge #72: Frogger - Part 2
2017-06-14Coding Challenge #72: Frogger - Part 1
2017-06-13Live Stream #97: Perceptron Follow-up and Frogger Refactoring
2017-06-09Live Stream #96: Frogger
2017-06-0810.2: Neural Networks: Perceptron Part 1 - The Nature of Code
2017-06-053.5: Mathematics of Gradient Descent - Intelligence and Learning
2017-06-03Coding Train Live 95: End of Session 3 + Start of Session 4 of "Intelligence and Learning"
2017-05-313.4: Linear Regression with Gradient Descent - Intelligence and Learning
2017-05-303.3: Linear Regression with Ordinary Least Squares Part 2 - Intelligence and Learning
2017-05-293.2: Linear Regression with Ordinary Least Squares Part 1 - Intelligence and Learning
2017-05-27Coding Train Live 94: Session 3 of โ€œIntelligence and Learningโ€ - Part 3
2017-05-25Coding Train Live 93: Session 3 of โ€œIntelligence and Learningโ€ Continued



Tags:
live
programming
daniel shiffman
creative coding
coding challenge
tutorial
coding
challenges
coding train
the coding train
live stream
itp
itp nyu
frogger
frogger processing
frogger coding challenge
simple frogger
frogger Java
Processing Java frogger
game frogger
code
processing
processing tutorial
programming challenge
game mechanics
simple game
frogger atari
frogger atari processing



Other Statistics

Frogger Statistics For The Coding Train

At present, The Coding Train has 203,726 views spread across 4 videos for Frogger, and about an hours worth of Frogger videos were uploaded to his channel. This is less than 0.17% of the total video content that The Coding Train has uploaded to YouTube.