The Raku Programming Language Collect, Conserve and Remaster Project
Originally published on 25 July 2012 by Carl Mäsak.
It’s five months until Christmas, and I’m coding up tests and implementation for my Raku adventure game to allow me to fetch water from a brook. Life could be worse. 哈哈
Github, roll the commits!
You can’t take it if it’s pitch black.
I talked about adding this a few days ago. Now I got around to it.
You can’t examine it either if it’s pitch black.
Let’s add a brook and water to the hill.
I feel like a landscape architect here.
One is the more direct “put water in helmet”, which works.
They are right; that should work. And now it does.
I don’t have much to say in the way of comments. Making those commits was very straightforward. The last one meant a little tinkering around since I had to add yet another hook/listener. But not so bad overall.
Working this way really feels like “programming in the domain”. The events and exceptions really help in this regard. I want to program more things like this.
Tomorrow we’ll use our newly-fetched water to put out the fire. Then we’ll have access to the innermost room… the room after which the game is named… the crypt, where it’s silent as a grave, because well, you know.
Not much left now.