broke out library to its own js file and implimented modules

This commit is contained in:
2025-08-18 16:50:40 -06:00
parent 5de0ea7f8a
commit 7b3aa42ef8
4 changed files with 20 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
class pec {
export class pec {
// this is the object for the pecs themselves, this will be used both
// to populate the library, and to occupy pecSlot objects
constructor (word,image) {
@@ -35,7 +35,7 @@ class pecSlot {
// Do I actually need this?
}
class pecBoard {
export class pecBoard {
constructor (pecs=[]) {
var initPecs = [
null,null,null,null,