Today I made my last submit in the Code4Life competition on codingame.com. I thought I would write about my experience instead of my notes.
The competition opened soon after finals week, the timing was perfect. The competition lasted 10 days and over 5k people were registered.
The first and second day of the competition were frustrating. My bot was doing unexpected things and I couldn’t figure out why. I tried many things, even switched languages, but my bot kept doing things that I did not tell him to do. Near the end of day two, I felt like quitting the competition. It was clear that I had no clue what I was doing and this game was not fun for me anymore. I did not quit, though. I thought about how much worse it would be if I quit than if I tried my darndest for ten days and failed.
After hours of trial and error, walking through the code, and yelling at my bot, I finally fixed the problem. My score went from “Timeout Error” to over 100! I submitted and got into bronze league!
The rest of the competition was enjoyable. It was rewarding, seeing my rank go up after I added a new feature. I got into silver league the day that it opened, I felt really good about that. I was never able to get into gold though.
In the end, I was happy with how I did. I am glad that I decided to join the competition and that I stuck with it. Even though I didn’t get close to winning, I learned a lot and had a lot of fun. I am itching to join another competition!