static void updateWinCount() throws IOException
	{
		if(computer)
		{
			console.setText(winC()+" wins!");
			if(winC()=="Red")
			{
				redwins++;
				reds.save(redwins+"");
			}
			else if(winC()=="Blue")
			{	
				bluewins++;
				blues.save(bluewins+"");
			}
		}
		else
		{
			if(player==0)
			{
				console.setText("Red wins!");
				redwins++;
				reds.save(redwins+"");
			}
			else
			{
				console.setText("Blue wins!");
				bluewins++;
				blues.save(bluewins+"");
			}
		}
		red.setText("Red:"+redwins);
		blue.setText("Blue:"+bluewins);
	}