How does SundaeSwap work? similar to sushi on Ethereum?

wonder how does DeFi project work on Cardano if not utilize the smart contract?

how do it calculate tokenA:tokenB swap ratio? and ADA:tokenXYZ swap ratio?

What do you mean by “if not utilize the smart contract”?
SundaeSwap is using smart contracts, and it is an AMM DEX.

I thought it maybe not use constract, i.e. not write Plutus contract.
Later i confirmed that it DOES USE PLUTUS, from it official doc.
But there is a service name ‘Scooper’, seem like a centralized service.
Doc: [Some word about Scooper](My orders have been pending for a long time. What should I do? | SundaeSwap Help Centershould-i-do)