Hi Ken,

Please e-mail me updated code you did. I'll make a diff against my last version 
to see the changes.

www.georgerimakis.com/tsweep.html is the page where I am keeping the code up to 
date.

~George

> On Apr 23, 2017, at 7:08 PM, Ken Pettit <[email protected]> wrote:
> 
> Hi George,
> 
> One thing I did when I was adding AsciiPixels was a tiny bit of code 
> optimization (perhaps I shouldn't have?):
> 
> 1.  I noticed you had duplicated code for printing "You Lose" and "You Win".  
> I combined these into a single routine with "Win" or "Lose" passed as a 
> string.  Also I noticed you use % variables quite a bit.  
> 
> 2.  I changed all of these to DEFINT so they are integer by default and 
> removed all of the '%' characters.  This both saves space and a tiny bit of 
> time as the BASIC parser has fewer characters to intrepret.
> 
> 3.  There were a few places where you check for "Y" and on the next line 
> check for "y" (same with "N" and "n").  I combined these like:
> 
>      14140 IF A$="Y" OR A$="y" THEN 14200
> 
> 4.  I removed all occurances of "THEN GOTO line_no"  to simply "THEN 
> line_no".  The GOTO is assumed in this case.
> 
> Ken
> 
>> On 4/23/17 2:34 PM, George Rimakis wrote:
>> Hi Ken,
>> 
>> I'm not making any more change. Feel free to reach out to me directly. I'd 
>> like to integrate this fully with my own graphics if I can.
>> 
>> ~George
>> 
>> On Apr 23, 2017, at 3:49 PM, Ken Pettit <[email protected]> wrote:
>> 
>>> George,
>>> 
>>> Are you still making major changes to Test Sweeper?  I had a few minutes on 
>>> my hands this morning and integrated my AsciiPix routines into the latest 
>>> copy of TSWEEP.DO that I had.  See attached photos of it running in 
>>> VirtualT.  I haven't tried this on a real M100 yet, but I think it should 
>>> work.
>>> 
>>> If you are interested, I could give you a quick explanation of how I did 
>>> this.  Oh, and the BASIC code detects if ASCPIX is present and defaults 
>>> back to the original if not.
>>> 
>>> Ken
>>> 
>>>> On 4/22/17 8:33 PM, George Rimakis wrote:
>>>> Hi John,
>>>> 
>>>> You knew exactly what I was getting at.
>>>> 
>>>> I guess it's possible to use PSET and PRESET to draw mines. Although an รณ 
>>>> might be just as well.
>>>> 
>>>> My girlfriend was rather unimpressed with Text Sweeper due to "not real 
>>>> flags and mines".
>>>> 
>>>> ~George
>>>> 
>>>> On Apr 22, 2017, at 10:31 PM, John R. Hogerhuis <[email protected]> wrote:
>>>> 
>>>>> 
>>>>>> On Sat, Apr 22, 2017 at 6:58 PM George Rimakis <[email protected]>      
>>>>>>                 wrote:
>>>>>> Hey guys,
>>>>>> 
>>>>>> Is there any way to do custom characters in a BASIC program?
>>>>>> 
>>>>>> ~George
>>>>> 
>>>>> Not that I know of. I've seen special display software like View80 but 
>>>>> that's in machine language.
>>>>> 
>>>>> I did notice there's an o with a tick over it. Might make a good bomb for 
>>>>> text sweeper. 
>>>>> 
>>>>> -- John.  
>>> 
>>> <tsweep1.png>
>>> <tsweep2.png>
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to