There are lots of great sites out there for coding. We have used Scratch and Scratch Junior in school and this can be accessed for free at home. You can create games and stories by writing your own code. There are also others sites that allow this e.g. https://code.org/learn or https://www.tynker.com/
Have fun creating your own adventures!