Quantcast
Channel: Forest - A Simulated Ecosystem - Code Golf Stack Exchange
Browsing latest articles
Browse All 5 View Live

Answer by fredtantini for Forest - A Simulated Ecosystem

PythonNothing fancy. I kept on adding stuff, so refactoring might be in order. (And I didn't do unitest so bugs might still be present).I gave random names to lumberjacks and bears.Trees are i, then I,...

View Article


Image may be NSFW.
Clik here to view.

Answer by user16991 for Forest - A Simulated Ecosystem

Javascript+HTML - try itUpdated as per popular requestGeneral behaviourThe program is now somewhat interactive.The source code is completely parametrized, so you can tweak a few more internal...

View Article


Answer by Kevin L for Forest - A Simulated Ecosystem

JavascriptI think this mostly works. There's some wonky behavior where I spawn all the new bears/lumberjacks in sync and right next to each other because laziness in insertions.This implementation does...

View Article

Image may be NSFW.
Clik here to view.

Answer by Blackhole for Forest - A Simulated Ecosystem

AngularJSHere is my version, which is still a Work In Progress: the code is a bit… well… ugly. And quite slow. I also plan to add more options to parametrize the evolution and to analyse the state of...

View Article

Forest - A Simulated Ecosystem

NOTEThis problem was taken from this reddit thread (spoiler alert!), and I have adjusted it to make it fit with this site's format. All credit goes to reddit user "Coder_d00d".In this problem, we will...

View Article

Browsing latest articles
Browse All 5 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>