23 lines
No EOL
531 B
C++
23 lines
No EOL
531 B
C++
#ifndef CONSTANTS_H
|
|
#define CONSTANTS_H
|
|
|
|
namespace error_code
|
|
{
|
|
inline constexpr int score_success{ 0 };
|
|
inline constexpr int negative_score{ 1 };
|
|
inline constexpr int score_fail{ 2 };
|
|
inline constexpr auto topic_fail{ "1" };
|
|
inline constexpr auto word_fail{ "1" };
|
|
inline constexpr auto word_topic_not_found{ "2" };
|
|
}
|
|
|
|
namespace game_mode
|
|
{
|
|
inline constexpr int easy{ 1 };
|
|
inline constexpr int medium{ 2 };
|
|
inline constexpr int hard{ 3 };
|
|
inline constexpr int score_reset{ 4 };
|
|
inline constexpr int exit{ 5 };
|
|
}
|
|
|
|
#endif |