Posted by oink on 04:05:00 05-05-2002
they are everywhere!
here is mine: http://owl.cuckoos.net/kirby.asm, post yours, in any language
(there is no forum dedicated to that kind of things, so this is why i made that post here)
Posted by robost86 on 04:45:00 05-05-2002
: face1 ." <('.'<)" ;
: face2 ." (^'.'^)" ;
: face3 ." (>'.')>" ;
: face4 ." (v'.'v)" ;
: locate 40 12 at-xy ;
: delay 200 ms ;
: round locate face1 delay locate face2 delay locate face3 delay locate face4 delay ;
: dance 0 page do round loop ;
This defines the word dance ( loops -- ). Have fun :-)
Posted by geqo on 05:02:00 05-05-2002
Okay, I did one in bash
Code:#!/bin/bash
echo -n "ggeeqqo"
while true
do
for d in "(>'.')>" "(v'.'v)" "<('.'<)" "(^'.'^)"
do
echo -e -n "bbbbbbb$d"
sleep 0.2
done
done
Posted by KaGez on 11:53:00 05-05-2002
anybody planning it for C? if not, I'll do one
[addsig]
Posted by Fredrik Hellman on 20:42:00 05-05-2002
Here is my kirby-dance. I don't know whether there are any rules saying how tke kirby should dance, well. In that case, he doesn't follow the rules
http://f.v2os.cx/~fredrik/kirby-hellman.asm
Here is another version, inspired by oink's xterm-version. It changes the name of the window: run "./kirby3 &" and it dances for you even when you code!
http://f.v2os.cx/~fredrik/kirby3.asm
It is for linux. Compile with nasm and link with ld.
Fredrik Hellman
[ This Message was edited by: Fredrik Hellman on 2002-05-05 20:45 ]
[ This Message was edited by: Fredrik Hellman on 2002-05-05 22:55 ]
[ This Message was edited by: Fredrik Hellman on 2002-12-26 07:35 ]
Posted by MoX on 14:56:00 05-06-2002
After two days of wonder MoX finally found out about Kirbys. Huh, do you guys really mean _that_ Kirby from Kirby's Dreamland and stuff? Anyway, it looks nice /me wants one, too...
[addsig]
Posted by fsvara on 23:29:00 05-06-2002
kirby's dream land rocks
useless_posts++;
Posted by dxprog on 03:17:00 05-07-2002
Here's mine in VB:
Sub Form_Click()
Dim Kirbys(3)
Kirbys(0) = "(^'.'^)" ' Our kirbys
Kirbys(1) = "(-->'.')-->"
Kirbys(2) = "(v'.'v)"
Kirbys(3) = " 3 Then a = 0
Me.Print Kirbys(a) ' Print kirby on form
Loop
End Sub
The timing would be better if you included the tick APIs or the DirectX tickcount but it works as it is.
[ This Message was edited by: dxprog on 2002-05-07 03:18 ]
[ This Message was edited by: dxprog on 2002-05-07 03:23 ]
Posted by oink on 06:14:00 05-07-2002
Quote:
On 2002-05-05 11:53, KaGez wrote:
anybody planning it for C? if not, I'll do one
do then !
phear the power of kirbys
useless_posts++;
[ This Message was edited by: oink on 2002-05-07 06:16 ]
Posted by KaGez on 22:27:00 05-07-2002
ok, I think I have some spare time tomorrow, so I'm gonna do it if I find the time
[addsig]
Posted by ComWizz on 05:30:00 06-19-2002
Here, Kirby in awk:
#!/bin/awk -f
BEGIN {
kirby[1] = "(^'.'^)"
kirby[2] = "'.')-->"
i = 1
while ("" == "") {
system("clear")
print kirby[i]
system("sleep 1 s")
i++
if (i --> 4) {
i = 1
}
}
}
- He'll keep on dancing unless you press Ctrl Z
Thanks, ComWizz.
Posted by sacah on 22:43:00 07-13-2002
In Kagez's absence, and the fact the board has slowed down, I figured I would spice it up a bit,
Heres my kirby thingy, In my favorite language Batch
Look complete with a timer function (-:
Copy and paste to a file called kirby.bat
@echo off
:Start
cls
echo C('.')
echo ( )D
echo - ~
set TCall=2nd
set CCall=Start
goto Timer
:2nd
cls
echo _('.')_
echo ^( )^
echo - -
set TCall=3rd
set CCall=2nd
goto Timer
:3rd
cls
echo ('.')D
echo C( )
echo ~ -
set TCall=4th
set CCall=3rd
goto Timer
:4th
cls
echo _('.')_
echo ^( )^
echo - -
set TCall=Start
set CCall=4th
goto Timer
:Timer
if %Joy% == 20 goto OOH
if %Joy% == 19 goto ONH
if %Joy% == 18 goto OEH
if %Joy% == 17 goto OSH
if %Joy% == 16 goto OSY
if %Joy% == 15 goto OFH
if %Joy% == 14 goto OFY
if %Joy% == 13 goto OTH
if %Joy% == 12 goto OTY
if %Joy% == 11 goto OOE
if %Joy% == 10 goto OH
if %Joy% == 9 goto NH
if %Joy% == 8 goto EH
if %Joy% == 7 goto SH
if %Joy% == 6 goto SY
if %Joy% == 5 goto FH
if %Joy% == 4 goto FY
if %Joy% == 3 goto TH
if %Joy% == 2 goto TY
if %Joy% == 1 goto OE
if %Joy% == 0 goto DIE
:OOH
set Joy=19
goto %CCall%
:ONH
set Joy=18
goto %CCall%
:OEH
set Joy=17
goto %CCall%
:OSH
set Joy=16
goto %CCall%
:OSY
set Joy=15
goto %CCall%
:OFH
set Joy=14
goto %CCall%
:OFY
set Joy=13
goto %CCall%
:OTH
set Joy=12
goto %CCall%
:OTY
set Joy=11
goto %CCall%
:OOE
set Joy=10
goto %CCall%
:OH
set Joy=9
goto %CCall%
:NH
set Joy=8
goto %CCall%
:EH
set Joy=7
goto %CCall%
:SH
set Joy=6
goto %CCall%
:SY
set Joy=5
goto %CCall%
:FH
set Joy=4
goto %CCall%
:FY
set Joy=3
goto %CCall%
:TH
set Joy=2
goto %CCall%
:TY
set Joy=1
goto %CCall%
:OE
set Joy=0
goto %CCall%
:DIE
set Joy=20
goto %TCall%
Posted by sacah on 22:48:00 07-13-2002
Note my example above is not highly optomised, Its late/early, and im off to bed.
(-:
Posted by MoX on 00:02:00 07-14-2002
batch
[addsig]
Posted by dxprog on 03:39:00 07-14-2002
I never thought of doing one in batch. Very clever.
[addsig]
Posted by sacah on 21:23:00 07-18-2002
No one can top my batch Kirby.
d-:
Posted by HeavyJ on 10:24:00 07-22-2002
hehe, batch was my first language
i made menu's with it. even animating
and a 'password' program to enter windoze (3.1) and some other progs
but when i got Turbo Basic (really old), the fun really began
[addsig]
Posted by sacah on 19:57:00 07-22-2002
Batch is the only real programming language.
(-:
Posted by MoX on 21:55:00 07-22-2002
Yeah. The only programming language that stands next to it is html. We all know that.
Yes.
[addsig]
Posted by dxprog on 06:19:00 07-23-2002
Batch isn't really a language.
[addsig]
Posted by sacah on 17:40:00 07-23-2002
dxprog, we were being sarcastic
d-:
Posted by MoX on 01:18:00 07-24-2002
No!!!
html is really a programming language!
Believe me!
...please.
[addsig]
Posted by dxprog on 03:18:00 07-24-2002
The dictionary doesn't lie. HTML is a markup language.
[addsig]
Posted by MoX on 04:51:00 07-24-2002
Ah! Finally somebody who agrees with me!
So, time to stop the trolling!
[addsig]
Posted by sacah on 21:49:00 07-24-2002
lol
Trolling...
What trolling
d-:
Posted by HeavyJ on 02:13:00 07-27-2002
batch is not programming, batch is batching
[addsig]
Posted by dxprog on 02:40:00 07-27-2002
LOL
[addsig]
Posted by robost86 on 02:57:00 07-27-2002
Sometimes I wonder where the YPN is going. It doesn't look bright
Posted by fsvara on 04:45:00 07-27-2002
robert: lol... that's a ":(" btw, not a ":)"
Posted by Jason on 07:11:00 08-10-2002
Huh? What are you guys doing? I don't understand. Are you making Kirby animations with code? And by the way all of the links arent working for me.
[addsig]
Posted by KaGez on 11:06:00 08-10-2002
since this compe is already quite old, it may be that the guys have already deleted the code from their servers
but yes, we were making kinby animations with code
[addsig]
Posted by Jason on 11:50:00 08-10-2002
Cool! Could someone code one for Java? I just want to see what they look like and if it's as easy as I think.
[addsig]
Posted by Jason on 12:05:00 08-10-2002
I can do one actually but it's not exactly an animation... here it goes.
public class KirbyDance
{
public static void main(String args[])
{
System.out.println("'')-->");
System.out.println("");
System.out.println("(v''v)");
}
}
[ This Message was edited by: Jason on 2002-08-10 14:05 ]
Posted by KaGez on 15:56:00 08-10-2002
hehe, hooray kirby!! another chunk of code with kirby!!
[addsig]
Posted by sacah on 15:34:00 08-11-2002
<script language="JavaScript">
var clockID = 0;
var loopcnt = 0;
function UpdateDancer() {
loopcnt++;
if(loopcnt==1) document.dance.dancer.value = "<('.'<)";
if(loopcnt==2) document.dance.dancer.value = "(^'.'^)";
if(loopcnt==3) document.dance.dancer.value = "(>'.')>";
if(loopcnt==4) {
document.dance.dancer.value = "(V'.'V)";
loopcnt=0;
}
clockID = setTimeout("UpdateDancer()", 600);
}
clockID = setTimeout("UpdateDancer()", 500);
}
</script>
<body onload="StartDance()">
<form name="dance">
<input type=text name="dancer" size=8>
<form>
Javascript, I am yet to install Java VM after my last format. Shall get round to it soon.
(-:
[ This Message was edited by: sacah on 2002-08-11 15:39 ]
Posted by KaGez on 00:53:00 08-13-2002
hehe, if this really works, it'd rock
[addsig]
Posted by sacah on 19:43:00 08-13-2002
If what works?
Posted by KaGez on 11:53:00 08-14-2002
That JavaScript snippet above
[addsig]
Posted by sacah on 22:01:00 08-14-2002
It worked in IE and Mozilla
(-:
I wanted to use the Javascript being turned on, and make my post the anim, but its not turned on anymore.
)-:
Posted by sacah on 22:08:00 08-14-2002
And you though JS was sweet, checkout WML
<wml>
<card id="frame1" title="Kirby" ontimer="#frame2">
<timer value="1"/>
<p align="center"><br/>
<('.'<)
</p>
</card>
<card id="frame2" title="Kirby" ontimer="#frame3">
<timer value="1"/>
<p align="center"><br/>
(V'.'V)
</p>
</card>
<card id="frame3" title="Kirby" ontimer="#frame4">
<timer value="1"/>
<p align="center"><br/>
(>'.')></p>
</card>
<card id="frame4" title="Kirby" ontimer="#frame1">
<timer value="1"/>
<p align="center"><br/>
(^'.'^)</p>
</card>
</wml>
(-;
Posted by Darioush on 20:42:00 08-20-2002
Oh the lamest post i've ever seen.
Why don't dudes do something 'better'
-->
V
[addsig]
Posted by robost86 on 21:27:00 08-20-2002
101110000000001100000000110011010001001110110100 000000101001100111001101000100001011100000111100 000011101100110100010000101110000010100000001110 110011010001000010111000001011100000111011001101 000100001011100000111100000011101100110100010000 101110000010100000001110110011010001000010110100 000000001100110100010110
/Robert
[ This Message was edited by: robost86 on 2002-08-20 21:33 ]
Posted by KaGez on 21:57:00 08-20-2002
robert:
and what is that supposed to be?
[addsig]
Posted by fsvara on 23:19:00 08-20-2002
Quote:
On 2002-08-20 21:57, KaGez wrote:
robert:
and what is that supposed to be?
no! that was exactly what he wanted to be asked! why did you do him the favour?
Posted by KaGez on 00:14:00 08-21-2002
you know, I'm in love with robert!
/me shudders
no, I'm not, no
[addsig]
Posted by Doom2pro on 07:26:00 09-24-2002
Ok, noone did one in C\C++ Yet, I guess I will do it
C++ version:
#include <string>
#include <stdlib.h>
#include <iostream.h>
int main()
{
string Kirbys = "<('.'<):(^'.'^):(>'.'<);(v'.'v)";
cout << Kirbys.substr(0, Kirbys.find(":")) << endl;
cout << Kirbys.substr(Kirbys.find(":") + 1, Kirbys.find_last_of(":") - (Kirbys.find(":") + 1)) << endl;
cout << Kirbys.substr(Kirbys.find_last_of(":") + 1, Kirbys.find(";") - (Kirbys.find_last_of(":") + 1)) << endl;
cout << Kirbys.substr(Kirbys.find(";") + 1, Kirbys.size() - (Kirbys.find(";") + 1)) << endl;
system("PAUSE");
}
And in C:
#include <stdio.h>
#include <stdlib.h>
int main()
{
char* Kirbys1 = "<('.'<)";
char* Kirbys2 = "(^'.'^)";
char* Kirbys3 = "(>'.'<)";
char* Kirbys4 = "(v'.'v)";
printf("%s\n%s\n%s\n%s\n", Kirbys1, Kirbys2, Kirbys3, Kirbys4);
system("PAUSE");
}
-Richard
[ This Message was edited by: Doom2pro on 2002-09-24 07:27 ]
Posted by Doom2pro on 07:42:00 09-24-2002
And!, Moving Kirbys in C++!
#include <string>
#include <stdlib.h>
#include <time.h>
#include <iostream.h>
int wait(int seconds)
{
int ticks = 0;
clock_t endwait;
endwait = clock() + seconds * CLK_TCK;
while (clock() < endwait) { ticks++; }
return ticks;
}
void printk(int k)
{
string Kirbys = "<('.'<):(^'.'^):(>'.'<);(v'.'v)";
if(k == 0)
cout << "\t\t" << Kirbys.substr(0, Kirbys.find(":"));
else if(k == 1)
cout << "\t\t" << Kirbys.substr(Kirbys.find(":") + 1, Kirbys.find_last_of(":") - (Kirbys.find(":") + 1));
else if(k == 2)
cout << "\t\t" << Kirbys.substr(Kirbys.find_last_of(":") + 1, Kirbys.find(";") - (Kirbys.find_last_of(":") + 1));
else if(k == 3)
cout << "\t\t" << Kirbys.substr(Kirbys.find(";") + 1, Kirbys.size() - (Kirbys.find(";") + 1));
else
cout << "All Out of Kirbys!, Must Upgrade!" << endl;
}
int main()
{
int times = 20;
while (times--)
{
int i=0;
for (i=0; i < 4; i++)
{
printk(i);
wait(1);
cout << "\b\b\b\b\b\b\b";
}
}
system("PAUSE");
}
-Richard
[ This Message was edited by: Doom2pro on 2002-09-24 08:32 ]
[ This Message was edited by: Doom2pro on 2002-09-25 16:47 ]
Posted by fsvara on 04:17:00 09-25-2002
rmemeber toturn off html when posting sourcecode...
#include <"html-tag"> you know
Posted by Doom2pro on 16:47:00 09-25-2002
Hrm, I thought I did, Anyway thanks
Posted by robost86 on 17:30:00 09-25-2002
Doom2pro: Hahaha!
Don't be sad, I also coded like that once
Posted by seunosewa on 02:34:00 09-26-2002
Hmmm ... html, batch. I think html is the language I have been looking for. It is more powerful than batch, i guess, especially if you use the versions that have not been enhanced by microsoft programmers
Posted by MooKeen on 07:04:00 09-27-2002
HTML is not a programming language...
Posted by dxprog on 09:01:00 09-27-2002
Are we going to go into this again. Dictionary says that HTML is a markup language which is defined as:
a system (as HTML or SGML) for marking or tagging a document that indicates its logical structure (as paragraphs) and gives instructions for its layout on the page for electronic transmission and display
So let that put an end to this.
[addsig]
Posted by -KEN- on 10:21:00 09-27-2002
C, windows version:
Code:#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
int main(void)
{
while(1)
{
system("cls");
printf("<('.'<)");
Sleep(1000);
system("cls");
printf("(^'.'^)");
Sleep(1000);
system("cls");
printf("(>'.')>");
Sleep(1000);
system("cls");
printf("(v'.'v)");
Sleep(1000);
}
return 0;
}
I was thinking about putting it in an actual window, but I didn't feel like writing the extra code
[addsig]
Posted by dxprog on 22:19:00 09-27-2002
But if you made a window you could make acutual kirby graphics. Of course that's what VB is for.
[addsig]
Posted by Doom2pro on 22:08:00 09-28-2002
robost86: Just because I just joined this website, doesn't mean that I am a "newbie" Yeah, your forum does a great job of understating it's new members, which is sad, but don't act like a little six year old, and act like your some kind of "Coding God" because your in the HOF. I have been a part of groups like that before, and I left because they act like there all l33t. I don't want to abandon another coding group because of people like that, kthx.
P.S. Incase you didnt notice, I forgot to disable HTML tags in that last post, witch is why fsvara was a nice guy to notice. And that had nothing to do with my programming skills.
-Richard
[ This Message was edited by: Doom2pro on 2002-09-28 22:11 ]
Posted by Fredrik Hellman on 07:37:00 12-26-2002
I got a new domain name half a year ago. I changed the old one to the new one in my post (on the first page in this thread).
Posted by robost86 on 07:59:00 02-05-2003
Sorry, ever since I got into the HOF two years ago, I've been such an asshole. I'm also too incompetent to know that forgetting to check a checkbox does not have to do with your coding skills, I'll think about that next time. If you ever make up any more things to flame me for, I'll be happy to reply then.
Yours, Robert.
Posted by dxprog on 11:20:00 02-05-2003
Ummmm.... 764 posts? What the heck kind of a number is that?!?! Is that good enough for ya
[addsig]
Posted by MooKeen on 10:31:00 02-16-2003
Code:
(defvar *kirbys* (list "<('.'<)" "(^'.'^)" "(>'.'<)" "(v'.'v)"))
(defun princ-and-erase (string)
(princ string)
(loop repeat (length string)
do (princ (string #Backspace))))
(defun display-kirbys (times)
(loop repeat times
do
(mapcar #'princ-and-erase *kirbys*)))
Here we have Lisp Kirbys.
(display-kirbys 10) will make Kirby dance 10 times. Enjoy.
Note: Because this phpBB is retarded and nobody feels like upgrading it,
it likes to print `<hash><backslash>Backspace' as as `<hash>Backspace'. And yes, HTML
is disabled. Fix this!
[ This Message was edited by: MooKeen on 2003-02-16 10:46 ]
Posted by Peter on 21:16:00 07-17-2003
haha, the kirby thread is still alive . it's hilarious.
Posted by megaman on 05:21:00 08-19-2003
Quote:
On 2002-05-05 05:02, geqo wrote:
Okay, I did one in bash
Code:#!/bin/bash
echo -n "ggeeqqo"
while true
do
for d in "(>'.')>" "(v'.'v)" "<('.'<)" "(^'.'^)"
do
echo -e -n "bbbbbbb$d"
sleep 0.2
done
done