diff --git a/readme.md b/readme.md index cd0079a..01b3848 100644 --- a/readme.md +++ b/readme.md @@ -17,9 +17,9 @@ An HTML-based text adventure game engine. Small and easy to use with no dependen Very little programming is required, but several JavaScript hooks are provided if you are inclined to use them! ### How do I use it? -To create your own adventure, you can use one of the files in the [game-disks](https://github.com/okaybenji/text-engine/blob/master/game-disks) folder as a template. For example, take a look at [the disk called newDiskTemplate](https://github.com/okaybenji/text-engine/blob/master/game-disks/new-disk-template.js). +To create your own adventure, you can use one of the files in the [game-disks](https://github.com/okaybenji/text-engine/blob/main/game-disks) folder as a template. For example, take a look at [the disk called newDiskTemplate](https://github.com/okaybenji/text-engine/blob/main/game-disks/new-disk-template.js). -Include your "game disk" (a function returning JSON data) in index.html and load it with `loadDisk(myGameData)`. (Look at [index.html](https://github.com/okaybenji/text-engine/blob/master/index.html) in the repo for an example.) +Include your "game disk" (a function returning JSON data) in index.html and load it with `loadDisk(myGameData)`. (Look at [index.html](https://github.com/okaybenji/text-engine/blob/main/index.html) in the repo for an example.) The end product will be your very own text adventure game, similar to [this one](http://okaybenji.github.io/text-engine). It's a good idea to give that game a try to get introduced to the engine. @@ -27,7 +27,7 @@ The end product will be your very own text adventure game, similar to [this one] `text-engine` uses a disk metaphor for the data which represents your game, like the floppy disks of yore. -Including [index.js](https://github.com/okaybenji/text-engine/blob/master/index.js) from this repository in your [index.html](https://github.com/okaybenji/text-engine/blob/master/index.html) `