A little side project I’m working on
Don’t worry, even though I haven’t worked on my game in a couple of days, I haven’t forgotten about it.
Anyways, I decided to make an application named “Who gets the last slice?” I don’t know about you, but in my house, pizza is a big fucking deal. Even more so is who gets the slice of pizza. We developed a system of taking turns, that way it would be fair for everyone. Unfortunately, nobody can ever remember who had the last slice last and what the order of the rotation is. My application intends to solve this problem by remembering who had it last and then spitting out the next person to have it.
http://i51.tinypic.com/2d0hri1.png
http://i52.tinypic.com/214nz44.png
http://i53.tinypic.com/fcldw8.png
It’s not quite that simple. The application has three password fields, one for each of us. In order to use the program, three different passwords have to be inputted. This is so that nobody can deliberately change the output of the program in their favor. The “no” button closes the program, the “ok” button inputs the three passwords, and the “yes” button displays the brother who gets the last slice and is only enabled after all three passwords have been inputted. After you press the “ok” button, all three password fields are cleared out and yes is disabled again to prevent abuse. I coded the bulk of the program yesterday, before I had to go to work. All I have left to code is keeping track of the sequence via input/output stream.
Ah, nerds coding programs for things other people consider trivial.
(Source: aguiney)