lib dev code golf
monkyyy
crazymonkyyy at gmail.com
Mon Jun 24 12:06:08 UTC 2024
On Monday, 24 June 2024 at 06:07:02 UTC, Kapendev wrote:
> On Saturday, 22 June 2024 at 15:56:38 UTC, monkyyy wrote:
>> I recently played "the farmer was replaced", unlike most
>> coding sims the "levels" overlapped so I made a "map" function
>> and made fairly short solution for all its puzzles. So your
>> solving several problems at once and you probably reuse some
>> code (however the game doesnt have a low line count
>> leaderboard, and it python, and its poorly balanced etc)
>>
>> So its been on my mind that you can make coding challenges
>> that reuse code. so basic framework for making such a thing:
>>
>> 1. have 18 puzzles, probably on the easier side of code golf
>> 2. the statement "import mylib" is free, and the score of
>> mylib is heavily discounted
>> 3. ban "import std.algorthims" so people write their own
>> generic libs
>> 4. ???
>> 5. d's community lib dev, gooder
>
> You will need to ship a compiler with your game if you want to
> run D inside the game. Can be done, but not my kind of project.
if you ship on steam, not if its a github thing or even a website
that uses whatever open source compiler running services
More information about the Digitalmars-d
mailing list