Game's rules • Installation • Launch • Start with docker • Algorithms • About project • About me
- Guess the hidden word in six attempts. After each attempt, the color of the letters will change to show which letters are in the hidden word!
- The green letter is in the hidden word and is in the right place
- The yellow letter is in the hidden word, but it is in the wrong place
- If the letter is gray, then it is not in the hidden word
To clone and run this application, you'll need Git, Node.js, python and mongodb.
# Clone this repository
$ git clone https://github.com/psihoshlem/wordle_web_game.git
# Go into the server's folder
$ cd server
# Create virtual environment
$ python -m venv venv
$ ./venv/Scripts/Activate.ps1
# Install dependencies
$ pip install requirements.txt
# Go back
$ cd ..
# Go into the server's folder
$ cd wordle
# Install dependencies
$ npm i
To run project open 3 terminals:
- to run server
$ cd server
$ ./venv/Scripts/Activate.ps1
$ python main.py
- to run client
$ cd wordle
$ npm run serve
- to run database
$ mongod --dbpath ./database
Also you can install and run project with docker:
$ git clone https://github.com/psihoshlem/wordle_web_game.git
$ cd wordle_web_game
$ docker-compose up -d
- Processing keystrokes
- Word processing involves determining the color of each letter
This is not a new idea. I worked on this to consolidate my knowledge, as well as to gain skills working with mongodb. The project was based on the wordle game. The letters are entered from the keyboard, after which the word is sent to the server where the word is processed (that is, the color of each letter is determined) and the word is recorded in the database.
If the word was entered earlier or it does not exist, the user will receive a corresponding notification.
I am studying to be a software developer in the 3rd year. I position myself as a full-stack developer. My stack is currently vue.js and python/fastapi.
GitHub @psihoshlem Gmail yungync@gmail.com