Skip to main content

Just Basic High Speed Calculations

This morning I wrote my own response to Alfred Thompson's question. I posed his question to my computer programming class last week. They successfully established the two arrays to populate two imaginary card decks but ran out of time before tackling the actual comparison of random card selection.

I actually have another version that replicates the player experience but I like this program because it actually provides the data needed to make a decision. I plan to point out to the class that the benefit of using a computer is that we can run multiple simulations in a fraction of the time a real game would take.

In fact, this morning I set it to run 10,000 games. It was done before I came back with a fresh cup of coffee. Of course, I plan to guide them through the completion of their own program before revealing mine. Which illustrates my second major teaching point: there isn't always one right answer.

download the game code

Popular posts from this blog

Classcraft Interactive Notebook Page

Finished crafting interactive notebook pages for Classcraft, an engaging classroom management tool.

This fall I plan to add interactive notebooks to my classroom procedures. The goal is to provide students with something tangible to take home at the end of the semester. So that means creating or borrowing resources to guide students in developing their notebook.

Classcraft is a classroom management tool, an elaborate punishments and reward system designed like an epic role play game. Students create avatars and can upgrade pets and outfits based on experience and gold points earned. They can also lose points and suffer minor penalties. Everything is done in a fun, game like environment.

The computer lab is already divided into five or six stations, which lends itself easily to guilds or teams of students who work together in the game. I want students to develop their own backstory and choose their characters for the good of the group. I also need students to keep their login info some…

Tiny House Find

While on a staff outing today, I noticed a tiny house between two buildings. Look carefully or expand the image on your screen to find it at the bottom of the green column.

I'm not sure if it belongs to Stewart Little or a country cousin, but the humble abode was a delightful find on a city street. If you happen to be in Fountain Square, stay on the lookout for this home's tiny resident.

Lego Mindstorm Maze Runner

Students were tasked with writing a program for their robot to successfully navigate a preset maze. This used only directional command blocks (no sensors). The goal was to recognize sequencing, patterns and to become comfortable with testing and making modifications based on test results.