const update = compose( moveCircles, moveSatellites, checkBallOnTheBottom, checkBlockOnTheBottom, checkBlockOnTheTop, addBall, updateBall, checkCollisionBall, addBlock, moveBlocks, checkCollisionBlock, moveLeftOrRight, gravityBall, removeNoneType, startDemoKey );
const updateBall = update(isUnderCount)(applyFreely); const applyFreely = compose( incrementLifeCount, applyLeftOrRight, applyUpOrDown ) function applyLeftOrRight(circle) { …… }
http://bit.ly/2Kq6ial