Styling tweaks, import cards into setup

This commit is contained in:
Alec Maier
2019-08-29 22:41:12 -04:00
parent f1fcdf43c0
commit 469009feaa
4 changed files with 38 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
import {cards} from './cards.js'
class Card {
constructor(name, team, description) {
this.name = name;
@@ -6,6 +8,12 @@ class Card {
}
}
console.log(cards);
document.getElementById("card-select").onload = function() {
let jsonCards = JSON.parse('')
}
function generateAccessCode() {
let code = "";
let charPool = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";