Skip to main content

Play the (good) NYT games within your terminal

Project description

NYTerminal

Play the (good) NYT games within your terminal!

If you ever find yourself in a situation where you have borked your Linux system and are left with nothing but a terminal, or you are being paid by the hour to use a server interface, or you are bored and don't have a browser handy, kill some time with the New York Times games in your terminal!

This program takes advantage of the fact that the free NYT games are publicly available on their servers. For the Wordle, Connections, and the Strands, there are named files for each date (including future dates!) that contain the JSON data for each day. The Mini is similar, but it only has today's puzzle. The Spelling Bee has its data embedded in the webpage, so an HTML parser has been used to facilitate it.

Installation

Simply install the package with pip: python3 -m pip install nyterminal

Running

Run the package (NAMED DIFFERENTLY) with python3 -m nyterminal or nyterminal if your default Python environment is the one NYTerminal is installed to.

Interface

Using Curses, the terminal window is turned into a highly interactive UI. Most elements can be clicked, or you can use your arrow keys to navigate menus. While the controls are intuitive, here's a handy reference:

Key Function
Up/Down/Left/Right Arrow Navigate Menu/Increment Date
Enter Activate Button/Submit Guess
Space Select (Strands, Connections)
Tab Use Hint (Strands)
Escape Exit Game (Saving)
Control + C Quit Program
NOTE: If you use CTRL+C to close the program with a game open, that game's data will not be recorded to your stats!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nyterminal-1.0.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nyterminal-1.0.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file nyterminal-1.0.0.tar.gz.

File metadata

  • Download URL: nyterminal-1.0.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for nyterminal-1.0.0.tar.gz
Algorithm Hash digest
SHA256 470d3fdfcb1298e26542aaf3017904714167af619b14097645999feba2f8f5b7
MD5 3ca882f329b76f2a07682dbc605a1494
BLAKE2b-256 279242ade60049482dbaa86eaed130c7fa0858dd18e0d54e28b72ef1d934b22d

See more details on using hashes here.

File details

Details for the file nyterminal-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: nyterminal-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for nyterminal-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c21f180de03f9a7a7830f7337467d4d80135cc2f742a90ca91440d82718aa961
MD5 40e4d702a98de58f564f4cd80cc9c63a
BLAKE2b-256 54944678e5689011bbae26675032b7475909f10405f81972488d43248e73a3f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page