Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
22 changes: 14 additions & 8 deletions README.md

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions e63334287a3deaa3/aisles.js
Original file line number Diff line number Diff line change
Expand Up @@ -998,6 +998,9 @@
get mine() { var A = mine(); return A ? A.K : ''; },
get ready() { return ready; },
onChange: function (f) { if (typeof f === 'function') listeners.push(f); },
// Last week's contest winners (a tie: every Aisle ranked 1) from the boards' checked rows, for wallet.js's weekly
// Aisle reward: [{ K, members: [uid], lw: miles }], or null until the Aisles and the boards have both been read.
lastWinners: function () { var d = ready ? boardsData() : null; return d ? lastWinners(d).map(function (x) { return { K: x.A.K, members: x.A.members.slice(), lw: x.lw }; }) : null; },
akey: akey, parseAll: parseAll, resolve: resolve, statsOf: statsOf, eloOfP: eloOfP, milesOfP: milesOfP, COLS: COLS, MAX: MAX, PATH: PATH, BAN_PATH: BAN_PATH
};
if (ADMIN) return;
Expand Down
2 changes: 1 addition & 1 deletion e63334287a3deaa3/asteroid-run/wardrobe.js
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ const CSS = `
@media (min-width:640px) and (max-height:560px){#wardrobe .card{width:min(760px,100%)}.wr-body{display:grid;grid-template-columns:200px 1fr;gap:0 16px;align-items:start}.wr-prev{flex-direction:column;align-items:flex-start;margin-top:10px}.wr-prev canvas{width:184px;height:110px}.wr-grid{max-height:calc(100vh - 150px)}}
@media (max-width:420px){.wr-prev canvas{width:150px;height:96px}.wr-prev{min-height:96px}.wr-grid{grid-template-columns:repeat(auto-fill,minmax(66px,1fr))}}
`;
const RC = { common: '#7d82b8', rare: '#3fe0ff', epic: '#c27bff', legendary: '#ffd23f' };
const RC = { common: '#7d82b8', uncommon: '#5fe08a', rare: '#3fe0ff', epic: '#c27bff', legendary: '#ffd23f' };
const TABS = [['a', 'Aliens', ALIENS], ['t', 'Trails', TRAILS], ['u', 'Tunnels', TUNNELS]];
let tab = 'a', built = false, pvRaf = 0, pvT = 0, pvParts = [], pvLast = 0, pvAt = 0;
function style() { if ($('wr-css')) return; const st = document.createElement('style'); st.id = 'wr-css'; st.textContent = CSS; document.head.append(st); }
Expand Down
489 changes: 269 additions & 220 deletions e63334287a3deaa3/cosmetics.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion e63334287a3deaa3/leaderboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@
}

// For the admin page: the same checks and names, so what it shows is what the boards would show. With data-lib, that's all.
window.BackRoomBoards = { tops: tops, topsOf: topsOf, ace: ace, ACE_MIN: ACE_MIN, cracker: cracker, CRACK_MIN: CRACK_MIN,RS_PATH: RS_PATH, readResets: readResets, get resets() { return RESETS; }, showHidden: function (v) { SHOW_HIDDEN = !!v; }, parse: parse, collapse: collapse, GAMES: GAMES, BY: BY, TRACKS: TRACKS, SLIP_SEASON: SLIP_SEASON, SLIP_RESET: SLIP_RESET, trackRows: trackRows, EPOCH: EPOCH, PATH: PATH, MAX_NODES: MAX_NODES, NODE_MAX: NODE_MAX, fmt: fmt, fmtHours: fmtHours, cleanName: cleanName, mask: mask, seatOf: seatOf };
window.BackRoomBoards = { rows: rows, tops: tops, topsOf: topsOf, ace: ace, ACE_MIN: ACE_MIN, cracker: cracker, CRACK_MIN: CRACK_MIN,RS_PATH: RS_PATH, readResets: readResets, get resets() { return RESETS; }, showHidden: function (v) { SHOW_HIDDEN = !!v; }, parse: parse, collapse: collapse, GAMES: GAMES, BY: BY, TRACKS: TRACKS, SLIP_SEASON: SLIP_SEASON, SLIP_RESET: SLIP_RESET, trackRows: trackRows, EPOCH: EPOCH, PATH: PATH, MAX_NODES: MAX_NODES, NODE_MAX: NODE_MAX, fmt: fmt, fmtHours: fmtHours, cleanName: cleanName, mask: mask, seatOf: seatOf };
if (me && me.hasAttribute('data-lib')) return;

// ---------------- Styles ----------------
Expand Down
2 changes: 1 addition & 1 deletion e63334287a3deaa3/shell-crackers/es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion e63334287a3deaa3/shell-crackers/kit.js
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ function thumb(slot,no){
// The Locker screen (made here, only for a player who may see it: nobody else's menu changes)
// =====================================================================
const TABS=[['egg','Eggs'],['hat','Hats'],['gun','Gun skins'],['crack','Cracks']];
const RAR={common:'#7d8ea3',rare:'#2f7fe8',epic:'#9b4fe8',legendary:'#d98a0b'};
const RAR={common:'#7d8ea3',uncommon:'#3fae55',rare:'#2f7fe8',epic:'#9b4fe8',legendary:'#d98a0b'};
let ui=null,tab='egg',spin=0,pvT=0,playT=-1;
function items(slot){const C=cat();if(C)return C.gameItems(GAME,slot);const out=[];for(let i=1;i<=N[slot];i++)out.push({no:i,name:slot+' '+i,rarity:'common',desc:''});return out}
function css(){
Expand Down
Loading
Loading