VCCC2023: Christmas Challenge
- Diminished
- Posts: 1252
- Joined: Fri Dec 08, 2017 9:47 pm
- Contact:
VCCC2023: Christmas Challenge
Oh come, all ye faithful.
https://logiker.com/Vintage-Computing-C ... lenge-2023
"A small programming contest that will run from Monday, 4.12.2023 until Monday, 25.12.2023."
Last year saw the great Acorn choir in good voice, with many Acorn entries proving quite competitive, so it would be nice to duplicate or exceed that success this year.
Most coders submitting entries tend to focus on minimising code size, but feel free to set whatever personal goals you like for this challenge. You can submit an official entry to Logiker, but you don't have to.
BASIC users should measure code size for submission by typing PRINT TOP-PAGE at a BASIC prompt.
Please do not discuss details of techniques, reveal code sizes, or share any code etc., before the official judging is complete.
(For reference, last year's thread is here).
Last edited by Diminished on Sat Dec 09, 2023 3:46 pm, edited 2 times in total.
- BeebMaster
- Posts: 7433
- Joined: Sun Aug 02, 2009 5:59 pm
- Location: Lost in the BeebVault!
- Contact:
Re: VCCC2023: Christmas Challenge
Well I've had a little go at this and come up with a small basic program which works but I'm struggling to find simple ways to compress the data, it just doesn't seem very compressible without a complex decompression algorithm which then defeats the purpose of compressing it
Re: VCCC2023: Christmas Challenge
For the standard Atom this is a real challenge, we only have 16 lines on the screen
Of course, we can use software like VDU2440 or the 80 column boards….
Of course, we can use software like VDU2440 or the 80 column boards….
FPGAtom: 512 KB RAM, Real Time Clock and 64 colours
MAN WOMAN
MAN WOMAN
- BeebMaster
- Posts: 7433
- Joined: Sun Aug 02, 2009 5:59 pm
- Location: Lost in the BeebVault!
- Contact:
Re: VCCC2023: Christmas Challenge
I don't think it necessarily has to be done using text characters, it could perhaps be done using graphics instead.
Re: VCCC2023: Christmas Challenge
That's s true, but it won't make the code shorter or more efficient compared to the other Acorn computers with at least 20 lines per screen. Still, I'm thinking about a short as possible routine to print this pattern.
FPGAtom: 512 KB RAM, Real Time Clock and 64 colours
MAN WOMAN
MAN WOMAN
Re: VCCC2023: Christmas Challenge
deleted
Last edited by Phil_G on Fri Dec 08, 2023 5:01 pm, edited 1 time in total.
Re: VCCC2023: Christmas Challenge
Hmm, should you have published that so soon?
- BeebMaster
- Posts: 7433
- Joined: Sun Aug 02, 2009 5:59 pm
- Location: Lost in the BeebVault!
- Contact:
Re: VCCC2023: Christmas Challenge
You only see the result, which is (or should be ) exactly the same for everyone who enters.
Source code and binary size are the crucial secrets!
Source code and binary size are the crucial secrets!
Re: VCCC2023: Christmas Challenge
Ah right, maybe that's different then. Of course I didn't view it. Must avoid spoilers at all costs.
Re: VCCC2023: Christmas Challenge
I'm having quite a bit of fun with this one.
Electron (+1, +3, AP5)
Electron (RH +1, Pegasus)
BBC B 1770, boobip, Acorn Speech,Econet)
BBC B+ 128k (Acorn Speech)
Master 512 (ARA III, VideoNuLA, Econet)
PiTubeDirect, RGBtoHDMI, Pi1MHZ
Master Compact (Econet)
Econet: RiscPC 700 / A3020 / A3000
Electron (RH +1, Pegasus)
BBC B 1770, boobip, Acorn Speech,Econet)
BBC B+ 128k (Acorn Speech)
Master 512 (ARA III, VideoNuLA, Econet)
PiTubeDirect, RGBtoHDMI, Pi1MHZ
Master Compact (Econet)
Econet: RiscPC 700 / A3020 / A3000
- Diminished
- Posts: 1252
- Joined: Fri Dec 08, 2017 9:47 pm
- Contact:
Re: VCCC2023: Christmas Challenge
I haven't looked at it yet. Too busy working on B-Em. :(
Re: VCCC2023: Christmas Challenge
Submitted a couple of entries. I took a slightly different approach this year and didn't go all out for minimal code size; while still compact, one entry does a tiny amount of housekeeping while the other strives for economical beauty.
That said, it's nice to see the other competitors' entries and the systems they're submitted on. Best of luck to everyone taking part.
Greg
That said, it's nice to see the other competitors' entries and the systems they're submitted on. Best of luck to everyone taking part.
Greg
Re: VCCC2023: Christmas Challenge
That's me done. A few iterations and I really don't think I'll be able to make any further improvements. I do have a quandary though about a technique I've used - it may not be strictly legit. Btw, I've written mine in Basic and after a brief think about an assembly language version I doubt I could program a smaller version. Roll on Boxing Day!
Re: VCCC2023: Christmas Challenge
What are the odds that you'll suddenly realise you had just one more bright idea, some time in the next couple of days? That's how it went with me.
- BeebMaster
- Posts: 7433
- Joined: Sun Aug 02, 2009 5:59 pm
- Location: Lost in the BeebVault!
- Contact:
Re: VCCC2023: Christmas Challenge
That's why I haven't sent mine in yet, which I did at the beginning of the week and hasn't really advanced since then!
- flaxcottage
- Posts: 5723
- Joined: Thu Dec 13, 2012 8:46 pm
- Location: Derbyshire
- Contact:
Re: VCCC2023: Christmas Challenge
Just had a go and developed this formula to work out the minimum number of bytes in my program b is the number of bytes needed, n is the number of BASIC keywords used and x is the number of stars displayed.
I managed to shave off 4 bytes just by reducing n by 1.
n
I managed to shave off 4 bytes just by reducing n by 1.
Re: VCCC2023: Christmas Challenge
I know how tempting it is to say something about how you tackled a problem like this, but the guidance is very clear - don't share, until the deadline. Even if it's a clever obfuscated or indirect spoiler, it's still a spoiler.
- flaxcottage
- Posts: 5723
- Joined: Thu Dec 13, 2012 8:46 pm
- Location: Derbyshire
- Contact:
Re: VCCC2023: Christmas Challenge
Sorry, it was my sense of humour.
That equation is absolutely meaningless, algebra babble but looks impressive. Even the explanation does not make sense (I hope, else I have just discovered the formula for the meaning of life!)
I consider my wrist slapped.
That equation is absolutely meaningless, algebra babble but looks impressive. Even the explanation does not make sense (I hope, else I have just discovered the formula for the meaning of life!)
I consider my wrist slapped.
Re: VCCC2023: Christmas Challenge
I tried a different approach to my initial, easy to code, easy to understand, program. But I can't quite get it to work. I need to do some proof of concept tests to see what part is going wrong. If I can't figure it out maybe someone can take a look at it after the deadline and see if I'm bonkers or just not a very good coder
- Diminished
- Posts: 1252
- Joined: Fri Dec 08, 2017 9:47 pm
- Contact:
Re: VCCC2023: Christmas Challenge
Well, I've made a start. I don't think I'll be winning any awards.
I've added a note to the first post that BASIC users should measure their code size as TOP - PAGE.
I've added a note to the first post that BASIC users should measure their code size as TOP - PAGE.
Re: VCCC2023: Christmas Challenge
Managed to get my non-working code working It's about 2/3 the size of my first go and 14 bytes smaller than my best effort last year so I think I'm done, barring any flashes of inspiriation. But I'll give it a day or so before I submit just in case
- Rich Talbot-Watkins
- Posts: 2054
- Joined: Thu Jan 13, 2005 5:20 pm
- Location: Palma, Mallorca
- Contact:
Re: VCCC2023: Christmas Challenge
Last year I managed to find an absurd way to plot the Christmas tree star using discrete cosine transform. Can't think of an equally absurd way to do this one so I'll probably stop now with the boring solution that I've got.
- Diminished
- Posts: 1252
- Joined: Fri Dec 08, 2017 9:47 pm
- Contact:
Re: VCCC2023: Christmas Challenge
That reminds me of the creature from vision on or take hart made from signatures.
Re: VCCC2023: Christmas Challenge
I had one yesterday and, exhausted from Christmas shopping, coded it up to see what it weighed. It was a shade heavier.
Even if it hadn't been, I've resolved to stick with my submissions and not kick myself.
Re: VCCC2023: Christmas Challenge
How about a score multiplier based on the number of days before the 25th when the entry was submitted!
Re: VCCC2023: Christmas Challenge
Found a new way to do it that shaves 3 bytes off my best previous effort but I am completely out of ideas now, but we'll see what a sleep can do