modificada la logica de juego e interfaz para acomodarse a su objetivo real. llevado a un punto de al menos 3 jugadores simultaneos

This commit is contained in:
2025-07-03 18:08:29 -06:00
parent f739c6b3c7
commit 656cf7988e
19 changed files with 7190 additions and 231 deletions

View File

@@ -0,0 +1,15 @@
//
// THIS FILE HAS BEEN GENERATED AUTOMATICALLY
// DO NOT CHANGE IT MANUALLY UNLESS YOU KNOW WHAT YOU'RE DOING
//
// GENERATED USING @colyseus/schema 3.0.42
//
import { Schema, type, ArraySchema, MapSchema, SetSchema, DataChange } from '@colyseus/schema';
export class TokenInventory extends Schema {
@type("number") public turkey!: number;
@type("number") public coffee!: number;
@type("number") public corn!: number;
}

View File

@@ -0,0 +1,18 @@
//
// THIS FILE HAS BEEN GENERATED AUTOMATICALLY
// DO NOT CHANGE IT MANUALLY UNLESS YOU KNOW WHAT YOU'RE DOING
//
// GENERATED USING @colyseus/schema 3.0.42
//
import { Schema, type, ArraySchema, MapSchema, SetSchema, DataChange } from '@colyseus/schema';
import { TokenInventory } from './TokenInventory'
export class TradeOffer extends Schema {
@type("string") public id!: string;
@type("string") public offererId!: string;
@type("string") public targetId!: string;
@type(TokenInventory) public offering: TokenInventory = new TokenInventory();
@type(TokenInventory) public requesting: TokenInventory = new TokenInventory();
@type("string") public status!: string;
}