make mqtt config work for server

This commit is contained in:
= 2025-01-23 16:31:22 +01:00
parent e70077071c
commit b7c32efdbc

View file

@ -10,8 +10,10 @@ cls()
console("Welcome to pendu!") console("Welcome to pendu!")
console("by Lorem Impsum Corp.") console("by Lorem Impsum Corp.")
client = mqtt.client("Server", "mqtt.leizour.fr", 8883, true) dofile("mqtt_config.lua")
client:connect("student", "O99Rq8$F12NXzhL5caya")
client = mqtt.client(client_name, "mqtt.leizour.fr", 8883, true)
client:connect("student", password)
playing = false playing = false
won = false won = false