Skip to content

Commit

Permalink
Added CI checks to make sure that the build process works without fai…
Browse files Browse the repository at this point in the history
…lure every time a new commit is made to main and added a status badge to README.md so that we can see how the CI is performing from the repos homepage resolves ChicoState#1
  • Loading branch information
melippmann committed Feb 21, 2022
1 parent 81f8283 commit 1d8494d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
7 changes: 0 additions & 7 deletions Makefile

This file was deleted.

6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<<<<<<< HEAD
[![C/C++ CI](https://github.com/melippmann/Wordler/actions/workflows/c-cpp.yml/badge.svg)](https://github.com/melippmann/Wordler/actions/workflows/c-cpp.yml)
# Wordler

Expand All @@ -17,4 +18,7 @@ Then play the game:
./wordler
```

The game will randomly-select a 5-letter word and you have unlimited guesses to get the word right. Each time you guess, if you have a letter that matches the same location as it is in the secret word, it will be revealed to you. However, any letter that does *not* match the secret word's letter at the same location will be displayed as `_`. Good luck!
The game will randomly-select a 5-letter word and you have unlimited guesses to get the word right. Each time you guess, if you have a letter that matches the same location as it is in the secret word, it will be revealed to you. However, any letter that does *not* match the secret word's letter at the same location will be displayed as `_`. Good luck!
=======
# Wordler
>>>>>>> parent of 3c4d001... Remove answer reveal and document build:
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ int main(){
int guesses = 0;

secret = word_list.select_word();
// REVEAL ANSWER: std::cout << secret << std::endl;
std::cout << secret << std::endl;
std::cout << "Welcome to Wordler -- a game that totally isn't simplified Wordle\n";
std::cout << "Guess your five-letter word:\n_____\n";

Expand All @@ -37,7 +37,7 @@ int main(){
std::cout << "Congrats, you got it in " << guesses << " guesses!\n";
}
else{
std::cout << hint << " Guess again: ";
std::cout << hint << std::endl << "Guess again: ";
}
}while( hint != secret );

Expand Down

0 comments on commit 1d8494d

Please sign in to comment.