Strip out Electron and NodeJS-specific functions to get the game working on a basic level
This commit is contained in:
parent
ef3620f4f9
commit
fe0ec3a2c7
4 changed files with 16 additions and 14 deletions
|
|
@ -26,7 +26,6 @@ function Card (sym, value, type, name = 'Unknown') {
|
|||
|
||||
const graphic = document.createElement('div')
|
||||
graphic.className = 'graphic'
|
||||
graphic.innerHTML = require('fs').readFileSync(`${__dirname}/media/${this.type}/${this.value}.svg`)
|
||||
face.appendChild(graphic)
|
||||
|
||||
// Name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue