All pastes #229080 Raw Edit

Unnamed

public text v1 · immutable
#229080 ·published 2006-10-30 12:37 UTC
rendered paste body
/*******************************************************************************
* set_LastMove method takes in a player symbol as a parameter and sets		   *
* the lastMove attribute equal to the passed in value.  The lastMove attribute *
* stores the symbol of the player that made the last successful move,		   *
* (or entry to the array).													   *
*																			   *
* Input: String * symbol (x/o)												   *
* Output: stores symbol in lastMove variable								   *
*******************************************************************************/
void Game::set_lastMove( String *symbol_in )
{
	lastMove = symbol_in;
}