blob: 13f2a185cc39b45ebcfc0edb81b0e0c4a24358a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "game.h"
#include <iostream>
Game::Game(Player::p player_1, Player::p player_2, Player::p player_3, Player::p player_4) {
std::cout << "Started a game with "
<< player_1->nick() << ", "
<< player_2->nick() << ", "
<< player_3->nick() << " and "
<< player_4->nick() << "." << std::endl;
player_1->game_start();
player_2->game_start();
player_3->game_start();
player_4->game_start();
}
|