Friday, April 8, 2011

Archived: StudentReadPaper Algorithm

readLimit = 3;

if (paper.sheetTotal() > 5 && font <= 12) {
readLimit = readLimit -1;
}

if (playstation.getNewestGame().getReview() > 9) {
readLimit = readLimit -1;
}

if (course.relatedToGame() == false) {
readLimit = readLimit -1;
}

if (read > readLimit && understand == false) {
me.giveUp();
playstation.on();
}

if (me.chanceToPassCourse(course.getId()) < 0.5) {
me.pray();
me.pray();
me.pray();
me.pray();
me.pray();

me.giveUp();
playstation.on();
}





Archived is an old post that I posted somewhere. I put it here for a nostalgic moment ;)

No comments: