Skip to content

thvu02/Wordle-PLUS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

116 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordle PLUS

Description

The Wordle PLUS web app is our team's attempt to recreate the famous WORDLE app officially run by The New York Times website.

In Wordle PLUS, players have the option to play the game with either a 4 letter word, 5 letter word or 6 letter word. Instruction is available to be viewed by simply clicking on the Instruction button appeared on top of the app.

Players must enter a name and click on one of the Difficulty buttons to play the game. After the game has been played, each player's stats will be posted onto leaderboard, which includes the rank and the score of each player.

Key Features

  1. Dynamic Homepage with buttons allowing players to navigate through the web app and enter their names.
  2. Upload Name entered by the player to the server side to keep track of the player stats.
  3. Game Instruction as a react-modal component that displays the instruction on how to play the game to players when they clicked on the Instruction button.
  4. Dynamic Gamepage with a gameboard and a keyboard that changes colors when the player entered the guesses word.
  5. The ability for Player to use their manual keyboard to input the letter into the gameboard instead of using the provided keyboard onscreen.
  6. The ability for Player to choose between playing the game with 4 letter words, 5 letter words or 6 letter words. The Word of the day will change based on the option you choose.
  7. Leaderboard Page that search through server side data and display dynamic data such as player names, ranks and scores based on their stats after each players played the game.
  8. The ability for Player to play the game as many time as they want unlike WORDLE, which only allow you to play once.

Running the Application

Clone the Repository:

git clone https://github.com/trungvu08/CS-35L-Team-Project---C.A.N.N.T..git CANNT
cd CANNT
npm install

To run the Frontend (React):

cd frontend
npm install react-scripts
npm start

The app should be accessible at http://localhost:3000 so you can view it in the browser.

To setup the Backend:

Open a second command line to run the backend server.
cd server
Create a .env file in the server folder. Add your mongodb uri to the .env file (which can be created at https://cloud.mongodb.com/) like the following:

MONGO_DB_URI=<YOUR_MONGO_DB_URI_HERE>

Replace <YOUR_MONGO_DB_URI_HERE> with the MONGO_DB_URI you obtained from the database you created at https://cloud.mongodb.com/

Afterwards, to run the backend (NodeJS and MongoDB):

npm install
nodemon start

This will run the backend on http://localhost:5000

Once both the front end and backend are running, the application will be fully useable.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages