English
Open in Telegram

Post is this a good first attempt a gambling game thing?

10 October 2026
L
Lua - Reddit
Link
click to show
is this a good first attempt a gambling game thing? local gyumi = {"🤑", "😔", "😛", "😔", "😛", "😔"} local win = {} local n = 0 local money = 100 local smallw = 0 local bigw = 0 local a = 0 math.randomseed(os.time()) function bett() print("money:"..money.."\\nhow much do you want to bet? (min 10$)") bet = io.read("*n") end while money > 9 do win = {} ::betting:: bett() if bet < 10 then print("the minimum amount is 10$! \\n \\n") goto betting elseif bet > money then print("not enough money! \\n \\n") goto betting else money = money - bet end for i=1,3,1 do n = math.random(1,6) table.insert(win, gyumi[n\]) end for _, value in pairs(win) do if value == "🤑" then bigw = bigw + 1 elseif value == "😛" then smallw = smallw + 1 end end if bigw == 3 then print("jackpot!") print(bigw) a = bigw * 100 else a = (bigw * 10) + smallw end money = money + a print(table.concat(win)) print("won:"..a ) bigw = 0 smallw = 0 end print("\\n\\n\\ninsufficent funds!") https://redd.it/1x2f55k @r_lua
1 ·

Nearby in the feed

LLua - RedditSimulating Peer-to-peer relay networking for a game project Hi all, I'm trying to simulate a PtP relay network for my game. My functional description is as follLLua - RedditLuaJIT - Lua 5.5 language? /r/u_Key_River7180/comments/1x1qxsb/luajit_lua_55_language/ https://redd.it/1x1qy2l @r_lua
this message
LLua - RedditHey! Can anybody help me learn Lua? This is my first coding language I'm trying to learn, It's gonna be pretty difficult for me since I have amnesia and I know LLua - RedditHello, developers! I recently started a project to meet a need at my church—software for projecting lyrics and Bible verses using 100% Lua—and I wanted to get y
LLua - RedditLua - Reddit@r_lua · channel
41subscribers51posts in 30 days
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count