IDC about style rn

game loading...

Inventory

from js import document from pyodide.ffi import create_proxy document.getElementById("gameText").innerText = "What do you want to do?" actionStatus = "idle" weapon = "fists" def bAction1(event): global actionStatus if actionStatus == "idle": actionStatus = "fighting" document.getElementById("gameText").innerText = "You started a fight with an angry snowman." document.getElementById("button1").innerText = "Attack" document.getElementById("button2").innerText = "Run" document.getElementById("button3").innerText = "Befriend" proxy1 = create_proxy(bAction1) document.getElementById("button1").addEventListener("click", proxy1) document.getElementById("button2").addEventListener("click", ) #WORK ON THIS PLZ