public static void main(String[] args) {
        
        int myPoint = 0;
        Status gameStatus;
        
        int sumOfDice = rollDice();
        
        switch ( sumOfDice ) {
            
            case SEVEN:
            case YO_LEVEN:
                gameStatus = Status.WON;
                break;
                
            case SNAKE_EYES:
            case TREY:
            case BOX_CARS:
                 gameStatus = Status.LOST;
                break;
                
            default:
                gameStatus = Status.CONINUE;
                myPoint = sumOfDice;
                System.out.printf("Point is %d\n", myPoint);
                break;
        }
        
        while (gameStatus == Status.CONINUE) {
            
            sumOfDice = rollDice();
            
            if( sumOfDice == myPoint )
                gameStatus = Status.WON;
            else
                if( sumOfDice == SEVEN ) 
                    gameStatus = Status.LOST;
        }
        
        if( gameStatus == Status.WON ) {
            System.out.println("Paleyer Wins");
        }
        else
            System.out.println("Player Loses");
    }