Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » MinorHack Attack!

This thread is locked; no one can reply to it. rss feed Print
MinorHack Attack!
CGamesPlay
Member #2,559
July 2002
avatar

I think the rule for the next competition should be "How many Poles does it take to change a light bulb?"

[append]
This is my first 200-reply thread.

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Jakub Wasilewski
Member #3,653
June 2003
avatar

Two. Krzysztof figures out how to render it with PS 3.0, and I change it :P.

Quote:

This is my first 200-reply thread.

If you keep the competitions coming, you'll overtake ChristmasHack's thread pretty soon ;).

---------------------------
[ ChristmasHack! | My games ] :::: One CSS to style them all, One Javascript to script them, / One HTML to bring them all and in the browser bind them / In the Land of Fantasy where Standards mean something.

Onewing
Member #6,152
August 2005
avatar

Quote:

If you keep the competitions coming, you'll overtake ChristmasHack's thread pretty soon .

Ooooh, which reminds me, are you going to be hosting the ChristmasHack again this year, Jakub?

------------
Solo-Games.org | My Tech Blog: The Digital Helm

CGamesPlay
Member #2,559
July 2002
avatar

I got confirmation from Matthew about using Allegro.cc's user database, so one can now log on to the site. This doesn't actually allow you to do anything yet though. Unfortunately, time zone info is not provided by the Allegro.cc code, so one will still have to set it at the site separately. I've asked Matthew to add that information, but I doubt he will have time to add it before this Saturday.

[append]

I had to deny the rule about fixed colors, because it was too general. It's an interesting modification of the two- and three-color rules, though. I say that if one of those rules pops up and you only used exactly 2 or 3 colors on screen at any time, you could give a good argument.

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Jakub Wasilewski
Member #3,653
June 2003
avatar

Quote:

are you going to be hosting the ChristmasHack again this year, Jakub?

For sure, I think the previous one was something of a success (especially considering it was announced, IIRC, some three days before it started :)) and am looking forward to this year's. There will be some changes, but the basic formula will stay the same.

---------------------------
[ ChristmasHack! | My games ] :::: One CSS to style them all, One Javascript to script them, / One HTML to bring them all and in the browser bind them / In the Land of Fantasy where Standards mean something.

Onewing
Member #6,152
August 2005
avatar

Quote:

For sure

Hack yeah!

------------
Solo-Games.org | My Tech Blog: The Digital Helm

CGamesPlay
Member #2,559
July 2002
avatar

Yarr!

http://cgamesplay.com/minorhack/

Now you can log in, and navigate to your entry page (see http://cgamesplay.com/minorhack/competitions/1), and from there upload notes and a revised version (the edit link is at the bottom of the entry page).

I will eventually be allowing HTML to the notes section, but until then you can't use it.

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Jonatan Hedborg
Member #4,886
July 2004
avatar

I won't be able to participate in this minorHack D:
At least it's very unlikley.

Next time for sure =)

Victor Williams Stafusa da Silva
Member #4,212
January 2004
avatar

Jonatan Hedborg said:

I won't be able to participate in this minorHack

I'm out too. Too much work to do in real life, too short deadlines.
Good luck for you all.

[The attack of the space bugs - Speedhack 2005] [Rambananas - Speedhack 2006] [Make clean - Speedhack 2009] [The source god - TINS 2010]

CGamesPlay
Member #2,559
July 2002
avatar

So who all will be participating?

I'm still in...

/me makes mental not to add "intent to participate" feature.

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Onewing
Member #6,152
August 2005
avatar

I should be able to. I reserve Saturdays for coding on my projects and playing games.

------------
Solo-Games.org | My Tech Blog: The Digital Helm

Ron Ofir
Member #2,357
May 2002
avatar

I'm pretty sure I'm in too.

Jakub Wasilewski
Member #3,653
June 2003
avatar

Quote:

I won't be able to participate in this minorHack D:
At least it's very unlikley.

Next time for sure =)

Hey, man, come on ;). Don't you want to be the nasty Poles? :) I'm in, of course, unless something unexpected happens.

I checked out the new site and I found one annoying thing - every downloadable source file is called entry.cpp, which has two drawbacks:

1) If you put them in one dir, you have to rename them by hand, and more importantly
2) All the files have a CPP extension, and compilers automatically assume C++ mode - while some entries are actually in pure C and won't compile as C++ (due to C++ being more strict about stuff).

---------------------------
[ ChristmasHack! | My games ] :::: One CSS to style them all, One Javascript to script them, / One HTML to bring them all and in the browser bind them / In the Land of Fantasy where Standards mean something.

CGamesPlay
Member #2,559
July 2002
avatar

Right. Eventually I will add the option to upload C or C++, and it will remember that. I can also make it use the participant's name, but that might not be filename-friendly (Victor longname).

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Zaphos
Member #1,468
August 2001

Quote:

I can also make it use the participant's name, but that might not be filename-friendly (Victor longname).

I suppose you could do something like [first five chars of name]_[member number]_[minihack number].[user specified extension] ...
Nice job with the site, anyway!

I'll probably compete in this next hack.

Kikaru
Member #7,616
August 2006
avatar

MinorHack tommorrow (today?). Hurray! :D

CGamesPlay
Member #2,559
July 2002
avatar

/me needs to code the file upload tonight >_<

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Ron Ofir
Member #2,357
May 2002
avatar

I'm just wondering, is the competition on 18:00 or 19:00 (UTC)? It seems like it's on 19:00 according to this page. That, and does login work? It doesn't seem to do anything.

CGamesPlay
Member #2,559
July 2002
avatar

You were right, but it is fixed.

click here, set your time zone properly, and profit :D Time zone is in the format of either "EDT" etc, or "America/New_York", etc.

The site is the final say on when the competition is, and it says 6 p.m. UTC, which is 1800. I guess I should also code in support for locales.

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Kikaru
Member #7,616
August 2006
avatar

Nice login system :o

Is there a submit entry page yet?

CGamesPlay
Member #2,559
July 2002
avatar

If I say "almost", will you be confident? 8-)

The login system is really Mathew's doing ;)

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Kikaru
Member #7,616
August 2006
avatar

Yeah, does it use auto login cookies or something?

CGamesPlay
Member #2,559
July 2002
avatar

No, as you can see from that link, it's actually a link to Allegro.cc, with data that says where to go back to after the user successfully logs in. Since you were already logged in, it didn't ask you to again. You have to get permission from Matthew in order to use the system on your site. Also when you return to the site you take an ID Allegro.cc gave you and give it to me. I use that ID to get an XML-formatted version of your profile (I don't get any private information). I can use that to add your entry to my local database.

Unfortunately I don't get timezone info (I don't know whether Matthew considers this private or just didn't consider adding it, he hasn't yet responded to my request), so you have to set that manually. Email isn't used yet, eventually it will be for notifying you of competitions you want to participate in.

[append]
Be careful when setting your time zone. You need to pick on that is DST-aware. relpatseht, I'm looking at you. I recommend America/New_York...

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Kikaru
Member #7,616
August 2006
avatar

Oh. Neat. I thought it might just use the cookies left over from auto-login or something.

[EDIT] is "EST" a supported timezone?

Why in the world is there a 10:15 competition in the same day as the 1:00?!? :o

CGamesPlay
Member #2,559
July 2002
avatar

The extra competition was me testing the file upload code. I don't believe in test environments.

Anyways, it all works now, with language selection. Of course, you can't change the language without re-uploading your entry, but I don't know how in the world that could be a problem.

Files are named by member number, as that was the easiest to code.

I still don't have a good judging scheme, though. Any ideas?

I vote for a ranking of everyone else's entry in first to last order in each of the categories interesting and quality. For example:

Interesting: Kikaru, Onewing, Jakub
Quality: Onewing, Kikaru, Jakub

There will be two winners, one for each category.

Does everyone agree, or propose an alternative?

[append]
Also tell me entry numbers that should be changed to C lanuage.

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>



Go to: