Question: the right of way laws that all states use are based on what code
Answer: Traffic code ( also motor vehicle code )