Coder Social home page Coder Social logo

nwai90 / terraforming-mars Goto Github PK

View Code? Open in Web Editor NEW

This project forked from terraforming-mars/terraforming-mars

8.0 8.0 1.0 74.7 MB

Terraforming Mars Boardgame

License: GNU General Public License v3.0

TypeScript 94.02% HTML 0.11% JavaScript 0.07% Dockerfile 0.01% Less 5.80%

terraforming-mars's People

Contributors

alrusdi avatar bafolts avatar bradwerth avatar chen-yuan-zhang avatar chosta avatar daniel-ziegler avatar dependabot[bot] avatar freelikegnu avatar funkybaboon avatar gomfunkel avatar illicitonion avatar jijiqw avatar kberg avatar kimo-l avatar ltdstudio avatar lynesth avatar mmeussen avatar nwai90 avatar pierrehilbert avatar puuj avatar qiuhong-wu avatar ronnoc avatar rzulian avatar sauloachkar avatar sienmich avatar sliceofbread avatar ssimeonoff avatar starcalc avatar vincentneko avatar vsrisuknimit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

bluerook17

terraforming-mars's Issues

Add info about starting hand to logs

Actually, if there is no initial draft chosen, logs only say about drawn corporations, CHOSEN preludes and cards. There is no info about discarded preludes and cards.

No heat production bug

It looks like no heat production bonus is given when reaching -24 C.

id=p313656df5478 - when playing prelude
id=pf13f097eaaed - when playing Deimos

Deprecate SelectCardToKeep

Single use case for JunkVentures. DrawCards could be extended to take in an extra parameter to draw from discard pile instead of deck

Stormcraft allows negative heat scenario

Game link: https://tfm-community.herokuapp.com/player?id=pdaf29cc19160

Player json:

{
            "id": "pdaf29cc19160",
            "corporationCards": [
                {
                    "name": "Celestic",
                    "resourceCount": 3,
                    "allTags": [],
                    "isDisabled": false
                },
                {
                    "name": "Stormcraft Incorporated",
                    "resourceCount": 4,
                    "allTags": [],
                    "isDisabled": false
                }
            ],
            "pickedCorporationCard": "Celestic",
            "terraformRating": 25,
            "hasIncreasedTerraformRatingThisGeneration": false,
            "terraformRatingAtGenerationStart": 25,
            "megaCredits": 48,
            "megaCreditProduction": 4,
            "steel": 0,
            "steelProduction": 0,
            "titanium": 0,
            "titaniumProduction": 0,
            "plants": 1,
            "plantProduction": 0,
            "energy": 0,
            "energyProduction": 0,
            "heat": -3,
            "heatProduction": 1,
            "titaniumValue": 3,
            "steelValue": 2,
            "canUseHeatAsMegaCredits": false,
            "actionsTakenThisRound": 1,
            "actionsThisGeneration": [
                "Celestic",
                "Stormcraft Incorporated",
                "Martian Zoo"
            ],
            "pendingInitialActions": [],
            "remainingStallActionsCount": 2,
            "dealtCorporationCards": [
                "Polyphemos",
                "Philares",
                "Celestic",
                "Robinson Industries"
            ],
            "dealtProjectCards": [
                "Martian Zoo",
                "Business Network",
                "Project Inspection",
                "Cupola City",
                "Gyropolis",
                "Natural Preserve",
                "Lunar Beam",
                "Soletta",
                "Space Mirrors",
                "Moss"
            ],
            "dealtPreludeCards": [
                "Merger",
                "Donation",
                "Dome Farming",
                "Ecology Experts"
            ],
            "dealtLeaderCards": [],
            "cardsInHand": [
                "Business Network",
                "Gyropolis",
                "Lunar Beam",
                "Soletta",
                "Saturn Surfing",
                "Red Spot Observatory",
                "Spin-off Department",
                "Immigration Shuttles",
                "Asteroid Rights",
                "Capital",
                "Protected Valley",
                "Mine",
                "Olympus Conference",
                "Mining Quota",
                "Floater Technology",
                "Miranda Resort",
                "Minority Refuge",
                "Advertising",
                "Galilean Waystation"
            ],
            "preludeCardsInHand": [],
            "leaderCardsInHand": [],
            "playedCards": [
                {
                    "name": "Donation"
                },
                {
                    "name": "Merger"
                },
                {
                    "name": "Natural Preserve"
                },
                {
                    "name": "Space Mirrors"
                },
                {
                    "name": "Project Inspection"
                },
                {
                    "name": "Cupola City"
                },
                {
                    "name": "Martian Zoo",
                    "resourceCount": 1
                },
                {
                    "name": "Business Contacts"
                }
            ],
            "draftedCards": [],
            "cardCost": 3,
            "cardDiscount": 0,
            "fleetSize": 1,
            "tradesThisTurn": 0,
            "colonyTradeOffset": 0,
            "colonyTradeDiscount": 0,
            "colonyVictoryPoints": 0,
            "hasBureaucratsColonyTradePenalty": false,
            "hasTranshumansColonyTradeOffset": false,
            "turmoilPolicyActionUsed": false,
            "politicalAgendasActionUsedCount": 0,
            "dominantPartyActionUsedCount": 0,
            "hasTurmoilScienceTagBonus": false,
            "oceanBonus": 2,
            "scienceTagCount": 0,
            "plantsNeededForGreenery": 8,
            "removingPlayers": [],
            "removedFromPlayCards": [],
            "heatProductionStepsIncreasedThisGeneration": 0,
            "consecutiveFirstPassCount": 1,
            "name": "Euge",
            "color": "red",
            "beginner": false,
            "handicap": 0,
            "timer": {
                "sumElapsed": 804064,
                "startedAt": 1657067853156,
                "running": false,
                "afterFirstAction": true,
                "lastStoppedAt": 1657067864163
            },
            "totalSpend": 198,
            "endGenerationScores": [
                22,
                29,
                30,
                38,
                38
            ],
            "actionsTakenThisGame": 37,
            "totalDelegatesPlaced": 0,
            "totalChairmanshipsWon": 0
        },

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.