Howdy! I want to share with everyone ChanceLua:
https://github.com/edwinhollen/ChanceLua
This is my random (almost) everything generator written in pure Lua. It does simple things, like generate random numbers, pick an item from a list, get a random boolean given likelihood; but it also does more complex things, such as generating names (first and last, male and female), words, street addresses, phone numbers, IP addresses (IPv4 and IPv6), hashes, and more!
Ideally, I want ChanceLua to replicate the functionality of ChanceJS (http://chancejs.com/). I started this project as part of a game I'm prototyping with LÖVE which requires random (semi-realistic) elements. I couldn't seem to find what I was looking for, so I made my own!
Thanks for taking a look!
ChanceLua - Random ____ generator in pure Lua!
- Chef_Panic
- Prole
- Posts: 5
- Joined: Sun Jan 05, 2014 9:05 pm
Re: ChanceLua - Random ____ generator in pure Lua!
Looks pretty cool, definitely useful! You still have long way to go, however, if you want all of ChanceJS's functionality . Also, if you want people to use your code, you should include a license in the repository (preferably MIT, ZLIB, or BSD!). Without a license, people will be less inclined to use your code.
That said, looks pretty good so far.
That said, looks pretty good so far.
((_((_CRAYOLA_((_((_> GitHub <_((_((_CRAYOLA_((_(()
- Chef_Panic
- Prole
- Posts: 5
- Joined: Sun Jan 05, 2014 9:05 pm
Re: ChanceLua - Random ____ generator in pure Lua!
Thanks for the advice, I've added a license.bakpakin wrote:Without a license, people will be less inclined to use your code.
-
- Prole
- Posts: 3
- Joined: Sun Jun 30, 2024 7:43 pm
Re: ChanceLua - Random ____ generator in pure Lua!
Try this link:
https://github.com/IhavenotComeToCompet ... Love2D-LUA
The way random number is generated, with visual representation, made with Love
Gif:
https://github.com/IhavenotComeToCompet ... 000001.gif
https://github.com/IhavenotComeToCompet ... Love2D-LUA
The way random number is generated, with visual representation, made with Love
Gif:
https://github.com/IhavenotComeToCompet ... 000001.gif
Re: ChanceLua - Random ____ generator in pure Lua!
Yeah, spammer, bumping old threads with some windows-only stuff is really useful.
My boat driving game demo: https://dusoft.itch.io/captain-bradley- ... itius-demo
- zorg
- Party member
- Posts: 3468
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: ChanceLua - Random ____ generator in pure Lua!
It's moreso them not knowing that they could just share their lua file instead of their entire project... the AI generated readme's also not helping, regardless whether it's due to a language barrier or not... but yes, bumping old threads you searched for with the "random generator" keyword is also a big "why".
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: ChanceLua - Random ____ generator in pure Lua!
I laughed at the part in the README that says "The Lua code you've provided..."
But hey, it's a great example of how NOT to present your project.
But hey, it's a great example of how NOT to present your project.
Re: ChanceLua - Random ____ generator in pure Lua!
It's one the of gnarliest codebases I've come across. I've heard of "security through obscurity" but not "randomness though obscurity"
Who is online
Users browsing this forum: No registered users and 1 guest