Create your own random generator for your game

Talk about anything
Post Reply
Paco
Posts: 26
Joined: Wed Jan 09, 2019 12:35 am

Here is the first and second parts of a tutorial to create your own random generator using a simple single html file with JavaScript.

As example we use a random treasure generation but you can just tweak it to code any of the random tables from your game.


The aim is to create things as simple as possible and with no external dependencies so it can be used locally even with no connection.
User avatar
Chuck
Power Behind the Throne
Posts: 185
Joined: Sun Jan 06, 2019 11:25 am
Location: North Lustria
Contact:

Pretty neat use of some not-too-complicated Javascript!
Paco
Posts: 26
Joined: Wed Jan 09, 2019 12:35 am

The 3rd part is up. This time is not fantasy, we build a planet generator for Star Without Number.

https://pacomiscelaneousstuff.blogspot. ... pt_14.html
calhoun
Posts: 2
Joined: Tue Apr 27, 2021 6:18 am

Awesome, thank you!
Post Reply