Discrete Lagrangian mechanics on Lie groups and groupoids has been developed in many papers. Nevertheless, the generalization of the discrete mechanics to non-associative objects is still lacking. I will talk about how we can generalize the discrete Lagrangian and Hamiltonian mechanics on Lie groups to non-associative objects generalizing Lie groups (smooth loops). This shows that the associativity assumption is not crucial for mechanics and opens new perspectives. I will show the process of the formulation of the discrete Lagrangian and Hamiltonian mechanics on unitary octonions as a motivating example