home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NOVA - For the NeXT Workstation
/
NOVA - For the NeXT Workstation.iso
/
SourceCode
/
Tutorial
/
Cookbook
/
26.HiLo
/
HiLo.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1992-12-19
|
310 b
|
23 lines
#import <objc/Object.h>
#include <libc.h>
#define MAXRND 2147483649
extern long random();
extern float getrand();
int seed;
@interface HiLo:Object
{
id hint;
id numberGuesses;
int number;
int numberOfGuesses;
int answer;
}
- setHint:anObject;
- newGame:sender;
- guess:sender;
@end