
-----------------------------------
Doug101
Wed Apr 02, 2008 7:14 am

Hilo game
-----------------------------------
heres my Hilo game

-----------------------------------
repsoccer16
Wed Apr 02, 2008 8:01 am

Re: Hilo game
-----------------------------------
pretty good game...could use more specifics on how far away you are from the number. For example warm,hot, cold, etc.

-----------------------------------
repsoccer16
Wed Apr 02, 2008 8:02 am

Re: Hilo game
-----------------------------------
so try to make a revised version if you have time and repost it and i'll give you more feedback.

-----------------------------------
Doug101
Wed Apr 02, 2008 8:06 am

Re: Hilo game
-----------------------------------
k ill work on it. it might take a while cause ive got other stuff to do thanks for the feedback repsoccer16.

-----------------------------------
repsoccer16
Wed Apr 02, 2008 8:30 am

Re: Hilo game
-----------------------------------
your welcome and just msg me when you are done fixing it.

-----------------------------------
Doug101
Wed Apr 02, 2008 11:31 am

Re: Hilo game
-----------------------------------
it might take a month or so.

-----------------------------------
petree08
Wed Apr 02, 2008 1:18 pm

RE:Hilo game
-----------------------------------
If it takes a month to make the guess a number game there is something wrong

-----------------------------------
Doug101
Wed Apr 02, 2008 5:28 pm

Re: Hilo game
-----------------------------------
no it will take a month because i have other stuff to do and im not being graded on this one anymore.

-----------------------------------
Doug101
Thu Apr 03, 2008 8:00 am

Re: Hilo game
-----------------------------------
if you have been having trouble downloading the game ill post it again as text.

-----------------------------------
Doug101
Thu Apr 03, 2008 8:00 am

Re: Hilo game
-----------------------------------
/***********************************************************/
/*         Title: HiLo game                                */
/*          Date: March 04/08                              */
/*          Name: Douglas Mick                             */
/*   Description: The computer chooses a random            */
/*                number and ask you to guess it.          */
/*                                                         */
/***********************************************************/


%Variables
randomize
var num : int
var num1 : int
var answer : string
var count : int:=0
var key : string (1)
var name:string

%Instructions
put"Enter your name"
get name
put"Welcome ",name," to my HiLo game."
delay(2000)

drawfillbox(0,0,639,399,12)
colorback(12)
put"HiLo Game"
put""
put"Instructions"
put"Guess a number in between 1 and 100"
put"If your number is too high it will tell you"
put"If your number is too low it will tell you"
put""
put"Press any key to continue"
getch(key)
cls



%Program
drawfillbox(0,0,639,399,46)
colorback(46)
loop
    randint (num, 1, 100)
    loop
        put "Pick a number between 1 and 100"
        get num1
        count:=count+1
        if num1 < 1 or num1 > 100 then
            cls
            put "The number you have entered is out of range."
        elsif num1 > num then
            cls
            put "Im sorry ",name," that number is too high."
        elsif num1 < num then
            cls
            put "Im sorry ",name,"that number is too low."
        end if
        exit when num1 = num
    end loop
    cls
    put "congratulations ",name," you have guessed correctly."
    put "you guessed ",count," numbers."
    put name," would you like to try again?"
    put "(y/n)"
    get answer
    count:=count-count
    cls
    exit when answer = "n" or answer ="N"
end loop

-----------------------------------
Michael516
Thu Apr 03, 2008 8:15 am

Re: Hilo game
-----------------------------------
i also have one

-----------------------------------
Doug101
Thu Apr 03, 2008 8:32 am

Re: Hilo game
-----------------------------------
micheal its my hilo game not yours but ok u can post

-----------------------------------
2qwerty
Fri Apr 04, 2008 7:22 am

RE:Hilo game
-----------------------------------
hey

-----------------------------------
2qwerty
Fri Apr 04, 2008 7:22 am

RE:Hilo game
-----------------------------------
hello

-----------------------------------
2qwerty
Fri Apr 04, 2008 7:23 am

Re: Hilo game
-----------------------------------
spam

-----------------------------------
2qwerty
Fri Apr 04, 2008 7:23 am

Re: Hilo game
-----------------------------------
spam

-----------------------------------
andrew.
Sun Apr 06, 2008 9:27 am

Re: Hilo game
-----------------------------------
Quick suggestion for you Doug. At the end of your file, you have "count := count - count". Why not just write "count := 0"? But other than that, it's great.
