Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7621938f04 | ||
|
|
1a9a440509 | ||
|
|
d9a7c94125 |
@@ -68,6 +68,7 @@ function main() {
|
|||||||
if [[ "${ONLINE}" == 1 && "${DAILY_DONE}" != 1 ]]; then
|
if [[ "${ONLINE}" == 1 && "${DAILY_DONE}" != 1 ]]; then
|
||||||
echo "Share/view your game with -> curl \"${URL_BASE}/${RESULT_FILE}\""
|
echo "Share/view your game with -> curl \"${URL_BASE}/${RESULT_FILE}\""
|
||||||
echo "Share/view your stats with -> curl \"${URL_BASE}/stats/${USER}\""
|
echo "Share/view your stats with -> curl \"${URL_BASE}/stats/${USER}\""
|
||||||
|
echo "Check out the new homepage in your browser -> ${URL_BASE}"
|
||||||
while read -r board_line; do echo "${board_line//[A-Z]/ }"; done < "${RESULT_FILE}"
|
while read -r board_line; do echo "${board_line//[A-Z]/ }"; done < "${RESULT_FILE}"
|
||||||
fi
|
fi
|
||||||
echo "Guess - $(( ROW+1 ))/6"
|
echo "Guess - $(( ROW+1 ))/6"
|
||||||
@@ -86,6 +87,7 @@ function main() {
|
|||||||
if [[ "${ONLINE}" == 1 && "${DAILY_DONE}" != 1 ]]; then
|
if [[ "${ONLINE}" == 1 && "${DAILY_DONE}" != 1 ]]; then
|
||||||
echo "Share/view your game with -> curl \"${URL_BASE}/${RESULT_FILE}\""
|
echo "Share/view your game with -> curl \"${URL_BASE}/${RESULT_FILE}\""
|
||||||
echo "Share/view your stats with -> curl \"${URL_BASE}/stats/${USER}\""
|
echo "Share/view your stats with -> curl \"${URL_BASE}/stats/${USER}\""
|
||||||
|
echo "Check out the new homepage in your browser -> ${URL_BASE}"
|
||||||
while read -r board_line; do echo "${board_line//[A-Z]/ }"; done < "${RESULT_FILE}"
|
while read -r board_line; do echo "${board_line//[A-Z]/ }"; done < "${RESULT_FILE}"
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
@@ -180,7 +182,7 @@ function set_options() {
|
|||||||
;;
|
;;
|
||||||
h)
|
h)
|
||||||
echo -e \
|
echo -e \
|
||||||
"Usage: <program_name> [OPTIONS]
|
"Usage: wordle [OPTIONS]
|
||||||
Play a game for Wordle
|
Play a game for Wordle
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
|||||||
Reference in new issue
Block a user