mirror of
https://github.com/tiennm99/tiennm99bot.git
synced 2026-10-14 14:17:58 +00:00
feat(modules): port loldle-emoji
Phase 6a of go-port-cloud-run; first of 5 sub-cooks for Phase 6 loldle variants. Implements binary right/wrong scoring (no attribute compare). Per-subject keylock and math/rand.Intn applied from the start, lessons from prior phase reviews. JS-wire-format decode test added per code-review concern F#1, locking the migration contract. Helpers (normalize/subjectFor/argAfterCommand) duplicated from classic loldle; extraction earmarked for 6b prep.
This commit is contained in:
1 parent
79fc690ed3
commit
0b2914fe34
12 files changed
+1536
-4
No files matched your search
+6
-4
@@ -13,6 +13,7 @@ import (
|
||||
|
||||
"github.com/tiennm99/miti99bot-go/internal/modules"
|
||||
"github.com/tiennm99/miti99bot-go/internal/modules/loldle"
|
||||
"github.com/tiennm99/miti99bot-go/internal/modules/loldleemoji"
|
||||
"github.com/tiennm99/miti99bot-go/internal/modules/misc"
|
||||
"github.com/tiennm99/miti99bot-go/internal/modules/util"
|
||||
"github.com/tiennm99/miti99bot-go/internal/modules/wordle"
|
||||
@@ -34,10 +35,11 @@ var secretEnvKeys = []string{
|
||||
// import cycle (modules → util → modules).
|
||||
func factories() map[string]modules.Factory {
|
||||
return map[string]modules.Factory{
|
||||
"util": util.New,
|
||||
"misc": misc.New,
|
||||
"wordle": wordle.New,
|
||||
"loldle": loldle.New,
|
||||
"util": util.New,
|
||||
"misc": misc.New,
|
||||
"wordle": wordle.New,
|
||||
"loldle": loldle.New,
|
||||
"loldle-emoji": loldleemoji.New,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user