Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Hilo game
Index -> Programming, Turing -> Turing Submissions
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Doug101




PostPosted: Wed Apr 02, 2008 7:14 am   Post subject: Hilo game

heres my Hilo game


hilo[1].t
 Description:

Download
 Filename:  hilo[1].t
 Filesize:  1.76 KB
 Downloaded:  372 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
repsoccer16




PostPosted: Wed Apr 02, 2008 8:01 am   Post subject: 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




PostPosted: Wed Apr 02, 2008 8:02 am   Post subject: 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




PostPosted: Wed Apr 02, 2008 8:06 am   Post subject: 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




PostPosted: Wed Apr 02, 2008 8:30 am   Post subject: Re: Hilo game

your welcome and just msg me when you are done fixing it.
Doug101




PostPosted: Wed Apr 02, 2008 11:31 am   Post subject: Re: Hilo game

it might take a month or so.
petree08




PostPosted: Wed Apr 02, 2008 1:18 pm   Post subject: RE:Hilo game

If it takes a month to make the guess a number game there is something wrong
Doug101




PostPosted: Wed Apr 02, 2008 5:28 pm   Post subject: 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.
Sponsor
Sponsor
Sponsor
sponsor
Doug101




PostPosted: Thu Apr 03, 2008 8:00 am   Post subject: Re: Hilo game

if you have been having trouble downloading the game ill post it again as text.
Doug101




PostPosted: Thu Apr 03, 2008 8:00 am   Post subject: 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




PostPosted: Thu Apr 03, 2008 8:15 am   Post subject: Re: Hilo game

i also have one


high low game.t
 Description:
good game

Download
 Filename:  high low game.t
 Filesize:  2.91 KB
 Downloaded:  144 Time(s)

Doug101




PostPosted: Thu Apr 03, 2008 8:32 am   Post subject: Re: Hilo game

micheal its my hilo game not yours but ok u can post
2qwerty




PostPosted: Fri Apr 04, 2008 7:22 am   Post subject: RE:Hilo game

hey
2qwerty




PostPosted: Fri Apr 04, 2008 7:22 am   Post subject: RE:Hilo game

hello
2qwerty




PostPosted: Fri Apr 04, 2008 7:23 am   Post subject: Re: Hilo game

spam
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 2  [ 17 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: