public static boolean move1()
{
int amount = p1dice1;
if(position1 + amount >= 100){
position1 = 100;
}
return true; //the player has reached the end
}
public static boolean move2()
{
int amount = p2dice1;
if(position2 + amount >= 100){
position2 = 100;
}
return true;
}
}//i did this and im not sure if its right or how to call this method into my loop
{
int amount = p1dice1;
if(position1 + amount >= 100){
position1 = 100;
}
return true; //the player has reached the end
}
public static boolean move2()
{
int amount = p2dice1;
if(position2 + amount >= 100){
position2 = 100;
}
return true;
}
}//i did this and im not sure if its right or how to call this method into my loop