Bede Kelly
  • home

textgame

A collection of 7 posts

python

Server-Client Demo

I worked on this for a bit longer than I thought I was going to, but I've also got a sturdier product than I was expecting to have at this stage. I've pushed

  • Bede Kelly
    Bede Kelly
3 min read
python

Starting Work on the Server

To begin with, I want to describe in a bit more detail how I'm imagining the system to work. There will be one main executable file, server.py. It will output only debug

  • Bede Kelly
    Bede Kelly
1 min read
python

A New Hope

I'm making a new start on the text-based game I've been writing. The code at this point is spaghetti, and I can't develop anything at the speed I want to without relying on

  • Bede Kelly
    Bede Kelly
1 min read
python

Parsing: Error Messages Part 2

Parsimonious, the library I'm using, provides a super useful class for visiting nodes in a parse tree called a NodeVisitor (appropriately enough). In order to use our generated parse trees for commands or

  • Bede Kelly
    Bede Kelly
1 min read
python

Parsing: Error Messages and Accessibility

At the moment, generate_parse_tree is returning a parse tree if it matches a valid command, or None if not. One way of getting more informative error messages (a la Zork) could

  • Bede Kelly
    Bede Kelly
1 min read
python

Text Game Update

I really think I've got it! I've solved the problems that I faced earlier, neatly outlined by this webpage. Here's the first problem I faced: "Another fun case: some checks apply to

  • Bede Kelly
    Bede Kelly
1 min read
python

Interactive Fiction Programming

Or, some thoughts on how to implement Interactive Fiction in modern languages. The first thing to note is: it's difficult. Really difficult. But the worst part is, it starts out being easy... Getting

  • Bede Kelly
    Bede Kelly
4 min read
Bede Kelly © 2026
Latest Posts Ghost