1 | /* ncurses-minesweeper Copyright (c) 2021 Joshua 'joshuas3' Stockin |
2 | * <https://joshstock.in> |
3 | * <https://git.joshstock.in/ncurses-minesweeper> |
4 | * |
5 | * This software is licensed and distributed under the terms of the MIT License. |
6 | * See the MIT License in the LICENSE file of this project's root folder. |
7 | * |
8 | * This comment block and its contents, including this disclaimer, MUST be |
9 | * preserved in all copies or distributions of this software's source. |
10 | */ |
11 |
|
12 | const char *copyright_line = "ncurses-minesweeper Copyright (c) Joshua Stockin 2021"; |
13 |
|
14 | // clang-format off |
15 | const char *title_screen_splash[7] = { |
16 | ":::: :::: ::::::::::: :::: ::: :::::::::: :::::::: ::: ::: :::::::::: :::::::::: ::::::::: :::::::::: ::::::::: ", |
17 | "+:+:+: :+:+:+ :+: :+:+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+:", |
18 | "+:+ +:+:+ +:+ +:+ :+:+:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+", |
19 | "+#+ +:+ +#+ +#+ +#+ +:+ +#+ +#++:++# +#++:++#++ +#+ +:+ +#+ +#++:++# +#++:++# +#++:++#+ +#++:++# +#++:++#: ", |
20 | "+#+ +#+ +#+ +#+ +#+#+# +#+ +#+ +#+ +#+#+ +#+ +#+ +#+ +#+ +#+ +#+ +#+", |
21 | "#+# #+# #+# #+# #+#+# #+# #+# #+# #+#+# #+#+# #+# #+# #+# #+# #+# #+#", |
22 | "### ### ########### ### #### ########## ######## ### ### ########## ########## ### ########## ### ###"}; |
23 | const char *title_screen_splash_small[5] = { |
24 | " __ ___ ____ _ __ ______ _____ _ __ ______ ______ ____ ______ ____ ", |
25 | " / |/ // _// | / // ____// ___/| | / // ____// ____// __ \\ / ____// __ \\", |
26 | " / /|_/ / / / / |/ // __/ \\__ \\ | | /| / // __/ / __/ / /_/ // __/ / /_/ /", |
27 | " / / / /_/ / / /| // /___ ___/ / | |/ |/ // /___ / /___ / ____// /___ / _, _/ ", |
28 | "/_/ /_//___//_/ |_//_____/ /____/ |__/|__//_____//_____//_/ /_____//_/ |_| "}; |
29 | // clang-format on |
30 |
|
31 | const char *title_screen_splash_text = "MINESWEEPER"; |
32 | const char *title_screen_buttons[5] = {"PLAY", "OPTIONS", "HELP", "ABOUT", "EXIT"}; |
33 |
|
34 | const char *game_help_note = "Press <?> for help, <q> to quit"; |
35 |
|
36 | const char *about_screen_title = "ABOUT"; |
37 | const char *about_website_source = "<https://git.joshstock.in/ncurses-minesweeper>"; |
38 | const char *about_website_home = "<https://joshstock.in>"; |
39 | const char *about_screen_back = "Back"; |
40 |
|
41 | const char *help_screen_title = "HELP"; |
42 | #define HELP_SCREEN_INFO_LEN 13 |
43 | const char *help_screen_info[HELP_SCREEN_INFO_LEN] = { |
44 | "Minesweeper is a logic game where mines are hidden in a grid of ", |
45 | "squares. The object is to open all the safe squares in the shortest", |
46 | "time possible.", |
47 | "", |
48 | "Use the <ENTER> key or <SPACE> to select menu items or open unopened", |
49 | "squares. Use the arrow keys or <hjkl> to move around. Use <f> to", |
50 | "toggle flags on squares. Use <ENTER> or <SPACE> on a numbered square", |
51 | "if enough surrounding squares are flagged in order to open remaining", |
52 | "surrounding squares. Use <r> to reset the board and <q> to quit.", |
53 | "", |
54 | "See the [OPTIONS] screen to change game settings.", |
55 | "", |
56 | "A minimum terminal resolution of 80x20 is recommended."}; |
57 | const char *help_screen_back = "Back"; |
58 |
|
59 | const char *options_screen_title = "OPTIONS"; |
60 | const char *options_screen_width = " Board width"; |
61 | const char *options_screen_height = "Board height"; |
62 | const char *options_screen_minecount = " # of Mines"; |
63 | const char *options_screen_back = "Back"; |
64 |
|