/wordle

multiplayer wordle

Primary LanguageRubyMIT LicenseMIT

wordle

Multiplayer wordle

In addition to the original rules there is a time competition beetween players in the game. The faster one wins.

image

Demo

https://wordle.dmitry.it

Acknowledgements

Wordle is an original idea. Copilot is the best pair programmer ever! It wrote 60-70% of frontend code :)

Development

Backend: ruby-tipi, Frontend: React + Tailwind CSS

Requirements:

  • ruby
  • redis
  1. clone repo

  2. run bundle install in source directory

  3. run the tests by using this command APP_ENV=test REDIS_URL=redis://localhost:6379/2 bundle exec ruby setup/prepare_test_db.rb && bundle exec rspec

  4. fill the dictionaries if all the above steps have been completed successfully

redis-cli
127.0.0.1:6379> SADD words_en plain
127.0.0.1:6379> SADD available_words_en plain 

Also, use the setup scripts to populate dictionaries with words from internet.

  1. run application locally with bundle exec tipi app.rb