mcoirad / game-of-thrones-diplomacy Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ericl/diplomacy-mapper
Map renderer for a Game of Thrones diplomacy variant
License: GNU Affero General Public License v3.0
This project forked from ericl/diplomacy-mapper
Map renderer for a Game of Thrones diplomacy variant
License: GNU Affero General Public License v3.0
Quick-and-dirty diplomacy map maker. This program uses the excellent map from webdiplomacy, and so falls under the same license it does. Usage: The following sequence of commands in python: from map import * [commands] done() will write a file called 'out.png' in this directory. Run 'run.py' to see an example rendering. Example command sequence: context(ENGLAND) fleet_move_failed('nth', 'bel') army_hold('yor') fleet_move('nor', 'nwy') set('nwy') destroy('nwy') context(ITALY) fleet_support_hold('iri', 'nao') fleet_support_hold('nao', 'iri') All location and nation names can be found in 'data.py'. List of commands: disable_symbols() do not draw arrows, etc context(NATION) set further commands to apply to NATION set(loc) mark a location as owned by a nation dislodge(loc) mark pending unit destruction/retreat another unit of a different nation may be present at the loc destroy(loc) mark a unit destroyed/disbanded at location used in conjunction with a move command with destination at loc another unit of a different nation may be present at the loc fleet_create(loc) fleet_hold(loc) fleet_move(loc, dest) fleet_retreat(loc, dest) fleet_move_failed(loc, dest) fleet_support_hold(loc, dest) fleet_support_move(loc, attacker, dest) fleet_convoy(loc, attacker, dest) army_create(loc) army_hold(loc) army_move(loc, dest) army_retreat(loc, dest) army_move_failed(loc, dest) army_support_hold(loc, dest) army_support_move(loc, attacker, dest)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.