Skip to content

atharv-rem/Wordle-game-replication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordle

The Wordle Python

In the realm of academia, where school projects often evoke groans and lackluster efforts, I found myself standing apart from the majority. While many approached assignments solely for the sake of grades, devoid of any genuine enthusiasm, my perspective was quite different. I firmly believed that even tasks pursued for their numerical rewards should be undertaken with a commitment to perfection, creating lasting memories that would echo through the years.

The turning point arrived with the announcement of my class 11 computer science project in December 2022( My first ever coding project ). I eagerly seized the opportunity to craft something extraordinary – a project that transcended the mundane and bore the hallmark of true passion. The culmination of my efforts resulted in the creation of a captivating masterpiece: The Wordle, a refined rendition of the renowned real-world game owned by the Wall Street Journal.

Visit Website

GitHub Views

Share my work on:

Tweet Share on LinkedIn Share on Discord Share on Reddit

Warning

Please be advised that the outcomes may exhibit variations. It is advisable to conduct preliminary testing, as the code may not be fully optimized to accommodate all potential scenarios.

Important

This is just a simple python replication of the game wordle and does not include any complex functionality which may be included in the orginial game.

Dictionary of Words

import requests
word_site = "https://www-cs-faculty.stanford.edu/~knuth/sgb-words.txt"
response = requests.get(word_site)
word = response.content.splitlines()

This helped me get the list of words I want, from which the code chooses a word randomly every time its being executed.