News for hackers. Stuff that matters.
Re:Documented and annotated source code for Elite on the Com... by FrustratedMonky on Friday December 20, 2024 @08:23AM (#42470869)
Has anybody done something similar, but converted to a modern language?
Re:Documented and annotated source code for Elite on the Com... by MarkMoxon on Friday December 20, 2024 @08:29AM (#42470900)
Yes. The original Elite was reverse-engineered into C by Christian Pinder as part of the Elite: The New Kind project. The source is out there. It's a brilliant bit of work.
Re:Documented and annotated source code for Elite on the Com... by cptnapalm on Friday December 20, 2024 @11:09AM (#42472283)
Note: there's a crash bug. If you try to look at the local sun, the game will try to explode it, but suns can't explode so the game crashes.
Re:Documented and annotated source code for Elite on the Com... by tialaramex on Friday December 20, 2024 @08:36AM (#42470944)
Although C probably counted as a modern language back then (after all it's not B) today I think "modern" probably means at least Java and likely something from this century like Rust or Typescript.
Re:Documented and annotated source code for Elite on the Com... by MarkMoxon on Friday December 20, 2024 @08:43AM (#42470985)
Oolite is normally quoted at this point. I think it's in Objective C? But exactly how much it relates to the original game's code, I don't know.

https://github.com/OoliteProject/oolite

Re:Documented and annotated source code for Elite on the Com... by FrustratedMonky on Friday December 20, 2024 @09:32AM (#42471367)
anything would be great.

Oolite does look like Mac, done in COCO? Even Mac/Coco looks dated. Not the screens, they actual look is great.

A Rust version would be cool.

Re:Documented and annotated source code for Elite on the Com... by astrobe_ on Friday December 20, 2024 @03:44PM (#42474837)
"Modern" means "we fixed the deficiencies of the old project and introduced our own". When I read "modern" I understand it's likely to be a variation of the second system effect [1]. When it's not just advertisement/PR BS.

When it's part of a request, it generally means "I don't know tech XYZ but I'm pretty sure I could enjoy it and contribute if it was using a tech I know". Which is generally a form of procrastination.

I dislike Javascript and I don't know Objective-C, and it didn't prevent me to tinker with Oolite, which uses both, because I like the game (now, tbh assembly is "hardcore" so OP's request is legitimate).

[1] https://www.joelonsoftware.com/2000/04/06/things-you-should-...

Re:Documented and annotated source code for Elite on the Com... by Lerc on Friday December 20, 2024 @02:42PM (#42474249)
Would you have any objection to your version being used as an AI test?

It seems plausible that AIs could port this code to other architecures. It seems like a good large scale task that most systems probably can't manage right now, but perhaps soon.

Re:Documented and annotated source code for Elite on the Com... by astrobe_ on Friday December 20, 2024 @03:13PM (#42474568)
Oolite [1] is implemented in Objective-C and scripted in Javascript. The "strict mode" base game has the look'n'feel of the original - there's even an option for wireframe display somewhere - but its vast ecosystem of mods (500+ last time I played, some years ago) is much more interesting.

I don't play it anymore because I'm more interested in building games and game building now (with Luanti [2]), but it is IMO one of the top FOSS titles.

[1] https://oolite.space/ [2] https://www.luanti.org/