Something went wrong. Try again.
A card game engine for Magic: The Gathering inspired by Card Forge
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132const Self = @This();
const uuid = @import("uuid");const ecs = @import("ecs");const std = @import("std");
const Entity = ecs.Entity;
pub const ZoneId = uuid.Uuid;
id: ZoneId,owner: Entity,cards: std.ArrayList(Entity),name: []const u8,visibility: Visibility,zoneType: Type,
pub const Visibility = enum(u8) { hidden, owner, all,};
pub const Type = enum(u8) { hand, library, exile, graveyard, command, battlefield,};