I'm going to study the game, inside and out. And this time, I'll focus first on the levels, not the text stuff. That's what derailed my 83+ only remake.
Excepting Full, there's nothing Axe provides that doesn't work on 83+s.
Even with Full, the program would still run fine on the 83+. It would just run over twice slower.
Anyway I hope that isn't cancelled or anything, as it would be nice to see an Axe remake. If the Axe remake comes to fruition, will it feature the full game including map exploration or will it just be a battle arena like when Persona 4 was ported from the PS2/Vita to the PS3?
I'm not really in charge of this anymore, JWins is if he chooses so (so it's not cancelled). I don't see why it won't include map exploration, since I don't see why JWins (if he chooses to run the development) would throw out the existing map exploration code.
Well, actually, I would be CREATING the code. But it shouldn't be too hard.
I'll try to make it as much like the original as possible, to start it out.
Challenge 4 To clear anything up, a tie will result in the earlier solution becoming the winner in the category.
Problem For a given string input consisting of only uppercase letters and numbers, add the ASCII value of each alphabetical character (that's 65-90 for uppercase A-Z) and subtract every number. Display the result, but printed vertically with each digit on a new line.
You CAN end up with a negative number, in which case the first line should have a - sign.
If any further clarification is necessary, contact me or willrandship. We will try to keep your heads from exploding.
TI-83+ BASIC
Rank
User
Size
Date
Code
1
Runer112
139
8/7/2014 11:54:17 PM
Spoiler For Spoiler:
Ans->Str1 DelVar BFor(A,1,length(Str1 inString("876543210ABCDEFGHIJKLMNOPQRSTUVWXYZ",sub(Str1,A,1 B+Ans-9+64(Ans>9->B End " If B<0 Disp Ans+Ans+Ans+"~ For(A,int(~log(abs(B)+not(B)+.1)),~1 Disp iPart(10fPart(abs(B10^(A End
2
JWinslow23
141
8/4/2014 4:34:15 PM
Spoiler For Spoiler:
DelVar CInput Str1 For(X,1,length(Str1 64+inString("ABCDEFGHIJKLMNOPQRSTUVWXYZ",sub(Str1,X,1 If Ans=64 ~expr(sub(Str1,X,1 C+Ans->C End " If C<0 Pause Ans+Ans+Ans+"~ For(X,~int(log(abs(C))),0 Pause int(abs(C10^(X abs(C)-Ans10^(~X->C End
n=0 function on.charIn(c)n=tonumber(c)and n-c or n+c:byte()s=""..n for i=0,#s do print(s:sub(i,i))end end
2
Adriweb
107 (function body)
8/10/2014 5:48:57 PM
Spoiler For Spoiler:
function codegolf4(s) n=0;for i=1,#s do t=s:sub(i,i):byte()n=n-(t<58 and t-48 or-t)end;z=""..n;for i=1,#z do print(z:sub(i,i))endend
3
Jens_K
115
8/9/2014 5:46:04 PM
Spoiler For Spoiler:
n=0 for c in clipboard.getText():gmatch"."do n=n+(tonumber(c)and -c or c:byte())..""end print((n:gsub(".","%1\n")))
Golfscript
Rank
User
Size
Date
Code
1
Runer112
22
8/7/2014 11:54:17 PM
Spoiler For Spoiler:
0\{.65<\[.48\-]=+}/`n*
CJam
Rank
User
Size
Date
Code
1
Runer112
22
8/7/2014 11:54:17 PM
Spoiler For Spoiler:
0q{i_'A<{48\}0?-+}/`N*
TI-83+ z80
Rank
User
Size
Date
Code
1
Runer112
59
8/7/2014 11:54:17 PM
Spoiler For Spoiler:
;#SECTION "MAIN", CODE
org userMem - 2 db 0BBh, 6Dh Start: B_CALL _RclAns rst rFINDSYM B_CALL _OP1Set0 ex de, hl ld c, (hl) inc hl ld b, (hl) add hl, bc SumLoop: push hl cp 10 jq nc, Letter B_CALL _SetXXOP2 B_CALL _FPSub jq Continue
Letter: add a, '0' B_CALL _SetXXOP2 rst rFPADD Continue: pop hl ld a, (hl) dec hl sub '0' jq nc, SumLoop B_CALL _FormEReal ld l, OP3 & 0FFh DispLoop: ld a, (hl) or a ret z inc hl push hl B_CALL _PutC B_CALL _NewLine pop hl jq DispLoop
Nice challenge! I might use it. I already have a 140 byte solution in TI-BASIC, assuming ENTER must be pressed after each digit, and the numbers and negative sign are aligned to the right.
Can we assume the input is at least 2? Otherwise, largest prime factor doesn't actually exist. Also, can my output have a trailing space? That makes things easier in TI-BASIC because of silly string limitations.
If yes to both of these, then I have a 67-byte TI-BASIC solution.
I actually don't know the rules on valid input. My 90 byte solution assumes input is any integer. Ask willrandship for confirmation, I don't know.
Now everything's more complicated :\ stupid 2-byte tokens.
It's not complicated at all. I did it in 122 bytes. The prime factorization code was no problem. Neither was the binary conversion. It assumes anything 1 and under are valid.
EDIT: I totally changed my greatest prime factor algorithm so lists are not used, and I have 90 bytes! Update tomorrow.