Home>

Thank you for browsing.
Study Javascript at a programming school
Now that I've created a roulette wheel
Next, I decided to create a breakout game on YouTube.
YouTube: https://www.youtube.com/watch?v=g2FlXCSy0yI
Site with code: https://github.com/coding-youtuber/breakout/tree/master/build

And I took a look at github for the first time to copy the code
Whereas the programming school wrote Javascript in HTML,
This programming seems to write Javascript separately from HTML
And in https://github.com/coding-youtuber/breakout/tree/master/build
I didn't know which code was written from Javascript canvas. ..

Excuse me, where do I look in this file?
Could you tell me?

  • Answer # 1

    In conclusion, it seems to be https://github.com/coding-youtuber/breakout/blob/master/src/js/app.js.

    The files in https://github.com/coding-youtuber/breakout/tree/master/build contain the files built by webpack.
    It is usually difficult for humans to read the built file because spaces and line breaks are removed and the variable name is one character to reduce the file size.