# Wolves, Carrots and Rabbits Simulation running in Erlang - any running Erlang/Elixir solutions around?

**URL:** <https://erlangforums.com/t/wolves-carrots-and-rabbits-simulation-running-in-erlang-any-running-erlang-elixir-solutions-around/4682>\
**Category:** Questions / Help\
**Tags:** elixir, erlang, phoenix\
**Created:** [April 17, 2025, 1:25pm UTC](https://erlangforums.com/t/wolves-carrots-and-rabbits-simulation-running-in-erlang-any-running-erlang-elixir-solutions-around/4682 "2025-04-17T13:25:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MGreim](https://erlangforums.com/letter_avatar_proxy/v4/letter/m/e8c25b/32.png) [@MGreim](https://erlangforums.com/u/MGreim)\
**Post date:** [April 17, 2025, 1:25pm UTC](https://erlangforums.com/t/wolves-carrots-and-rabbits-simulation-running-in-erlang-any-running-erlang-elixir-solutions-around/4682/1 "2025-04-17T13:25:17Z")

</div>

Francesco Cesarini often makes a reference to the Wolves, Carrots and Rabbits simulation.  
See:

[![](https://img.youtube.com/vi/d5G3P2iosmA/maxresdefault.jpg "Elixir Conf 2014 - Thinking in a Highly Concurrent, Mostly-functional Language by Francesco Cesarini") ](https://www.youtube.com/watch?v=d5G3P2iosmA)

The latest source code (in Erlang / Elixir) I found is 10 years old at:

> **[GitHub - afronski/wolves-and-rabbits-world-simulation: :rabbit: :wolf: World simulation of Wolves,...](https://github.com/afronski/wolves-and-rabbits-world-simulation)**
>
> :rabbit: :wolf: World simulation of Wolves, Rabbits and Carrots in Erlang.

I was able to adjust the core Erlang simulation to the latest requirements of rebar3 and OTP and it works now but I failed with the user interface at:

> **[GitHub - afronski/wolves-and-rabbits-world-simulation-ui: :rabbit: :wolf: UI for world simulation of Wolves,...](https://github.com/afronski/wolves-and-rabbits-world-simulation-ui)**
>
> :rabbit: :wolf: UI for world simulation of Wolves, Rabbits and Carrots in Elixir.

Its based on Phoenix (also 10 years old source) and I was not able to get it running.  
I have to say that my Elixir knowledge is quite poor and my Phoenix experiences around zero.

Has anybody a running Erlang/Elixir solution around? I found a JS version at:

> **[GitHub - pH-7/carrots-rabbits-wolves: 🗺 World Simulation Challenge (inspired by...](https://github.com/pH-7/carrots-rabbits-wolves)**
>
> 🗺 World Simulation Challenge (inspired by Francesco Cesarini's Erlang programming concepts). The world is inhabited by carrots that grow from the earth, rabbits that feed on carrots, and wolves that hunt rabbits in an intricate food chain.

but no running Erlang ecosystem version around.

Regards  
Markus
