Tracking Dice Points
Track points.
Keeping Score! 🏅
Games are more fun when we keep points! 🏅
Let's learn how to add up your dice rolls and remember your score! 🧠
console.log('Time to keep score! 🏅')
console.log('Add up your points! ➕')A Score Box 📦
First we make a box to hold the score and start it at 0. 📦
We use let so we can change it later!
let score = 0
console.log('Starting score: ' + score + ' 🏅')All lessons in this course
- Rolling a Die
- Two Dice
- Tracking Dice Points
- First to Twenty