Hello people, it has been a while since i posted but i guess this would be a good time to post.
I was bored so i decided to program MasterMind, it's fairly simple to program and, for the sake of "free software" i'll leave the source code here. Any suggestions and tips would be helpful.(I did not use functions because i wrote the game twice and it didnt work the first time so i just put it all inside main).
Just FYI, it isn't Free Software unless the code is offered under a license that allows the code to be modified and redistributed. The most common Free Software license is the GNU GPL (http://www.gnu.org/licenses/gpl.html).
However, the usual practice for small works like yours is to place it in the public domain.