Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
d3891da
start of the great i18n message overhaul
NoahTheDuke Mar 19, 2025
a5c0ed4
converted game.core.turns
NoahTheDuke May 29, 2026
ebf385b
convert game.core.winning
NoahTheDuke May 30, 2026
6436e8f
convert game.core.set-up
NoahTheDuke May 30, 2026
e55c1ca
convert more event card defs
NoahTheDuke May 30, 2026
f49cdd1
fragment -> effect, add payless-msg, convert many :msgs
NoahTheDuke Jun 1, 2026
b901b04
fix some tests
NoahTheDuke Jun 3, 2026
d4a2d43
fix regexes in log-log-contains
NoahTheDuke Jun 3, 2026
24efe59
Add game.core.l10n, rename msg macros
NoahTheDuke Jun 3, 2026
ad0aec3
all payments, another batch of events, etc
NoahTheDuke Jun 10, 2026
0ac46f4
rename fluent files
NoahTheDuke Jun 16, 2026
5e9cf86
merge game.core.l10n and nr.translations into jinteki.i18n
NoahTheDuke Jun 16, 2026
4a564eb
further work, fix :paid/side
NoahTheDuke Jun 16, 2026
860f285
minor cleanup of draws, switch ashen epilogue
NoahTheDuke Jul 15, 2026
d484e07
Switch over more events
NoahTheDuke Jul 19, 2026
ed11aa3
making an entrance
NoahTheDuke Sep 2, 2026
96aafca
mars for martians
NoahTheDuke Sep 2, 2026
6e30cca
meeting of the minds
NoahTheDuke Sep 2, 2026
06963b7
mining accident
NoahTheDuke Sep 2, 2026
bd1d099
mobius
NoahTheDuke Sep 2, 2026
df2ee21
moshing
NoahTheDuke Sep 2, 2026
2781a9c
mutual favor
NoahTheDuke Sep 2, 2026
29350b7
networking
NoahTheDuke Sep 2, 2026
2e5cd36
notoriety
NoahTheDuke Sep 2, 2026
0bb40af
office supplies
NoahTheDuke Sep 2, 2026
5690290
out of the ashes
NoahTheDuke Sep 2, 2026
4a5dfba
paper tripping
NoahTheDuke Sep 2, 2026
e413114
peace in our time
NoahTheDuke Sep 2, 2026
4301977
planned assault
NoahTheDuke Sep 2, 2026
0d7c500
political graffiti
NoahTheDuke Sep 2, 2026
2a87cee
populist rally
NoahTheDuke Sep 2, 2026
548a9e3
power nap
NoahTheDuke Sep 2, 2026
40ecfb8
power to the people
NoahTheDuke Sep 2, 2026
e502823
prey
NoahTheDuke Sep 2, 2026
75e622e
privileged access
NoahTheDuke Sep 2, 2026
51e0d95
process automation
NoahTheDuke Sep 2, 2026
99a7e1b
pushing the envelope
NoahTheDuke Sep 3, 2026
71012b0
queen's gambit
NoahTheDuke Sep 3, 2026
4dae54f
quest completed
NoahTheDuke Sep 3, 2026
065159a
raindrops cut stone
NoahTheDuke Sep 3, 2026
e47493c
rebirth
NoahTheDuke Sep 3, 2026
578ea04
reprise
NoahTheDuke Sep 3, 2026
3da25b7
reshape
NoahTheDuke Sep 3, 2026
8ddf55c
rigged results
NoahTheDuke Sep 3, 2026
f8b6edd
rigging up
NoahTheDuke Sep 3, 2026
7520341
rip deal
NoahTheDuke Sep 3, 2026
b5f534f
ritual
NoahTheDuke Sep 3, 2026
1962c29
s-dobrado
NoahTheDuke Sep 3, 2026
c5b4c3b
scavenge
NoahTheDuke Sep 3, 2026
aca88be
scrounge
NoahTheDuke Sep 3, 2026
ca6644e
sell out
NoahTheDuke Sep 3, 2026
2b2c6ee
shred
NoahTheDuke Sep 3, 2026
3ffe9d0
showing off, singularity
NoahTheDuke Sep 4, 2026
db59a2d
social engineering
NoahTheDuke Sep 4, 2026
984d81e
spear phishing
NoahTheDuke Sep 4, 2026
a2f797b
spec work, spot the prey
NoahTheDuke Sep 4, 2026
f888fee
spree
NoahTheDuke Sep 4, 2026
55544ef
steelskin scarring
NoahTheDuke Sep 4, 2026
9599953
stimhack
NoahTheDuke Sep 4, 2026
0d72d07
strike fund, surge, syn attack
NoahTheDuke Sep 4, 2026
f6b2ac7
system seizure, take a dive
NoahTheDuke Sep 4, 2026
0a8cae8
test run
NoahTheDuke Sep 4, 2026
ed55a31
the noble path
NoahTheDuke Sep 4, 2026
48f74b7
the price of freedom
NoahTheDuke Sep 4, 2026
6f4c023
three moves ahead
NoahTheDuke Sep 4, 2026
80cfd60
traffic jam, trick shot, trade in, tinkering
NoahTheDuke Sep 4, 2026
a550531
transfer of wealth
NoahTheDuke Sep 4, 2026
ba5af28
uninstall
NoahTheDuke Sep 4, 2026
e957d17
vamp
NoahTheDuke Sep 4, 2026
783db61
vrcation
NoahTheDuke Sep 4, 2026
37e091b
idk it's late
NoahTheDuke Sep 4, 2026
6b7fd05
actually validate msg maps
NoahTheDuke Sep 4, 2026
0db5384
convert all waiting prompts
NoahTheDuke Sep 5, 2026
fb6a14a
fix ability bugs
NoahTheDuke Sep 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .clj-kondo/config.edn
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{:config-paths ["../resources/clj-kondo.exports/netrunner"]
:linters
{:unused-binding {:exclude-defmulti-args true
:exclude-destructured-as true}
:exclude-destructured-as true
:exclude-destructured-keys-in-fn-args true}
:clojure-lsp/unused-public-var {:level :off}
:unresolved-symbol
{:exclude [(game.test-framework/do-game [state get-corp get-runner get-run refresh
hand-size prompt-map prompt-button
prompt-type prompt-buttons prompt-titles
prompt-fmt])]}
:unused-namespace {:exclude ["game.core.*"]}
:refer-all {:level :off}
:clojure-lsp/unused-public-var {:level :off}
}
:lint-as {game.test-framework/before-each clojure.core/let
reagent.core/with-let clojure.core/let
Expand All @@ -24,5 +25,7 @@
monger.operators/defoperator clojure.core/def
monger.query/with-collection clojure.core/->
}
:hooks {:analyze-call {jinteki.i18n/simple-msg hooks.netrunner/effect
jinteki.i18n/msg-with-cost hooks.netrunner/effect}}
:output {:langs true}
}
56 changes: 56 additions & 0 deletions .clj-kondo/imports/potemkin/potemkin/potemkin/namespaces.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
(ns potemkin.namespaces
(:require [clj-kondo.hooks-api :as api]))

(defn import-macro*
([sym]
`(def ~(-> sym name symbol) ~sym))
([sym name]
`(def ~name ~sym)))

(defmacro import-fn
([sym]
(import-macro* sym))
([sym name]
(import-macro* sym name)))

(defmacro import-macro
([sym]
(import-macro* sym))
([sym name]
(import-macro* sym name)))

(defmacro import-def
([sym]
(import-macro* sym))
([sym name]
(import-macro* sym name)))

#_
(defmacro import-vars
"Imports a list of vars from other namespaces."
[& syms]
(let [unravel (fn unravel [x]
(if (sequential? x)
(->> x
rest
(mapcat unravel)
(map
#(symbol
(str (first x)
(when-let [n (namespace %)]
(str "." n)))
(name %))))
[x]))
syms (mapcat unravel syms)
result `(do
~@(map
(fn [sym]
(let [vr (resolve sym)
m (meta vr)]
(cond
(nil? vr) `(throw (ex-info (format "`%s` does not exist" '~sym) {}))
(:macro m) `(def ~(-> sym name symbol) ~sym)
(:arglists m) `(def ~(-> sym name symbol) ~sym)
:else `(def ~(-> sym name symbol) ~sym))))
syms))]
result))
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
max_line_length = off
3 changes: 3 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Noah Bogart <noah.bogart@hey.com> <noah.bogart@hey.com>
Noah Bogart <noah.bogart@hey.com> <nbtheduke@gmail.com>
Noah Bogart <noah.bogart@hey.com> <noah.bogart@ebth.com>
13 changes: 13 additions & 0 deletions dev/src/clj/web/dev.clj
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,16 @@
(nrdb/fetch-data {:db true})
(system/stop :jinteki/cards)
(system/start :jinteki/cards))

(comment
(require 'game.cards.agendas-test
'game.cards.assets-test
'game.cards.basic-test
'game.cards.events-test
'game.cards.hardware-test
'game.cards.identities-test
'game.cards.operations-test
'game.cards.programs-test
'game.cards.resources-test
'game.cards.upgrades-test
))
4 changes: 3 additions & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
:main web.core

:repl-options {:timeout 180000
:nrepl-middleware [org.corfield.rephrase.nrepl/wrap-rephrase]
:init-ns web.dev}

:dependencies [[org.clojure/clojure "1.12.5"]
Expand Down Expand Up @@ -65,7 +66,7 @@
[time-literals "0.1.5"]
[metosin/reitit "0.7.2"]
[org.flatland/ordered "1.15.12"]
[io.github.noahtheduke/fluent-clj "0.0.2"]]
[io.github.noahtheduke/fluent-clj "0.3.0"]]

:test-selectors {:default (fn [m] (not (:kaocha/pending m)))}

Expand All @@ -77,6 +78,7 @@
[instaparse "1.5.0"]
[integrant/repl "0.3.2"]
[lambdaisland/kaocha "1.68.1059"]
[org.corfield/rephrase "1.0.2"]
[thheller/shadow-cljs "2.28.21"]]
:plugins [[lein-eftest "0.6.0"]
[jonase/eastwood "1.4.3"]
Expand Down
File renamed without changes.
File renamed without changes.
Loading
Loading