I am looking to build a ladder application for my chess club website. I'm kind of just beginnig c# but I know programming general. I came up with some pseudo code. I was hoping someone could perhaps help me piece this together. This does use a DB and I have access on how to create the DB for this. I haven't written any code again this is just pseudo code
Rules:
Possible variables
int noshow = 4;
int attend = 0;
String Date = ' ';
if (playerA defeats PlayerB)
{
playerB = playerA.ladderApp.Rank.num - 1;
playerA = attend;
playerB = attend;
PlayerA.DateCell = (showDate = Date.today);
PlayerA.DateCell = (showDate = Date.today);
}
if (playerA.noshow <= 4)
{
PlayerA.ladderApp.Rank + 1 /*decrement their ranking by 1*/
/*if they've been inactive for more than 10 weeks, move to inactive list*/
if (playerA.noshow == 10)
{
PlayerA.Rank = rankLast.inactivelist;
}
}
Each player has a desti ...
Go to the complete details ...