Talk:Drive-In Window

From Esolang
Jump to navigation Jump to search
Code Meaning
Person N would like menu_item (with side_item). Assign menu_item price (plus side_item) to person N (there can be an infinite amount of people).

I'm assuming you mean the number of persons is unbounded in general, but bounded for each program? If N has to be a constant written in decimal by the programmer, then the number of persons in a given program cannot be infinite. --Koen (talk) 22:55, 25 September 2013 (UTC)

Oh, sorry. I mean, "as many people as you want". I'll change the page accordingly. Thanks for telling me! --JWinslow23 (talk) 22:59, 25 September 2013 (UTC)

I'm also unsure how this works. Is there a way to specify the original amount of money a person holds? Or do they all start at the same arbitrary value, with the possibility to make money by purchasing negative-price items? --Koen (talk) 23:20, 25 September 2013 (UTC)

Did no one read the article?

All people start out as 0. If they buy menu items, ask for (or not want) sides, need more/less money, they change value.

Let's say Person 1 would like Chocolate Cake with Sweet and Sour Sauce. Let's say Chocolate Cake is $10 and Sweet and Sour sauce is $4. That assigns Person 1 as 10+4=14. If he would have held the Sauce, then he would be 10-4=6.

If he would also like Chocolate Cake with Gravy (must use the "would ALSO like" wording), and Gravy is $9, then he would be 14 (curren value) + 10 + 9 = 33. If he buys his order, it would output "!". See what I'm getting at?

Can you say there not his. hey, Thats a good meme! (talk) 19:11, 8 January 2020 (UTC)



Good. --JWinslow23 (talk) 02:34, 26 September 2013 (UTC)