Backend and client client for sumulating matches of the collectable card game Card Wars
Core match system. Includes match simulation, player controllers, cards and decks.
Project for testing matches in the console.
Match client written in the Godot 4 game engine.
Simple web service for searching card images for Card Wars.
All cards use Lua as their scripting language. All of the cards and their scripts can be found in the cards directory.
function _Create()
local result = CardWars:Creature()
-- Corn Lord has +1 ATK for each other Cornfield Creature you control.
CW.State.ModATKDEF(result, function (me)
local controllerI = me.Original.ControllerI
local ipid = me.Original.IPID
local creatures = CW.CreatureFilter()
:LandscapeType(CardWars.Landscapes.Cornfield)
:ControlledBy(controllerI)
:Except(ipid)
:Do()
me.Attack = me.Attack + #creatures
end)
return result
end