Module 6 - Next-Level JavaScript
Dominik Gorczyca
Posted on May 3, 2021
Click Here to play PAC-MAN and Click Here to see how I did it, what I struggled on, what I learned and what really happened to my website.
This module was very short, I learned many new things from next-level JS(many which I already knew about) like:
- Template literals -
'string text ${expression} string text'
(couldn't escape backtick so it's apostrophe instead) - Destructuring assignment -
[a, b] = [10, 20];
- For of loop -
for (let element of elements) console.log(element);
- Arrow functions -
() => "Hello world"
Then there were few challenges to accomplish but they were extremely easy like find largest number in array but at least I could try out some new things from before.
The final part took me 2 months though. The challenge was to create simple Pac-man game but I was unsatisfied when I saw what we will get at the end:
Nothing against the teacher but I decided to be ambitious and that instead of going along I will do it from scratch myself. It took me over 2 months and it was many times bigger than my last biggest project, after some confusion with weird bugs caused on Github Pages I discovered that Adblocker Ultimate
Update: it turned out this problem exists only on Github Pages and it works well on CodePen so you can play to your hearths content in not buggy version!
Update 2: In the end what caused the problem was adblocker extension so the problem was finally resolved!
Posted on May 3, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.