diff --git a/client/public/assets/gfx/extra-cards.xcf b/client/public/assets/gfx/extra-cards.xcf new file mode 100755 index 0000000..038eb77 Binary files /dev/null and b/client/public/assets/gfx/extra-cards.xcf differ diff --git a/client/public/assets/gfx/placard-longest-turn.png b/client/public/assets/gfx/placard-longest-turn.png new file mode 100755 index 0000000..f94977f Binary files /dev/null and b/client/public/assets/gfx/placard-longest-turn.png differ diff --git a/client/public/assets/gfx/placard-most-developed.png b/client/public/assets/gfx/placard-most-developed.png new file mode 100755 index 0000000..0648f8d Binary files /dev/null and b/client/public/assets/gfx/placard-most-developed.png differ diff --git a/client/public/assets/gfx/placard-port-of-call.png b/client/public/assets/gfx/placard-port-of-call.png new file mode 100755 index 0000000..d992f27 Binary files /dev/null and b/client/public/assets/gfx/placard-port-of-call.png differ diff --git a/client/public/assets/gfx/tiles-volcano.png b/client/public/assets/gfx/tiles-volcano.png index 1e4f9d3..86c84cd 100755 Binary files a/client/public/assets/gfx/tiles-volcano.png and b/client/public/assets/gfx/tiles-volcano.png differ diff --git a/client/public/assets/gfx/tiles-volcano.xcf b/client/public/assets/gfx/tiles-volcano.xcf new file mode 100755 index 0000000..074d6f1 Binary files /dev/null and b/client/public/assets/gfx/tiles-volcano.xcf differ diff --git a/client/src/HouseRules.js b/client/src/HouseRules.js index a56dfbd..e926910 100644 --- a/client/src/HouseRules.js +++ b/client/src/HouseRules.js @@ -8,6 +8,7 @@ import Switch from '@material-ui/core/Switch'; import "./HouseRules.css"; import { GlobalContext } from "./GlobalContext.js"; +import { Placard } from "./Placard.js"; /* Volcano based on https://www.ultraboardgames.com/catan/the-volcano.php */ const Volcano = ({ ws, rules, field, disabled }) => { @@ -132,6 +133,16 @@ const NotImplemented = () => { return
Not yet implemented.
; } +/* +The Jungle +Setup +On any normally assembled map, replace all deserts with jungles. Select an extra number token with the value of 3, 4, 5, 9, 10, or 11. (All players must agree on which number to use.) Place this number token on the jungle hex. The Robber begins the game on the jungle hex. +Special rules +The Robber may be played on the jungle hex when a player has robber control. +However, when the number on an unblocked jungle tile is rolled, adjacent players may explore the jungle and make discoveries that aid them in developing their principalities. Each adjacent settlement will receive one discovery, while each adjacent city will receive two discoveries. +Discoveries are represented by Discovery Counters, instead of resource cards. Discovery Counters do not count against a player's hand limit of resources when a 7 is rolled. Discovery Counters can not be stolen by the Robber, can not be claimed by a Monopoly, can not be earned through a Year of Plenty, and may not be used in any trades. +Discovery Counters may be used to aid the purchase of development cards only. Each Discovery Counter can be used to replace any one of the three resources needed to purchase a card. Up to three Discovery Counters may be used on each card purchase. Any combination of Discovery Counters and the three usual resources may be used. For example, a player may purchase a development card with one ore and two Discovery Counters. Similarly, a development card could be purchased with one wool, one grain, and one Discovery Counter. +*/ const HouseRules = ({ houseRulesActive, setHouseRulesActive }) => { const { ws } = useContext(GlobalContext); const [rules, setRules] = useState(undefined); @@ -198,14 +209,22 @@ const HouseRules = ({ houseRulesActive, setHouseRulesActive }) => { useEffect(() => { /* https://icebreaker.com/games/catan-1/feature/catan-house-rules */ - setRuleElements([ { - title: `More victory points`, - key: `victory-points`, - description: `Customize how many Victory Points are required to win.`, - element: , - implemented: true + setRuleElements([{ + title: `Why you play so slow?`, + key: `slowest-turn`, + description: `The player with the slowest turn so far receives -2VP.`, + element: , + implemented: false }, { + title: `More victory points`, + key: `victory-points`, + description: `Customize how many Victory Points are required to win.`, + element: , + implemented: true + }, { title: `Tiles start facing down`, key: `tiles-start-facing-down`, description: `Resource tiles start upside-down while placing starting settlements.`, diff --git a/client/src/Placard.js b/client/src/Placard.js index 1c53c89..5f362d6 100644 --- a/client/src/Placard.js +++ b/client/src/Placard.js @@ -43,7 +43,6 @@ const Placard = ({type, disabled, count, buildActive, setBuildActive}) => { setBuildActive(false); }; - if (!type) { return <>; }