View Code? Open in Web Editor
NEW
A terminal-based version of the popular word-guessing game Wordle, built with Python. Created as my first GitHub project!
License: GNU General Public License v3.0
pythle's People
Watchers
pythle's Issues
![pytest-coverage-badge](https://camo.githubusercontent.com/af5a901d369ee243de097e9415fe87e5ef6e68d8d3fa3aba50e9e502b058086b/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d37342526636f6c6f723d677265656e)
Name |
Stmts |
Miss |
Cover |
src/pythle/cli.py |
44 |
1 |
98% |
src/pythle/guess.py |
12 |
0 |
100% |
src/pythle/load_wordlist.py |
5 |
0 |
100% |
src/pythle/player_stats.py |
11 |
0 |
100% |
src/pythle/pythle.py |
38 |
28 |
26% |
TOTAL |
110 |
29 |
74% |
![pytest-coverage-badge](https://camo.githubusercontent.com/acbe220673e189f093b8a90aafaa51a1029bb1e2b9968ea014f7d80015be3d11/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d302526636f6c6f723d726564)
Name |
Stmts |
Miss |
Cover |
setup.py |
3 |
3 |
0% |
src/wordle/init.py |
1 |
1 |
0% |
src/wordle/wordle.py |
79 |
79 |
0% |
TOTAL |
83 |
83 |
0% |
![pytest-coverage-badge](https://camo.githubusercontent.com/da71f7f01dbdf577e884df412393d0a7c955fd7918d65c7462684f10455b6a30/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d35322526636f6c6f723d79656c6c6f77)
Name |
Stmts |
Miss |
Cover |
src/wordle/wordle.py |
79 |
38 |
52% |
TOTAL |
79 |
38 |
52% |
![pytest-coverage-badge](https://camo.githubusercontent.com/acbe220673e189f093b8a90aafaa51a1029bb1e2b9968ea014f7d80015be3d11/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d302526636f6c6f723d726564)
Name |
Stmts |
Miss |
Cover |
setup.py |
3 |
3 |
0% |
src/conftest.py |
0 |
0 |
100% |
src/wordle/init.py |
1 |
1 |
0% |
src/wordle/wordle.py |
79 |
79 |
0% |
TOTAL |
83 |
83 |
0% |
![pytest-coverage-badge](https://camo.githubusercontent.com/4acf0268042b6e3a16111e34f02a08a4e3e5852084f6537649dea602292b1012/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d37332526636f6c6f723d677265656e)
Name |
Stmts |
Miss |
Cover |
src/pythle/cli.py |
46 |
2 |
96% |
src/pythle/guess.py |
12 |
0 |
100% |
src/pythle/load_wordlist.py |
5 |
0 |
100% |
src/pythle/player_stats.py |
11 |
0 |
100% |
src/pythle/pythle.py |
38 |
28 |
26% |
TOTAL |
112 |
30 |
73% |
![pytest-coverage-badge](https://camo.githubusercontent.com/af5a901d369ee243de097e9415fe87e5ef6e68d8d3fa3aba50e9e502b058086b/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d37342526636f6c6f723d677265656e)
Name |
Stmts |
Miss |
Cover |
src/pythle/cli.py |
44 |
1 |
98% |
src/pythle/guess.py |
12 |
0 |
100% |
src/pythle/load_wordlist.py |
5 |
0 |
100% |
src/pythle/player_stats.py |
11 |
0 |
100% |
src/pythle/pythle.py |
38 |
28 |
26% |
TOTAL |
110 |
29 |
74% |
![pytest-coverage-badge](https://camo.githubusercontent.com/e8d9b96e86ed5f08cc6746160a0fb0e2ead2b71f2bab2ba1a608f5c30893d90f/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d34332526636f6c6f723d6f72616e6765)
Name |
Stmts |
Miss |
Cover |
setup.py |
3 |
3 |
0% |
src/conftest.py |
0 |
0 |
100% |
src/wordle/init.py |
1 |
0 |
100% |
src/wordle/wordle.py |
79 |
44 |
44% |
TOTAL |
83 |
47 |
43% |
![pytest-coverage-badge](https://camo.githubusercontent.com/4a67936d751905738cd924465e1a45aed70388500c463a83189be4b2e79d0f35/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d35312526636f6c6f723d79656c6c6f77)
Name |
Stmts |
Miss |
Cover |
setup.py |
3 |
3 |
0% |
src/conftest.py |
0 |
0 |
100% |
src/wordle/init.py |
1 |
0 |
100% |
src/wordle/wordle.py |
79 |
38 |
52% |
TOTAL |
83 |
41 |
51% |
![pytest-coverage-badge](https://camo.githubusercontent.com/478fbfb82d394727f2a19d6881da99ab70ffdf6cf82069d7c4f6218f7e8a2d79/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d312526636f6c6f723d726564)
Name |
Stmts |
Miss |
Cover |
src/conftest.py |
0 |
0 |
100% |
src/wordle/init.py |
1 |
0 |
100% |
src/wordle/wordle.py |
79 |
79 |
0% |
TOTAL |
80 |
79 |
1% |
![pytest-coverage-badge](https://camo.githubusercontent.com/af5a901d369ee243de097e9415fe87e5ef6e68d8d3fa3aba50e9e502b058086b/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d37342526636f6c6f723d677265656e)
Name |
Stmts |
Miss |
Cover |
src/pythle/cli.py |
44 |
1 |
98% |
src/pythle/guess.py |
12 |
0 |
100% |
src/pythle/load_wordlist.py |
5 |
0 |
100% |
src/pythle/player_stats.py |
11 |
0 |
100% |
src/pythle/pythle.py |
38 |
28 |
26% |
TOTAL |
110 |
29 |
74% |
![pytest-coverage-badge](https://camo.githubusercontent.com/af5a901d369ee243de097e9415fe87e5ef6e68d8d3fa3aba50e9e502b058086b/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d37342526636f6c6f723d677265656e)
Name |
Stmts |
Miss |
Cover |
src/pythle/cli.py |
44 |
1 |
98% |
src/pythle/guess.py |
12 |
0 |
100% |
src/pythle/load_wordlist.py |
5 |
0 |
100% |
src/pythle/player_stats.py |
11 |
0 |
100% |
src/pythle/pythle.py |
38 |
28 |
26% |
TOTAL |
110 |
29 |
74% |
![pytest-coverage-badge](https://camo.githubusercontent.com/af5a901d369ee243de097e9415fe87e5ef6e68d8d3fa3aba50e9e502b058086b/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d37342526636f6c6f723d677265656e)
Name |
Stmts |
Miss |
Cover |
src/pythle/cli.py |
44 |
1 |
98% |
src/pythle/guess.py |
12 |
0 |
100% |
src/pythle/load_wordlist.py |
5 |
0 |
100% |
src/pythle/player_stats.py |
11 |
0 |
100% |
src/pythle/pythle.py |
38 |
28 |
26% |
TOTAL |
110 |
29 |
74% |
Is there an existing issue for this?
Description of the bug
When running on Linux apparently there is some spurious output that likely caused by os.system("color")
(Thank you Nick!)
Screenshots
![linux-pythle-output](https://user-images.githubusercontent.com/101601846/164532602-c646577e-3f05-47b4-b731-bd28a098cff2.png)
![pytest-coverage-badge](https://camo.githubusercontent.com/af5a901d369ee243de097e9415fe87e5ef6e68d8d3fa3aba50e9e502b058086b/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d37342526636f6c6f723d677265656e)
Name |
Stmts |
Miss |
Cover |
src/pythle/cli.py |
44 |
1 |
98% |
src/pythle/guess.py |
12 |
0 |
100% |
src/pythle/load_wordlist.py |
5 |
0 |
100% |
src/pythle/player_stats.py |
11 |
0 |
100% |
src/pythle/pythle.py |
38 |
28 |
26% |
TOTAL |
110 |
29 |
74% |
![pytest-coverage-badge](https://camo.githubusercontent.com/af5a901d369ee243de097e9415fe87e5ef6e68d8d3fa3aba50e9e502b058086b/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d37342526636f6c6f723d677265656e)
Name |
Stmts |
Miss |
Cover |
src/pythle/cli.py |
44 |
1 |
98% |
src/pythle/guess.py |
12 |
0 |
100% |
src/pythle/load_wordlist.py |
5 |
0 |
100% |
src/pythle/player_stats.py |
11 |
0 |
100% |
src/pythle/pythle.py |
38 |
28 |
26% |
TOTAL |
110 |
29 |
74% |
![pytest-coverage-badge](https://camo.githubusercontent.com/acbe220673e189f093b8a90aafaa51a1029bb1e2b9968ea014f7d80015be3d11/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d302526636f6c6f723d726564)
Name |
Stmts |
Miss |
Cover |
src/conftest.py |
0 |
0 |
100% |
src/wordle/init.py |
1 |
1 |
0% |
src/wordle/main.py |
8 |
8 |
0% |
TOTAL |
9 |
9 |
0% |
![pytest-coverage-badge](https://camo.githubusercontent.com/e8d9b96e86ed5f08cc6746160a0fb0e2ead2b71f2bab2ba1a608f5c30893d90f/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d34332526636f6c6f723d6f72616e6765)
Name |
Stmts |
Miss |
Cover |
setup.py |
3 |
3 |
0% |
src/conftest.py |
0 |
0 |
100% |
src/wordle/init.py |
1 |
0 |
100% |
src/wordle/wordle.py |
79 |
44 |
44% |
TOTAL |
83 |
47 |
43% |
![pytest-coverage-badge](https://camo.githubusercontent.com/af5a901d369ee243de097e9415fe87e5ef6e68d8d3fa3aba50e9e502b058086b/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d37342526636f6c6f723d677265656e)
Name |
Stmts |
Miss |
Cover |
src/pythle/cli.py |
44 |
1 |
98% |
src/pythle/guess.py |
12 |
0 |
100% |
src/pythle/load_wordlist.py |
5 |
0 |
100% |
src/pythle/player_stats.py |
11 |
0 |
100% |
src/pythle/pythle.py |
38 |
28 |
26% |
TOTAL |
110 |
29 |
74% |
![pytest-coverage-badge](https://camo.githubusercontent.com/4acf0268042b6e3a16111e34f02a08a4e3e5852084f6537649dea602292b1012/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d37332526636f6c6f723d677265656e)
Name |
Stmts |
Miss |
Cover |
src/pythle/cli.py |
46 |
2 |
96% |
src/pythle/guess.py |
12 |
0 |
100% |
src/pythle/load_wordlist.py |
5 |
0 |
100% |
src/pythle/player_stats.py |
11 |
0 |
100% |
src/pythle/pythle.py |
38 |
28 |
26% |
TOTAL |
112 |
30 |
73% |
![pytest-coverage-badge](https://camo.githubusercontent.com/af5a901d369ee243de097e9415fe87e5ef6e68d8d3fa3aba50e9e502b058086b/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d37342526636f6c6f723d677265656e)
Name |
Stmts |
Miss |
Cover |
src/pythle/cli.py |
44 |
1 |
98% |
src/pythle/guess.py |
12 |
0 |
100% |
src/pythle/load_wordlist.py |
5 |
0 |
100% |
src/pythle/player_stats.py |
11 |
0 |
100% |
src/pythle/pythle.py |
38 |
28 |
26% |
TOTAL |
110 |
29 |
74% |
![pytest-coverage-badge](https://camo.githubusercontent.com/6a428386737823dcd17e64ad0f0f6217dd10950ed247d61024ada2d006f00091/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d34362526636f6c6f723d6f72616e6765)
Name |
Stmts |
Miss |
Cover |
src/pythle/cli.py |
44 |
15 |
66% |
src/pythle/guess.py |
12 |
1 |
92% |
src/pythle/load_wordlist.py |
5 |
5 |
0% |
src/pythle/player_stats.py |
11 |
0 |
100% |
src/pythle/pythle.py |
38 |
38 |
0% |
TOTAL |
110 |
59 |
46% |
![pytest-coverage-badge](https://camo.githubusercontent.com/6a428386737823dcd17e64ad0f0f6217dd10950ed247d61024ada2d006f00091/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d34362526636f6c6f723d6f72616e6765)
Name |
Stmts |
Miss |
Cover |
src/pythle/cli.py |
44 |
15 |
66% |
src/pythle/guess.py |
12 |
1 |
92% |
src/pythle/load_wordlist.py |
5 |
5 |
0% |
src/pythle/player_stats.py |
11 |
0 |
100% |
src/pythle/pythle.py |
38 |
38 |
0% |
TOTAL |
110 |
59 |
46% |
![pytest-coverage-badge](https://camo.githubusercontent.com/af5a901d369ee243de097e9415fe87e5ef6e68d8d3fa3aba50e9e502b058086b/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d37342526636f6c6f723d677265656e)
Name |
Stmts |
Miss |
Cover |
src/pythle/cli.py |
44 |
1 |
98% |
src/pythle/guess.py |
12 |
0 |
100% |
src/pythle/load_wordlist.py |
5 |
0 |
100% |
src/pythle/player_stats.py |
11 |
0 |
100% |
src/pythle/pythle.py |
38 |
28 |
26% |
TOTAL |
110 |
29 |
74% |
![pytest-coverage-badge](https://camo.githubusercontent.com/af5a901d369ee243de097e9415fe87e5ef6e68d8d3fa3aba50e9e502b058086b/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d37342526636f6c6f723d677265656e)
Name |
Stmts |
Miss |
Cover |
src/pythle/cli.py |
44 |
1 |
98% |
src/pythle/guess.py |
12 |
0 |
100% |
src/pythle/load_wordlist.py |
5 |
0 |
100% |
src/pythle/player_stats.py |
11 |
0 |
100% |
src/pythle/pythle.py |
38 |
28 |
26% |
TOTAL |
110 |
29 |
74% |
![pytest-coverage-badge](https://camo.githubusercontent.com/af5a901d369ee243de097e9415fe87e5ef6e68d8d3fa3aba50e9e502b058086b/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d7079746573742d636f766572616765254630253946253942254131254546254238253846266d6573736167653d37342526636f6c6f723d677265656e)
Name |
Stmts |
Miss |
Cover |
src/pythle/cli.py |
44 |
1 |
98% |
src/pythle/guess.py |
12 |
0 |
100% |
src/pythle/load_wordlist.py |
5 |
0 |
100% |
src/pythle/player_stats.py |
11 |
0 |
100% |
src/pythle/pythle.py |
38 |
28 |
26% |
TOTAL |
110 |
29 |
74% |