From 6c6d701ea661ae4a321367ae1edfdddeeff7a8c7 Mon Sep 17 00:00:00 2001 From: nik gaffney Date: Wed, 18 Nov 2020 01:14:26 +0100 Subject: [PATCH] Thandikulam railway station, Sandridge (surname) & Henry William Inwood --- web/deck-of-cards | 1 - web/shuffle/deck.js | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) delete mode 160000 web/deck-of-cards diff --git a/web/deck-of-cards b/web/deck-of-cards deleted file mode 160000 index 8d3be56..0000000 --- a/web/deck-of-cards +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 8d3be56c56950afe787b6217bc3993ebeab62e9c diff --git a/web/shuffle/deck.js b/web/shuffle/deck.js index 7e8df71..f7d59f9 100644 --- a/web/shuffle/deck.js +++ b/web/shuffle/deck.js @@ -151,15 +151,15 @@ var Deck = (function () { return document.createElement(type); } - var maxZ = 30; + var maxZ = 52; function _card(i) { var transform = prefix('transform'); // calculate rank/suit, etc.. - var rank = i % 13 + 1; - var suit = i / 2 | 0; - var z = (30 - i) / 2; + var rank = i % 26 + 1; + var suit = i / 26 | 0; + var z = (52 - i) / 2; // create elements var $el = createElement('div');