定制 adamhebby/wordle-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

adamhebby/wordle-php

Composer 安装命令:

composer create-project adamhebby/wordle-php

包简介

Wordle written in PHP, complete with a random Daily word

README 文档

README

Coverage

Wordle (PHP)

My implementation of Wordle in PHP.

Features:

  • Unlimited tries!
  • A global Daily random word synced to UTC
  • Random words of 4 to 9 letters
  • Tell your friends about word #123 of 5 letters for them to try!

Usage

If git cloning, use bin/wordle, if installing globally use wordle.

Daily Word

Command: wordle

Will get the daily word without internet access. The daily word is generated using a seeded random number, the seed will be the current date in UTC.

Daily Wordle

Random Words

Command: wordle LENGTH

Replace LENGTH with any number between 4 and 9 (inclusive).

This is entirely random.

When you're done, it will tell you which number word you did, so your friends can try.

Random 8

Random 8

Specific word

Command: wordle LENGTH WORD_NUMBER

Like the last command, replace LENGTH with any number between 4 and 9 (inclusive).

If your friend has tried word #123, you can replace WORD_NUMBER with this to use try the same word!

834

Cheating

Make no mistake, this is cheating, you cheater!

When wordle asks for a word, you can enter ? for suggestions and ?? for the answer.

Suggestions are only as good as your guesses, it's limited to 10 results but will tell you if there are more. If you haven't guessed any words yet, it will try and recommend every word.

Cheating will show up on your share code with red question marks (?) for suggestions and red asterisks (*) for full-on cheating.

834834

Try not to use this, but I know how annoying it is when you can't solve a wordle but never find out the answer, now you can!

THIS WILL NOT HELP YOU CHEAT ON OTHER VERSIONS OF WORDLE.

Installation

composer global require adamhebby/wordle-php

Then you can run wordle from anywhere, assuming you have composer in your path.

adamhebby/wordle-php 适用场景与选型建议

adamhebby/wordle-php 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 37 次下载、GitHub Stars 达 5, 最近一次更新时间为 2022 年 02 月 20 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 adamhebby/wordle-php 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 adamhebby/wordle-php 我们能提供哪些服务?
定制开发 / 二次开发

基于 adamhebby/wordle-php 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 37
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2022-02-20