Posted: Fri Nov 19, 2010 6:58 pm Post subject: Turing Help Please !
Im trying to finish guessing game for turing this is what i have so far
import GUI
var num : int
var count2 : int := 0
var guess1 : int
var count : int := 0
var players : int
var guess2 : int
var answer : string
var count3 : int := 0
var count4 : int := 0
var picID: int
var ok : int
loop
setscreen ("graphics")
const message := "GUESSING GAME OMFG!!"
for i : 1 .. length (message)
color (i mod maxcolor + 48)
put message (i) ..
end for
delay (35)
end loop
put "Instructions:The goal of the game is for a player to guess the random number in the least amount of tries.When playing two players its a fight to whoever can guess it first HAVE FUN!"
procedure hello
cls
randint (num, 1, 20)