blob: fd65b28b9eb9fc18ae18d3f50243ecf577f8795f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//
// Created by martial.simon on 2/25/25.
//
#pragma once
#include <memory>
#include "player.hh"
class Game {
public:
void add_player(const std::string& name, size_t nb_presses);
void play(int bomb_ticks);
private:
std::unique_ptr<Player> head_;
Player* tail_ = nullptr;
};
|