2023-08-12 00:04:02 +02:00
|
|
|
#ifndef DYNAMIC_PROGRAM_CLI_INTERFACE_H
|
|
|
|
#define DYNAMIC_PROGRAM_CLI_INTERFACE_H
|
|
|
|
|
|
|
|
#include <memory>
|
2023-11-15 23:07:39 +01:00
|
|
|
#include "game_interface.h"
|
2023-08-12 00:04:02 +02:00
|
|
|
|
2023-11-16 16:20:04 +01:00
|
|
|
namespace Hanabi
|
|
|
|
{
|
2023-11-16 16:29:41 +01:00
|
|
|
/**
|
|
|
|
* Launches an interactive shell (on cout/cin) that allows to display, traverse and modify
|
|
|
|
* the given game state.
|
|
|
|
*/
|
2023-11-16 16:20:04 +01:00
|
|
|
void cli(Game const & game);
|
2023-08-12 00:04:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif //DYNAMIC_PROGRAM_CLI_INTERFACE_H
|