Rules and instructions can be found here.

Programmed and designed as a group effort by Eli Gukovsky and myself. Rewritten by myself in 2020. Original source code here.

It is red's turn