Hi friend ,
It's just my first thread .
i write a code for a text adventure game.
but i have some problem with look command
i want it use with both way a stand alone look and with object
let me clear,
when i give command
>look
then it displays the object such as watch,chair
AND
when
>look watch then info abt watch
just like
>look
printf("u currently looking a watch,chair,fan).
and
>look watch
printf("Its 5:45 now")
its possible to use look with both ways?