To those familiar with the digital logic employed in such equipment, this is not difficult.
In practice, the way these operations are carried out in digital logic can be quite complex.
Thus the surface has two states, shiny, or a pit, which become the "0" and "1" that is the basis of digital logic.
This eliminates simple bias, and is easy to implement as a computer program or in digital logic.
In digital logic, including the consensus term can eliminate race hazards.
Simple systems of digital logic can thus be built.
Another long-term possibility is to use light instead of electricity for the digital logic itself.
And this is the way digital logic was originally created.
It is also used in digital logic, computer programming, set theory, and statistics.
It is an example of sequential digital logic, as it has internal memory.