Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit/AppGameKit Studio Showcase / Silly project to generate random names in AGK2

Author
Message
Fluorescent
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 1st Aug 2005
Location: Stockholm, Sweden
Posted: 1st Jan 2015 11:44
This is mostly a joke project to test an algorithm for Markov Chains that can be used to create random bits and bobs. In this case you can use it to create random names for example.

You give the program a number of samples and it will base the random generation of these. I'm using numbers here, but I did try with characters from the book The Belgariad and I did get it to generate a name from the book that wasn't in the samples list.

The property minLength is the shortest name it can generate and the property order is the number of characters in the string it will look at. Don't set it to a number lower than 1.

I'm not sure when you would want to use this, maybe if you are making a RPG you could create new names every time you start the game. That could be fun.

Login to post a reply

Server time is: 2024-11-21 22:23:29
Your offset time is: 2024-11-21 22:23:29