[Day 16 - Learning Frontend Developer]
- from yesterday i'm working on my personal project, which is create LUDO game
- generate all home base and track using div with js DOM
- make a player can move based on the dice result
Hi guys my name is fawwaz. I'm working as a backend engineer in decacorn company in Indonesia. I create this account to share my learning progress. Currently I learning frontend because my curiosity and interesting to this side. Hope I can learning everyday!
here's the algorithm:
- add onclick event listener
- when it clicked, set interval every 5ms to move top and left position
- when touching the edge of rectangle, then set random for each rgb. these values will be used for background-color