Random Total Generator

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
XxSolidJelloxX
Prole
Posts: 25
Joined: Sun Jul 14, 2013 2:46 am
Location: The Stars

Random Total Generator

Post by XxSolidJelloxX » Wed Nov 04, 2015 4:42 am

Wrote up a program in a couple minutes that spits out a random USD monetary amount that resembles a total that a cashier, fast food worker, clerk, or bartender might see, across the country. Enjoy.
Attachments
Total Generator.love
(1.08 KiB) Downloaded 64 times

User avatar
Beelz
Party member
Posts: 234
Joined: Thu Sep 24, 2015 1:05 pm
Location: New York, USA
Contact:

Re: Random Total Generator

Post by Beelz » Wed Nov 04, 2015 1:36 pm

I'm not quite getting the point of this... I thought maybe it was a small POS(or POS looking calculator), but this is literally just a random number generator. I must ask... Why?

Code: Select all

if self:hasBeer() then self:drink()
else self:getBeer() end
GitHub -- Website

User avatar
XxSolidJelloxX
Prole
Posts: 25
Joined: Sun Jul 14, 2013 2:46 am
Location: The Stars

Re: Random Total Generator

Post by XxSolidJelloxX » Wed Nov 04, 2015 11:36 pm

Beelz wrote:I'm not quite getting the point of this... I thought maybe it was a small POS(or POS looking calculator), but this is literally just a random number generator. I must ask... Why?
You're right. There isn't much of a point to this at all. It was originally made for my girlfriend, who was becoming a cashier, so she could see random totals and practice counting the money out. Written simply with ~30 lines.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests