castlots: Dice at the touch of a key

I got an e-mail from Will a few days ago, offering his castlots program for public perusal.


If you take the time to read the fine print there, you’ll see castlots is a python ditty that rolls six-sided dice in groups of one to six, as you might need for a tabletop game.

And after each roll, a note of congratulations. πŸ™‚

There are other programs that do the same, and even Web pages (just an example, not an endorsement πŸ˜‰ ) that can handle this task; Will’s program has a prettier interface and needs very little overhead to do the job.

castlots looks good in a terminal emulator and on a virtual console; of course the international fonts may or may not be visible depending on font settings, etc.

I like castlots for being simple. It’ll be fun to see which direction it goes from here. Of course, if you have suggestions or want to pitch in, contact Will directly at his e-mail address.

3 thoughts on “castlots: Dice at the touch of a key


    That info box is perhaps the most impressive thing about the program. Looks like the author had some fun arranging the text into a perfectly justified box without inserting any extra spaces πŸ˜‰

  2. Will Clardy

    Thanks for featuring CastLots! I hope that someone finds it useful:) Glad that someone noticed the justified text in the info box — that took a while! Unfortunately, i just noticed that “appallingly” is mispelled;) Looks like I have some more work to do.

Comments are closed.