working game code without curving functionality. this code is only written in C, and is used to generate a data file to be used in excell