Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - JWinslow23

Pages: 1 ... 7 8 [9] 10 11 ... 40
121
TI Z80 / Re: Swing Copters 84+
« on: October 09, 2014, 12:09:58 pm »
As long as you still post quite a bit of updates here to let us know about the progress I'm good with this :P
Don't worry, the Vine updates are just for times when I can't immediately upload the files. For instance, at school, if I make a big development, I go to Vine, then remind myself to update on Omnimaga at the end of the day.

122
TI Z80 / Re: Swing Copters 84+
« on: October 09, 2014, 08:59:18 am »
Oooh I love how it looks so far and the swinging axe parsers in the game came out pretty nicely. Good job and glad to see you coding again (I was getting worried 2048 was your final game since you only did Code Golf contest now :P)
I was getting worried, too. Maybe I might do Amazing Thief...MAYBE. :P
Looking like the original. Nice. :)
Thanks. I actually wanna have more goodies to make it look like the original. :)

If I don't post here, any updates (without a download link) will be posted on my Vine and Twitter accounts. ( @josiah_says )

123
TI Z80 / Swing Copters 84+
« on: October 08, 2014, 07:26:03 pm »
I am starting a Swing Copters clone in Axe! So far, the game is going along smoothly.

I hope to add a bunch of graphical goodies, and some highscore saving (what is a game without it? :P )

This is the smallest that I consider a playable demo as of late. The download link is attached. ASWNGCPT is the source, and SWNGCPTR is the game.

124
Art / Swing Copters sprites?
« on: October 07, 2014, 08:40:21 am »
As you know Flappy Bird has died down. But the creator hasn't, as evident by Swing Copters' recent release. I want to make a port to the calculator, but don't know how to make the swinging hammer-like things. I'm going to try bitmaps of each swing frame and displaying them. Problem is, I have no idea how the swinging should look. Can anyone make some (at least) 16*16 sprites of the swinging hammers? (If you wanna know what they look like in-game, a simple Google search is enough.)

125
Indeed. I am really curious about how this language will look like. Just make sure it's not overly cryptic like Antidisassemblage on the 84+. Ironically, that language was meant to bridge the gap between TI-BASIC and Z80 ASM, yet it required learning ASM in order to even understand why Squirrelbox works in certain ways, which defeated the entire point.
The only invented languages I know of that were successful are Axe and Nspire C++. I hope this will add another one to the list. :)

126
News / Re: DJ's final community news coverage
« on: October 06, 2014, 09:24:03 am »
*sneaks in* hum ... excuse me ... Worms isn't finished yet ...
I dunno...the screenshot looked like a finished game :P

Eh, I'll still try it.

127
News / Re: DJ's final community news coverage
« on: October 06, 2014, 12:17:37 am »
Nice to see two games I've worked on make the list (not sure why there isn't any Flappy clone on here though... I mean, there's Swing Copters, right? :P ) . I'll try some of these when I can.

And wow, I didn't know Worms was finished and Deep Thought actually has a new project :P

128
Community Contests / Re: Code Golf Contest #12: Befunge Numbers
« on: October 05, 2014, 03:37:08 pm »
Welp, this one is interesting. By the way, do we have to include . (print stack) and @ (end of program) so it outputs a valid Befunge program?
No, only the pushing to the stack is needed. Maybe we don't want to print the value, but we want to do arithmetic on it or something.

129
Community Contests / [ENDED] Code Golf Contest #12: Befunge Numbers
« on: October 05, 2014, 02:04:29 pm »
Time to completely redesign everything.

NEXT: Here
PREVIOUS: Here

Challenge 12: Befunge Numbers

Problem

Say someone (I'm looking at you, harold :P ) wanted to make a Befunge program for a Code Golf competition that printed a number. In Befunge, arithmetic works in a form of RPN. For example, 34+ pushes a 3, pushes a 4, then adds (in essence, push 7). But to push numbers greater than 9, calculations must be done on numbers less than or equal to 9. For example, 99*76*+ pushes 123.

Your mission, should you choose to accept it, is to make a program that displays an optimal expression for pushing a number (minimum 0, maximum 999,999) onto the Befunge stack using only the numbers, addition (+), and multiplication (*). I shall give test cases when available, but keep in mind, there is more than one solution for any number above 9.

Deadline
October 12, 2014, 1:00 AM EST

If any further clarification is needed, contact me. I'll try to push you to figure it out. :P

C#
RankUserSizeDateCode
1harold37510/7/2014 7:53:28 AM
Spoiler For Spoiler:
using System;namespace B{class P{static void Main(string[]args){int l=int.Parse(args[0])+1,i=0,j,k,x;string[]n=new string[l];for (;i<10;i++)n=""+i;for(;i<l;i++){x=99;for(j=2;j<i;j++){if(i%j==0){k=n[j].Length+n[i/j].Length+1;if(k<x){x=k;n=n[j]+n[i/j]+"*";}}}for(j=1;j<i;j++){k=n[j].Length+n[i-j].Length+1;if(k<x){x=k;n=n[j]+n[i-j]+"+";}}}Console.WriteLine(n[l-1]);}}}

C++
RankUserSizeDateCode
1harold36110/7/2014 8:21:25 AM
Spoiler For Spoiler:
#include <string>
using namespace std;
#define Z(p,q){k=n[j].length()+n.length()+1;if(k<x){x=k;n=n[j]+n+#q;}}
#define X(f);for(j=f;j<i;j++)
int main(int c,char**v){int l=atoi(v[1])+1,i=0,j,k,x;string *n=new string[1<<20];for(;i<10;i++)n=to_string((_Longlong)i);for(;i<l;i++){x=99;n=""X(2)if(i%j==0)Z(/,*)X(1)Z(-,+);}puts(n[l-1].c_str());}

Golfscript
Rank
User
Size
Date
Code1
harold
140
10/7/2014 7:49:12 AM
Spoiler For Spoiler:
~:l;9,{1+`}%10:x;{x l>}{.[.,,{1+}%]zip.[{~\;.x\%!\1=!*},.{~\;-1*}$]zip{~~;\~;+"*"+}%\[.{~\;-1*}$]zip{~~;\~;+"+"+}%+{,}$[(\;]+1x+:x;}until)\;

SysRPL
Rank
User
Size
Date
Code1
3298
147.5
10/8/2014 11:09:47 AM
Spoiler For Spoiler:
::
  COERCE BINT10 OVER#> case #>$
  NULL$SWAP NDUPN
  BINT10 ONE_DO
    INDEX@ #>$ INDEX@ #1+UNPICK_
  LOOP
  #1+' ::
    JINDEX@ INDEX@ 'REVAL
    'R SWAPROT #0<> case2DROP
    #3+PICK INDEX@ #4+PICK
    &$SWAP >T$ DUPLEN$
    JINDEX@ #1+DUP #4+PICK
    DUPNULL$? 4ROLLROT LEN$ #<
    ORNOT case2DROP #1+UNPICK_
  ;
  OVER BINT10 DO
    INDEX@ ONE_DO
      ZEROOVER EVAL #- CHR_+
      DUP EVAL #/ CHR_*
    LOOP
  LOOP SWAP#1- NDROP
;

Java
Rank
User
Size
Date
Code1
3298
334
10/8/2014 11:09:47 AM
Spoiler For Spoiler:
class G{static String[]a;static void r(String s,int n){if(a[n]==""||s.length()<a[n].length())a[n]=s;}public static void main(String[]c){int n=Integer.parseInt(c[0]),i=n,j=10;a=new String[n+1];for(;i>=0;--i)a=i>9?"":""+i;for(;j<=n;++j)for(i=1;i<j;++i){r(a[j-i]+a+"+",j);if(j%i==0)r(a[j/i]+a+"*",j);}System.out.println(a[n]);}}

C
Rank
User
Size
Date
Code1
3298
433
10/8/2014 11:09:47 AM
Spoiler For Spoiler:
#include<stdio.h>
#include<malloc.h>
int n,j=10,i,*a;p(int n){if(n<10)printf("%i",n);else{p(a[n=4*n-39]);p(a[n+1]);printf("%c",a[n+2]);}}r(int m,int o){int s=(m>9?a[4*m-40]:0)+(i>9?a[4*i-40]:0)+1,k=4*j-40;if(a[k]==0||a[k]>s){a[k]=s;a[k+1]=m;a[k+2]=i;a[k+3]=o;}}main(int c,char**v){n=strtol(v[1],0,0);i=4*n-36;if(n<10)p(n);else{a=calloc(i,sizeof(int));for(;j<=n;++j)for(i=1;i<j;++i){r(j-i,43);if(j%i==0)r(j/i,42);}p(n);}printf("\n");}

Language Ranking
Rank
Lang
User
Size
Date1
Golfscript
harold
140
10/7/2014 7:49:12 AM2
SysRPL
3298
147.5
10/8/2014 11:09:47 AM3
Java
3298
334
10/8/2014 11:09:47 AM4
C++
harold
361
10/7/2014 8:21:25 AM5
C#
harold
375
10/7/2014 7:53:28 AM
C
3298
433
10/8/2014 11:09:47 AM

130
Community Contests / Re: Code Golf Contest #11
« on: October 05, 2014, 01:41:30 pm »
Okay then, my SysRPL, Java and C entries are done. My fourth question was actually meant in a different way ("thirty-one" is 10 chars, but all the examples look like we shall count the 9 letters only), but your answer reminded me that the dash can be replaced by a space, simplifying my programs a little. Thanks for that. :)
By the way: "forty" or "fourty"? I hope the latter is acceptable (despite my spell-checker complaining about it ... English is not my first language) because the former would break my concept of reusing the same lookup table for 13-19 and 2x-9x, and "forteen" looks just wrong.
Forty. Fourteen.

Also, WE'RE DONE! Befunge Numbers in a while.

131
Community Contests / Re: Code Golf Contest #11
« on: October 04, 2014, 10:22:30 am »
My output currently looks like this (for input 703450):
Code: [Select]
seven hundred three thousand four hundred fifty is 41
fourty-one is 9
nine is 4
four is magic
The aspects I'm not sure about are these:
- Do I need a period at the end? (2-6 additional bytes, depending on language, so not too bad)
- Is the correct number written out in letters, or should I mangle the other one instead, or both?
- Do I need an upper-case letter at the start of each line? (That would be a pain to do!)
- The spaces and dashes should not be counted, right?
1. No.
2. Do either, both, or none. I don't care, but to qualify for the -70% bonus, at least one of the numbers must be converted to a word.
3. No.
4. "forty-one", to me, is the same as "forty one". Dashes or spaces, it doesn't matter.

Be fast, though! You only have until the end of the day!

132
Community Contests / Re: Code Golf Contest #11
« on: October 03, 2014, 05:48:15 pm »
Thank you. :)

133
Miscellaneous / Re: Tetris: The Movie!
« on: October 02, 2014, 07:38:32 pm »
Yeah that's the movie I am talking about. The issue about The Wizard is that it took me until 2011 or so until I finally realize what it really is, even though I watched it in the early 90's. The French title is "The Awesome Kid" so when I tried to search Google about the movie this I would type similar queries in vain and I even thought the movie was exclusively available in French because the English title was completely different. Kinda like the Naked Gun series which is called "The Agent Does the Prank" in French. >.<

Nonetheless the  movie was kinda fun but it might have been because it involved playing video games. :P
Or what about "Life, Love, and Cows"? You see that one?

(for us Americans, that's "City Slickers" :P )

134
Miscellaneous / Re: Tetris: The Movie!
« on: October 01, 2014, 10:43:18 am »
I couldn't really fathom a Tetris movie unless it were based on something biographical, like people competing to set the high score. Kind of like what they did with Billy Mitchell.
Do you mean the movie with the kid that wins a SMB3 tournament?
Oh yeah, The Wizard!

"I love the Power Glove. It's so BAD."

135
Community Contests / Re: Code Golf Contest #11
« on: September 28, 2014, 07:18:56 pm »
I would like to congratulate you for keeping a contest alive for this long (11 contests in such short period of time even though you are not a staff member). I know on IRC you said there weren't many entries for this one but the thing is that normally mini-contests die after 3 or 4 of them because the novelty wears off after a while (and in this case, school started). In fact, some recent contests like the revival of cage matches and the music contest never actually got any entry, if they even started at all. So good job. Some future suggestions to perhaps bring people back if they stopped participating:

-Put the contest theme inside the title (for example: Code Golf Contest #12: ThemeName)
-Perhaps do a small change of direction in terms of theme. Keep the same idea but explore themes that were not explored before
-Make the deadline 2 weeks for each contest if the regulars look busy
-Make sure that the rules are well planned for each contest (perhaps have somebody review them before the contest starts?) so that there are as few rule edits in the middle of the contest as possible and less loopholes. For example, for the olympic ring contest, the easiest way to win was to use HP PPL language.
Thank you for your kind remarks. I will try to use your suggestions.

In related news, the deadline of this contest is moved to October 5, and new contests will now be on Saturdays instead of Mondays.

As for new contests, here are the ones that are most likely to happen up until #15 (if I can squeeze another month or two out of this thing) (these are only ideas, not giving away every detail yet):
#12: Befunge Numbers (make optimal expressions in RPN that evaluate to input)
#13: A Picture's Worth 140 Characters (give a way to compress and decompress images into a 140 character or less string)
#14: Getting Out What You Don't Put In (output every character your program DOESN'T have, and nothing else)
#15: History Repeats Itself (make a program that, when repeated, outputs two different specified strings)

If you have any questions about these questions, contact me. I can try to clarify most of the details for you.

Pages: 1 ... 7 8 [9] 10 11 ... 40