fleetrome

package
v0.1.29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FleetRomeVariant = common.Variant{
	Name:  "Fleet Rome",
	Graph: func() godip.Graph { return start.Graph() },
	Start: func() (result *state.State, err error) {
		if result, err = classical.Start(); err != nil {
			return
		}
		result.RemoveUnit(godip.Province("rom"))
		if err = result.SetUnit(godip.Province("rom"), godip.Unit{
			Type:   godip.Fleet,
			Nation: godip.Italy,
		}); err != nil {
			return
		}
		return
	},
	Blank:      classical.Blank,
	Phase:      classical.NewPhase,
	Parser:     classical.Parser,
	Nations:    classical.Nations,
	PhaseTypes: classical.PhaseTypes,
	Seasons:    classical.Seasons,
	UnitTypes:  classical.UnitTypes,
	SoloWinner: common.SCCountWinner(18),
	SVGMap: func() ([]byte, error) {
		return classical.Asset("svg/map.svg")
	},
	SVGVersion:  "1",
	SVGUnits:    classical.SVGUnits,
	SVGFlags:    classical.SVGFlags,
	CreatedBy:   "Richard Sharp",
	Version:     "",
	Description: "Classical Diplomacy, but Italy starts with a fleet in Rome.",
	Rules:       "The first to 18 supply centers is the winner.  Rules are as per classical Diplomacy, but Italy starts with a fleet in Rome rather than an army.",
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL