I started at uni this year and this week we had a really fun exercise. We had to make a rock, paper scissors algorithm in C and the idea is that the algorithms would compete against each other and the people with the best 3 algorithms would get an extra point. We'll get the results next week. I really liked the exercise because it allowed me to think outside of the box. I ended up making an algorithm that looks through /proc and runs the opponent to see what its answer would be.
Conversation
Notices
-
Embed this notice
:linux: Thijmer :startrek: (trogluur@social.linux.pizza)'s status on Sunday, 24-Sep-2023 17:49:34 JST :linux: Thijmer :startrek: - Haelwenn /элвэн/ :triskell: likes this.
-
Embed this notice
:linux: Thijmer :startrek: (trogluur@social.linux.pizza)'s status on Sunday, 24-Sep-2023 17:50:26 JST :linux: Thijmer :startrek: It's not really formal and I wasn't sneaky about it or anything so I think it's okay. And otherwise, I'll just not get that extra point.
I hope that their test software for the competition is the same as the one we got because based on it I assumed that in the competition all executables would also be put in one directory. And I used /proc, which works differently on different Unixes and some don't even have it.Haelwenn /элвэн/ :triskell: likes this.