#ThisWeeksFiddler, 20240223

This week the question is: Could You Have Won the Super Bowl?

[Football, football, football.] Every time your team is on offense, suppose there’s a 1-in-3 chance they score a touchdown (which we’ll say is worth a total of 7 points, as we won’t bother with 2-point conversions here), a 1-in-3 chance they score a field goal (worth 3 points), and a 1-in-3 chance they don’t score any points (i.e., they punt or turn the ball over on downs). After any of these three things happens, your team will then be on defense.

Now, here’s how overtime will work: Your team is on offense first. No matter how many points your team does or does not score, the other team then gets a chance at offense. If the game is still tied beyond this point, the teams will continue alternating between offense and defense. Whichever team scores next wins immediately.

Again, your team is on offense first. What is your team’s probability of winning?

And let’s include the extra credit puzzle too:

If your team happens to score a touchdown on its first possession, then it doesn’t make sense for your opponent to then attempt a field goal, since they’d be guaranteed to lose. Instead, they would attempt to score a tying touchdown.

So let’s add the following to our model: When either team is on offense, they now have a choice. They can still opt for a strategy that results in 7 points, 3 points, or 0 points, each with a 1-in-3 chance. Alternatively, they can opt for a more aggressive strategy that results in 7 points or 0 points, each with a 1-in-2 chance.

Your team remains on offense first. Assuming both teams play to maximize their own chances of Super Bowl victory, now what is your team’s probability of winning?

And here’s my suggested solution, highlight to reveal:

Read more: #ThisWeeksFiddler, 20240223

And for extra credit:

Dark pattern / Cradle of Empires

Let’s celebrate ancient Egypt. With a match 3 game!

Further, let’s celebrate with a couple of dark patterns.

Oh no! No more moves! Ah well. I have no green jewels, so I just tap the cross.

Are you sure? (The alternative is to buy, with real money, green jewels and spend them here.)

Okay. This game has lots of different kinds of levels. I’ll just play another one.

Oh no! No more moves. Ah well. I have no green jewels, so I just tap the cross.

Are you sure?

Sigh.

It’s actually a good game. I haven’t seen all of the game techniques before, and there’s usually a level I can play, here or there, or some bonus to collect. But…

Skaberen

Jeg har nu (på rette tid for ikke biografen, ikke blueray, men streaming via abonnement) set The Creator. Det her er ikke en helstøbt anmeldelse, men mere et par funderinger, efter også at have set lidt ekstramateriale. Spoilers.

Den ene fundering er meget kortfattet. Vi ser, at robotter og kunstig intelligens lever side om side med mennesker i Asien-ish. Vi ser ikke umiddelbart nogle begrænsninger, omend det kan være svært at se, om en given robot har rigtig kunstig intelligens eller “bare” er programmeret. Der er robot-munke. Robotter kan adoptere (i praksis) menneskebørn.

SĂĄ hvad hulen betyder det, nĂĄr en robot siger “jeg vil være fri”?

Fri for at fĂĄ en amerikansk bombe i hovedet? Fordi det ville jeg ikke formulere pĂĄ den mĂĄde.

Den anden fundering går på, at vi bliver præsenteret for en konflikt med 3 sider: USA-ish, Asien-ish og AI. AI var vældig nyttigt et stykke tid, men så gik en af dem amok. USA har ganske fornuftigt forbudt alt sådan noget. Asien er ikke lige så fornuftige, men bare rolig, det skal USA nok fikse. Ingen problemer i at komme på besøg og ordne sagerne. Fornylig er der kommet nyt om et AI-supervåben. Det skal selvfølgelig stoppes. Så amerikanerne sadler deres jetjagere, og så afsted.

Bortset fra, at jeg som tilskuer ikke tror på den udlægning i 5 minutter. AI virker som nogle flinke fyre. Supervåbnet skal ikke overvinde USA, men overvinde krig. Faktisk er konflikten mellem USA og hvem de nu end synes er forkert på den. Amerikanerne er de onde! Det er ikke så tit, Hollywood giver os den version.

Underligt nok taler forfatteren/instruktøren om dilemma, nuance og sådan noget. Er det den samme film, vi snakker om? Der er måske 5 mm nuance.

Derudover vil jeg egentlig bare nævne, at filmen er flot. Når der har været behov for at filme rismarker, så har de fundet nogle rismarker. Og så vil jeg også nævne, at de 2 primære skuespillere er gode.

#ThisWeeksFiddler, 20240209

This week the question is: How Many Loops Can You Slither Around?

Nikoli the snake wants to slither along a loop through a four-by-four grid of points. To form a loop, Nikoli can connect any horizontally or vertically adjacent points with a line segment. However, Nikoli has certain standards when it comes to loop construction. In particular:

– The loop can never cross over itself.
– No two corners of the loop can meet at the same point.
– Once Nikoli has crossed the connection between two points, Nikoli can’t cross it again (in either direction).

For example, the following two constructions are valid loops:

Meanwhile, the following three constructions are not valid. The one on the left crosses over itself, the one in the middle has two corners that meet at a single point, and the one on the right requires Nikoli to pass over the same line segment twice.

How many unique loops can Nikoli make on the four-by-four grid? (For any given loop, Nikoli can travel in two directions around it. However, these should still be counted as a single loop.)

And here’s my suggested solution, highlight to reveal:

Read more: #ThisWeeksFiddler, 20240209

Mind the magical pond

The YouTube channel Mind Your Decisions has a lot of great puzzles, like this one: Can You Solve The Magical Pond Puzzle?

Read more: Mind the magical pond

Highlight to reveal solution:

#ThisWeeksFiddler, 20240202

This week the question is: How Many Times Can You Add Up the Digits?

For any positive, base-10 integer N, define f(N) as the number of times you have to add up its digits until you get a one-digit number. For example, f(23) = 1 because 2+3 = 5, a one-digit number. Meanwhile, f(888) = 2, since 8+8+8 = 24, a two-digit number, and then adding up those digits gives you 2+4 = 6, a one-digit number.

Find the smallest whole number N such that f(N) = 4.

And let’s look at the extra credit puzzle too:

For how many whole numbers N between 1 and 10,000 (inclusive, not that it matters) does f(N) = 3?

And here’s my suggested solution, highlight to reveal: