hi people...a question all the way from new zealand.
i have an assignment, of which i can choose, the only rule is that it must be a short text based adventure game. simple?. well my game is a jewel game. heres my problem.
it has nine rooms (3x3) of which you start in a room and move through the rooms by the 'go' command. each movement is by way of north,south, east,west. ie go north.
this movement will return the room, in my case the rooms are labelled as colours. this is ok for me to code. BUT, in each room is a coloured jewel, the same colours as the room colours, but a different coloured jewel in each room, the goal of my game(to win)is to put a specific jewel in a specific room by way of a 'pick up' and 'put down' method, using clues(im not sure yet),
the problem??
how do i assign the coloured jewel to the room.
(and i suppose i should ask also how can i move jewel, from room to room).
below is my game class...(1 class from 6)
//////////////////
as you can see here i have no clue to what i should do next. no idea as to what i should do to allocate a jewel to a room.
please any help would be marvellous!
thankyou
(edited by Cindy to format code using [ code] and [ /code] tags without the spaces)
[ March 18, 2003: Message edited by: Cindy Glass ]