Showing posts with label puzzles. Show all posts
Showing posts with label puzzles. Show all posts

Monday, 28 July 2025

Playing Scrabble for keeps

So I've been hooked on Word Play, the Scrabble-based roguelite.

I play some video games here and there, and when I find one I really enjoy, I try to squeeze out all of its challenge juice (technical term). That usually means at least getting all the achievements.

As a result, when it comes to Word Play I have been putting far too many hours into beating Ultramarathon mode specifically: 20 rounds at the most difficult scoring.

Here's how I finally beat it.

(Roguelite players will be completely unsurprised to hear that this did not involve me being particularly good at Scrabble.)

 

Word Play screenshot.

Cracking open this game like an egg

It's all about synergies, of course, which means you need luck plus strategy. This run had the 'more rare and legendary modifiers' modifier, and I just doubled down on the first synergy I saw, which revolved around Upgrades.

My engine is made of modifiers:

➡️ I get a random common Upgrade when I play a word with 8+ tiles.

➡️ Each Upgrade gets +1 use.

➡️ +1 bonus point each time an Upgrade is used.

➡️ I gain a refresh when an Upgrade is used up completely. (This was switched out near the end of the run)

So if I play exclusively long words, I get a bunch of Upgrades, and I get more bonus points on every subsequent word. I also get refreshes (to help me get long words), but I don't use them, because so many of the common Upgrades let you refresh selectively. I quickly build up 40 refreshes and a hundred bonus points per play.

Not crucial to the engine, but I also get a modifier for x2 score with 3+ unplayed special tiles. All the Upgrades are turning my entire bag into a mess of special tiles, so this doubles all my scores without effort.

Finally, I get my first potion tile, an 'M' worth 3 points. Potion tiles give you plays equal to their score, but break, when played. I hoarded this until I lucked out and got my final modifier: if you play a four tile word, add a copy of the first tile to the letter bag.

So now, with my huge numbers of refreshes, I can in principle just refresh until I get my potion M, play it at the start of a four letter word, and have it break but add a copy to the tile bag, for a net +2 plays. This is huge when you start the run with 20 plays and only get a few more per round. So: rinse and repeat, interspersing with long words (to get more Upgrades (to get more refreshes)).

In practise, though, that's slow and unreliable. I didn't end up spending many refreshes getting the potion M out there. Instead, I was careful to have an Upgrade slot open at the end of each round, and at about round 12 I got exactly what I was hoping for: the uncommon Upgrade which adds your refresh count to a tile's score.

You can see where this is going. I used it on my potion M three times, discovering in the process that a tile's score maxes out at 99. Now I gain 99 plays each time I put the potion M at the start of a four-letter word. Over the course of a round I gain more plays than I will ever need.

That's why the little number in the bottom right of the screenshot says "1538", not the "15" or so that you would normally expect.

 

Descent into absurdism

At this point the run is essentially won, so I rejoice, but it will clearly be a slog. Even with most of my tiles turned emerald or golden with the bounty of Upgrades, I only get something like 800 points per play with a long word, so I'm going to need to play 100 good words in the final couple of rounds.

Aware of this, I have been burning my essentially-limitless plays rerolling modifiers, and it pays off at the end of round 17. I get the 'multiply final score by number of special tiles' modifier, one of a couple that would reliably boost my scores even further.

So I wave goodbye to 'gain a refresh when an Upgrade is used up', you made all this possible. Now if I spell a word like LAVENDERS, it scores 5936 points. I can and do cruise to the finish in a handful of plays per round.

Word Play screenshot.

And that is how I got the hardest achievement in this damn spelling game.

 

Your mileage may vary

None of this strategy is reliably reproducible, of course, due to randomness. But I think it's interesting that it worked, because it was the first Upgrades-based build which I had tried. Part of that is luck in the early rounds, naturally.

Builds that I tried and failed with, for the record:

➡️ All gold tiles

➡️ Fast-growing diamond tiles

➡️ All the emerald synergies

➡️ Double length points, board expanders, and lots of plus tiles

➡️ Dozens of attempts that never got the smallest synergy.

 

So that's most of the challenge juice squeezed out of Word Play! I recommend this game if you're a Scrabblehead. It's on Steam.

—

Update a few days later: I translated my run into "whoops, all wildcards". 300+ tiles of golden and dotted 99-point wildcards took me to round 50.

Word Play game screenshot. Round 50. A board full of golden 99-point asterisks. I have just received 3238590 points.

 

I spent scores, maybe hundreds of rerolls trying to get the "dotted tiles multiplier increases with each play" modifier which would have given me desperately-needed multiplier scaling, and which could have taken me even further. I never got it, though, so I called it at round 50, where winning just meant typing "******************" over and over again and waiting for the scoring to finish.

 

Word Play game screenshot. Ending the game.

Wednesday, 1 January 2025

The First RPG Ever Published in 2025

It occurred to me that living in New Zealand (GMT+13) means a shot at being the first to publish a TTRPG in 2025.

So here it is.

Small Medium At Large. Book cover.

 

The premise

SMALL MEDIUM AT LARGE is a mystery puzzle-based role-playing game for two players. Play as a small, psychic cat burglar and the specialised anti-psychic hired to hunt them down.

 

The background

Usually, of course, the REGIONAL CONSTABULARY simply hire a MEDIUM to solve any given crime. But this time, a MEDIUM is the perpetrator, and is muddying the PSYCHIC AETHER to cover their tracks. What's needed is a CLAIRVOYANT whose third eye can still see when things are UNCLEAR.

An UNCLEARVOYANT, in fact.

 

The game

This is a joke but also an actual game I made, and published at 12:45 AM, January 1, 2025, New Zealand time. Until I hear otherwise from my competitors in the Republic of Kiribati, I am declaring it to be The First TTRPG Of 2025.

You can check it out here: https://www.drivethrurpg.com/en/product/507211/SMALL-MEDIUM-AT-LARGE

Saturday, 30 September 2023

Hyperspecific bugfix notes in transit from the past: Blogger CSS

While trying to increase line spacing to improve accessibility for this blog, I ran into an interesting series of issues. I'm recording the solution here in case I need it again or on the off-chance that it helps someone else.

For things on the Blogger platform (like this blog), you can choose a theme separately for desktop and mobile, or have the desktop page served to mobile. If you have a custom theme like I do, and you want to have a nice responsive mobile version of the site, then Blogger (behind the scenes) apparently takes the custom theme, runs it through some arcane processes, and spits out a mobile version.

So I encounter the following timeline of problems:

1. The theme is partially customisable in Blogger settings but to make real changes (in this case, to the line height) you have to dive into the CSS/HTML. I took a web design course more than a decade ago, so I am rusty. It takes some time just to find out how to get in there.

2. I notice that I can fix the line height in the CSS using (go figure) line-height, but the change doesn't propagate to mobile. It looks like the .mobile tag doesn't do anything. Say I change the line height to an absurd 100×. It looks absurd on desktop. I simulate a mobile device in a desktop browser by popping "?m=1" at the end of the URL, and it looks absurd there. On an actual mobile device, it's unchanged.

3. I deviate from proper CSS and get lost in an endless maze of <b:if cond='data:mobile'> or possibly <b:if cond='data:blog.isMobile'> or <b:if cond='data:blog.isMobileRequest'>, none of which help.

4. I get frustrated and go poke at the custom fonts instead.

5. It turns out the mobile view ignores custom fonts – again, only on an actual mobile device.

6. At first I think it's a caching problem on my phone, but changing font colours and banners and things works fine.

7. A search turns up this helpful article. It's a web safe font problem. My desktop browser recognises the custom title font I chose on a whim in Blogger settings (Molengo), but my phone browser doesn't. But! I just need to make the CSS load the font and add a line wherever it's needed and then it changes for mobile too.

8. ...It turns out that the google font called 'Molengo' looks completely different to the built-in Blogger font called 'Molengo' which I selected, so my nice font choice is broken on both desktop and browser. Not too big a problem; the google font version is okay and now I know how to make it work on mobile, so I leave it as is.

9. Back to trying to increase the line height.

10. It slowly occurs to me that a 'web safe font' problem is explicable but a 'web safe line spacing' problem is not plicable at all. That means there is an unrelated issue.

11. I google for more answers, get none, and start googling ever more tangentially related search keys and scrolling through increasingly unrelated answers. I try "@media only screen and (max-width: 600px)" instead of .mobile, and again certain test changes take effect on my phone and certain others don't. I can change colours and backgrounds and all sorts of things, but not certain font facets.

12. Finally an answer to a question about I don't know pineapples or something reminds me that !important is a thing. I try it, on a whim. The line spaces change.

13. I eventually work out that something, somewhere, is (re?)setting my line spacing (and a few other things, like font size and letter spacing) on mobile. Either those values are being overwritten by the Blogger post-processing step, or possibly I am an idiot and mobile-only elements buried elsewhere in the stylesheet are taking precedence due to CSS specificity values or something like that. The latter would seem more likely prima facie, except that I searched the CSS for a long, long time and could not find any trace of conflicting elements.

14. Whether it's the one reason or the other, I don't have a better solution than using !important. So I copy the formatting I want from throughout the stylesheet, duplicate it, and slap it inside .mobile tags with !important added on each line. Why go out of my way to do it that ugly way? Because !important is slightly scary and if it breaks something in the future (and I forget about this bugfixing session) then the fact that the blog will break on mobile and not on desktop may make tracking down the problem faster.

So, attention future me: If you need to futz around with this again, start by scrolling to line 554 of the CSS.

Scene from Pit And The Pendulum illustrated by Rackham



Sunday, 16 April 2023

A puzzle from the 1978 AD&D 1st Edition Monster Manual

This is about creature intelligence in original AD&D. Others have noted these foibles before, but I wanted to note down my take.

The game's intelligence system itself isn't implausible.

"Non-intelligent" creatures have Int 0. Fish, amphibians, reptiles, invertebrates, and plants.

"Animal intelligence" is Int 1. This is most mammals and birds.

A few select mammals are "semi-intelligent", having Int 2-4. Badgers, bears, boars, buffalo, cattle, giant goats, dogs, big cats, mules, and so on.

"Low intelligence" is Int 5-7. Creatures with low intelligence include apes, baboons, owlbears, shambling mounds, almost all the 'evil humanoid' types, and whales.

"Average (human) intelligence" is Int 8-10. Beasts with average intelligence include blink dogs, giant eagles, pegasi, and winter wolves.

And so on.

The first problem of course is that you can easily roll a player character with low intelligence who is outsmarted by most apes and cetaceans.

The second problem is the discrepancies in the book.

I have no idea why wild boar, cattle, and mules are in a higher intelligence category than warthogs, giraffes, and horses.

Giant lynxes and ice toads are as smart as people and have their own language (or in the case of ice toads, "their own weird language").

Dolphins have an intelligence of "Very" (Int 11-12, above baseline human) and are lawful good. I suspect this is a direct outcome of a '70s zeitgeist that envisioned dolphins as supernaturally wise (from before it was widely known what b*st*rds they can be).

The third problem is an ethical one, and is exemplified by the giant beaver and giant owl, both of whose alignment is neutral.

Giant beavers have Low to Average intelligence - likely to be smarter than some of the PCs. They are definitely sapient: they may be willing to trade for "coins or other valuables", and can sometimes be hired to build dam-like structures (e.g. bridges). The final lines of their entry: "Their hides are worth from 500 to 2,000 gold pieces each. Giant beaver kits of under 8 hit points can be subdued, captured, and sold in the market for from 100 to 200 gold pieces per hit point."

Giant owls are Very Intelligent - likely to be smarter than many of the PCs. They too are definitely sapient: they speak their own language, "are intelligent and will sometimes befriend other creatures". The game notes how many eggs and hatchlings will be found in their nests. Their eggs are worth 1000 gp and their young 2000 gp "on the open market".

Hmm.

Well... a lot of the assumed tone in early D&D is that of picaresque rogues sword-and-sorcerering their way through the world in search of coin. So...

Is this acceptable? Frankly, no. Unless your morals are preposterously anthropocentric, this is encouragement of murder, kidnapping, organ trafficking, and slavery.

There are a few obvious ways to fix this.

Most simply, you could reduce giant beaver/owl intelligence to that of an ape, and remove their sapient capabilities.

Equally, have them charmingly sapient but remove the gross stuff, in the same way that you don't attach a price to, say, leprechaun skins.

You could keep it but replace references to selling on the "open market" with sale "to evil beings", although that does raise some further questions.

One twist would be to have it so that only a few certain individuals are naturally uplifted (you would want this to happen from birth, and make them easily visually distinguishable, and probably make it widely known). Those individuals would likely still object to the exploitation of their non-sapient brethren and sistren, but at least it becomes a political or cultural problem rather than an ethical one.

Final thoughts

My tone here has been negative, but the AD&D Monster Manual was a formative read for me decades ago and I still have a soft spot for it. I think the big implicit ethical question is actually the worst problem with the book, and once fixed, the remainder of the text is highly usable for gameplay or inspiration.

Graphic design redux: Three book reviews

I've been reading again in my endless quest to understand what graphic design is all about. Today we look at three more books: a book co...