Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Mystical Magic - Puzzle Number 2 in DBClassic

Author
Message
gearce
17
Years of Service
User Offline
Joined: 18th Dec 2006
Location: ex SCOTLAND, now MELBOURNE, Australia
Posted: 13th Jan 2007 05:00 Edited at: 14th Jan 2007 06:14
Hello again everybody. Here's another fun puzzle from my Merlin's Wide and Wonderful World of Mystical Magic series. Thanks Zotoaster, I have adapted your writeText function to now use in my programmes and this is the first one posted using the adaptation.



Probably no need to tell anyone but, as previously, highlight the code, right click, copy and paste into DBClassic.

Enjoy

gearce

*****************************************
E D I T
*****************************************
Sorry folks. MAJOR BLUNDER
If you click outside a card area, the programme continues as if a card has been chosen.

To correct this please make the following changes

Go to the subroutine check_selection:
In the for/next loop
change (y>=110 and y<=254)
to (y>=50 and y<=194)
and
change (y>=264 and y<=408)
to (y>=204 and y<=348)

After next p in the for/next loop
insert



and after re_turn:
insert



Go to Choose a card

Between this



and this



add this



gearce

LANG MAY YER LUM REEK

Login to post a reply

Server time is: 2024-11-23 00:37:52
Your offset time is: 2024-11-23 00:37:52