<commit_before>// Ce-lo dice game
// for the streets.
// the rules:
// there are three dice
// each player rolls the dice once.
// they must roll until a recongized pattern is found
// whichever player gets the bets pair wins.

// Patterns
// 4-5-6- highest
// Trips- triples of dice. higher triples wins
// Point- doubles with number. Higher single wins
// 1-2-3 - loses automatically

//prompts:
// comp or number of people playing?

var intro = function (){
    console.log ("Welcome to Celo Dice!\n");
};

var players = function (){
    
};

var rules_Explain = function (){
    
    console.log("See rules? Yes or No");
    var see_Rules = prompt ("See rules? Yes or No");
    see_Rules =  see_Rules.toUpperCase();
    
    //rules
    if (see_Rules === "YES" || see_Rules === "Y"){
        console.log ("\n The Rules:\n There are three dice.");
        console.log (" Each player rolls once.");
        console.log (" Must roll untill pattern is found.\n");
        console.log ("The Patterns: \n 4-5-6 highest pattern");
    console.log (" Trips- triples of dice. higher triples wins");
    console.log (" Point- doubles with number. Higher single wins");
    console.log (" 1-2-3 - loses automatically"); 
     
    } else if (see_Rules === "NO" || see_Rules === "N") {
        // enter game
        console.log("enter game place holder");
    } else {
        console.log("Pick a valid entry yo");
        rules_Explain();
    }
};


var game = function()  {
    intro();
    rules_Explain();
};
<commit_msg>stared players function to determine # of players for digital celo<commit_after>// Ce-lo dice game
// for the streets.
// the rules:
// there are three dice
// each player rolls the dice once.
// they must roll until a recongized pattern is found
// whichever player gets the bets pair wins.

// Patterns
// 4-5-6- highest
// Trips- triples of dice. higher triples wins
// Point- doubles with number. Higher single wins
// 1-2-3 - loses automatically

//prompts:
// comp or number of people playing?

var intro = function (){
    console.log ("Welcome to Celo Dice!\n");
};

var players = function (){
    console.log("How many players do you want to play with?");
    var player_number = prompt("How many players do you want to play with?");
    if (player_number <= 1){
        console.log("Please pick a number greater than 1. You can't play against yourself.");
        players();
    } else if (isNaN(player_number)){
        console.log("Please enter a valid number of players");
        players();
    }
};

var rules_Explain = function (){
    
    console.log("See rules? Yes or No");
    var see_Rules = prompt ("See rules? Yes or No");
    see_Rules =  see_Rules.toUpperCase();
    
    //rules
    if (see_Rules === "YES" || see_Rules === "Y"){
        console.log ("\n The Rules:\n There are three dice.");
        console.log (" Each player rolls once.");
        console.log (" Must roll untill pattern is found.\n");
        console.log ("The Patterns: \n 4-5-6-: highest pattern");
    console.log (" Trips: triples of dice. higher triples wins");
    console.log (" Point: doubles with number. Higher single wins");
    console.log (" 1-2-3: loses automatically"); 
     
    } else if (see_Rules === "NO" || see_Rules === "N") {
        
        // enter game
        console.log("enter game place holder");
        
    } else {
        console.log("Pick a valid entry yo");
        rules_Explain();
    }
};


var game = function()  {
    intro();
    rules_Explain();
    players();
};

{'fraction_non_alphanumeric': 0.13872340425531915, 'fraction_numerical': 0.007375886524822695, 'mean_word_length': 2.484189723320158, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4462502', 'n_tokens_mistral': 1072, 'n_tokens_neox': 1033, 'n_words': 393}