mirror of
https://github.com/osmarks/website
synced 2025-08-29 16:57:56 +00:00
4D tic-tac-toe (real)
This commit is contained in:
@@ -21,7 +21,7 @@ const metricDisplayInfo = {
|
||||
commentsPosted: { name: "Comments posted", units: "comment" },
|
||||
greatestInfipage: { name: "Largest infipage visited" },
|
||||
heavpootLocations: { name: "Heavpoot's Game states", units: "state" },
|
||||
heavpootDeaths: { name: "Heavpoot's Game deaths", units: "death" }
|
||||
heavpootDeaths: { name: "Heavpoot's Game deaths", units: "death" },
|
||||
}
|
||||
|
||||
for (const opponent of ["ai1", "ai2"]) {
|
||||
@@ -30,6 +30,10 @@ for (const opponent of ["ai1", "ai2"]) {
|
||||
}
|
||||
}
|
||||
|
||||
for (const result of ["Wins", "Losses", "Draws"]) {
|
||||
metricDisplayInfo[`ttt4${result}`] = { name: `${result} in 4D Tic-Tac-Toe`, units: "game" }
|
||||
}
|
||||
|
||||
const displayMetric = metric => {
|
||||
let name = metric[0]
|
||||
let value = metric[1]
|
||||
|
Reference in New Issue
Block a user