Version 2 Of project-01 completed during General Assembly
5 days
This project was completed as a extra task based on my previous rendition of this game.
Time | Tasks |
---|---|
2 days | Basic MVP |
2 days | Styling and working on Additional features |
1 day | Bug fixes and deployment |
All Features:
Compared to my first edition of this game. I am truly proud. Although my code is completely concise, it is defintely more elegant than last time
function collision() {
if (cells[currentIndex].classList.contains('car') ||
(cells[currentIndex].classList.contains('water') && !cells[currentIndex].classList.contains('log'))) {
lives--
livesLeft.textContent = lives
endGame()
cells[currentIndex].classList.remove('frog')
currentIndex = 59
cells[currentIndex].classList.add('frog')
}
}
I had hoped to have more time to refactor my code and make it understandable to others reading it. It would have been ideal if I just one function for my log movement rather than multiple functions.
I would love to expand on this game and create multiple levels.
I have learned the practice is the best way to consolidate my knowledge. Through using things like codewars and ediabit I have become much more comfortable as a javascript developer.
Details of my training and links to more projects whilst at General Assembly - 12 Week Immersive.
Week 1-3 | Module One - Fundamentals
Week 4
Project 1 : Frogger | GitHub | gh-Pages
Week 5 | Module Two - React
Week 6
Project 2 : CocktailBored | GitHub | gh-Pages
Week 7-8 | Module Three - Node and Express
Week 9
Project 3 : Date-a-base | GitHub | Herouku
Week 10-11 | Module Four - Python and Django
Week 12
Project 4 : Space | GitHub | Herouku
Adesola Oni-Shogbonyo\
Email : s.oni-shogbonyo@hotmail.co.uk\
Portfolio | Linkedin | GitHub