About

This site provides a selection of utilities for playing games; it was created by James Tease (@whostolemyhat), a Javascript and Python consultant. The site is built with React and ES6.

Random letter picker

The random letter picker uses a Fisher-Yates shuffle which should avoid bias. However, all the random functions in the site use Javascript's built-in Math.random function; this means they're fine for picking random items, but should not be used for any security code (ie cryptography). See MDN for more info.

Dark Souls name generator

The Dark Souls name generator uses words and phrases from enemies, bosses and other NPCs from the three Dark Souls games, so there may be minor spoilers.

Lottery numbers generator

The lottery numbers generator is based on Javascript's built-in Math.random function, so should be sufficiently random for lotteries. It generates between one and twenty random integers between -500 and 500.

Coin toss

The coin toss generator also uses Math.random, and creates between one and twenty random coin tosses at a time.

Dice roll

The random dice roller allows you to roll up to ten dice; each dice can have between two and twenty sides (although I've never seen a two-sided die!)

Magic 8-ball

Ask the magic eight ball a question, and it's clairvoyant powers will answer.

List randomiser

The list randomiser uses the Fisher-Yates to rearrange all the items in a list.

List draw

The list draw picker picks a random item from a list, and can also pick any number of random items from it (up to all the items).

Weighted list draw

The weighted list draw allows each item in a list to be given a weight, which changes the chance of the item being picked from the list. For instance, if you had a list containing Graham and Susan, and gave Graham a weight of 3, then Graham would be three times as likely to be drawn as Susan.