mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
Styling tweaks, import cards into setup
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user