Skip to content

tenslar/scala-nickname-macker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NickNameMacker

tenslar License

Simple nick-name maker.

When a "WordPool" with multiple characters is passed to the nickname generator "NickNameMaker", it will generate a nickname using the characters set in the WordPool.

Usage

import com.github.tenslar.nicknamemacker._

val word_pool = new WordPool(Array("hello", "world"))
val generator = new NicknameMaker(word_pool)

println(generator.generateNickName(2))
// worldworld or hellohello or helloworld ...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages