BEST 2013: Gatekeeper

Language: C

Platform: VEX Robotics Cortex

Download: View the source code on GitHub

In high school, I was big into the BEST Robotics competition. I wrote all the code for the four years I did the BEST competition, and I believe 2013’s code was the best I had ever written – mainly because the entire source code was completely overhauled in two hours because original code was horrific!

It was written in EasyC, a variant of C dedicated to the VEX Robotics platform that is based around drag-and-drop building blocks. However, to help train the team that formed after I graduated, I wrote out the code in a plaintext format with tons of comments everywhere to help the future team learn how to program.