The project

Castle Adventure in JavaScript is a translation of the Javascript port of "Avventura nel Castello" v4.1 for MS-DOS by Enrico Colombini and Chiara Tovena.

"Avventura nel Castello" was the first ever Interactive Fiction game in the Italian language.

The port was developed by Federico Volpini (

The game was reproduced with the consent of the authors. The reproduction is 99% faithful, and the small differences compared to the original game have, in any case, been discussed and approved by the authors themselves.

The Distribution license is CC BY-NC-ND 4.0 (Attribution-NonCommercial-NoDerivatives 4.0 International)


The port, just like the original game, allows you to save the point in the game you have reached and come back later, to that same point, without having to restart the game from the beginning. Saving is made possible thanks to Window.localStorage in your browser. In this regard, it is important to consider that:

  1. if the localstorage is disabled, you won't be able to save your game;
  2. If localstorage is deleted every time the browser is closed (according to your browser settings), your saves will be lost.

The Author

My name is Federico Volpini, I was born in 1979 and I have loved computers since, at the age of 5, my father gave me my very first one: the mythic VIC-20!

As I grew up, I became passionate about web development, and particularly PHP and Javascript.
I'm not a guru, but with my acquired knowledge, I set myself the challenge of developing a game engine, to be able to write text adventures in a language directly interpreted by the browser. Then I adapted it in order to recreate the first text adventure I ever played (and loved): "Avventura nel Castello" (Castle Adventure).

In January 2021, I started writing the code. When I had reached the point of having a playable "demo", I emailed one of the original authors of the game (Enrico Colombini), to inform him of my intentions and to get his opinion.

Enrico, after reminding me that there is still a copyright covering his material,immediately showed interest and encouraged me to continue. A beautiful electronic epistolary exchange was born, and still continues to this day.

To make my work easier, he kindly allowed me to read his source code, which greatly accelerated the development of my recreation.
That I managed to complete this work, I owe it to him.

If you'd like to report a bug or simply contact me, please send me an email at I will be happy to answer you as soon as possible!