## Random Total Generator

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

### Random Total Generator

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

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

### Re: Random Total Generator

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

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

### Re: Random Total Generator

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.

### Who is online

Users browsing this forum: No registered users and 9 guests