Skip to content

Commit

Permalink
refactor: Improve code structure and test coverage
Browse files Browse the repository at this point in the history
- Reorganized project structure
- Added comprehensive test suite
- Fixed GUI tests with proper ttk widget handling
- Updated requirements.txt with missing dependencies
- Improved error handling and code organization
- Removed duplicate test files
- Added proper test fixtures and configurations
  • Loading branch information
Hassan Shabbir Ahmed committed Nov 30, 2024
1 parent 1096ad4 commit 78dd847
Show file tree
Hide file tree
Showing 21 changed files with 700 additions and 1,118 deletions.
Binary file added .coverage
Binary file not shown.
8 changes: 4 additions & 4 deletions assets/difficulties.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"easy": {
"words": 15,
"time_limit": null,
"description": "Practice mode with no time limit"
"time_limit": 120,
"description": "Practice mode with 2-minute time limit"
},
"medium": {
"words": 25,
Expand All @@ -11,7 +11,7 @@
},
"hard": {
"words": 40,
"time_limit": 60,
"description": "Challenge mode with more words"
"time_limit": 45,
"description": "Challenge mode with 45-second time limit"
}
}
100 changes: 100 additions & 0 deletions assets/wordlist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
the
be
to
of
and
a
in
that
have
I
it
for
not
on
with
he
as
you
do
at
this
but
his
by
from
they
we
say
her
she
or
an
will
my
one
all
would
there
their
what
so
up
out
if
about
who
get
which
go
me
when
make
can
like
time
no
just
him
know
take
people
into
year
your
good
some
could
them
see
other
than
then
now
look
only
come
its
over
think
also
back
after
use
two
how
our
work
first
well
way
even
new
want
because
any
these
give
day
most
us
77 changes: 0 additions & 77 deletions high_scores.py

This file was deleted.

Loading

0 comments on commit 78dd847

Please sign in to comment.