Why we calculate two numbers, not one, for dice rolls

Look at this. You should see the reason plainly. Graphic: Two dice

When you get a random number from 2 to 12 for a dice roll, you’re making the chances for a roll of 7 the same as 1 in 11.

That’s not how it is when you actually roll two dice. Because so many combinations can add up to 7, the probability is much higher — 17 percent.

Meanwhile, it’s really hard to roll “snake eyes,” or 2 (double ones). It’s equally hard to roll a 12, or two sixes. The chances for 2 or 12 are only 3 percent.

But only if you get two unique random numbers, one for each die.

Tips about your final project

First, all the details are here: Project.

Read all of that carefully before you start work on your project plan.

Your project should be sufficient to impress an employer in a job interview.

Look here for inspiration: Storytelling Now. Follow several links there. You will see a lot of very different things.

You might want to learn a new technology for your project, like Tabletop.js, or any one of the hundreds of other free JavaScript libraries that are out there.

But DON’T start with a technology. Start with a solution to a problem. People in x group want to do y. People of x type need to learn y. Then think about how to do it — how to make that solution — make it with code for the Web.

  • Games
  • Animation
  • Engagement
  • Interaction
  • Data

Those are some of the frames for types of projects you might create.

Not a bunch of Web pages. An app. Even if it’s not on a phone, it can be an app. For example, THIS is an app: Treatment Tracker. NPR makes lots of cool apps, like this SXSW music player. This is kinda sorta like a game: Parable of the Polygons.

Here’s more inspiration from 2014.

Tasks for Week 9 — JavaScript, March 9 – 13

When you come back from Spring Break, we will have a normal week in this class. That means a normal class meeting on Monday, an individual meeting, a quiz, and an assignment (in Canvas) due on Sunday night.

Please do not forget that your 15-point CSS assignment (in Canvas) is due on Sunday, March 8.

This week we start JavaScript. HTML is for structure, CSS is for design, and JavaScript is for action! Yay! See the Course Schedule under Week 9 for the list of exercises you need to show me in your weekly meeting. Try to remember the principles you learned in Python — those will help you make sense of JavaScript!

The quiz this week will be all about JavaScript. So will the assignment in Canvas.

Week 7 assignments: Next steps with HTML and CSS

Don’t delete your Codecademy account — you’ll be using it again for JavaScript next!

This week you’ll be the same “type” you were last week. Find your type below and do all the work listed there, to be finished in the week of Feb. 23 – 27.

Review the Checklist for your HTML5 and CSS knowledge.

Also, read the assigned articles linked on the Course Schedule page.

Continue reading