Home For Fiction – Blog

for thinking people

Patreon LogoPatreon

Programming

Letteract: a Card Game with Words

April 22, 2024

It’s been a while since I made a game. In fact, if I’m not mistaken, the previous effort was about a year ago, with The Clock Village. This time I thought to make something far simpler, so here’s Letteract, a card game with words.

The setup and rules are very simple, as you will see. The program didn’t take more than two or three days to put together, and another few to polish some details.

Letteract, a free card game with words. Screenshot of the game.
Here’s the main screen of the game. The card deck is customizable (i.e. you can choose the design)
(more…)

An Iambic Pentameter Checker in JavaScript

January 15, 2024

My iambic pentameter generator has been one of the most popular posts of the blog. To be honest, I’m not sure if that’s still the case or not. Since I completely revamped the blog (actually even earlier), I removed Google and Jetpack analytics. In any case, today we’ll be looking at, essentially, the reverse scenario: We’re making a very simple iambic pentameter checker.

Just in case you need a reminder, an iambic pentameter line consists of ten syllables, of which every other is stressed. For instance, “And you, my sinews, grow not instant old” (from Hamlet).

So, how can we create a JavaScript iambic pentameter checker that tells us if a line is an iambic pentameter or not?

iambic pentameter checker, AI render of Shakespeare using a computer
I couldn’t resist using AI to generate this image of Shakespeare using a laptop. Like all tools, AI tools can be fun and useful, if one understands their limitations…
(more…)

Individuality and Capitalism: Lessons From Remaking my Website

November 13, 2023

For a long time I’ve been meaning to revamp Home for Fiction. When I put it together back in 2017, I was in the middle of defending my doctoral dissertation, and I had no time or energy for coding, so I simply picked a ready template. Recently, I finally decided to modify it, and the process was thoroughly revealing. From all things, it also taught me a thing or two about individuality, capitalism, and how society is becoming increasingly more dysfunctional.

Yeah, I know; all this from putting together some web pages?

But, in the end, that’s why we need to be experiencing the world around us before we write: in order to discover the connections that lie there unnoticed.

So, in this post, I’ll briefly explain my motivation in changing some things and, above all, what it taught me about individuality and capitalism. And we’ll begin precisely from this point.

individuality and capitalism – cartoon of Punning Walrus in front of computer
This image holds meta- value, because the inclusion of my Punning Walrus cartoon was one of the motivating factors behind modifying the Home for Fiction website
(more…)