| 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 *about_screen_title = "ABOUT"; |
| 35 | const char *about_website_source = "<https://git.joshstock.in/ncurses-minesweeper>"; |
| 36 | const char *about_website_home = "<https://joshstock.in>"; |
| 37 | const char *about_screen_back = "Back"; |
| 38 |
|
| 39 | const char *help_screen_title = "HELP"; |
| 40 | #define HELP_SCREEN_INFO_LEN 13 |
| 41 | const char *help_screen_info[HELP_SCREEN_INFO_LEN] = { |
| 42 | "Minesweeper is a logic game where mines are hidden in a grid of ", |
| 43 | "squares. The object is to open all the safe squares in the shortest", |
| 44 | "time possible.", |
| 45 | "", |
| 46 | "Use the <ENTER> key or <SPACE> to select menu items or open unopened", |
| 47 | "squares. Use the arrow keys or <hjkl> to move around. Use <f> to", |
| 48 | "toggle flags on squares. Use <ENTER> or <SPACE> on a numbered square", |
| 49 | "if enough surrounding squares are flagged in order to open remaining", |
| 50 | "surrounding squares. Use <r> to reset the board and <q> to quit.", |
| 51 | "", |
| 52 | "See the [OPTIONS] screen to change game settings.", |
| 53 | "", |
| 54 | "A minimum terminal resolution of 80x20 is recommended."}; |
| 55 | const char *help_screen_back = "Back"; |
| 56 |
|
| 57 | const char *options_screen_title = "OPTIONS"; |
| 58 | const char *options_screen_width = " Board width"; |
| 59 | const char *options_screen_height = "Board height"; |
| 60 | const char *options_screen_minecount = " # of Mines"; |
| 61 | const char *options_screen_back = "Back"; |
| 62 |
|