Skip to main content

Posts

Showing posts from 2021

Metaballs Revisited

The new visual identity of my work place (and the re-ignition of an old lava lamp) made me think of the good old metaballs from the Amiga demo-scene of yonder and how it has been a while since I have implemented them from scratch. This time I wanted to play around with Python and numpy to see what that could bring. But first, what are metaballs?  It's, for example, this: Wikipedia defines them as: In computer graphics, metaballs are organic-looking n-dimensional isosurfaces, characterised by their ability to meld together when in close proximity to create single, contiguous objects. https://en.wikipedia.org/wiki/Metaballs As cool as multidimensional metaballs are, we'll stick to 2D ones in this post. The algorithm The algorithm behind them is quite straightforward -- in their simplest form. Basically for each pixel in each frame, or buffer, you add up the influence of each metaball in the simulation and then cut off below a certain threshold and normalize what’s left. The

Crafting an artificial opponent for Fjordar

Fjordar is an epic, tactical strategy game for 1 to 4 players, set during the Norwegian Civil War. The game begins in the year 1130, when the old king Sigurd Jorsalfar dies. Each player begins the game as one of Sigurd's heirs or one of the other influential people in Norway at the time, who is vying for power in the vacuum left by the old king's death. – Fjordar, BGG A while back, after a lengthy exchange on ideas around this topic, the designer of Fjordar, Frode Brændø, asked me if I would be interested in helping out with designing a solitaire variant for this upcoming game. Of course I would! Here are some brief notes on some from the design process. Idea We wanted to make an artificial opponent based the following criteria: Non-fiddlyness Running the opponent should not lead to a lot of overhead for the player. Readability The player should to some extent be able to read the artificial player enough to predict future actions and react to them. Keep ga

The 9 greatest boardgames discovered in 2020

2020 was an… interesting… year boardgamewise, and in this post I'll summarize some of my key findings, but first, some stats: I played 42 … things… for the first time according to BG Stats . 8 of them were expansions, so 34 new games, then. (Down from 97/88 last year.) Interestingly, 8 of my top 10 most played games of 2019 was new-to-me games, whereas in 2020 it was the opposite – only 2 of them were new-to-me.  Every year, since I started logging my board game plays semi-consistently back in 2013, more than half of all games played has been new-to-me. In 2020 it fell below one third. I seem to have been more keen to show my kids the classics than seeking out new games in these confined times… (Or, maybe even more importantly, I have hardly been to local board game cafés to test new games, I have hardly rented new games from our friendly board game rental store, I have hardly played games at friend’s