Documentation ¶
Overview ¶
Package cards contain the cards of battleline.
Index ¶
Constants ¶
View Source
const ( //NOTroop is the number of troop cards. NOTroop = 60 //NOTac is the number of tactic cards. NOTac = 10 CTTroop = 1 CTMorale = 2 CTEnv = 3 CTGuile = 4 COLNone = 0 COLGreen = 1 COLRed = 2 COLPurpel = 3 COLYellow = 4 COLBlue = 5 COLOrange = 6 TCAlexander = 70 TCDarius = 69 TC8 = 68 TC123 = 67 TCFog = 66 TCMud = 65 TCScout = 64 TCRedeploy = 63 TCDeserter = 62 TCTraitor = 61 )
Variables ¶
View Source
var ( //Cards contain all battleline cards. Cards [NOTac + NOTroop + 1]Card // zero index is nil //FWedge the wedge formation. FWedge = Formation{ Name: "Wedge", Describ: "3(4) troops connected and same color. Like 2,1,3 or 3,2,1.", Value: 5, } //FPhalanx the phalanx formation. FPhalanx = Formation{ Name: "Phalanx", Describ: "3(4) troops same value. Like 10,10,10", Value: 4, } //FBattalion the battalion Order formation. FBattalion = Formation{ Name: "Battalion Order", Describ: "3(4) troops same color", Value: 3, } //FSkirmish the skirmish line formation. FSkirmish = Formation{ Name: "Skirmish Line", Describ: "3(4) troops connected. Like 2,1,3 or 3,1,2", Value: 2, } //FHost the jost formation. FHost = Formation{ Name: "Host", Describ: "Any troops", Value: 1, } )
Functions ¶
func MoraleMaxValue ¶
MoraleMaxValue returns the maximum value a morale card can have.
Types ¶
type Tactic ¶
type Tactic struct {
// contains filtered or unexported fields
}
Tactic is tactic card.
Click to show internal directories.
Click to hide internal directories.