Generate random Chuck Norris facts from the excellent internet Chuck Norris database 😎.
Chuck Norris solved the traveling salesman problem in O(1) time. Here’s the pseudo-code:
Break salesman into N pieces.
Kick each piece to a different city.
You can install the development version of roundhouse
from GitHub
using
if (!requireNamespace("devtools")) {
install.packages("devtools")
}
devtools::install_github("bgreenwell/roundhouse")
# Generate a random fact
roundhouse::random_fact()
#> [1] "Chuck Norris has never been accused of murder because his roundhouse kicks are recognized as 'acts of God.'"
# Generate multiple random facts
roundhouse::random_fact(3)
#> [1] "Chuck Norris doesn't need garbage collection because he doesn't call .Dispose(), he calls .DropKick()."
#> [2] "There are no steroids in baseball. Just players Chuck Norris has breathed on."
#> [3] "All browsers support the hex definitions #chuck and #norris for the colors black and blue."
# Print fact categories
roundhouse::fetch_categories()
#> [1] "explicit" "nerdy"
# Generate a random fact with a roundhouse kick!
roundhouse::kick(width = 40, size = 15)
# Or simply supply your own text!
roundhouse::kick("Chuck Norris can’t test for equality because he has no equal.",
type = 2, width = 40, size = 25, fps = 5)