Skip to content

senks69/wordle_web_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



wordle web

the most interesting word game

Game's rulesInstallationLaunchStart with dockerAlgorithmsAbout projectAbout me

screenshot

Game's rules

  • 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

For example, the hidden word is 'слово' screenshot

Installation

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

Launch

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

Start with docker

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

Algorithms

  • Processing keystrokes

screenshot

  • Word processing involves determining the color of each letter

screenshot

About project

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. screenshot screenshot

About me

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published