-- Hangman v2.0 -- TI-Translate version -- ~ italiano-frencese ~ -- by cyanophycean314, adapted by Loulou_54 for TI-Translate math.randomseed(timer.getMilliSecCounter()) textc = class() mode = 1 input = "" wordchosen = false function textc:init(xpos, ypos, value, numpos) self.x = xpos self.y = ypos self.text = value self.num = numpos end function on.create() flag1=image.new("9\000\000\000%\000\000\000\000\000\000\000r\000\000\000\016\000\001\000\202\129\235\129\235\129\235\129\235\129\235\129\235\129\235\129\235\129\235\129\235\129\235\129\235\129\235\129\235\129\235\129\235\129\202\129\144\166\255\255\255\251\255\251\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\223\251\255\251\182\250\003\236\003\236\003\236\003\236\003\236\003\236\003\236\003\236\003\236\003\236\003\236\003\236\003\236\003\236\003\236\003\236\003\236\003\236%\224\011\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\177\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\005\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\005\240\004\240\004\240\004\244%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\183\250\002\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\236\004\240\004\244E\228\011\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\177\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\236\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\177\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\184\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\236\004\244\004\240%\228\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\145\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\236\004\240\004\240%\232\235\129\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\012\130\235\129\178\162\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\215\250\003\240\004\240\005\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\004\240\005\240\005\240\004\240\004\240%\228\234\129\011\130\011\130\012\130\235\129\011\130\011\130\011\130\011\130\011\130\011\130\011\130\011\130\011\130\011\130\011\130\011\130\202\129\145\166\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\214\250\002\240\003\240\003\240\003\240\003\240\003\240\003\240\003\240\003\240\003\240\003\240\003\240\003\240\003\240\003\240\003\240\003\236\003\240%\228") flag2=image.new("9\000\000\000%\000\000\000\000\000\000\000r\000\000\000\016\000\001\0003\129T\129S\129S\129S\129S\129S\129S\129S\129S\129S\129S\129S\129S\129S\129T\129S\1293\129T\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\010\241D\236\133\236\133\236\133\236\133\236\133\236\133\236\133\236\133\236\133\236\133\236\133\236\133\236\134\236\133\236\134\236\133\236\133\236S\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129T\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\167\236\166\236S\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129t\129S\129T\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255+\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129s\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129S\129s\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236T\129t\129T\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129s\129S\129t\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\237e\232\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236S\129s\129t\129s\129s\129s\129s\129s\129s\129s\129s\129s\129s\129s\129s\129t\129t\129S\129S\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255+\241e\236\167\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\236S\129s\129s\129s\129s\129s\129s\129s\129s\129s\129s\129s\129s\129s\129s\129s\129t\129S\129T\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241e\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\134\240S\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129t\129T\129t\129T\129T\129\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255\255*\241d\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\166\236\167\236\134\236") dico="ef" long1=var.recall("long1") long2=var.recall("long2") dim={(long1-1)*516+math.eval("dim(ef"..tostring(long1)..")/84") , (long2-1)*516+math.eval("dim(fe"..tostring(long2)..")/84")} men_lang={"en","fr","de","es","it"} var.monitor("cur_lang") var.monitor("pendu") var.store("cur_lang",locale.name()) math.eval("false=:pendu") selector = textc(25, 65, 1) difficulty = textc(0,0,"",0) on.varChange() end function on.varChange() local nm=var.recall("cur_lang") if nm=="fr" then cur_lan=2 elseif nm=="de" then cur_lan=3 elseif nm=="es" then cur_lan=4 elseif nm=="it" then cur_lan=5 else cur_lan=1 end select_langu(nm) if mode==2 then return 1 end end function on.paint(gc) ww=platform.window:width() wh=platform.window:height() if selector.text==1 then if difficulty.num==0 then gc:drawImage(flag1,ww-80,0) else gc:drawImage(flag2,ww-80,0) end end gc:setColorRGB(0,0,0) gc:setFont("serif","r",12) --Game if mode == 3 and not(wordchosen) then -- Typing for 2 player mode gc:drawString(lg[6],10,20) gc:drawString(">"..input,10,35) elseif mode == 2 or mode == 3 then gc:setFont("serif","r",12) for i,let in ipairs(blanks) do gc:drawString(let,10*i,52) end gc:setFont("serif","b",12) gc:drawString(category,20,20) gc:drawString(lg[7]..lives,130,20) if mode==2 and (lives<=2 or win~=0) then gc:drawString(lg[8]..lang[2-difficulty.num].." :",10,80) gc:setFont("serif","r",12) gc:drawString(string.usub(ligne,32),0,100) else gc:setFont("serif","r",12) end gc:drawString(lg[9]..trash,10,125) --Drawing Hangman drawHangman(gc) if win~=0 then gc:setFont("serif","b",15) local wid=gc:getStringWidth(wintext) gc:setColorRGB(10,40,0) gc:fillRect(ww/2-wid/2-3,wh/2-3,wid+6,gc:getStringHeight(wintext)+6) gc:setColorRGB(180,50,50) gc:fillRect(ww/2-wid/2,wh/2,wid,gc:getStringHeight(wintext)) gc:setColorRGB(20,80,0) gc:drawString(wintext,ww/2-gc:getStringWidth(wintext)/2,wh/2,"top") end end --Menu if mode == 1 then gc:setColorRGB(0,0,0) gc:setFont("sansserif","r",12) gc:drawString(lg[1],30,30,"top") gc:setFont("serif","r",10) gc:drawString(lg[2],40,60,"top") gc:drawString(lg[3],40,75,"top") gc:drawString(lg[4],40,90,"top") gc:drawString(lg[5],40,105,"top") gc:setFont("sansserif","i",9) gc:setColorRGB(0,0,100) gc:drawString(lg[26],10,140,"top") gc:drawString(lg[27],8,155,"top") gc:setColorRGB(0,0,0) gc:setFont("sansserif","r",10) gc:fillRect(selector.x,selector.y,10,10) if selector.text == 1 then shift(difficulty,120,60) gc:drawString(difficulty.text,difficulty.x,difficulty.y,"top") gc:fillPolygon({115,64,115,76,110,70,115,64}) gc:fillPolygon({185,64,185,76,190,70,185,64}) end lives = 0 drawHangman(gc) end --About Mode if mode == 4 then gc:drawString(lg[10],25,20) gc:drawString(lg[11],8,40) gc:drawString(lg[12],25,80) gc:setFont("sansserif","i",9) gc:setColorRGB(0,0,100) gc:drawString(lg[28],20,120) gc:setColorRGB(0,0,0) gc:setFont("sansserif","r",10) end --Instructions if mode == 5 then for i=0, 5 do gc:drawString(lg[13+i],30,40+17*i) end for i=0, 3 do gc:drawString(lg[19+i],30,147+15*i) end gc:setFont("sansserif","b",12) gc:drawString(lg[1],20,17) end gc:setFont("sansserif","r",8) gc:drawString(lg[23],3,wh-2,"bottom") end function on.charIn(key) if mode == 2 or (mode == 3 and wordchosen == true) then key = string.lower(key) if not gameover and string.find(key,"[%w]") then if not keyinlist(key, guessedlets) then inword = false for k=1, #wordsplit do if key == string.lower(strtabl2[k]) then blanks[k] = wordsplit[k] inword = true end end if inword == false then trash = trash..key.." " lives = lives - 1 if lives <= 0 then wintext=lg[24] win=2 gameover = true end end if inword == true then if keyinlist("_",blanks) == false then wintext=lg[25] win=1 gameover = true end end table.insert(guessedlets,key) end end if mode == 3 then init3 = true end end if mode == 3 and wordchosen == false then if math.eval("dim("..string.uchar(34)..input..string.uchar(34)..")") <= 31 then input = input..key end end platform.window:invalidate() end function on.arrowKey(dir) if mode == 1 then if dir == "up" then selector.y = selector.y - 15 selector.text = selector.text - 1 elseif dir == "down" then selector.y = selector.y + 15 selector.text = selector.text + 1 end if selector.text == 0 then selector.y = 110 selector.text = 4 elseif selector.text == 5 then selector.y = 65 selector.text = 1 end if selector.text == 1 and (dir == "left" or dir == "right") then if dir == "left" or dir == "right" then difficulty.num = 1-difficulty.num end difficulty.text=lang[difficulty.num+1] end end platform.window:invalidate() end function on.enterKey() --Menu if mode == 1 then mode = selector.text + 1 if mode==2 then math.eval("true=:pendu") end generateword() generateother() end if mode == 2 then if gameover == true then generateother() end end if mode == 3 and input ~= "" then wordchosen = true category = lg[3] wordsplit = split(input) length = math.eval("dim("..string.uchar(34)..input..string.uchar(34)..")") generateother() end platform.window:invalidate() end function on.backspaceKey() if mode == 3 and wordchosen == false then input = string.usub(input,0,math.eval("dim("..string.uchar(34)..input..string.uchar(34)..")")-1) end platform.window:invalidate() end function on.escapeKey() if mode == 3 and wordchosen == true then wordchosen = false input = "" init3 = false else mode = 1 math.eval("false=:pendu") end platform.window:invalidate() end function generateword() local ran,q,r if difficulty.num == 0 then dico="ef" elseif difficulty.num == 1 then dico="fe" end category=lang[difficulty.num+1] ran=math.random(dim[difficulty.num+1]) q=math.floor(ran/516) r=ran-q*516 ligne=math.eval("mid("..dico..tostring(q+1)..","..tostring(r*84+1)..",84)") word = string.usub(ligne,1,31) -- var.store("word",word) var.store("r",ran) var.store("l",ligne) wordsplit = split(word) length = math.eval("dim("..string.uchar(34)..word..string.uchar(34)..")") end function generateother() blanks = {} trash = "" guessedlets = {} for i=1,length do if wordsplit[i] == " " then table.insert(blanks," ") elseif string.find(strtabl2[i],"[%w]") then table.insert(blanks,"_") else table.insert(blanks,wordsplit[i]) end end win=0 gameover = false lives = 6 end function on.tabKey() if mode == 2 then generateword() generateother() elseif mode == 1 or mode == 4 or mode == 5 then cur_lan=math.fmod(cur_lan,5)+1 select_langu(men_lang[cur_lan]) end platform.window:invalidate() end function keyinlist(key, list) for j, element in ipairs(list) do if key == element then return true end end return false end function split(str) local strtabl = {} local fin=math.eval("dim("..string.uchar(34)..str..string.uchar(34)..")") strtabl2 = {} for j=1,fin do char = string.usub(str,j,j) if string.byte(char)>191 and string.byte(char)<256 then table.insert(strtabl2,math.eval("accent("..string.uchar(34)..char..string.uchar(34)..")")) else table.insert(strtabl2,char) end table.insert(strtabl,char) end return strtabl end function shift(obj, newx, newy) obj.x, obj.y = newx, newy end function drawHangman(gc) gc:fillRect(ww-48,206,30,5) gc:fillRect(ww-28,56,3,150) gc:fillRect(ww-63,56,35,3) if lives < 6 then gc:drawLine(ww-63,56,ww-63,66) gc:drawArc(ww-78,66,30,30,0,360) end if lives < 5 then gc:drawLine(ww-63,96,ww-63,146) end if lives < 4 then gc:drawLine(ww-63,106,ww-78,126) end if lives < 3 then gc:drawLine(ww-63,106,ww-48,127) end if lives < 2 then gc:drawLine(ww-63,146,ww-73,176) end if lives < 1 then gc:drawLine(ww-63,146,ww-53,176) end end function select_langu(nm) var.store("cur_lang",nm) local u,e u=string.uchar(252) e=string.uchar(233) if nm=="fr" then lang={"italien","fran"..string.uchar(231).."ais"} lg={"PENDU","Jouer","2 Joueurs",string.uchar(192).." propos","Commandes","Entrez un mot, < 31 caract"..string.uchar(232).."res","Vies: ","en ","Fausses lettres: ","Code d'origine par cyanophycean314,","adapt"..e.." pour TI-Translate par Louis DURAND","Merci "..string.uchar(224).." Omnimaga et Inspired-Lua!"," Utilisez le clavier pour jouer.","Devinez le mot en 6 essais.","Lorsqu'il vous reste deux vies,","vous obtenez la traduction !","En 2 joueurs, une personne entre un mot","et l'autre le cherche.","Lettres - Deviner le mot","Tab - Nouveau mot","Esc - Retour au Menu","Enter - Retenter le m"..string.uchar(234).."me mot","par cyanophycean314, adapt"..e.." par Loulou_54 pour TI-Translate","Vous avez perdu !","Vous avez gagn"..e.." !","Le premier pendu bilingue sur calculatrice","avec "..tostring(dim[2]).." mots dans chaque langue !","[tab] pour choisir la langue du jeu."} elseif nm=="de" then lang={"italienisch","franz"..string.uchar(246).."sisch"} lg={"GALGENSPIEL","Spielen","2 Spieler","A propos","Steuerfunktionen","Geben Sie ein Wort ein, < 31 Buchstaben","Leben: ","in ","Falsche Buchstaben: ","Originalfassung cyanophycean314, bearbeitet","f"..u.."r TI-Translate durch Louis DURAND","Dank an Omnimaga und Inspired-Lua!"," Benutzen Sie zum Spielen die Tastatur.","Erraten Sie das Wort in 6 Versuchen.","Bei nur noch 2 Versuchen","erhalten Sie die "..string.uchar(220).."bersetzung !","Bei 2 Spielern gibt einer ein Wort ein,","der andere err"..string.uchar(228).."t es.","Buchstaben - Wort erraten","Tab - Neues Wort","Esc - Zur"..u.."ck zum Men"..u.."","Enter - Versuch wiederholen","durch cyanophycean314, bearbeitet durch Loulou_54 f"..u.."r TI-Translate","Verloren !","Gewonnen !","Das erste zweisprachige Galgenspiel f"..u.."r TI","mit "..tostring(dim[2]).." W"..string.uchar(246).."rtern aus beiden Sprachen !","[tab] Sprachwahl"} elseif nm=="it" then lang={"italiano","francese"} lg={"IMPICCATO","Giocare","2 giocatori","A proposito","Ordini","Entrate une parola, < 31 caratteri","Vite: ","in ","Rifiutti: ","Codice di origine da cyanophycean314,","adattato per TI-Translate da Louis DURAND","Grazie a Omnimaga e Inspired-Lua!"," Utilizzate la tastiera per giocare.","Indovinate la parola in 6 prove.","Quando ci sono 2 vite,","Ottenete la traduzione !","In 2 giocatori, qualcuno entra una parola","e l'altro la cerca.","Lettere - Indovinare la parola","Tab - nuova parola","Esc - Ritorno al men"..string.uchar(249),"Enter - Ritentare la stessa parola","da cyanophycean314, adattato da Loulou_54 per TI-Translate","Avete perso !","Avete vinto !","Il primo impiccato bilingue su calcolatrice ","con "..tostring(dim[2]).." parole in ogni lingua !","[tab] per scegliere la lingua del gioco."} elseif nm=="es" then lang={"italiano","franc"..e.."s"} lg={"AHORCADO","Jugar","2 jugadores","a prop"..string.uchar(243).."sito","Mandos","Entre una palabra, < 31 car"..string.uchar(225).."cteres","Vidas: ","en ","Residuos: ","C"..string.uchar(243).."digo de origen por cyanophycean314,","adaptado TI-Translate por Louis DURAND","Gracia a Omnimaga y Inspired-Lua!"," Utilize el teclado.","Adivinad la palabra en 6 pruebas.","Cuando se le queda 2 vidas,","obtiene la traducci"..string.uchar(243).."n !","Con 2 jugadores, una persona entra una","palabra y el otro buscar.","Letras - Adivinar la palabra","Tab - Nueva palabra","Esc - vuelta hacia el men"..string.uchar(250),"Enter - Reintertar la misma palabra","por cyanophycean314, adaptado por Loulou_54 para TI-Translate","Ha perdido ud !","Ha ganado ud !","El primero ahorcado biling"..u.."e sobre calculadora","con "..tostring(dim[2]).." plabras en cada idioma !","[tab] para escoger la idioma del juego."} else lang={"italian","french"} lg={"HANGMAN","Play","2 Player","About","Instructions","Please Choose a word, < 31 characters long","Lives: ","in ","Trash: ","Original code by cyanophycean314,","adapted for TI-Translate by Louis DURAND","Thanks to Omnimaga and Inspired-Lua!"," Press letters on the keypad to play.","Guess the word within 6 tries.","When you have two lives left,","you get the translation !","In two player, one person picks the word,","the other will try and guess.","Letters - Guess letters","Tab - New Puzzle","Esc - Return to Menu","Enter - Retry word","by cyanophycean314, adapted by Loulou_54 for TI-Translate","You lost THE GAME","You have won !","The first bilingual hangman on a calculator","with "..tostring(dim[2]).." words in each language !","[tab] to choose the game language."} end difficulty.text=lang[difficulty.num+1] end