class SizeProblem{};

class Codemaker : public Player
{
public:
	virtual ~Codemaker()
	{}
	virtual vector& play (vector& v)
	{
		vector  tip;
		Game *game = Game::getInstance();

		if (v == game->m_code)
		{
			game->m_s = Game::breaker_won;
		} else {
			if (v.size() != game->m_code.size()) throw SizeProblem();
			for (size_t i=0; im_code[i]) tip.push_back('K');
				else {
					for (size_t j=0; jm_code[j])
						{
							tip.push_back('P');
							break;
						}
					}
				}
			}
			sort(tip.begin(), tip.end());
			for (size_t i=0; i


	
Fr Jul 30 13:54:24 CEST 2021
patent_button.gif valid-html401.png elektra.jpg fsfe-logo.png valid-css.png vim.gif anybrowser.gif