Jump to content
IGNORED

TI-Basic game: Sokoban


lucien2
 Share

Recommended Posts

Trick ? Are you doing GOSUB without RETURN ?

 

He probably meant GOTO - for counting remaining rams.... Anyhow, Lucien, keep at it, because you're really close. I was about to abandon my game before some of these kind folks shared some techniques (byte-i-fied data statements in strings instead of comma separated numerics) that saved me.

 

There have been some conversations here about how garbage collection slows down string manipulations (I think that qualifier was used) which could be if you're doing TONS. Hopefully I'll get a chance to peek this evening.

 

-H

Link to comment
Share on other sites

Trick ? Are you doing GOSUB without RETURN ?

 

Yes, without return. So it can overflow the stack.

 

There have been some conversations here about how garbage collection slows down string manipulations (I think that qualifier was used) which could be if you're doing TONS.

 

I understand this, but the only string manipulation in each loop was

s$=s$+chr$(c)

with 3000 bytes of RAM free.

 

In my last exemples I removed all string manipulations in the loop.

Edited by lucien2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...