OK i fixed that problem only to be left with another one
here is the code up to date
dim letter$(10)
letter$(1)="magic"
letter$(2)="trap"
letter$(3)="monster"
letter$(4)="special"
letter$(5)="monster"
letter$(6)="magic"
letter$(7)="monster"
rem Begin
_Start:
draw_player()
hide_card()
draw_com()
menu()
menu_mon:
cls
print "MONSTER"
menu_mag:
cls
print "MAGIC"
menu_spec:
cls
print "SPECIAL"
menu_trap:
cls
print "TRAP"
wait key
end
rem ____________________________________________________________________________________________
rem *** functions of the game ! ***
rem ____________________________________________________________________________________________
function ran_num()
randomize timer()
ran_no=int(rnd(6))+1
endfunction ran_no
function draw_player()
for x=0 to 5
set cursor 60+x*100,400
letter=ran_num()
print str$(letter)
set cursor 60+x*100,415
print letter$(letter)
wait 200
next x
endfunction
function draw_com()
for x=0 to 5
set cursor 60+x*100,100
letter=ran_num()
ink RGB(255,128,64),RGB(255,128,64)
set text transparent
print str$(letter)
set cursor 60+x*100,115
ink RGB(255,128,64),RGB(255,128,64)
set text transparent
print letter$(letter)
wait 200
next x
endfunction
function hide_card()
box 50,80,117,160,RGB(0,128,0),RGB(0,128,0),RGB(0,128,0),RGB(0,128,0)
wait 200
box 150,80,217,160,RGB(0,128,0),RGB(0,128,0),RGB(0,128,0),RGB(0,128,0)
wait 200
box 250,80,317,160,RGB(0,128,0),RGB(0,128,0),RGB(0,128,0),RGB(0,128,0)
wait 200
box 350,80,417,160,RGB(0,128,0),RGB(0,128,0),RGB(0,128,0),RGB(0,128,0)
wait 200
box 450,80,517,160,RGB(0,128,0),RGB(0,128,0),RGB(0,128,0),RGB(0,128,0)
wait 200
box 550,80,617,160,RGB(0,128,0),RGB(0,128,0),RGB(0,128,0),RGB(0,128,0)
endfunction
function menu()
ink RGB(255,255,255),RGB(0,0,0)
set cursor 200,200
text 200,215, "CHOOSE A CARD BY ITS TOP NUMBER---"
input "Make Your Choice ", cho_card
if cho_card= 3 or 5 or 7then goto menu_mon
if cho_card= 1 or 6 then goto menu_mag
if cho_card= 4 then goto menu_spec
if cho_card= 2 then goto menu_trap
endfunction
PROBLEMS:
1) How do i get the box to cover the text of the Computers Cards
2)Why does it in the menu at the start it always goes to TRAP when i want it do goto other area's
3) How do i make it so you can only input the numbers you have on the screen?
Please if you do post some corrected code could you write a little explaination on why it has to be changed to that and could you tell me which commands i should learn next to be able to do this game
Thanks in advance for any help posted
WHY WAIT FOR GAMES.......MAKE THEM COME TO YOU
>>>>www.sharksoft.scripterz.com<<<<<
THANKS IN ADVANCE