A few years ago, I started writing little text-based games using Twine software. You can play a couple of them here:

Hobgoblin
Find My Phone