The game you're describing is Mancala—a family of "count-and-capture" board games played across Africa, the Caribbean, South Asia, and the Middle East for centuries.
All share the "sow and capture" loop. Cheap to make (egg carton + beans), infinite depth.