lib dev code golf

monkyyy crazymonkyyy at gmail.com
Sat Jun 22 15:56:38 UTC 2024


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


More information about the Digitalmars-d mailing list