|
Re: 100 lines contest
[Re: FBL]
#208715
05/29/08 00:21
05/29/08 00:21
|
Joined: Sep 2003
Posts: 303 Germany
Clemens
Senior Member
|
Senior Member
Joined: Sep 2003
Posts: 303
Germany
|
Hmm, I dont like the contest anymore since it is obvious that the aim can't be anymore to make the best game with less code (-> having one nice idea and calculate how many features are possible to implement) but to crypt its code in the most extreme way. What ever, even when the win chance by programming on the classic way is too small, I'll finish my mini project and will take part. And at the end I'll win cause of that great concept I have *lol* :P Okay, of course some tricks I'll use, but I really didn't know, that you can spare nearly all semicolons. My problem is that thats an really enticing fact ... but I don't wan't to have the possibility to make my project big(ger)...!!! *argh*
|
|
|
Re: 100 lines contest
[Re: Clemens]
#208724
05/29/08 04:23
05/29/08 04:23
|
Joined: Jul 2004
Posts: 1,205 Greece
LarryLaffer
Serious User
|
Serious User
Joined: Jul 2004
Posts: 1,205
Greece
|
Here's my humble little entry. Screens and everything are in the zip file. My full name is Aris Kostakos. The executable was made using a7.7, but the source I'm submitting will only compile in a7.08.2b (and anything above I presume..). The reason is that I'm using draw_quad(), but the betas wouldn't let me publish an exe.. I had to replace draw_quad with panels to publish in a7.7 but that killed my semicolon count . Other than that though, the source file for a7.8.2b produces an identical executable. Cheers and good luck to everyone, Aris
|
|
|
Re: 100 lines contest
[Re: LarryLaffer]
#208733
05/29/08 07:36
05/29/08 07:36
|
Joined: Mar 2006
Posts: 3,538 WA, Australia
JibbSmart
Expert
|
Expert
Joined: Mar 2006
Posts: 3,538
WA, Australia
|
the general interest in this contest seems a lot bigger than usual. contests should be like this more often; not exactly this, but some sort of limitation.
working within tight constraints is great fun, because people like to push them.
if i'm lucky i'll get an entry in on time, but i haven't been able to start because of too much uni work. next week is the last week of semester *coff* *bludge!* *coff* so i'll see what i can do.
julz
Formerly known as JulzMighty. I made KarBOOM!
|
|
|
Re: 100 lines contest
[Re: JibbSmart]
#208819
05/29/08 18:35
05/29/08 18:35
|
Joined: Aug 2003
Posts: 2,011 Bucharest, Romania
George
Expert
|
Expert
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
|
"Does this apply to strings assigned to effect="..." in Material definitions, too?" No, those semicolons are counted.
Clemens: don't worry, the winner will be the best game, not the most cryptic piece of code. I have managed to create a small painting program (you'll see its source in Aum74) using a tiny function, 4 semicolons and a trick, so everyone has his / her chances.
Aris, please don't forget to email your demo to resources at acknex dot net; it might get lost here and / or you might want to update it before the 15th of June.
|
|
|
Re: 100 lines contest
[Re: jcl]
#208930
05/30/08 18:08
05/30/08 18:08
|
Joined: Feb 2008
Posts: 337
Vadim647
Senior Member
|
Senior Member
Joined: Feb 2008
Posts: 337
|
@jcl: if I'm always replacing
vec_set(some_vector,vector(-512,0,0));
vec_rotate(some_vector,camera.pan);
vec_add(some_vector,some_entity.x);
vec_set(camera.x,some_vector);
by
vec_set(camera.x,vector(
-512*cosv(camera.pan)*cosv(camera.tilt)+some_entity.x,
-512*sinv(camera.pan)*cosv(camera.tilt)+some_entity.y,
-512*sinv(camera.tilt)+some_entity.z));
and it's alright, because that appears to be 1 com? @George: Let me guess about small painting program creation: Way1|turning off background leads to avaibility of 'paint program'... Way2|on mouse_left paint pixel to predefined bmap of window size, that is drawn by 7.08 function or used by panel. _________________________ I'm finishing one more game (platform\logic\loads levels with ent positions from MDL files).
I switched to other account since marth 2010. Guess which.
|
|
|
100 lines contest BECOMES 100 commands contest
[Re: JibbSmart]
#208941
05/30/08 20:43
05/30/08 20:43
|
Joined: Sep 2003
Posts: 303 Germany
Clemens
Senior Member
|
Senior Member
Joined: Sep 2003
Posts: 303
Germany
|
the general interest in this contest seems a lot bigger than usual. contests should be like this more often; not exactly this, but some sort of limitation. right! Clemens: don't worry, the winner will be the best game, not the most cryptic piece of code. I have managed to create a small painting program (you'll see its source in Aum74) using a tiny function, 4 semicolons and a trick, so everyone has his / her chances. Sounds very interessting, I'm curious about it (hopefully it won't be a concurrent in that contest ). But what I meant is that if the size of the game isn't really delimited like it's the sense of the contest, then the bigger projects probably will be the better ones. But JCL conceivably cleaned that up ^^... - The basic goal was restricting the source code to only 100 commands. Now of course you can use many tricks to avoid semicolons - by redefining them to another character, or by placing commands in comparisons or the like. However in such a case we'll just count the commands. So please apply some common sense. As soon as all obscurities are resolved (-> so what exactly counts as 1 command) - the contest can become really good and absorbing, like I did imagine it at the beginning! great!!
|
|
|
Re: 100 lines contest BECOMES 100 commands contest
[Re: HeelX]
#208994
05/31/08 07:03
05/31/08 07:03
|
Joined: Aug 2003
Posts: 2,011 Bucharest, Romania
George
Expert
|
Expert
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
|
I'm not JCL, but from what I know the contest rules haven't changed at all; the main challenge is to create a game / demo / whatever that's impressive and uses less than 101 semicolons. You can, of course, use some tricks in order to get rid of some semicolons, but you can't trick the 10KB rule, right?
I've got a multiplayer project that's got less than 10KB of code, so I am confident that you guys can come up with great entries.
Vadim: your first assumption is correct. I'm using something even more simple, though.
|
|
|
|