{"version":3,"sources":["images/properties lazy /^/.//.*/.jpg$/ groupOptions: {} namespace object","images/Bank.png","images/history.png","Data/PlayerClass.js","components/navbar/Navbar.js","components/footer/Footer.js","components/playerCard/PlayerCard.js","components/bottomBar/BottomBar.js","Data/gamedata.csv","Data/PropertyClass.js","Data/BuildingClass.js","images/houses/1 House.jpg","images/houses/2 Houses.jpg","images/houses/3 Houses.jpg","images/houses/1 Industrial.jpg","images/houses/2 Industrial.jpg","images/houses/3 Industrial.jpg","images/houses/Skyscraper.jpg","images/houses/Monopoly Tower.jpg","images/houses/Prison.jpg","images/houses/Dump.jpg","images/houses/Power.jpg","images/houses/Sewage.jpg","Data/StockClass.js","Data/loadGameData.js","containers/lobbyScreen/LobbyScreen.js","images/Logo2.png","components/logo/Logo.js","containers/LobbyScreen.js","containers/mainScreen/MainMenu.js","containers/MainScreen.js","components/playerList/PlayerList.js","containers/payScreen/PayMenu.js","containers/PayScreen.js","components/buildingCard/BuildingCard.js","components/propertyCard/PropertyCard.js","components/modal/Modal.js","containers/buyScreen/BuyMenu.js","containers/BuyScreen.js","containers/bankScreen/BankMenu.js","containers/BankScreen.js","containers/stocksScreen/Plot.js","containers/stocksScreen/StocksMenu.js","containers/StocksScreen.js","containers/rentScreen/RentMenu.js","containers/RentScreen.js","containers/sellScreen/SellMenu.js","containers/SellScreen.js","containers/spectateScreen/SpectateMenu.js","containers/SpectateScreen.js","containers/overviewScreen/OverviewMenu.js","containers/overviewScreen/Plot.js","containers/OverviewScreen.js","containers/settingsScreen/SettingsMenu.js","containers/SettingsScreen.js","Data/loadLocalStorage.js","containers/App.js","index.js"],"names":["map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","keys","Object","module","exports","uuidv4","require","v4","PlayerClass","name","startMoney","this","balance","Number","parseFloat","properties","houses","skyscraper","estimatedValue","hasMonopolyTower","hasSkyScraperOn","history","stocks","addHistoryPoint","changes","img","Date","BankIMG","HistoryIMG","calcEstimatedValue","bind","declareBankruptcy","bank","forEach","property","skyScraperBuilt","color","monopolyTowerBuilt","buildingSlotsTaken","housesCount","buildings","buildingsWorth","negativeBuildings","mortage","owner","push","msg","amount","direction","time","moment","format","total","netWorth","estimated","cost","sign","postFix","balanceAbs","Math","abs","String","round","replace","money","lastLetter","charAt","length","hasPostfix","includes","amountPart","substring","number","isNaN","NaN","sender","receiver","balanceMoved","parseMoney","buyer","seller","sendMoney","succesfull","paymentMSG","filter","prop","building","price","type","slotsTaken","console","log","negativeSpace","player","find","stock","data","at","y","Navbar","setGameState","useEffect","elemsSidenav","document","querySelectorAll","M","Sidenav","init","className","onClick","Footer","href","PlayerCard","style","entries","key","value","$","addClass","setTimeout","removeClass","src","alt","formatMoney","BottomBar","players","elemsCarousell","Carousel","dist","padding","numVisible","transform","isMobile","counter","PropertyClass","baseRent","rentPrices","buildingPrice","loadImage","imageName","a","image","default","catch","idx","calcRentCost","rentPrice","rentalHousesCount","newSlotsNeeded","BuildingClass","StockClass","startValue","randomB","valueShould","risk","latestVal","percentage","paused","setInterval","calcNew","min","max","random","r","distfactor","factor","newVal","shift","x","loadCSV","reject","xhr","XMLHttpRequest","dataArray","onload","target","responseText","split","slice","line","tmpArray","M1","rentPrice_2","rentPrice_1","rentPrice_3","rentPrice_4","rentPrice_5","rentPrice_6","rentPrice_7","rentPrice_8","housePrice","skyScraperPrice","industrialBuildingPrice","onerror","status","statusText","open","gamedata","send","loadPropertyData","house","monopolyTower","industrial","negative","loadBuildingData","One_House","Two_Houses","Three_Houses","One_Industrial","Two_Industrial","Three_Industrial","Skyscraper","MonopolyTower","Sewage","Power","Dump","Prison","createStocks","LobbyScreen","setPlayers","setBuildings","setAvailableProperties","setBank","setGameID","gameID","setStocks","setSpectateID","nameRef","useRef","useState","pressCounter","setPressCounter","updateTextFields","timer","window","clearInterval","onSubmit","evt","preventDefault","current","prevPlayers","newPlayer","autoComplete","ref","htmlFor","toast","html","classes","num","places","padStart","Logo","LogoPNG","show","MainMenu","MainScreen","remove","PlayerList","callback","click","undefined","action","i","PayScreen","amountRef","senderID","val","receiverID","clone","BuildingCard","clickCallback","PropertyCard","showType","BuyModal","title","description","selectedProperty","setselectedProperty","modalElems","Modal","sort","b","priceMultiplier","renderCards","housesBuilt","BuyMenu","availableProperties","maxHouses","playerProperties","setplayerProperties","selectedPropertyToBuild","setselectedPropertyToBuild","closeBuyHome","elem","getInstance","close","closeModal","buyerID","buyProperty","builtBuilding","succesfullTransaction","transactionMSG","build","BuyScreen","BankScreen","transfer","customerID","customer","BankImg","options","layout","top","bottom","left","right","scales","ticks","index","values","suggestedMin","font","size","displayFormats","minute","plugins","legend","position","labels","align","zoom","wheel","enabled","pinch","overScaleMode","pan","mode","StocksMenu","selectedPlayer","setselectedPlayer","chartData","setChartData","stockRef","setData","setpaused","elems","FormSelect","datasets","colors","label","showLine","backgroundColor","borderColor","borderWidth","pointRadius","tension","stockJSON","CircularJSON","stringify","localStorage","setItem","interact","stockName","stockPrice","amountStocksBought","amountStocksSold","height","defaultValue","disabled","calcStockPrice","toFixed","StocksScreen","RentMenu","closeSelectList","openSelectProperty","ownerID","renterID","renter","RentScreen","sellerID","toggleMortage","sellSurgeon","sellProperty","SellScreen","SpectateMenu","socket","socketConnected","spectateID","submitedPlayers","setSubmitedPlayers","dataListener","parse","playersJSON","on","off","emit","groupID","SpectateScreen","hide","OverviewMenu","totalHistory","settotalHistory","Collapsible","onOpenEnd","toLocaleTimeString","dataBalance","dataNetWorth","playerLabels","reverse","cubicInterpolationMode","display","text","limits","OverviewScreen","Chart","register","zoomPlugin","SettingsMenu","setStartMoney","setMaxHouses","startMoneyRef","totalHousesRef","numInt","parseInt","isInteger","SettingScreen","serverconfig","App","array","getItem","res","assign","loadPlayers","loadAvailableProperties","loadBuildings","gameState","loadedBank","loadBank","loadedStocks","loadStocks","setSocket","setSocketConnected","Content","playerJson","bankJson","availablePropertiesJSON","buildingsJson","newSocket","io","BACKEND_URL","path","checkIfOnline","response","ReactDOM","render","StrictMode","getElementById"],"mappings":"6MAAA,IAAIA,EAAM,CACT,mBAAoB,CACnB,IACA,GAED,sBAAuB,CACtB,IACA,GAED,uBAAwB,CACvB,IACA,GAED,sBAAuB,CACtB,IACA,GAED,qBAAsB,CACrB,IACA,GAED,qBAAsB,CACrB,IACA,GAED,wBAAyB,CACxB,IACA,GAED,yBAA0B,CACzB,IACA,IAED,uBAAwB,CACvB,IACA,IAED,mBAAoB,CACnB,IACA,IAED,iBAAkB,CACjB,IACA,IAED,uBAAwB,CACvB,IACA,IAED,uBAAwB,CACvB,IACA,IAED,qBAAsB,CACrB,IACA,IAED,wBAAyB,CACxB,IACA,IAED,iBAAkB,CACjB,IACA,IAED,qBAAsB,CACrB,IACA,IAED,uBAAwB,CACvB,IACA,IAED,oBAAqB,CACpB,IACA,IAED,qBAAsB,CACrB,IACA,IAED,qBAAsB,CACrB,IACA,IAED,wBAAyB,CACxB,IACA,IAED,sBAAuB,CACtB,IACA,IAED,sBAAuB,CACtB,IACA,IAED,mBAAoB,CACnB,IACA,IAED,wBAAyB,CACxB,IACA,IAED,uBAAwB,CACvB,IACA,IAED,qBAAsB,CACrB,IACA,IAED,uBAAwB,CACvB,IACA,IAED,sBAAuB,CACtB,IACA,IAED,wBAAyB,CACxB,IACA,IAED,sBAAuB,CACtB,IACA,IAED,uBAAwB,CACvB,IACA,IAED,oBAAqB,CACpB,IACA,IAED,mBAAoB,CACnB,IACA,IAED,sBAAuB,CACtB,IACA,IAED,0BAA2B,CAC1B,IACA,IAED,iBAAkB,CACjB,IACA,IAED,2BAA4B,CAC3B,IACA,IAED,mBAAoB,CACnB,IACA,IAED,qBAAsB,CACrB,IACA,IAED,yBAA0B,CACzB,IACA,IAED,0BAA2B,CAC1B,IACA,IAED,uBAAwB,CACvB,IACA,IAED,oBAAqB,CACpB,IACA,IAED,qBAAsB,CACrB,IACA,IAED,qBAAsB,CACrB,IACA,IAED,oBAAqB,CACpB,IACA,IAED,0BAA2B,CAC1B,IACA,IAED,uBAAwB,CACvB,IAC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AOtc,GACL4b,IAAmB,GAGvB,OAAO,kBAAMM,EAAUvJ,WACxB,CAACgJ,KA+GA,sBAAKvb,GAAG,OAAR,UACI,sBAAK4G,UAAU,YAAf,UACI,cAAC,EAAD,CAAQR,aAAcA,IAEtB,cAACqV,GAAD,IACA,cAAC,EAAD,CAAW5T,QAASA,OAExB,cAACf,EAAD,OCvRZsV,IAASC,OACL,cAAC,IAAMC,WAAP,UACI,cAAC,GAAD,MAEJ/V,SAASgW,eAAe,W","file":"static/js/main.4da78ae3.chunk.js","sourcesContent":["var map = {\n\t\"./Abbey Road.jpg\": [\n\t\t274,\n\t\t3\n\t],\n\t\"./Ahrner Street.jpg\": [\n\t\t275,\n\t\t4\n\t],\n\t\"./Aicher Plateau.jpg\": [\n\t\t276,\n\t\t5\n\t],\n\t\"./Bachla Street.jpg\": [\n\t\t277,\n\t\t6\n\t],\n\t\"./Baker Street.jpg\": [\n\t\t278,\n\t\t7\n\t],\n\t\"./Beale Street.jpg\": [\n\t\t279,\n\t\t8\n\t],\n\t\"./Bellevue Avenue.jpg\": [\n\t\t280,\n\t\t9\n\t],\n\t\"./Boston Post Road.jpg\": [\n\t\t281,\n\t\t10\n\t],\n\t\"./Bourbon Street.jpg\": [\n\t\t282,\n\t\t11\n\t],\n\t\"./Brick Lane.jpg\": [\n\t\t283,\n\t\t12\n\t],\n\t\"./Broadway.jpg\": [\n\t\t284,\n\t\t13\n\t],\n\t\"./Capitol Street.jpg\": [\n\t\t285,\n\t\t14\n\t],\n\t\"./Carnaby Street.jpg\": [\n\t\t286,\n\t\t15\n\t],\n\t\"./Central Park.jpg\": [\n\t\t287,\n\t\t16\n\t],\n\t\"./Cheyenne Avenue.jpg\": [\n\t\t288,\n\t\t17\n\t],\n\t\"./Cornhill.jpg\": [\n\t\t289,\n\t\t18\n\t],\n\t\"./Court Street.jpg\": [\n\t\t290,\n\t\t19\n\t],\n\t\"./Downing Street.jpg\": [\n\t\t291,\n\t\t20\n\t],\n\t\"./Drau Street.jpg\": [\n\t\t292,\n\t\t21\n\t],\n\t\"./Fifth Avenue.jpg\": [\n\t\t293,\n\t\t22\n\t],\n\t\"./Gallery Road.jpg\": [\n\t\t294,\n\t\t23\n\t],\n\t\"./Hollywood Blvd..jpg\": [\n\t\t295,\n\t\t24\n\t],\n\t\"./Jermyn Street.jpg\": [\n\t\t296,\n\t\t25\n\t],\n\t\"./Kahala Avenue.jpg\": [\n\t\t297,\n\t\t26\n\t],\n\t\"./Kings Road.jpg\": [\n\t\t298,\n\t\t27\n\t],\n\t\"./Las Vegas Strip.jpg\": [\n\t\t299,\n\t\t28\n\t],\n\t\"./Little Britain.jpg\": [\n\t\t300,\n\t\t29\n\t],\n\t\"./Little Tokyo.jpg\": [\n\t\t301,\n\t\t30\n\t],\n\t\"./Lombard Street.jpg\": [\n\t\t302,\n\t\t31\n\t],\n\t\"./Market Street.jpg\": [\n\t\t303,\n\t\t32\n\t],\n\t\"./Michigan Avenue.jpg\": [\n\t\t304,\n\t\t33\n\t],\n\t\"./North Charles.jpg\": [\n\t\t305,\n\t\t34\n\t],\n\t\"./Northwest 23rd.jpg\": [\n\t\t306,\n\t\t35\n\t],\n\t\"./Ocean Drive.jpg\": [\n\t\t307,\n\t\t36\n\t],\n\t\"./Outer Prox.jpg\": [\n\t\t308,\n\t\t37\n\t],\n\t\"./Oxford Street.jpg\": [\n\t\t309,\n\t\t38\n\t],\n\t\"./Pacific Coast Hw..jpg\": [\n\t\t310,\n\t\t39\n\t],\n\t\"./Route 66.jpg\": [\n\t\t311,\n\t\t40\n\t],\n\t\"./Santa Monica Blvd..jpg\": [\n\t\t312,\n\t\t41\n\t],\n\t\"./Savile Row.jpg\": [\n\t\t313,\n\t\t42\n\t],\n\t\"./South Molton.jpg\": [\n\t\t314,\n\t\t43\n\t],\n\t\"./St James's Place.jpg\": [\n\t\t315,\n\t\t44\n\t],\n\t\"./St. Martin's Lane.jpg\": [\n\t\t316,\n\t\t45\n\t],\n\t\"./The Royal Mile.jpg\": [\n\t\t317,\n\t\t46\n\t],\n\t\"./Time Square.jpg\": [\n\t\t318,\n\t\t47\n\t],\n\t\"./Upper Street.jpg\": [\n\t\t319,\n\t\t48\n\t],\n\t\"./Walk of Fame.jpg\": [\n\t\t320,\n\t\t49\n\t],\n\t\"./Wall Street.jpg\": [\n\t\t321,\n\t\t50\n\t],\n\t\"./Washington Street.jpg\": [\n\t\t322,\n\t\t51\n\t],\n\t\"./Wigmore Street.jpg\": [\n\t\t323,\n\t\t52\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 119;\nmodule.exports = webpackAsyncContext;","export default __webpack_public_path__ + \"static/media/Bank.03f1c135.png\";","export default __webpack_public_path__ + \"static/media/history.b5bb078e.png\";","import BankIMG from \"../images/Bank.png\";\nimport HistoryIMG from \"../images/history.png\";\n\nimport moment from \"moment\";\n\nconst { v4: uuidv4 } = require(\"uuid\");\nconst DATE_RFC2822 = \"ddd, DD MMM YYYY HH:mm:ss ZZ\";\n\nexport class PlayerClass {\n constructor(name, startMoney) {\n this.id = uuidv4();\n this.name = name;\n\n this.balance = Number.parseFloat(startMoney) || 10 * 10 ** 6;\n this.properties = [];\n this.houses = 0;\n this.skyscraper = 0;\n this.estimatedValue = 0;\n this.hasMonopolyTower = false;\n\n this.hasSkyScraperOn = {};\n\n this.history = [];\n\n this.stocks = {};\n\n this.addHistoryPoint(\n `${this.name} Received Start Money`,\n this.balance,\n \"+\"\n );\n\n this.changes = {\n balance: \"\",\n properties: \"\",\n houses: \"\",\n skyscraper: \"\",\n };\n\n this.img = `https://avatars.dicebear.com/api/open-peeps/${\n name + Date()\n }.svg`;\n\n if (this.name === \"Bank\") {\n this.img = BankIMG;\n }\n if (this.name === \"Total History\") {\n this.img = HistoryIMG;\n }\n\n this.calcEstimatedValue = this.calcEstimatedValue.bind(this);\n this.declareBankruptcy = this.declareBankruptcy.bind(this);\n this.calcEstimatedValue();\n }\n\n static formatMoney(balance) {\n const sign = balance < 0 ? \"-\" : \"\";\n let postFix = \"\";\n let balanceAbs = Math.abs(balance);\n\n if (balanceAbs >= 10 ** 9) {\n postFix = \"G\";\n balanceAbs /= 10 ** 9;\n } else if (balanceAbs >= 10 ** 6) {\n postFix = \"M\";\n balanceAbs /= 10 ** 6;\n } else if (balanceAbs >= 10 ** 3) {\n postFix = \"K\";\n balanceAbs /= 10 ** 3;\n } else {\n postFix = \"$\";\n }\n\n return (\n sign +\n String(Math.round(balanceAbs * 100) / 100).replace(\".\", \",\") +\n \"\\u00A0\" +\n postFix\n );\n }\n\n static parseMoney(money) {\n const lastLetter = money.charAt(money.length - 1);\n const hasPostfix = [\"k\", \"M\", \"G\"].includes(lastLetter);\n const postFix = lastLetter;\n\n let amountPart = hasPostfix\n ? money.substring(0, money.length - 1)\n : money;\n\n amountPart = amountPart.replace(\",\", \".\");\n\n const number = parseFloat(amountPart);\n\n if (isNaN(number)) {\n return NaN;\n }\n\n let balance = number;\n if (postFix === \"M\" || !hasPostfix) {\n balance *= 10 ** 6;\n } else if (postFix === \"k\") {\n balance *= 10 ** 3;\n } else if (postFix === \"G\") {\n balance *= 10 ** 9;\n }\n\n return balance;\n }\n\n static sendMoney(sender, receiver, amount) {\n const balanceMoved =\n typeof amount === \"string\"\n ? PlayerClass.parseMoney(amount)\n : amount;\n\n if (isNaN(balanceMoved)) {\n return [false, \"Invalid Money Format\"];\n }\n\n if (sender.id === receiver.id) {\n return [false, \"Sender is Receiver\"];\n }\n\n if (sender.balance < balanceMoved) {\n return [false, \"Not enought Money\"];\n }\n\n sender.balance -= balanceMoved;\n receiver.balance += balanceMoved;\n\n sender.calcEstimatedValue();\n receiver.calcEstimatedValue();\n\n sender.changes[\"balance\"] = \"-\";\n receiver.changes[\"balance\"] = \"+\";\n\n sender.addHistoryPoint(\n `${sender.name} paid Money to ${receiver.name}`,\n balanceMoved,\n \"-\"\n );\n\n receiver.addHistoryPoint(\n `${receiver.name} received Money from ${sender.name}`,\n balanceMoved,\n \"+\"\n );\n return [true, \"Successfull\"];\n }\n\n static buyProperty(buyer, property) {\n const cost = property.cost;\n\n if (buyer.balance < cost) {\n return [false, \"Not enought Money\"];\n }\n\n buyer.balance -= cost;\n buyer.properties.push(property);\n\n buyer.calcEstimatedValue();\n\n if (cost > 0) {\n buyer.changes[\"balance\"] = \"-\";\n }\n\n buyer.changes[\"properties\"] = \"+\";\n\n buyer.addHistoryPoint(\n `${buyer.name} bought ${property.name}`,\n cost,\n \"-\"\n );\n\n property.owner = buyer;\n\n return [true, \"Successfull\"];\n }\n\n static sellProperty(seller, buyer, amount, property, bank) {\n const [succesfull, paymentMSG] = PlayerClass.sendMoney(\n buyer,\n seller,\n amount\n );\n\n if (!succesfull) {\n return [false, paymentMSG];\n }\n\n if (property.skyScraperBuilt) {\n seller.hasSkyScraperOn[property.color] = false;\n buyer.hasSkyScraperOn[property.color] = true;\n\n seller.skyscraper -= 1;\n buyer.skyscraper += 1;\n }\n\n if (property.monopolyTowerBuilt) {\n seller.hasMonopolyTower = false;\n buyer.hasMonopolyTower = true;\n }\n\n buyer.houses += property.housesCount;\n seller.houses -= property.housesCount;\n\n if (buyer === bank) {\n property.skyScraperBuilt = false;\n property.monopolyTowerBuilt = false;\n property.buildingSlotsTaken = 0;\n property.housesCount = 0;\n property.buildings = [];\n property.buildingsWorth = 0;\n property.negativeBuildings = 0;\n property.mortage = false;\n\n if (property.owner.hasSkyScraperOn[property.color]) {\n property.owner.hasSkyScraperOn[property.color] = false;\n }\n buyer.hasSkyScraperOn[property.color] = false;\n }\n\n seller.properties = seller.properties.filter((prop) => {\n return prop.id !== property.id;\n });\n\n property.owner = buyer;\n buyer.properties.push(property);\n\n seller.changes[\"properties\"] = \"-\";\n buyer.changes[\"properties\"] = \"+\";\n\n const balanceMoved =\n typeof amount === \"string\"\n ? PlayerClass.parseMoney(amount)\n : amount;\n\n buyer.addHistoryPoint(\n `${buyer.name} bought ${property.name} from ${seller.name}`,\n balanceMoved,\n \"+\"\n );\n\n seller.addHistoryPoint(\n `${seller.name} Sold ${property.name} to ${buyer.name}`,\n balanceMoved,\n \"-\"\n );\n\n buyer.calcEstimatedValue();\n seller.calcEstimatedValue();\n\n return [true, paymentMSG];\n }\n\n declareBankruptcy(bank) {\n this.properties.forEach((property) => {\n if (property.skyScraperBuilt) {\n this.hasSkyScraperOn[property.color] = false;\n }\n\n if (property.monopolyTowerBuilt) {\n this.hasMonopolyTower = false;\n bank.hasMonopolyTower = true;\n }\n\n property.skyScraperBuilt = false;\n property.monopolyTowerBuilt = false;\n property.buildingSlotsTaken = 0;\n property.housesCount = 0;\n property.buildings = [];\n property.buildingsWorth = 0;\n property.negativeBuildings = 0;\n property.mortage = false;\n\n property.owner = bank;\n bank.properties.push(property);\n });\n\n this.properties = [];\n this.hasSkyScraperOn = {};\n\n this.changes[\"balance\"] = \"-\";\n this.changes[\"properties\"] = \"-\";\n this.changes[\"houses\"] = \"-\";\n this.changes[\"skyscraper\"] = \"-\";\n\n this.addHistoryPoint(\n `${this.name} declared bankruptcy`,\n this.balance,\n \"/\"\n );\n\n this.balance = 0;\n this.skyscraper = 0;\n this.houses = 0;\n this.calcEstimatedValue();\n }\n\n static builtBuilding(buyer, property, building, price) {\n if (buyer.balance < price) {\n return [false, \"Not enought Money\"];\n }\n\n if ([\"house\", \"industrial\"].includes(building.type)) {\n buyer.houses += building.slotsTaken;\n buyer.changes[\"houses\"] = \"+\";\n } else if (building.type === \"skyscraper\") {\n buyer.skyscraper += 1;\n buyer.changes[\"skyscraper\"] = \"+\";\n buyer.hasSkyScraperOn[property.color] = true;\n } else if (building.type === \"monopolyTower\") {\n buyer.hasMonopolyTower = true;\n } else if (building.type === \"negative\") {\n property.negativeBuildings += building.negativeSpace;\n } else {\n console.log(\"Error\", building.type);\n return [false, \"Error while building\"];\n }\n\n buyer.balance -= price;\n if (price > 0) {\n buyer.changes[\"balance\"] = \"-\";\n }\n\n if (building.type === \"negative\") {\n buyer.addHistoryPoint(\n `${buyer.name} constructed ${building.name} on ${property.name}`,\n price,\n \"/\"\n );\n } else {\n buyer.addHistoryPoint(\n `${buyer.name} bought ${building.name} on ${property.name}`,\n price,\n \"+\"\n );\n }\n\n buyer.calcEstimatedValue();\n\n return [true, \"Successfull\"];\n }\n\n addHistoryPoint(msg, amount, direction) {\n this.history.push({\n msg: msg,\n time: moment(new Date()).format(DATE_RFC2822),\n amount: amount,\n total: this.balance,\n netWorth: this.calcEstimatedValue(),\n direction: direction,\n });\n }\n\n calcEstimatedValue() {\n let estimated = this.balance;\n\n this.properties.forEach((property) => {\n estimated += property.cost + property.buildingsWorth;\n });\n\n this.estimatedValue = estimated;\n return estimated;\n }\n\n static calcStockPrice(player, name, stocks) {\n let stock = stocks.find((stock) => stock.name === name);\n let price = stock.data.at(-1).y;\n let amount = player.stocks[name];\n\n return price * amount;\n }\n}\n","import React, { useEffect } from \"react\";\n\nimport \"./Navbar.css\";\n\nexport default function Navbar({ setGameState }) {\n useEffect(() => {\n try {\n var elemsSidenav = document.querySelectorAll(\".sidenav\");\n // eslint-disable-next-line no-undef\n M.Sidenav.init(elemsSidenav);\n } catch (e) {\n console.log();\n }\n });\n\n return (\n <>\n \n\n
Balance | \n\n \n {PlayerClass.formatMoney(\n player.balance\n )}\n \n | \n
Properties | \n\n {player.properties.length}\n | \n
Houses | \n\n {player.houses}\n | \n
Skyscraper | \n\n {player.skyscraper}\n | \n
Monopoly Tower | \n\n \n {player.hasMonopolyTower ? \"Yes\" : \"No\"}\n \n | \n
Net Worth | \n\n \n {PlayerClass.formatMoney(\n player.estimatedValue\n )}\n \n | \n
{building.name}
\n\n\n {building.negativeSpace !== undefined\n ? \"Slots: \" + building.negativeSpace\n : building.slotsTaken > 0\n ? \"Slots: \" + building.slotsTaken\n : \"\"}\n
\n
\n {PlayerClass.formatMoney(price)}\n
{property.name}
\n\n {showType === \"cost\" && (\n\n {PlayerClass.formatMoney(property.cost)}\n
\n )}\n {showType === \"rent\" && (\n <>\nBase Rent: | \n\n \n {PlayerClass.formatMoney(\n property.baseRent\n )}\n \n | \n
Houses: | \n\n {property.housesCount} \n | \n
Skyscraper: | \n\n \n {property.owner &&\n property.owner.hasSkyScraperOn[\n property.color\n ]\n ? \"Yes\"\n : \"No\"}\n \n | \n
Disturbance Slots: | \n\n {property.negativeBuildings}\n | \n
Total Rent: | \n\n \n {PlayerClass.formatMoney(\n property.calcRentCost()\n )}\n \n | \n
\n Stock\n | \n\n Value\n | \n\n Amount\n | \n
---|---|---|
\n {key}\n | \n\n {PlayerClass.formatMoney(\n PlayerClass.calcStockPrice(\n selectedPlayer,\n key,\n stocks\n )\n )}\n | \n\n {selectedPlayer\n .stocks[key] &&\n selectedPlayer.stocks[\n key\n ].toFixed(2)}\n | \n
\n Time\n | \n\n Description\n | \n\n Amount\n | \n\n Total Money\n | \n\n Net Worth\n | \n
---|---|---|---|---|
\n {new Date(\n data.time\n ).toLocaleTimeString()}\n | \n\n {data.msg}\n | \n\n {PlayerClass.formatMoney(\n data.amount\n )}\n | \n\n {PlayerClass.formatMoney(\n data.total\n )}\n | \n\n {PlayerClass.formatMoney(\n data.netWorth\n )}\n | \n
\n Option\n | \n\n Current\n | \n\n New\n | \n\n Update\n | \n
---|---|---|---|
\n Start Money\n | \n\n\n {PlayerClass.formatMoney(\n startMoney\n )}\n | \n\n\n \n \n \n \n \n \n | \n \n \n \n \n \n \n | \n
\n Total Houses\n | \n\n\n {maxHouses}\n | \n\n\n \n \n \n \n \n \n | \n \n \n \n \n \n \n | \n