Ok as I said before I am very tired but I decided to look over your code any way. Here is your code with my modifications. If you have additional question post them and I will try to answer them tonight or in a few hours when I wake back up.
Edit: Fixed AddPoints method.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HighLow
{
class Program
{
static void Main(string[] args)
{
int numPoints = 1000;
printRules();
do
{
int wager = getWager(numPoints);
int Prediction = getPrediction();
if (isWin(Prediction) == true)
{
numPoints = AddPoints(wager, numPoints);
Console.WriteLine("You Win!!!!!");
}
else
{
numPoints = RemovePoints(wager, numPoints);
Console.WriteLine("You Lose!");
}
} while (numPoints >= 0);
Console.ReadLine();
}
static void printRules()
{
Console.WriteLine("High Low Game!");
Console.WriteLine("Welcome to the Game!");
Console.WriteLine("RULES:");
Console.WriteLine("Numbers 1 through 6 are low.\nNumbers 8 through 13 are high.\nNumber 7 is neither high nor low.");
Console.WriteLine("You have 1000 points to wager. BEGIN!");
}
static int getWager(int numPoints)
{
int wager;
int timesPlayed = 0;
Console.Write("Please place you're wager");
wager = int.Parse(Console.ReadLine());
do
{
if (wager > numPoints)
{
Console.WriteLine("Not enough funds.");
Console.Write("Enter a smaller wager: ");
wager = int.Parse(Console.ReadLine());
}
else if (wager == 0)
{
Console.WriteLine("You cannot bet 0 points.");
Console.Write("Please place a higher wager: ");
wager = int.Parse(Console.ReadLine());
}
else if (wager < 0)
{
Console.WriteLine("You cannot wager a negative amount of points");
Console.Write("Enter a higher wager: ");
wager = int.Parse(Console.ReadLine());
}
else
{
Console.WriteLine("You currently have " + numPoints + " points left.");
timesPlayed--;
}
} while (timesPlayed == 0);
return wager;
}
static int getPrediction()
{
retry:
int prediction = -1;
Console.Write("enter your prediction for a high (1) or low (0) number: ");
try
{
prediction = int.Parse(Console.ReadLine());
}
catch
{
Console.WriteLine("Please input numbers only.");
}
if (prediction != 0 && prediction != 1)
{
goto retry;
}
return prediction;
}
static int AddPoints(int wager, int NumPoints)
{
return NumPoints += wager * 2;
}
static int RemovePoints(int wager, int numPoints)
{
return numPoints -= wager;
}
static Boolean isWin(int thePrediction)
{
Random Rand = new Random();
int Guess = Rand.Next(1, 14);
if (Guess > 7 && thePrediction == 0 || Guess < 7 && thePrediction == 1)
{
return false;
}
else if (Guess > 7 && thePrediction == 1 || Guess < 7 && thePrediction == 0)
{
return true;
}
return false;
}
static void finalMessage(int thePoints)
{
{
if (thePoints <= 0)
{
Console.WriteLine("Not enough funds.");
}
}
}
}
}