Author |
Message |
|
luby I want to go back to Philmont!!
Calc Guru
Joined: 23 Apr 2006 Posts: 1477
|
Posted: 10 Oct 2007 09:13:18 pm Post subject: |
|
|
Well, do to a surge of interest I propose a new puzzle. Qwerty in basic. So more specifics:
Must work for the letters A-Z.
Anything on the bottom row must yield a space.
Displays the text on the graph screen as small, one after the other not inverted so you can see it.
[attachment=1948:attachment]
It also must wordwrap automatically.
All the text typed must be stored to a string
if you press Y=, it must backspace both what is displayed and what is in the string.
Exits when you press sto.
Since this is a lengthy program, I will set the bar at 247 bytes, my best attempt.
Last edited by Guest on 14 Oct 2007 06:30:23 pm; edited 1 time in total |
|
Back to top |
|
|
BatBlaster
Member
Joined: 10 Oct 2007 Posts: 160
|
Posted: 14 Oct 2007 04:06:55 pm Post subject: |
|
|
Does this work on the 84 plus? |
|
Back to top |
|
|
TheStorm
Calc Guru
Joined: 17 Apr 2007 Posts: 1233
|
Posted: 14 Oct 2007 04:11:20 pm Post subject: |
|
|
the challenge is to make it work on an 83+ or 84+ in the smallest size.
Last edited by Guest on 14 Oct 2007 04:11:47 pm; edited 1 time in total |
|
Back to top |
|
|
Weregoose Authentic INTJ
Super Elite (Last Title)
Joined: 25 Nov 2004 Posts: 3976
|
Posted: 14 Oct 2007 04:17:30 pm Post subject: |
|
|
It (your program, should you desire to submit one to the challenge) should work on the 84+ simply as a consequence of its interoperability with the TI-83 Plus – as long as you don't plan on using clock functions to meet the challenge requirements. The purpose of this subforum is outlined here (marked, "read this first"), which you should have read first. Because of this and recent posts, I suggest slowing down and becoming aware of and accustomed to the environment you're in before acting on impulse, so that we don't end up having to explain things like this.
Last edited by Guest on 14 Oct 2007 04:19:25 pm; edited 1 time in total |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 14 Oct 2007 05:51:20 pm Post subject: |
|
|
Given that this is a rather lengthy teaser, I suggest we post our answers openly and try to optimize them, as it's slightly strenuous to write the whole thing yourself. This is my attempt (I think it's 219 bytes):
"(1 space)→Str1
DelVar R DelVar C ClrDraw
Repeat K=1
Repeat Ans
.1getKey
E2fPart(Ans)-int(Ans→K
End
If K>9:Then
If K<37:Then
sub("QWERTYUIOPASDFGHIJKLZXCVBNM",K-9,1
Else
"(1 space)
End
Text(R,C,Ans
Str1+Ans→Str1
C+4→C
If C=92:Then
DelVar C R+6→R
End
End
If K=9 and Str1≠"(1 space)
Then
sub(Str1,1,length(Str1)-1→Str1
If not(C:Then
92→C
R-6→R
End
C-4→C
Text(R,C,"(3 spaces)
End
End
Last edited by Guest on 10 Sep 2010 04:53:12 am; edited 1 time in total |
|
Back to top |
|
|
Weregoose Authentic INTJ
Super Elite (Last Title)
Joined: 25 Nov 2004 Posts: 3976
|
Posted: 15 Oct 2007 02:04:14 am Post subject: |
|
|
">
ClrDraw
Repeat D=9.1
Ans→Str1
‾1+length(Ans→A
int(Ans/23→B
4A-92Ans→C
Text(6B,Ans,sub(Str1,A+1,1
Repeat Ans
.1getKey→D
End
10fPart(Ans)-3+3int(Ans
If iPart(2fPart(D
1
Str1+sub(" P??OL?IK?UJMYHNTGBRFVEDCWSXQAZ",Ans,1
If D<ln([font="times new roman"]π
Then
sub(Str1,1,max(A,1
Text(6B,C,"(3 spaces)
End
End
177 bytes without the title. This maps all the right keys with all the right letters, but the remaining keys are mapped as well (and incorrectly). I wanted to try a few gems like If int(sinh‾¹(D (the contextual converse of my replacement using pi) and sub(Str1+sub(" P…Z",Ans,1),1,max(1,A+2(D>ln([font="times new roman"]π (which allows addition/deletion of letters using only one line), but technical difficulties brought the end result a lackluster finish. I'm confident that this is not the smallest size; replacing the (1-pixel width) space with a dot icon, on the other hand... That's for another challenge.
Last edited by Guest on 10 Sep 2010 04:40:51 am; edited 1 time in total |
|
Back to top |
|
|
luby I want to go back to Philmont!!
Calc Guru
Joined: 23 Apr 2006 Posts: 1477
|
Posted: 15 Oct 2007 09:18:46 pm Post subject: |
|
|
WoW....
The awesomeness is dripping off my moniter. I'll be back with some paper towels....
I never expected it to drop below 200 bytes, let alone 177!!!
Nice Job Goose! |
|
Back to top |
|
|
adriweb
Newbie
Joined: 28 Aug 2007 Posts: 22
|
Posted: 16 Oct 2007 06:07:32 am Post subject: |
|
|
Weregoose wrote: sub(Str1+sub(" P…Z",Ans,1),1,max(1,A+2(D>ln(π woooow ! difficult to understand ... :biggrin:
Last edited by Guest on 16 Oct 2007 06:08:45 am; edited 1 time in total |
|
Back to top |
|
|
BatBlaster
Member
Joined: 10 Oct 2007 Posts: 160
|
Posted: 20 Oct 2007 10:22:54 am Post subject: |
|
|
The txt to calc doesn't work well under wine.
Should I find another editor. |
|
Back to top |
|
|
Weregoose Authentic INTJ
Super Elite (Last Title)
Joined: 25 Nov 2004 Posts: 3976
|
Posted: 20 Oct 2007 07:19:11 pm Post subject: |
|
|
QWERTY.TXT wrote: To send a text file to the calculator, save the file as a plain text file. Then drag and drop that file on "TxttoCal.exe". Next send the file created to your calculator. "CaltoTxt" and "TxttoCal" can also be run from the command line. Their usage is "TxttoCal source (destination) (name)" and "CaltoTxt source (destination)". Is this what you're talking about?
Last edited by Guest on 20 Oct 2007 07:21:19 pm; edited 1 time in total |
|
Back to top |
|
|
BatBlaster
Member
Joined: 10 Oct 2007 Posts: 160
|
Posted: 21 Oct 2007 08:37:43 am Post subject: |
|
|
I am on Linux. Know an editor that can do that on linux. |
|
Back to top |
|
|
|