Advertisement
Guest User

King

a guest
Apr 4th, 2013
1,648
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 175.95 KB | None | 0 0
  1. @echo off
  2. title Monopoly
  3. REM (C) Copyright 2010 GrellesLicht28
  4. REM This is a creation of Makroware.
  5. color 0f
  6. setlocal enabledelayedexpansion
  7.  
  8. call :SetFields
  9.  
  10. goto :StartMain
  11.  
  12.  
  13.  
  14. :: Start of setting fields
  15. :SetFields
  16. :SetFields
  17. :: Player 1
  18. if not defined Field1_1 set Field1_1=
  19. if not defined Field2_1 set Field2_1=A
  20. if not defined Field3_1 set Field3_1=
  21. if not defined Field4_1 set Field4_1=
  22. if not defined Field5_1 set Field5_1=
  23. if not defined Field6_1 set Field6_1=
  24. if not defined Field7_1 set Field7_1=A
  25. if not defined Field8_1 set Field8_1=
  26. if not defined Field9_1 set Field9_1=A
  27. if not defined Field10_1 set Field10_1=A
  28. if not defined Field11_1 set Field11_1=i
  29. if not defined Field11_J_1 set Field11_J_1=
  30. if not defined Field12_1 set Field12_1=
  31. if not defined Field13_1 set Field13_1=
  32. if not defined Field14_1 set Field14_1=
  33. if not defined Field15_1 set Field15_1=
  34. if not defined Field16_1 set Field16_1=
  35. if not defined Field17_1 set Field17_1=
  36. if not defined Field18_1 set Field18_1=
  37. if not defined Field19_1 set Field19_1=
  38. if not defined Field20_1 set Field20_1=
  39. if not defined Field21_1 set Field21_1=
  40. if not defined Field22_1 set Field22_1=A
  41. if not defined Field23_1 set Field23_1=
  42. if not defined Field24_1 set Field24_1=A
  43. if not defined Field25_1 set Field25_1=A
  44. if not defined Field26_1 set Field26_1=
  45. if not defined Field27_1 set Field27_1=A
  46. if not defined Field28_1 set Field28_1=A
  47. if not defined Field29_1 set Field29_1=
  48. if not defined Field30_1 set Field30_1=
  49. if not defined Field31_1 set Field31_1=
  50. if not defined Field32_1 set Field32_1=
  51. if not defined Field33_1 set Field33_1=l
  52. if not defined Field34_1 set Field34_1=
  53. if not defined Field35_1 set Field35_1=
  54. if not defined Field36_1 set Field36_1=
  55. if not defined Field37_1 set Field37_1=
  56. if not defined Field38_1 set Field38_1=
  57. if not defined Field39_1 set Field39_1=
  58. if not defined Field40_1 set Field40_1=
  59.  
  60. :: Player 2
  61. if not defined Field1_2 set Field1_2=
  62. if not defined Field2_2 set Field2_2=e
  63. if not defined Field3_2 set Field3_2=
  64. if not defined Field4_2 set Field4_2=
  65. if not defined Field5_2 set Field5_2=
  66. if not defined Field6_2 set Field6_2=
  67. if not defined Field7_2 set Field7_2=e
  68. if not defined Field8_2 set Field8_2=
  69. if not defined Field9_2 set Field9_2=e
  70. if not defined Field10_2 set Field10_2=e
  71. if not defined Field11_2 set Field11_2=
  72. if not defined Field11_J_2 set Field11_J_2=
  73. if not defined Field12_2 set Field12_2=
  74. if not defined Field13_2 set Field13_2=
  75. if not defined Field14_2 set Field14_2=
  76. if not defined Field15_2 set Field15_2=
  77. if not defined Field16_2 set Field16_2=
  78. if not defined Field17_2 set Field17_2=
  79. if not defined Field18_2 set Field18_2=
  80. if not defined Field19_2 set Field19_2=
  81. if not defined Field20_2 set Field20_2=
  82. if not defined Field21_2 set Field21_2=
  83. if not defined Field22_2 set Field22_2=e
  84. if not defined Field23_2 set Field23_2=
  85. if not defined Field24_2 set Field24_2=e
  86. if not defined Field25_2 set Field25_2=e
  87. if not defined Field26_2 set Field26_2=
  88. if not defined Field27_2 set Field27_2=e
  89. if not defined Field28_2 set Field28_2=e
  90. if not defined Field29_2 set Field29_2=
  91. if not defined Field30_2 set Field30_2=
  92. if not defined Field31_2 set Field31_2=
  93. if not defined Field32_2 set Field32_2=
  94. if not defined Field33_2 set Field33_2=
  95. if not defined Field34_2 set Field34_2=
  96. if not defined Field35_2 set Field35_2=
  97. if not defined Field36_2 set Field36_2=
  98. if not defined Field37_2 set Field37_2=?
  99. if not defined Field38_2 set Field38_2=
  100. if not defined Field39_2 set Field39_2=
  101. if not defined Field40_2 set Field40_2=
  102. exit /b
  103. :: End of setting fields
  104.  
  105.  
  106.  
  107.  
  108. :: Instructions start here.
  109. :Instructions
  110. :Instructions
  111. cls
  112. echo Instructions of Monopoly
  113. echo îîîîîîîîîîîîîîîîîîîîîîîî
  114. echo 1. Each player starts with $1500. Their characters are placed on the field
  115. echo "Go" in the beginning of the game.
  116. echo 2. Every round, the current player has to throw two dice which have 6 sides.
  117. echo The amount thrown is between 2 and 12.
  118. echo.
  119. echo 3. If a player gets on a street or a railroad, he or she can buy it, if it
  120. echo is unowned, yet. Else the player has to pay the rent to the owner depending
  121. echo on the amount of houses or hotels (or railroads).
  122. echo 4. If a player arrives to any other field, he has to follow the instructions
  123. echo given on the field.
  124. echo.
  125. echo 5. Money, which is paid to the bank, goes into "Free Parking" (except for the
  126. echo $50 to escape from Jail). This money can be recollected by arriving on this
  127. echo field.
  128. echo 6. It is not allowed to share money with the other player without arriving on
  129. echo one of his or her streets, railroads or companies, selling the
  130. echo Get-Out-Of-Jail-Free-card or having to follow the instructions of a
  131. echo community chest- or event card.
  132. echo.
  133. echo 7. There are 16 community chest cards and 16 event cards. They are not chosen
  134. echo by following an order, but they are chosen randomly. This allows the same
  135. echo card one after the other.
  136. echo 8. The Get-Out-Of-Jail-Free-Card can only be owned once. If got, this card
  137. echo cannot be chosen by random anymore until it is used or sold.
  138. echo 9. You cannot own two Get-Out-Of-Jail-Free-Cards.
  139. echo.
  140. echo 10. You can only buy houses by arriving right on the field you want to buy
  141. echo some.
  142. echo 11. You can buy 4 houses on each of the 22 streets. The fifth house will be
  143. echo returned into a hotel. The other houses disappear in this case.
  144. echo 12. There is no limit of total houses or hotels to use in the entire game
  145. echo unless all of the streets got a hotel.
  146. echo.
  147. echo 13. If you throw three doublets in a row, you are sent to Jail.
  148. echo 14. In Jail, you can try a doublet at last for three times. Then you have to
  149. echo pay $50. If you don't want to try to roll a doublet, you can pay $50 to
  150. echo escape everytime or you can use your Get-Out-Of-Jail-Free-Card if owned.
  151. echo 15. If you are "just visiting" the Jail, nothing will happen.
  152. echo.
  153. echo 16. By passing "Go", you receive $200. By arriving onto the field "Go", you
  154. echo receive $400.
  155. echo 17. If you get a card which changes your current position, you receive $200 by
  156. echo passing "Go".
  157. echo 18. You do not receive $200 if you are sent to Jail, no matter if passing "Go"
  158. echo or not.
  159. echo.
  160. echo 19. The game ends when one player loses all his or her money. The player is not
  161. echo allowed to sell any property like houses, hotels, streets, railroads,
  162. echo companies or cards anymore.
  163. echo.
  164. set /p Pause=
  165. exit /b
  166. :: Instructions end here.
  167.  
  168.  
  169.  
  170. :StartMain
  171. :StartMain
  172. cls
  173. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  174. echo º Choose your character: º
  175. echo º 1: Û º
  176. echo º 2: ² º
  177. echo º 3: ± º
  178. echo º 4: ° º
  179. echo º º
  180. echo ºEnter "instructions" to read them.º
  181. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  182. set /p Character1=Player 1: Character no.
  183. set /p Character2=Player 2: Character no.
  184. if "%Character1%" == "1" set Char_1=Û
  185. if "%Character1%" == "2" set Char_1=²
  186. if "%Character1%" == "3" set Char_1=±
  187. if "%Character1%" == "4" set Char_1=°
  188. if /i "%Character1%" == "instructions" call :Instructions
  189. if "%Character2%" == "1" set Char_2=Û
  190. if "%Character2%" == "2" set Char_2=²
  191. if "%Character2%" == "3" set Char_2=±
  192. if "%Character2%" == "4" set Char_2=°
  193. if /i "%Character2%" == "instructions" call :Instructions
  194. if not defined Char_1 goto :StartMain
  195. if not defined Char_2 goto :StartMain
  196. if "%Char_1%" == "%Char_2%" (
  197. echo You cannot use the same character twice.
  198. pause
  199. goto :StartMain
  200. )
  201.  
  202.  
  203. set DiceAmount=0
  204. set Escape=4
  205. set Field1_1=%Char_1%
  206. set Field1_2=%Char_2%
  207. set Money_1=1500
  208. set Money_2=1500
  209. set Money_Parking=0
  210. set Player=1
  211. set Player1Position=1
  212. set Player2Position=1
  213.  
  214.  
  215. mode con cols=91 lines=600
  216. :FIELD
  217. :FIELD
  218. cls
  219. set OutOfJail=0
  220. if not "%1" == "StepDone" set Go=0
  221. if not "%1" == "Chance_Walked" set RentalTwice=0
  222. set Player=!Player!
  223. echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄ¿
  224. echo ³ Free ³Kentu-³Chance³India-³Illi- ³B.^& O.³Atlan-³Veni- ³Water ³Marvin³ GO TO ³
  225. echo ³ ÜßßßÜ ³ cky ³ ?? ³ na ³ nois ³ RAIL-³ tic ³ nor ³Works ³ Gar- ³ °°°°° ³
  226. echo ³!Field21_1! ÛÜÜÜÛ !Field21_2!³!Field22_1!venu!Field22_2!³!Field23_1!? ?!Field23_2!³!Field24_1!venu!Field24_2!³!Field25_1!venu!Field25_2!³!Field26_1!ROAD!Field26_2!³!Field27_1!venu!Field27_2!³!Field28_1!venu!Field28_2!³!Field29_1! !Field29_2!³!Field30_1!dens!Field30_2!³!Field31_1! °°° !Field31_2!³
  227. echo ³ ÜÛÛÜÛÛÜ ³ ³ ? ³ ³ ³ ³ ³ ³ ³ ³ ° ³
  228. echo ³ ° ° ³Price ³ ? ³Price ³Price ³Price ³Price ³Price ³Price ³Price ³ ³
  229. echo ³ Parking ³ $220 ³ ? ³ $220 ³ $240 ³ $200 ³ $260 ³ $260 ³ $150 ³ $280 ³ ° JAIL ³
  230. echo ÃÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄ´
  231. echo ³ New York ³ ________ ³ Pacific ³
  232. echo ³!Field20_1! Avenue !Field20_2!³ / / ³!Field32_1! Avenue !Field32_2!³
  233. echo ³Price: $200 ³ / / ± ± ³Price: $300 ³
  234. echo ÃÄÄÄÄÄÄÄÄÄÄÄÄ´ / / ± ± ± ÃÄÄÄÄÄÄÄÄÄÄÄÄ´
  235. echo ³ Tennessee ³ / / ± ± ³North Caro- ³
  236. echo ³!Field19_1! Avenue !Field19_2!³ /_______/ ± ± ³!Field33_1!ina Avenue!Field33_2!³
  237. echo ³Price: $180 ³ Community Chest ± ± ± ³Price: $300 ³
  238. echo ÃÄÄÄÄÄÄÄÄÄÄÄÄ´ ± ± ± ÃÄÄÄÄÄÄÄÄÄÄÄÄ´
  239. echo ³ Community ³ ± ± ³ Community ³
  240. echo ³!Field18_1! Chest !Field18_2!³ ± ± ³!Field34_1! Chest !Field34_2!³
  241. echo ³ ³ ± ± ³ ³
  242. echo ÃÄÄÄÄÄÄÄÄÄÄÄÄ´ ± ± ÃÄÄÄÄÄÄÄÄÄÄÄÄ´
  243. echo ³ St. James ³ ± ± ³Pennsylvania³
  244. echo ³!Field17_1! Place !Field17_2!³ ± ± ³!Field35_1! Avenue !Field35_2!³
  245. echo ³Price: $180 ³ ± ± ³Price: $320 ³
  246. echo ÃÄÄÄÄÄÄÄÄÄÄÄÄ´ ± ± ÃÄÄÄÄÄÄÄÄÄÄÄÄ´
  247. echo ³PENNSYLVANIA³ ± ± ³ SHORT LINE ³
  248. echo ³!Field16_1! RAILROAD !Field16_2!³ ± ± ± ³!Field36_1! !Field36_2!³
  249. echo ³Price: $200 ³ ± ± ± ³Price: $200 ³
  250. echo ÃÄÄÄÄÄÄÄÄÄÄÄÄ´ ± ± ÃÄÄÄÄÄÄÄÄÄÄÄÄ´
  251. echo ³ Virginia ³ ± ± ³ ?? Chance³
  252. echo ³!Field15_1! Avenue !Field15_2!³ ± ± ³!Field37_1!? ?? ? !Field37_2!³
  253. echo ³Price: $160 ³ ± ± ³ ? ?? ³
  254. echo ÃÄÄÄÄÄÄÄÄÄÄÄÄ´ ± ÃÄÄÄÄÄÄÄÄÄÄÄÄ´
  255. echo ³ States ³ ± ± ³ Park Place ³
  256. echo ³!Field14_1! Avenue !Field14_2!³ ± ± ³!Field38_1! !Field38_2!³
  257. echo ³Price: $140 ³ ± ± ³Price: $350 ³
  258. echo ÃÄÄÄÄÄÄÄÄÄÄÄÄ´ ± ± ± ÃÄÄÄÄÄÄÄÄÄÄÄÄ´
  259. echo ³ Electric ³ ± ± ± C ________ ³ LUXURY TAX ³
  260. echo ³!Field13_1! Company !Field13_2!³ ± ± h / / ³!Field39_1! !Field39_2!³
  261. echo ³Price: $150 ³ ± ± ± a / / ³ Pay $75 ³
  262. echo ÃÄÄÄÄÄÄÄÄÄÄÄÄ´ ± ± n / / ÃÄÄÄÄÄÄÄÄÄÄÄÄ´
  263. echo ³St. Charles ³ ± ± c / / ³ Boardwalk ³
  264. echo ³!Field12_1! Place !Field12_2!³ ± e /_______/ ³!Field40_1! !Field40_2!³
  265. echo ³Price: $140 ³ ± ³Price: $400 ³
  266. echo ÃÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÂÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄ´
  267. echo ³Just³ IN ³Connec³Ver- ³Chance³Orien-³READIN³INCOME³Baltic³ ³Medite³Collect $200³
  268. echo ³v ³ÉÍËÍËÍ»³ticut ³ mont³ ?? ³tal ³RAIL- ³ TAX ³Avenue³Commu-³r... ³as you pass ³
  269. echo ³!Field11_1! !Field11_2!³º!Field11_J_1!º º!Field11_J_2!º³!Field10_1!venu!Field10_2!³!Field9_1!venu!Field9_2!³!Field8_1!? ?!Field8_2!³!Field7_1!venu!Field7_2!³!Field6_1!ROAD!Field6_2!³!Field5_1! !Field5_2!³!Field4_1! !Field4_2!³!Field3_1!nity!Field3_2!³!Field2_1!venu!Field2_2!³!Field1_1! !Field1_2!³
  270. echo ³s ³º º º º³ ³ ³ ? ³ ³ ³Pay ³ ³ ³ ³ Ûßßß ÜÜÜÜ ³
  271. echo ³i ³ÈÍÊÍÊͼ³Price ³Price ³ ? ³Price ³Price ³10%% or³Price ³Chest ³Price ³ Û ßÜ Û Û ³
  272. echo ³ting³ JAIL ³ $120 ³ $100 ³ ? ³ $100 ³ $200 ³$200 ³ $60 ³ ³ $60 ³ ßßßß ßßßß ³
  273. echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÙ
  274.  
  275.  
  276. if "%1" == "StepDone" exit /b
  277. if "%1" == "Chance_Walked" goto :StartComparingPositions
  278. if "!Field11_J_%Player%!" == "!Char_%Player%!" call :InJail
  279. if "%OutOfJail%" == "1" goto :FIELD
  280.  
  281.  
  282. :RecallDisplay
  283. :RecallDisplay
  284. echo.
  285. echo Player %Player% (!Char_%Player%!)'s turn:
  286.  
  287.  
  288. :: Checks every street if owned by the current player.
  289. echo Streets owned:
  290. set Display_%Player%=
  291. set Display_Amount_%Player%=0
  292. FOR %%A IN (MediterraneanAvenue BalticAvenue ReadingRailroad OrientalAvenue VermontAvenue ConnecticutAvenue St.CharlesPlace ElectricCompany StatesAvenue VirginiaAvenue PennsylvaniaRailroad St.JamesPlace TennesseeAvenue NewYorkAvenue KentuckyAvenue IndianaAvenue IllinoisAvenue B.O.Railroad AtlanticAvenue VeninorAvenue WaterWorks MarvinGardens PacificAvenue NorthCarolinaAvenue PennsylvaniaAvenue ShortLine ParkPlace Boardwalk) DO (
  293. if "!%%A!" == "%Player%" (
  294. if not "!Display_Amount_%Player%!" == "4" (set Display_%Player%=!Display_%Player%!%%A / ) ELSE (set Display_%Player%=!Display_%Player%!%%A)
  295. set /a Display_Amount_%Player%=!Display_Amount_%Player%! + 1
  296. if "!Display_Amount_%Player%!" == "4" (
  297. echo !Display_%Player%!
  298. set Display_Amount_%Player%=0
  299. set Display_%Player%=
  300. )
  301. )
  302. if "%%A" == "Boardwalk" if not "!Display_Amount_%Player%!" == "0" echo !Display_%Player%!
  303. )
  304. echo.
  305. if "!FreeOutOfJail_%Player%!" == "1" (
  306. set OtherPlayer=
  307. set Sell_JailCard=
  308. set Accept_JailCard=
  309. echo You own a card to get out of jail for free.
  310. echo Enter "sell for XX" to sell it to the other player for XX dollars.
  311. set /p Sell_JailCard=
  312. if /i "!Sell_JailCard:~0,9!" == "sell for " (
  313. echo To the other player: Do you want to accept the price [!Sell_JailCard:~9,4!],
  314. echo then enter "Yes, I would like to.".
  315. set /p Accept_JailCard=
  316. if /i "!Accept_JailCard!" == "Yes, I would like to." (
  317. set Puffer=!Money_%Player%!
  318. set /a Money_%Player%=!Money_%Player%! + !Sell_JailCard:~9,4!
  319. echo ÄÄÄ^> Money increased from $!Puffer! by $!Sell_JailCard:~9,4! to $!Money_%Player%!.
  320. if "!Player!" == "1" (
  321. set Puffer=!Money_2!
  322. set /a Money_2=!Money_2! - !Sell_JailCard:~9,4!
  323. echo ÄÄÄ^> Money decreased from $!Puffer! by $!Sell_JailCard:~9,4! to $!Money_2!.
  324. if "!Money_2:~0,1!" == "-" (
  325. echo You have not enough money.
  326. set /a Money_%Player%=!Money_%Player%! - !Sell_JailCard:~9,4!
  327. set /a Money_2=!Money_2! + !Sell_JailCard:~9,4!
  328. echo ÄÄÄ^> Money amounts set back.
  329. )
  330. ) ELSE (
  331. set Puffer=!Money_1!
  332. set /a Money_1=!Money_1! - !Sell_JailCard:~9,4!
  333. echo ÄÄÄ^> Money decreased from $!Puffer! by $!Sell_JailCard:~9,4! to $!Money_1!.
  334. if "!Money_1:~0,1!" == "-" (
  335. echo You have not enough money.
  336. set /a Money_%Player%=!Money_%Player%! - !Sell_JailCard:~9,4!
  337. set /a Money_1=!Money_1! + !Sell_JailCard:~9,4!
  338. echo ÄÄÄ^> Money amounts set back.
  339. )
  340. )
  341. if "!FreeOutOfJail_Chance!" == "!FreeOutOfJail_%Player%!" (
  342. set FreeOutOfJail_Chance=0
  343. ) ELSE (
  344. set FreeOutOfJail_Community=0
  345. )
  346. set FreeOutOfJail_%Player%=0
  347. ) ELSE (
  348. echo Trade cancelled.
  349. )
  350. )
  351. ) ELSE (
  352. echo Press any key to roll a dice...
  353. if not "%1" == "StepDone" pause >nul
  354. )
  355. if "%1" == "StepDone" exit /b
  356.  
  357. :RollADice
  358. :RollADice
  359. :: Randomly roll two dices. The IF's make sure they are between 1 and 6.
  360. set DiceOne=%random:~0,1%
  361. set DiceTwo=%random:~0,1%
  362. if "%DiceOne%" EQU "0" goto :RollADice
  363. if "%DiceOne%" GTR "6" goto :RollADice
  364. if "%DiceTwo%" EQU "0" goto :RollADice
  365. if "%DiceTwo%" GTR "6" goto :RollADice
  366.  
  367.  
  368. :: Resetting the current player's position.
  369. set Field!Player%Player%Position!_%Player%=
  370.  
  371. :: Calculating the amount of steps to go. Also informs the user.
  372. set /a Dice=%DiceOne% + %DiceTwo%
  373. echo Dice one (%DiceOne%) + dice two (%DiceTwo%) = %Dice%
  374. set /a Player%Player%Position=!Player%Player%Position! + %Dice%
  375.  
  376.  
  377. :: Check if the player went over "GO".
  378. if not "!Player%Player%Position:~1,1!" == "" if "!Player%Player%Position:~0,1!" GEQ "4" if "!Player%Player%Position:~1,1!" GTR "0" (
  379. set /a Player%Player%Position=!Player%Player%Position! - 40
  380. set Puffer=!Money_%Player%!
  381. if "!Player%Player%Position:~0,1!" GTR "1" (
  382. set /a Money_%Player%=!Money_%Player%! + 200
  383. set Go=1
  384. )
  385. )
  386.  
  387.  
  388. :: Reset the fields after having changed the position.
  389. call :SetFields
  390.  
  391. :: Set the new player's position.
  392. set Field!Player%Player%Position!_%Player%=!Char_%Player%!
  393.  
  394. pause >nul
  395.  
  396.  
  397. :RollDone
  398. :RollDone
  399.  
  400. :: Showing the user the new position before dwelling on it.
  401. call :FIELD StepDone
  402.  
  403. call :RecallDisplay StepDone
  404. echo Dice one (%DiceOne%) + dice two (%DiceTwo%) = %Dice%
  405. if "!Go!" == "1" echo ÄÄÄ^> Money increased from $!Puffer! by $200 to $!Money_%Player%!.
  406.  
  407.  
  408. :StartComparingPositions
  409. :StartComparingPositions
  410. pause >nul
  411. :: Dwelling on the player's position.
  412. if "!Field1_%Player%!" == "!Char_%Player%!" call :GO
  413. if "!Field2_%Player%!" == "!Char_%Player%!" call :MediterraneanAvenue
  414. if "!Field3_%Player%!" == "!Char_%Player%!" call :CommunityChest
  415. if "!Field4_%Player%!" == "!Char_%Player%!" call :BalticAvenue
  416. if "!Field5_%Player%!" == "!Char_%Player%!" call :IncomeTax
  417. if "!Field6_%Player%!" == "!Char_%Player%!" call :ReadingRailroad
  418. if "!Field7_%Player%!" == "!Char_%Player%!" call :OrientalAvenue
  419. if "!Field8_%Player%!" == "!Char_%Player%!" call :Chance
  420. if "!Field9_%Player%!" == "!Char_%Player%!" call :VermontAvenue
  421. if "!Field10_%Player%!" == "!Char_%Player%!" call :ConnecticutAvenue
  422. if "!Field11_%Player%!" == "!Char_%Player%!" call :AtJail
  423. if "!Field12_%Player%!" == "!Char_%Player%!" call :St.CharlesPlace
  424. if "!Field13_%Player%!" == "!Char_%Player%!" call :ElectricCompany
  425. if "!Field14_%Player%!" == "!Char_%Player%!" call :StatesAvenue
  426. if "!Field15_%Player%!" == "!Char_%Player%!" call :VirginiaAvenue
  427. if "!Field16_%Player%!" == "!Char_%Player%!" call :PennsylvaniaRailroad
  428. if "!Field17_%Player%!" == "!Char_%Player%!" call :St.JamesPlace
  429. if "!Field18_%Player%!" == "!Char_%Player%!" call :CommunityChest
  430. if "!Field19_%Player%!" == "!Char_%Player%!" call :TennesseeAvenue
  431. if "!Field20_%Player%!" == "!Char_%Player%!" call :NewYorkAvenue
  432. if "!Field21_%Player%!" == "!Char_%Player%!" call :FreeParking
  433. if "!Field22_%Player%!" == "!Char_%Player%!" call :KentuckyAvenue
  434. if "!Field23_%Player%!" == "!Char_%Player%!" call :Chance
  435. if "!Field24_%Player%!" == "!Char_%Player%!" call :IndianaAvenue
  436. if "!Field25_%Player%!" == "!Char_%Player%!" call :IllinoisAvenue
  437. if "!Field26_%Player%!" == "!Char_%Player%!" call :B.O.Railroad
  438. if "!Field27_%Player%!" == "!Char_%Player%!" call :AtlanticAvenue
  439. if "!Field28_%Player%!" == "!Char_%Player%!" call :VeninorAvenue
  440. if "!Field29_%Player%!" == "!Char_%Player%!" call :WaterWorks
  441. if "!Field30_%Player%!" == "!Char_%Player%!" call :MarvinGardens
  442. if "!Field31_%Player%!" == "!Char_%Player%!" call :SendToJail
  443. if "!Field32_%Player%!" == "!Char_%Player%!" call :PacificAvenue
  444. if "!Field33_%Player%!" == "!Char_%Player%!" call :NorthCarolinaAvenue
  445. if "!Field34_%Player%!" == "!Char_%Player%!" call :CommunityChest
  446. if "!Field35_%Player%!" == "!Char_%Player%!" call :PennsylvaniaAvenue
  447. if "!Field36_%Player%!" == "!Char_%Player%!" call :ShortLineRailroad
  448. if "!Field37_%Player%!" == "!Char_%Player%!" call :Chance
  449. if "!Field38_%Player%!" == "!Char_%Player%!" call :ParkPlace
  450. if "!Field39_%Player%!" == "!Char_%Player%!" call :LuxuryTax
  451. if "!Field40_%Player%!" == "!Char_%Player%!" call :Boardwalk
  452.  
  453. if "%1" == "Chance_Walked" exit /b
  454.  
  455. :: Changes the player
  456. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  457.  
  458.  
  459.  
  460. :: Counting the doublets
  461. set goto_immediately=0
  462. if defined DiceOne if defined DiceTwo if "%DiceOne%" == "%DiceTwo%" (
  463. set /a DiceAmount=!DiceAmount! + 1
  464. echo.
  465. echo You got a doublet [%DiceOne% - %DiceTwo%], you can do another round.
  466. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  467. set goto_immediately=1
  468. pause
  469. )
  470.  
  471. ::Checks if 3 doublets in a row. If so, sends the user to jail.
  472. if "!DiceAmount!" == "3" if "%DiceOne%" == "%DiceTwo%" (
  473. echo You got 3 doublets in a row, you are now sent to jail.
  474. set goto_immediately=0
  475. pause
  476. call :SendToJail Doublets
  477. )
  478. if not "!goto_immediately!" == "1" set DiceAmount=0
  479.  
  480. goto :FIELD
  481.  
  482.  
  483.  
  484.  
  485.  
  486. :: Start of fields.
  487.  
  488.  
  489. :GO
  490. :GO 1
  491. cls
  492. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  493. echo º º
  494. echo º ²²²²²²²²²²² º
  495. echo º ²²² º
  496. echo º ²²² º
  497. echo º ²²² º
  498. echo º ²²² ²²²²²² ²²²²²²²² º
  499. echo º ²²² ²²² ²² ²² º
  500. echo º ²²² ²²² ²² ²² º
  501. echo º ²²² ²²² ²² ²² º
  502. echo º ²²²²²²²²²² ²²²²²²²² º
  503. echo º º
  504. echo º º
  505. echo º º
  506. echo º º
  507. echo º Collect $200 as you pass or º
  508. echo º collect $400 as you meet. º
  509. echo º º
  510. echo º º
  511. echo º º
  512. echo º º
  513. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  514. echo.
  515. echo Current player: %Player% (!Char_%Player%!)
  516. set Puffer=!Money_%Player%!
  517. set /a Money_%Player%=!Money_%Player%! + 400
  518. echo ÄÄÄ^> Money increased from $%Puffer% by $400 to $!Money_%Player%!.
  519. echo.
  520. pause
  521. exit /b
  522.  
  523.  
  524.  
  525.  
  526. :MediterraneanAvenue
  527. :MediterraneanAvenue 2
  528. set Purchase=
  529. set Buy_House=
  530. set PayRent=
  531. set Sell_Street=
  532. if not defined MediterraneanAvenue_Houses set MediterraneanAvenue_Houses=0
  533. cls
  534. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  535. echo º º
  536. echo º Mediterranean Avenue º
  537. echo º º
  538. echo º PRICE $60 RENT $2 º
  539. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  540. echo º With 1 House $10 º
  541. echo º º
  542. echo º With 2 Houses $30 º
  543. echo º º
  544. echo º With 3 Houses $90 º
  545. echo º º
  546. echo º With 4 Houses $160 º
  547. echo º º
  548. echo º With HOTEL $250 º
  549. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  550. echo º One house costs $50 º
  551. echo º º
  552. echo º Mortgage value $30 º
  553. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  554. echo º º
  555. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  556. echo.
  557. echo Current player: %Player% (!Char_%Player%!)
  558. echo Total money: !Money_%Player%!
  559. echo.
  560. if "!MediterraneanAvenue!" == "%Player%" goto :MediterraneanAvenue_Houses
  561. if defined MediterraneanAvenue goto :MediterraneanAvenue_PayRent
  562. echo Press [1] to buy this street for $60 or
  563. echo press [2] to leave it.
  564. set /p Purchase=
  565. if "%Purchase%" == "1" (
  566. set Puffer=!Money_%Player%!
  567. set /a Money_%Player%=!Money_%Player%! - 60
  568. if "!Money_%Player%:~0,1!" == "-" (
  569. echo You have not enough money.
  570. set /a Money_%Player%=!Money_%Player%! + 60
  571. ) ELSE (
  572. echo ÄÄÄ^> Money decreased from $!Puffer! by $60 to $!Money_%Player%!.
  573. set MediterraneanAvenue=%Player%
  574. )
  575. pause
  576. exit /b
  577. )
  578. if "%Purchase%" == "2" exit /b
  579. goto :MediterraneanAvenue
  580. :MediterraneanAvenue_Houses
  581. :MediterraneanAvenue_Houses
  582. if "!MediterraneanAvenue_Houses!" == "5" (
  583. echo This street has got a hotel.
  584. pause
  585. exit /b
  586. ) ELSE (
  587. echo This street has got !MediterraneanAvenue_Houses! houses, yet.
  588. echo.
  589. )
  590. echo Press [1] to buy a new house or
  591. echo press [2] to leave it or
  592. echo press [3] to sell it for $30.
  593. set /p Buy_House=
  594. echo.
  595. if "%Buy_House%" == "1" (
  596. set Puffer=!Money_%Player%!
  597. set /a Money_%Player%=!Money_%Player%! - 50
  598. if "!Money_%Player%:~0,1!" == "-" (
  599. echo You have not enough money.
  600. set /a Money_%Player%=!Money_%Player%! + 50
  601. ) ELSE (
  602. echo ÄÄÄ^> Money decreased from $!Puffer! by $50 to $!Money_%Player%!.
  603. set /a MediterraneanAvenue_Houses=!MediterraneanAvenue_Houses! + 1
  604. if not "!MediterraneanAvenue_Houses!" == "5" (echo This street has got !MediterraneanAvenue_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  605. )
  606. pause
  607. exit /b
  608. )
  609. if "%Buy_House%" == "2" exit /b
  610. if "%Buy_House%" == "3" (
  611. echo Are you sure you want to sell the street? [Y/N]
  612. set /p Sell_Street=
  613. if /i "!Sell_Street!" == "n" exit /b
  614. if /i "!Sell_Street!" == "y" (
  615. set Puffer=!Money_%Player%!
  616. set /a Money_%Player%=!Money_%Player%! + 30
  617. echo ÄÄÄ^> Money increased from $!Puffer! by $30 to $!Money_%Player%!.
  618. set MediterraneanAvenue=
  619. set MediterraneanAvenue_Houses=0
  620. )
  621. )
  622. goto :MediterraneanAvenue_Houses
  623. :MediterraneanAvenue_PayRent
  624. :MediterraneanAvenue_PayRent
  625. if "!MediterraneanAvenue_Houses!" == "0" set PayRent=2
  626. if "!MediterraneanAvenue_Houses!" == "1" set PayRent=10
  627. if "!MediterraneanAvenue_Houses!" == "2" set PayRent=30
  628. if "!MediterraneanAvenue_Houses!" == "3" set PayRent=90
  629. if "!MediterraneanAvenue_Houses!" == "4" set PayRent=160
  630. if "!MediterraneanAvenue_Houses!" == "5" set PayRent=250
  631. echo This street is owned by the other player. You have to pay
  632. echo $%PayRent% to pass.
  633. set Puffer=!Money_%Player%!
  634. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  635. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  636. if "!Money_%Player%:~0,1!" == "-" (
  637. echo.
  638. pause
  639. cls
  640. echo Player %Player% [!Char_%Player%!] is bankrupt.
  641. echo.
  642. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  643. echo Player !Player! wins the game.
  644. echo.
  645. pause
  646. exit
  647. )
  648. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  649. set Player=!Player!
  650. set Puffer=!Money_%Player%!
  651. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  652. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  653. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  654. set Player=!Player!
  655. echo.
  656. pause
  657. exit /b
  658.  
  659.  
  660.  
  661.  
  662.  
  663. :CommunityChest
  664. :CommunityChest 3/18/34
  665. cls
  666. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  667. echo º Community Chest º
  668. echo º º
  669. echo º ################# º
  670. echo º #///////////////## º
  671. echo º #################I# º
  672. echo º #,,,,,,,,,,,,,,,#I# º
  673. echo º #,,,,,,,,,,,,,,,## º
  674. echo º #,,,,,,,,,,,,,,,# º
  675. echo º ################# º
  676. echo º #,,,,,,,,,,,,,,,## º
  677. echo º #,,,,,,,,,,,,,,,#I# º
  678. echo º #################II# º
  679. echo º #jjjjjjjjjjjjjjj#II# º
  680. echo º #jjjjjjjjjjjjjjj#I# º
  681. echo º #jjjjjjjjjjjjjjj## º
  682. echo º ################# º
  683. echo º º
  684. echo º You found a community º
  685. echo º chest, draw a card. º
  686. echo º º
  687. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  688. echo.
  689. echo Current player: %Player% (!Char_%Player%!)
  690. echo Total money: !Money_%Player%!
  691. echo.
  692. :ChooseCommunityCard
  693. :ChooseCommunityCard
  694. set /a ChooseCommunityCard=%random:~0,2% + 1
  695. if not "%ChooseCommunityCard:~1,1%" == "" if "%ChooseCommunityCard:~0,1%" GTR "1" (goto :ChooseCommunityCard) ELSE (if "%ChooseCommunityCard:~1,1%" GTR "6" goto :ChooseCommunityCard)
  696. if "!FreeOutOfJail_Community!" == "1" if "%ChooseCommunityCard%" == "7" goto :ChooseCommunityCard
  697. if "%ChooseCommunityCard%" == "1" set Var=%%A
  698. if "%ChooseCommunityCard%" == "2" set Var=%%B
  699. if "%ChooseCommunityCard%" == "3" set Var=%%C
  700. if "%ChooseCommunityCard%" == "4" set Var=%%D
  701. if "%ChooseCommunityCard%" == "5" set Var=%%E
  702. if "%ChooseCommunityCard%" == "6" set Var=%%F
  703. if "%ChooseCommunityCard%" == "7" set Var=%%G
  704. if "%ChooseCommunityCard%" == "8" set Var=%%H
  705. if "%ChooseCommunityCard%" == "9" set Var=%%I
  706. if "%ChooseCommunityCard%" == "10" set Var=%%J
  707. if "%ChooseCommunityCard%" == "11" set Var=%%K
  708. if "%ChooseCommunityCard%" == "12" set Var=%%L
  709. if "%ChooseCommunityCard%" == "13" set Var=%%M
  710. if "%ChooseCommunityCard%" == "14" set Var=%%N
  711. if "%ChooseCommunityCard%" == "15" set Var=%%O
  712. if "%ChooseCommunityCard%" == "16" set Var=%%P
  713. echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
  714. echo ³ Community Card ³
  715. echo ³ ³
  716. FOR /F "tokens=1-16 delims=/" %%A IN ("³ Grand Opera ³/³ Advance to Go. ³/³ You have won ³/³ Doctor's fee. ³/³ Christmas fund ³/³ You inherit ³/³Get ouf of Jail ³/³You are assessed³/³ From sale of ³/³ Pay school tax ³/³ Income tax ³/³ Receive for ³/³ Pay hospital ³/³ Go directly to ³/³ Life insurance ³/³ Bank error in ³/") DO echo %Var%
  717. FOR /F "tokens=1-16 delims=/" %%A IN ("³Opening: Collect³/³ Collect $200. ³/³second prize in ³/³ Pay $50. ³/³ matures. ³/³ $100. ³/³ free. ³/³ for street ³/³ stock you ³/³ of $150. ³/³ refund. ³/³ serviced $25. ³/³ $100. ³/³ Jail, do not ³/³ matures. ³/³ your favor. ³/") DO echo %Var%
  718. FOR /F "tokens=1-16 delims=/" %%A IN ("³ $50 from every ³/³ ³/³ a beauty ³/³ ³/³ Collect $100. ³/³ ³/³ This card may ³/³ repairs. ³/³ receive $45. ³/³ ³/³ Collect $20. ³/³ ³/³ ³/³pass Go, do not ³/³ Collect $100. ³/³ Collect $200. ³/") DO echo %Var%
  719. FOR /F "tokens=1-16 delims=/" %%A IN ("³ player for ³/³ ³/³ contest ³/³ ³/³ ³/³ ³/³ be kept until ³/³ Pay $40 per ³/³ ³/³ ³/³ ³/³ ³/³ ³/³ collect $200. ³/³ ³/³ ³/") DO echo %Var%
  720. FOR /F "tokens=1-16 delims=/" %%A IN ("³ opening night ³/³ ³/³ Collect $10 ³/³ ³/³ ³/³ ³/³needed, or sold.³/³ house and $115 ³/³ ³/³ ³/³ ³/³ ³/³ ³/³ ³/³ ³/³ ³/") DO echo %Var%
  721. FOR /F "tokens=1-16 delims=/" %%A IN ("³ seats. ³/³ ³/³ ³/³ ³/³ ³/³ ³/³ ³/³ per hotel. ³/³ ³/³ ³/³ ³/³ ³/³ ³/³ ³/³ ³/³ ³/") DO echo %Var%
  722. echo ³ ³
  723. echo ³ ³
  724. echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
  725. if "%ChooseCommunityCard%" == "1" (
  726. set Puffer=!Money_%Player%!
  727. set /a Money_%Player%=!Money_%Player%! + 50
  728. echo ÄÄÄ^> Money increased from $!Puffer! by $50 to $!Money_%Player%!.
  729. )
  730. if "%Player%" == "1" (set Player=2) ELSE (set Player=1)
  731. set Player=!Player!
  732. if "%ChooseCommunityCard%" == "1" (
  733. set Puffer=!Money_%Player%!
  734. set /a Money_%Player%=!Money_%Player%! - 50
  735. echo ÄÄÄ^> The other player's money decreased from $!Puffer! by $50 to $!Money_%Player%!.
  736. if "!Money_%Player%:~0,1!" == "-" (
  737. echo.
  738. pause
  739. cls
  740. echo Player %Player% [!Char_%Player%!] is bankrupt.
  741. echo.
  742. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  743. echo Player !Player! wins the game.
  744. echo.
  745. pause
  746. exit
  747. )
  748. )
  749. if "%Player%" == "1" (set Player=2) ELSE (set Player=1)
  750. set Player=!Player!
  751. if "%ChooseCommunityCard%" == "2" (
  752. set Field!Player%Player%Position!_%Player%=,
  753. set Player%Player%Position=1
  754. set Field1_%Player%=!Char_%Player%!
  755. call :SetFields
  756. call :FIELD Chance_Walked
  757. )
  758. if "%ChooseCommunityCard%" == "3" (
  759. set Puffer=!Money_%Player%!
  760. set /a Money_%Player%=!Money_%Player%! + 10
  761. echo ÄÄÄ^> Money increased from $!Puffer! by $10 to $!Money_%Player%!.
  762. )
  763. if "%ChooseCommunityCard%" == "4" (
  764. set Puffer=!Money_%Player%!
  765. set /a Money_%Player%=!Money_%Player%! - 50
  766. set /a Money_Parking=!Money_Parking! + 50
  767. echo ÄÄÄ^> Money decreased from $!Puffer! by $50 to $!Money_%Player%!.
  768. echo ^& $50 went into Free Parking.
  769. )
  770. if "%ChooseCommunityCard%" == "5" (
  771. set Puffer=!Money_%Player%!
  772. set /a Money_%Player%=!Money_%Player%! + 100
  773. echo ÄÄÄ^> Money increased from $!Puffer! by $100 to $!Money_%Player%!.
  774. )
  775. if "%ChooseCommunityCard%" == "6" (
  776. set Puffer=!Money_%Player%!
  777. set /a Money_%Player%=!Money_%Player%! + 100
  778. echo ÄÄÄ^> Money increased from $!Puffer! by $100 to $!Money_%Player%!.
  779. )
  780. if "%ChooseCommunityCard%" == "7" (
  781. set FreeOutOfJail_%Player%=1
  782. set FreeOutOfJail_Community=1
  783. )
  784. if "%ChooseCommunityCard%" == "8" (
  785. set Houses_%Player%=0
  786. set Hotels_%Player%=0
  787. set PayForHouses=0
  788. set PayForHotels=0
  789. set PayForHousesAndHotels=0
  790. FOR %%A IN (MediterraneanAvenue BalticAvenue ReadingRailroad OrientalAvenue VermontAvenue ConnecticutAvenue St.CharlesPlace ElectricCompany StatesAvenue VirginiaAvenue PennsylvaniaRailroad St.JamesPlace TennesseeAvenue NewYorkAvenue KentuckyAvenue IndianaAvenue IllinoisAvenue B.O.Railroad AtlanticAvenue VeninorAvenue WaterWorks MarvinGardens PacificAvenue NorthCarolinaAvenue PennsylvaniaAvenue ShortLine ParkPlace Boardwalk) DO (
  791. if "!%%A!" == "%Player%" (
  792. if not "!%%A_Houses!" == "5" (set /a Houses_%Player%=!Houses_%Player%! + !%%A_Houses!) ELSE (set /a Hotels_%Player%=!Hotels_%Player%! + 1)
  793. )
  794. )
  795. set /a PayForHouses=!Houses_%Player%! * 40
  796. set /a PayForHotels=!Hotels_%Player%! * 115
  797. echo You have to pay $!PayForHouses! for !Houses_%Player%! houses and
  798. echo you have to pay $!PayForHotels! for !Hotels_%Player%! hotels.
  799. echo.
  800. set /a PayForHousesAndHotels=!PayForHouses! + !PayForHotels!
  801. set Puffer=!Money_%Player%!
  802. set /a Money_%Player%=!Money_%Player%! - !PayForHousesAndHotels!
  803. set /a Money_Parking=!Money_Parking! + !PayForHousesAndHotels!
  804. echo ÄÄÄ^> Money decreased from $!Puffer! by $!PayForHousesAndHotels! to $!Money_%Player%!.
  805. echo ^& $!PayForHousesAndHotels! went into Free Parking.
  806. if "!Money_%Player%:~0,1!" == "-" (
  807. echo.
  808. pause
  809. cls
  810. echo Player %Player% [!Char_%Player%!] is bankrupt.
  811. echo.
  812. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  813. echo Player !Player! wins the game.
  814. echo.
  815. pause
  816. exit
  817. )
  818. )
  819. if "%ChooseCommunityCard%" == "9" (
  820. set Puffer=!Money_%Player%!
  821. set /a Money_%Player%=!Money_%Player%! + 45
  822. echo ÄÄÄ^> Money increased from $!Puffer! by $45 to $!Money_%Player%!.
  823. )
  824. if "%ChooseCommunityCard%" == "10" (
  825. set Puffer=!Money_%Player%!
  826. set /a Money_%Player%=!Money_%Player%! - 150
  827. set /a Money_Parking=!Money_Parking! + 150
  828. echo ÄÄÄ^> Money decreased from $!Puffer! by $150 to $!Money_%Player%!.
  829. echo ^& $150 went into Free Parking.
  830. )
  831. if "%ChooseCommunityCard%" == "11" (
  832. set Puffer=!Money_%Player%!
  833. set /a Money_%Player%=!Money_%Player%! + 20
  834. echo ÄÄÄ^> Money increased from $!Puffer! by $20 to $!Money_%Player%!.
  835. )
  836. if "%ChooseCommunityCard%" == "12" (
  837. set Puffer=!Money_%Player%!
  838. set /a Money_%Player%=!Money_%Player%! + 25
  839. echo ÄÄÄ^> Money increased from $!Puffer! by $25 to $!Money_%Player%!.
  840. )
  841. if "%ChooseCommunityCard%" == "13" (
  842. set Puffer=!Money_%Player%!
  843. set /a Money_%Player%=!Money_%Player%! - 100
  844. set /a Money_Parking=!Money_Parking! + 100
  845. echo ÄÄÄ^> Money decreased from $!Puffer! by $100 to $!Money_%Player%!.
  846. echo ^& $100 went into Free Parking.
  847. )
  848. if "%ChooseCommunityCard%" == "14" (
  849. pause
  850. call :SendToJail
  851. )
  852. if "%ChooseCommunityCard%" == "15" (
  853. set Puffer=!Money_%Player%!
  854. set /a Money_%Player%=!Money_%Player%! + 100
  855. echo ÄÄÄ^> Money increased from $!Puffer! by $100 to $!Money_%Player%!.
  856. )
  857. if "%ChooseCommunityCard%" == "16" (
  858. set Puffer=!Money_%Player%!
  859. set /a Money_%Player%=!Money_%Player%! + 200
  860. echo ÄÄÄ^> Money increased from $!Puffer! by $200 to $!Money_%Player%!.
  861. )
  862. pause
  863. exit /b
  864.  
  865.  
  866.  
  867.  
  868. :BalticAvenue
  869. :BalticAvenue 4
  870. set Purchase=
  871. set Buy_House=
  872. set PayRent=
  873. set Sell_Street=
  874. if not defined BalticAvenue_Houses set BalticAvenue_Houses=0
  875. cls
  876. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  877. echo º º
  878. echo º Baltic Avenue º
  879. echo º º
  880. echo º PRICE $60 RENT $4 º
  881. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  882. echo º With 1 House $20 º
  883. echo º º
  884. echo º With 2 Houses $60 º
  885. echo º º
  886. echo º With 3 Houses $180 º
  887. echo º º
  888. echo º With 4 Houses $320 º
  889. echo º º
  890. echo º With HOTEL $450 º
  891. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  892. echo º One house costs $50 º
  893. echo º º
  894. echo º Mortgage value $30 º
  895. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  896. echo º º
  897. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  898. echo.
  899. echo Current player: %Player% (!Char_%Player%!)
  900. echo Total money: !Money_%Player%!
  901. echo.
  902. if "!BalticAvenue!" == "%Player%" goto :BalticAvenue_Houses
  903. if defined BalticAvenue goto :BalticAvenue_PayRent
  904. echo Press [1] to buy this street for $60 or
  905. echo press [2] to leave it.
  906. set /p Purchase=
  907. if "%Purchase%" == "1" (
  908. set Puffer=!Money_%Player%!
  909. set /a Money_%Player%=!Money_%Player%! - 60
  910. if "!Money_%Player%:~0,1!" == "-" (
  911. echo You have not enough money.
  912. set /a Money_%Player%=!Money_%Player%! + 60
  913. ) ELSE (
  914. echo ÄÄÄ^> Money decreased from $!Puffer! by $60 to $!Money_%Player%!.
  915. set BalticAvenue=%Player%
  916. )
  917. pause
  918. exit /b
  919. )
  920. if "%Purchase%" == "2" exit /b
  921. goto :BalticAvenue
  922. :BalticAvenue_Houses
  923. :BalticAvenue_Houses
  924. if "!BalticAvenue_Houses!" == "5" (
  925. echo This street has got a hotel.
  926. pause
  927. exit /b
  928. ) ELSE (
  929. echo This street has got !BalticAvenue_Houses! houses, yet.
  930. echo.
  931. )
  932. echo Press [1] to buy a new house or
  933. echo press [2] to leave it or
  934. echo press [3] to sell it for $30.
  935. set /p Buy_House=
  936. echo.
  937. if "%Buy_House%" == "1" (
  938. set Puffer=!Money_%Player%!
  939. set /a Money_%Player%=!Money_%Player%! - 50
  940. if "!Money_%Player%:~0,1!" == "-" (
  941. echo You have not enough money.
  942. set /a Money_%Player%=!Money_%Player%! + 50
  943. ) ELSE (
  944. echo ÄÄÄ^> Money decreased from $!Puffer! by $50 to $!Money_%Player%!.
  945. set /a BalticAvenue_Houses=!BalticAvenue_Houses! + 1
  946. if not "!BalticAvenue_Houses!" == "5" (echo This street has got !BalticAvenue_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  947. )
  948. pause
  949. exit /b
  950. )
  951. if "%Buy_House%" == "2" exit /b
  952. if "%Buy_House%" == "3" (
  953. echo Are you sure you want to sell the street? [Y/N]
  954. set /p Sell_Street=
  955. if /i "!Sell_Street!" == "n" exit /b
  956. if /i "!Sell_Street!" == "y" (
  957. set Puffer=!Money_%Player%!
  958. set /a Money_%Player%=!Money_%Player%! + 30
  959. echo ÄÄÄ^> Money increased from $!Puffer! by $30 to $!Money_%Player%!.
  960. set BalticAvenue=
  961. set BalticAvenue_Houses=0
  962. )
  963. )
  964. goto :BalticAvenue_Houses
  965. :BalticAvenue_PayRent
  966. :BalticAvenue_PayRent
  967. if "!BalticAvenue_Houses!" == "0" set PayRent=4
  968. if "!BalticAvenue_Houses!" == "1" set PayRent=20
  969. if "!BalticAvenue_Houses!" == "2" set PayRent=60
  970. if "!BalticAvenue_Houses!" == "3" set PayRent=180
  971. if "!BalticAvenue_Houses!" == "4" set PayRent=320
  972. if "!BalticAvenue_Houses!" == "5" set PayRent=450
  973. echo This street is owned by the other player. You have to pay
  974. echo $%PayRent% to pass.
  975. set Puffer=!Money_%Player%!
  976. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  977. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  978. if "!Money_%Player%:~0,1!" == "-" (
  979. echo.
  980. pause
  981. cls
  982. echo Player %Player% [!Char_%Player%!] is bankrupt.
  983. echo.
  984. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  985. echo Player !Player! wins the game.
  986. echo.
  987. pause
  988. exit
  989. )
  990. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  991. set Player=!Player!
  992. set Puffer=!Money_%Player%!
  993. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  994. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  995. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  996. set Player=!Player!
  997. echo.
  998. pause
  999. exit /b
  1000.  
  1001.  
  1002.  
  1003.  
  1004. :IncomeTax
  1005. :IncomeTax 5
  1006. set IncomeTax=
  1007. cls
  1008. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  1009. echo º INCOME º
  1010. echo º º
  1011. echo º TAX º
  1012. echo º º
  1013. echo º º
  1014. echo º You can pay 10%% of º
  1015. echo º º
  1016. echo º your total money º
  1017. echo º º
  1018. echo º amount or you can pay º
  1019. echo º º
  1020. echo º$200 to pass this field.º
  1021. echo º º
  1022. echo º º
  1023. echo º º
  1024. echo º º
  1025. echo º º
  1026. echo º º
  1027. echo º º
  1028. echo º º
  1029. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  1030. echo.
  1031. echo Current player: %Player% (!Char_%Player%!)
  1032. echo Total money: !Money_%Player%!
  1033. echo.
  1034. echo Press [1] to pay 10%% of your total money or
  1035. echo press [2] to pay $200.
  1036. set /p IncomeTax=
  1037. if "%IncomeTax%" == "1" (
  1038. set /a Decrease=!Money_%Player%! / 10
  1039. set Puffer=!Money_%Player%!
  1040. set /a Money_%Player%=!Money_%Player%! - !Decrease!
  1041. set /a Money_Parking=!Money_Parking! + !Decrease!
  1042. echo ÄÄÄ^> Money decreased from $!Puffer! by $!Decrease! to $!Money_%Player%!.
  1043. echo ^& $!Decrease! went into Free Parking.
  1044. set IncomeTax=Done
  1045. )
  1046. if "%IncomeTax%" == "2" (
  1047. set Puffer=!Money_%Player%!
  1048. set /a Money_%Player%=!Money_%Player%! - 200
  1049. if "!Money_%Player%:~0,1!" == "-" (
  1050. echo You have not enough money.
  1051. set /a Money_%Player%=!Money_%Player%! + 200
  1052. ) ELSE (
  1053. set /a Money_Parking=!Money_Parking! + 200
  1054. echo ÄÄÄ^> Money decreased from $!Puffer! by $200 to $!Money_%Player%!.
  1055. echo ^& $200 went into Free Parking.
  1056. set IncomeTax=Done
  1057. )
  1058. )
  1059. if not "!IncomeTax!" == "Done" goto :IncomeTax
  1060. echo.
  1061. pause
  1062. exit /b
  1063.  
  1064.  
  1065.  
  1066.  
  1067. :ReadingRailroad
  1068. :ReadingRailroad 6
  1069. set Purchase=
  1070. set PayRent=
  1071. set Buy_House=
  1072. set Sell_Street=
  1073. set RailroadAmount=0
  1074. cls
  1075. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  1076. echo º º
  1077. echo º Reading Railroad º
  1078. echo º º
  1079. echo º PRICE $200 º
  1080. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  1081. echo º º
  1082. echo º º
  1083. echo º If 1 owned $25 º
  1084. echo º º
  1085. echo º If 2 owned $50 º
  1086. echo º º
  1087. echo º If 3 owned $100 º
  1088. echo º º
  1089. echo º If 4 owned $200 º
  1090. echo º º
  1091. echo º º
  1092. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  1093. echo º Mortgage value $100 º
  1094. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  1095. echo º º
  1096. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  1097. echo.
  1098. echo Current player: %Player% (!Char_%Player%!)
  1099. echo Total money: !Money_%Player%!
  1100. echo.
  1101. if "!ReadingRailroad!" == "%Player%" goto :ReadingRailroad_Houses
  1102. if defined ReadingRailroad goto :ReadingRailroad_PayRent
  1103. echo Press [1] to buy this railroad for $200 or
  1104. echo press [2] to leave it.
  1105. set /p Purchase=
  1106. if "%Purchase%" == "1" (
  1107. set Puffer=!Money_%Player%!
  1108. set /a Money_%Player%=!Money_%Player%! - 200
  1109. if "!Money_%Player%:~0,1!" == "-" (
  1110. echo You have not enough money.
  1111. set /a Money_%Player%=!Money_%Player%! + 200
  1112. ) ELSE (
  1113. echo ÄÄÄ^> Money decreased from $!Puffer! by $200 to $!Money_%Player%!.
  1114. set ReadingRailroad=%Player%
  1115. )
  1116. pause
  1117. exit /b
  1118. )
  1119. if "%Purchase%" == "2" exit /b
  1120. goto :ReadingRailroad
  1121. :ReadingRailroad_Houses
  1122. :ReadingRailroad_Houses
  1123. echo This railroad is yours.
  1124. echo.
  1125. echo Press [2] to leave it or
  1126. echo press [3] to sell it for $100.
  1127. set /p Buy_House=
  1128. echo.
  1129. if "%Buy_House%" == "2" exit /b
  1130. if "%Buy_House%" == "3" (
  1131. echo Are you sure you want to sell this railroad? [Y/N]
  1132. set /p Sell_Street=
  1133. if /i "!Sell_Street!" == "n" exit /b
  1134. if /i "!Sell_Street!" == "y" (
  1135. set Puffer=!Money_%Player%!
  1136. set /a Money_%Player%=!Money_%Player%! + 100
  1137. echo ÄÄÄ^> Money increased from $!Puffer! by $100 to $!Money_%Player%!.
  1138. set ReadingRailroad=
  1139. )
  1140. )
  1141. goto :ReadingRailroad_Houses
  1142. :ReadingRailroad_PayRent
  1143. :ReadingRailroad_PayRent
  1144. if "%Player%" == "1" (set Player=2) ELSE (set Player=1)
  1145. set Player=!Player!
  1146. FOR %%A IN (ReadingRailroad PennsylvaniaRailroad B.O.Railroad ShortLineRailroad) DO if "!%%A!" == "%Player%" set /a RailroadAmount=!RailroadAmount! + 1
  1147. if "%Player%" == "1" (set Player=2) ELSE (set Player=1)
  1148. set Player=!Player!
  1149. echo The other player owns !RailroadAmount! of 4 railroads.
  1150. if "!RailroadAmount!" == "1" set PayRent=25
  1151. if "!RailroadAmount!" == "2" set PayRent=50
  1152. if "!RailroadAmount!" == "3" set PayRent=100
  1153. if "!RailroadAmount!" == "4" set PayRent=200
  1154. if "!RentalTwice!" == "1" set /a PayRent=%PayRent% * 2
  1155. set Puffer=!Money_%Player%!
  1156. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  1157. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  1158. if "!Money_%Player%:~0,1!" == "-" (
  1159. echo.
  1160. pause
  1161. cls
  1162. echo Player %Player% [!Char_%Player%!] is bankrupt.
  1163. echo.
  1164. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  1165. echo Player !Player! wins the game.
  1166. echo.
  1167. pause
  1168. exit
  1169. )
  1170. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  1171. set Player=!Player!
  1172. set Puffer=!Money_%Player%!
  1173. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  1174. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  1175. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  1176. set Player=!Player!
  1177. echo.
  1178. pause
  1179. exit /b
  1180.  
  1181.  
  1182.  
  1183.  
  1184. :OrientalAvenue
  1185. :OrientalAvenue 7
  1186. set Purchase=
  1187. set Buy_House=
  1188. set PayRent=
  1189. set Sell_Street=
  1190. if not defined OrientalAvenue_Houses set OrientalAvenue_Houses=0
  1191. cls
  1192. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  1193. echo º º
  1194. echo º Oriental Avenue º
  1195. echo º º
  1196. echo º PRICE $100 RENT $6 º
  1197. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  1198. echo º With 1 House $30 º
  1199. echo º º
  1200. echo º With 2 Houses $90 º
  1201. echo º º
  1202. echo º With 3 Houses $270 º
  1203. echo º º
  1204. echo º With 4 Houses $400 º
  1205. echo º º
  1206. echo º With HOTEL $550 º
  1207. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  1208. echo º One house costs $50 º
  1209. echo º º
  1210. echo º Mortgage value $50 º
  1211. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  1212. echo º º
  1213. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  1214. echo.
  1215. echo Current player: %Player% (!Char_%Player%!)
  1216. echo Total money: !Money_%Player%!
  1217. echo.
  1218. if "!OrientalAvenue!" == "%Player%" goto :OrientalAvenue_Houses
  1219. if defined OrientalAvenue goto :OrientalAvenue_PayRent
  1220. echo Press [1] to buy this street for $100 or
  1221. echo press [2] to leave it.
  1222. set /p Purchase=
  1223. if "%Purchase%" == "1" (
  1224. set Puffer=!Money_%Player%!
  1225. set /a Money_%Player%=!Money_%Player%! - 100
  1226. if "!Money_%Player%:~0,1!" == "-" (
  1227. echo You have not enough money.
  1228. set /a Money_%Player%=!Money_%Player%! + 100
  1229. ) ELSE (
  1230. echo ÄÄÄ^> Money decreased from $!Puffer! by $100 to $!Money_%Player%!.
  1231. set OrientalAvenue=%Player%
  1232. )
  1233. pause
  1234. exit /b
  1235. )
  1236. if "%Purchase%" == "2" exit /b
  1237. goto :OrientalAvenue
  1238. :OrientalAvenue_Houses
  1239. :OrientalAvenue_Houses
  1240. if "!OrientalAvenue_Houses!" == "5" (
  1241. echo This street has got a hotel.
  1242. pause
  1243. exit /b
  1244. ) ELSE (
  1245. echo This street has got !OrientalAvenue_Houses! houses, yet.
  1246. echo.
  1247. )
  1248. echo Press [1] to buy a new house or
  1249. echo press [2] to leave it or
  1250. echo press [3] to sell it for $50.
  1251. set /p Buy_House=
  1252. echo.
  1253. if "%Buy_House%" == "1" (
  1254. set Puffer=!Money_%Player%!
  1255. set /a Money_%Player%=!Money_%Player%! - 50
  1256. if "!Money_%Player%:~0,1!" == "-" (
  1257. echo You have not enough money.
  1258. set /a Money_%Player%=!Money_%Player%! + 50
  1259. ) ELSE (
  1260. echo ÄÄÄ^> Money decreased from $!Puffer! by $50 to $!Money_%Player%!.
  1261. set /a OrientalAvenue_Houses=!OrientalAvenue_Houses! + 1
  1262. if not "!OrientalAvenue_Houses!" == "5" (echo This street has got !OrientalAvenue_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  1263. )
  1264. pause
  1265. exit /b
  1266. )
  1267. if "%Buy_House%" == "2" exit /b
  1268. if "%Buy_House%" == "3" (
  1269. echo Are you sure you want to sell the street? [Y/N]
  1270. set /p Sell_Street=
  1271. if /i "!Sell_Street!" == "n" exit /b
  1272. if /i "!Sell_Street!" == "y" (
  1273. set Puffer=!Money_%Player%!
  1274. set /a Money_%Player%=!Money_%Player%! + 50
  1275. echo ÄÄÄ^> Money increased from $!Puffer! by $50 to $!Money_%Player%!.
  1276. set OrientalAvenue=
  1277. set OrientalAvenue_Houses=0
  1278. )
  1279. )
  1280. goto :OrientalAvenue_Houses
  1281. :OrientalAvenue_PayRent
  1282. :OrientalAvenue_PayRent
  1283. if "!OrientalAvenue_Houses!" == "0" set PayRent=6
  1284. if "!OrientalAvenue_Houses!" == "1" set PayRent=30
  1285. if "!OrientalAvenue_Houses!" == "2" set PayRent=90
  1286. if "!OrientalAvenue_Houses!" == "3" set PayRent=270
  1287. if "!OrientalAvenue_Houses!" == "4" set PayRent=400
  1288. if "!OrientalAvenue_Houses!" == "5" set PayRent=550
  1289. echo This street is owned by the other player. You have to pay
  1290. echo $%PayRent% to pass.
  1291. set Puffer=!Money_%Player%!
  1292. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  1293. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  1294. if "!Money_%Player%:~0,1!" == "-" (
  1295. echo.
  1296. pause
  1297. cls
  1298. echo Player %Player% [!Char_%Player%!] is bankrupt.
  1299. echo.
  1300. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  1301. echo Player !Player! wins the game.
  1302. echo.
  1303. pause
  1304. exit
  1305. )
  1306. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  1307. set Player=!Player!
  1308. set Puffer=!Money_%Player%!
  1309. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  1310. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  1311. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  1312. set Player=!Player!
  1313. echo.
  1314. pause
  1315. exit /b
  1316.  
  1317.  
  1318.  
  1319.  
  1320. :Chance
  1321. :Chance 8/23/37
  1322. cls
  1323. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  1324. echo º Chance º
  1325. echo º º
  1326. echo º KKKKKKK º
  1327. echo º KKKj KKK º
  1328. echo º KKK KKK º
  1329. echo º KKK KKK º
  1330. echo º KK KKK º
  1331. echo º KKK º
  1332. echo º KKK º
  1333. echo º KKK º
  1334. echo º KKK º
  1335. echo º KKK º
  1336. echo º KKK º
  1337. echo º KKK º
  1338. echo º º
  1339. echo º KKK º
  1340. echo º KKK º
  1341. echo º º
  1342. echo º Draw a card. º
  1343. echo º º
  1344. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  1345. echo.
  1346. echo Current player: %Player% (!Char_%Player%!)
  1347. echo Total money: !Money_%Player%!
  1348. echo.
  1349. :ChooseChanceCard
  1350. :ChooseChanceCard
  1351. set /a ChooseChanceCard=%random:~0,2% + 1
  1352. if not "%ChooseChanceCard:~1,1%" == "" if "%ChooseChanceCard:~0,1%" GTR "1" (goto :ChooseChanceCard) ELSE (if "%ChooseChanceCard:~1,1%" GTR "6" goto :ChooseChanceCard)
  1353. if "!FreeOutOfJail_Chance!" == "1" if "%ChooseChanceCard%" == "12" goto :ChooseChanceCard
  1354. if "%ChooseChanceCard%" == "16" set ChooseChanceCard=7
  1355. if "%ChooseChanceCard%" == "1" set Var=%%A
  1356. if "%ChooseChanceCard%" == "2" set Var=%%B
  1357. if "%ChooseChanceCard%" == "3" set Var=%%C
  1358. if "%ChooseChanceCard%" == "4" set Var=%%D
  1359. if "%ChooseChanceCard%" == "5" set Var=%%E
  1360. if "%ChooseChanceCard%" == "6" set Var=%%F
  1361. if "%ChooseChanceCard%" == "7" set Var=%%G
  1362. if "%ChooseChanceCard%" == "8" set Var=%%H
  1363. if "%ChooseChanceCard%" == "9" set Var=%%I
  1364. if "%ChooseChanceCard%" == "10" set Var=%%J
  1365. if "%ChooseChanceCard%" == "11" set Var=%%K
  1366. if "%ChooseChanceCard%" == "12" set Var=%%L
  1367. if "%ChooseChanceCard%" == "13" set Var=%%M
  1368. if "%ChooseChanceCard%" == "14" set Var=%%N
  1369. if "%ChooseChanceCard%" == "15" set Var=%%O
  1370. echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
  1371. echo ³ Chance Card ³
  1372. echo ³ ³
  1373. FOR /F "tokens=1-15 delims=/" %%A IN ("³ Your building ³/³ Bank pays you ³/³ Go back ³/³ Make general ³/³ Take a walk on ³/³Advance token to³/³Advance token to³/³ Advance to ³/³ Pay poor tax ³/³ Advance to Go. ³/³ Advance to St. ³/³Get out of Jail ³/³ Take a ride on ³/³ Go directly to ³/³ You have been ³/") DO echo %Var%
  1374. FOR /F "tokens=1-15 delims=/" %%A IN ("³ and loan ³/³ dividend of ³/³ 3 spaces. ³/³ repairs on all ³/³ the Boardwalk. ³/³nearest utility.³/³ the nearest ³/³Illinois Avenue.³/³ of $15. ³/³ ³/³ Charles Place. ³/³ free. ³/³ the Reading ³/³ Jail, do not ³/³elected Chairman³/") DO echo %Var%
  1375. FOR /F "tokens=1-15 delims=/" %%A IN ("³ matures. ³/³ $50. ³/³ ³/³ your property. ³/³ Advance token ³/³If unowned, you ³/³Railroad and pay³/³ ³/³ ³/³ ³/³If you pass Go, ³/³This card may be³/³ Railroad. ³/³pass Go, do not ³/³ of the board. ³/") DO echo %Var%
  1376. FOR /F "tokens=1-15 delims=/" %%A IN ("³ Collect $150. ³/³ ³/³ ³/³Pay $25 for each³/³ to Boardwalk. ³/³may buy it from ³/³the owner twice ³/³If you pass Go, ³/³ ³/³ ³/³ collect $200. ³/³ kept until ³/³If you pass Go, ³/³ collect $200. ³/³Pay each player ³/") DO echo %Var%
  1377. FOR /F "tokens=1-15 delims=/" %%A IN ("³ ³/³ ³/³ ³/³ house and $100 ³/³ ³/³ the Bank. If ³/³ the rental. If ³/³ collect $200. ³/³ ³/³ ³/³ ³/³needed, or sold.³/³ collect $200. ³/³ ³/³ $50. ³/") DO echo %Var%
  1378. FOR /F "tokens=1-15 delims=/" %%A IN ("³ ³/³ ³/³ ³/³ for each hotel.³/³ ³/³ owned, throw ³/³unowned, you may³/³ ³/³ ³/³ ³/³ ³/³ ³/³ ³/³ ³/³ ³/") DO echo %Var%
  1379. if "%ChooseChanceCard%" == "6" (echo ³dice and pay the³) ELSE (if "%ChooseChanceCard%" == "7" (echo ³buy it from bank³) ELSE (echo ³ ³))
  1380. if "%ChooseChanceCard%" == "6" (echo ³ owner a total ³) ELSE (echo ³ ³)
  1381. if "%ChooseChanceCard%" == "6" echo ³ ten times the ³
  1382. if "%ChooseChanceCard%" == "6" echo ³ amount thrown. ³
  1383. echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
  1384. if "%ChooseChanceCard%" == "1" (
  1385. set Puffer=!Money_%Player%!
  1386. set /a Money_%Player%=!Money_%Player%! + 150
  1387. echo ÄÄÄ^> Money increased from $!Puffer! by $150 to $!Money_%Player%!.
  1388. )
  1389. if "%ChooseChanceCard%" == "2" (
  1390. set Puffer=!Money_%Player%!
  1391. set /a Money_%Player%=!Money_%Player%! + 50
  1392. echo ÄÄÄ^> Money increased from $!Puffer! by $50 to $!Money_%Player%!.
  1393. )
  1394. if "%ChooseChanceCard%" == "3" (
  1395. set Field!Player%Player%Position!_%Player%=
  1396. set /a Player%Player%Position=!Player%Player%Position! - 3
  1397. set Field!Player%Player%Position!_%Player%=!Char_%Player%!
  1398. call :SetFields
  1399. call :FIELD Chance_Walked
  1400. )
  1401. if "%ChooseChanceCard%" == "4" (
  1402. set Houses_%Player%=0
  1403. set Hotels_%Player%=0
  1404. set PayForHouses=0
  1405. set PayForHotels=0
  1406. set PayForHousesAndHotels=0
  1407. FOR %%A IN (MediterraneanAvenue BalticAvenue ReadingRailroad OrientalAvenue VermontAvenue ConnecticutAvenue St.CharlesPlace ElectricCompany StatesAvenue VirginiaAvenue PennsylvaniaRailroad St.JamesPlace TennesseeAvenue NewYorkAvenue KentuckyAvenue IndianaAvenue IllinoisAvenue B.O.Railroad AtlanticAvenue VeninorAvenue WaterWorks MarvinGardens PacificAvenue NorthCarolinaAvenue PennsylvaniaAvenue ShortLine ParkPlace Boardwalk) DO (
  1408. if "!%%A!" == "%Player%" (
  1409. if not "!%%A_Houses!" == "5" (set /a Houses_%Player%=!Houses_%Player%! + !%%A_Houses!) ELSE (set /a Hotels_%Player%=!Hotels_%Player%! + 1)
  1410. )
  1411. )
  1412. set /a PayForHouses=!Houses_%Player%! * 25
  1413. set /a PayForHotels=!Hotels_%Player%! * 100
  1414. echo You have to pay $!PayForHouses! for !Houses_%Player%! houses and
  1415. echo you have to pay $!PayForHotels! for !Hotels_%Player%! hotels.
  1416. echo.
  1417. set /a PayForHousesAndHotels=!PayForHouses! + !PayForHotels!
  1418. set Puffer=!Money_%Player%!
  1419. set /a Money_%Player%=!Money_%Player%! - !PayForHousesAndHotels!
  1420. set /a Money_Parking=!Money_Parking! + !PayForHousesAndHotels!
  1421. echo ÄÄÄ^> Money decreased from $!Puffer! by $!PayForHousesAndHotels! to $!Money_%Player%!.
  1422. echo ^& $!PayForHousesAndHotels! went into Free Parking.
  1423. if "!Money_%Player%:~0,1!" == "-" (
  1424. echo.
  1425. pause
  1426. cls
  1427. echo Player %Player% [!Char_%Player%!] is bankrupt.
  1428. echo.
  1429. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  1430. echo Player !Player! wins the game.
  1431. echo.
  1432. pause
  1433. exit
  1434. )
  1435. )
  1436. if "%ChooseChanceCard%" == "5" (
  1437. set Field!Player%Player%Position!_%Player%=
  1438. set Player%Player%Position=40
  1439. set Field40_%Player%=!Char_%Player%!
  1440. call :SetFields
  1441. call :FIELD Chance_Walked
  1442. )
  1443. if "%ChooseChanceCard%" == "6" (
  1444. :Chance_RollADice
  1445. set DiceOne=%random:~0,1%
  1446. set DiceTwo=%random:~0,1%
  1447. if "!DiceOne!" EQU "0" goto :Chance_RollADice
  1448. if "!DiceOne!" GTR "6" goto :Chance_RollADice
  1449. if "!DiceTwo!" EQU "0" goto :Chance_RollADice
  1450. if "!DiceTwo!" GTR "6" goto :Chance_RollADice
  1451. set /a Dice=!DiceOne! + !DiceTwo!
  1452. if "!Player%Player%Position!" == "8" (
  1453. set Field8_%Player%=
  1454. set Field12_%Player%=!Char_%Player%!
  1455. set Player%Player%Position=12
  1456. call :ElectricCompany CameByChance
  1457. ) ELSE (
  1458. set Field!Player%Player%Position!_%Player%=
  1459. set Field29_%Player%=!Char_%Player%!
  1460. set Player%Player%Position=29
  1461. call :SetFields
  1462. call :WaterWorks CameByChance
  1463. )
  1464. )
  1465. if "%ChooseChanceCard%" == "7" (
  1466. if "!Player%Player%Position:~1,1!" == "" (
  1467. set Field!Player%Player%Position!_%Player%=
  1468. set Field6_%Player%=!Char_%Player%!
  1469. set Player%Player%Position=6
  1470. ) ELSE (
  1471. set Field!Player%Player%Position!_%Player%=
  1472. set Field!Player%Player%Position:~0,1!6_%Player%=!Char_%Player%!
  1473. set Player%Player%Position=!Player%Player%Position:~0,1!6
  1474. )
  1475. set RentalTwice=1
  1476. call :SetFields
  1477. call :FIELD Chance_Walked
  1478. )
  1479. if "%ChooseChanceCard%" == "8" (
  1480. if "!Player%Player%Position!" == "37" (
  1481. set Puffer=!Money_%Player%!
  1482. set /a Money_%Player%=!Money_%Player%! + 200
  1483. echo ÄÄÄ^> Money increased from $!Puffer! by $200 to $!Money_%Player%! by passing Go.
  1484. pause
  1485. )
  1486. set Field!Player%Player%Position!_%Player%=
  1487. set Player%Player%Position=25
  1488. set Field25_%Player%=!Char_%Player%!
  1489. call :SetFields
  1490. call :FIELD Chance_Walked
  1491. )
  1492. if "%ChooseChanceCard%" == "9" (
  1493. set Puffer=!Money_%Player%!
  1494. set /a Money_%Player%=!Money_%Player%! - 15
  1495. set /a Money_Parking=!Money_Parking! + 15
  1496. echo ÄÄÄ^> Money decreased from $!Puffer! by $15 to $!Money_%Player%!.
  1497. echo ^& $15 went into Free Parking.
  1498. )
  1499. pause
  1500. if "%ChooseChanceCard%" == "10" (
  1501. set Field!Player%Player%Position!_%Player%=
  1502. set Player%Player%Position=1
  1503. set Field1_%Player%=!Char_%Player%!
  1504. call :SetFields
  1505. call :FIELD Chance_Walked
  1506. )
  1507. if "%ChooseChanceCard%" == "11" (
  1508. if not "!Player%Player%Position!" == "8" (
  1509. set Puffer=!Money_%Player%!
  1510. set /a Money_%Player%=!Money_%Player%! + 200
  1511. echo ÄÄÄ^> Money increased from $!Puffer! by $200 to $!Money_%Player%! by passing Go.
  1512. pause
  1513. )
  1514. set Field!Player%Player%Position!_%Player%=
  1515. set Player%Player%Position=12
  1516. set Field12_%Player%=!Char_%Player%!
  1517. call :SetFields
  1518. call :FIELD Chance_Walked
  1519. )
  1520. if "%ChooseChanceCard%" == "12" (
  1521. set FreeOutOfJail_%Player%=1
  1522. set FreeOutOfJail_Chance=1
  1523. )
  1524. if "%ChooseChanceCard%" == "13" (
  1525. set Puffer=!Money_%Player%!
  1526. set /a Money_%Player%=!Money_%Player%! + 200
  1527. echo ÄÄÄ^> Money increased from $!Puffer! by $200 to $!Money_%Player%! by passing Go.
  1528. pause
  1529. set Field!Player%Player%Position!_%Player%=
  1530. set Player%Player%Position=6
  1531. set Field6_%Player%=!Char_%Player%!
  1532. call :SetFields
  1533. call :FIELD Chance_Walked
  1534. )
  1535. if "%ChooseChanceCard%" == "14" (
  1536. pause
  1537. call :SendToJail
  1538. )
  1539. if "%ChooseChanceCard%" == "15" (
  1540. set Puffer=!Money_%Player%!
  1541. set /a Money_%Player%=!Money_%Player%! - 50
  1542. echo ÄÄÄ^> Money decreased from $!Puffer! by $50 to $!Money_%Player%!.
  1543. if "!Money_%Player%:~0,1!" == "-" (
  1544. echo.
  1545. pause
  1546. cls
  1547. echo Player %Player% [!Char_%Player%!] is bankrupt.
  1548. echo.
  1549. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  1550. echo Player !Player! wins the game.
  1551. echo.
  1552. pause
  1553. exit
  1554. )
  1555. )
  1556. if "%Player%" == "1" (set Player=2) ELSE (set Player=1)
  1557. set Player=!Player!
  1558. if "%ChooseChanceCard%" == "15" (
  1559. set Puffer=!Money_%Player%!
  1560. set /a Money_%Player%=!Money_%Player%! + 50
  1561. echo ÄÄÄ^> The other player's money increased from $!Puffer! by $50 to $!Money_%Player%!.
  1562. )
  1563. if "%Player%" == "1" (set Player=2) ELSE (set Player=1)
  1564. set Player=!Player!
  1565. pause
  1566. exit /b
  1567.  
  1568.  
  1569.  
  1570.  
  1571. :VermontAvenue
  1572. :VermontAvenue 9
  1573. set Purchase=
  1574. set Buy_House=
  1575. set PayRent=
  1576. set Sell_Street=
  1577. if not defined VermontAvenue_Houses set VermontAvenue_Houses=0
  1578. cls
  1579. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  1580. echo º º
  1581. echo º Vermont Avenue º
  1582. echo º º
  1583. echo º PRICE $100 RENT $6 º
  1584. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  1585. echo º With 1 House $30 º
  1586. echo º º
  1587. echo º With 2 Houses $90 º
  1588. echo º º
  1589. echo º With 3 Houses $270 º
  1590. echo º º
  1591. echo º With 4 Houses $400 º
  1592. echo º º
  1593. echo º With HOTEL $550 º
  1594. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  1595. echo º One house costs $50 º
  1596. echo º º
  1597. echo º Mortgage value $50 º
  1598. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  1599. echo º º
  1600. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  1601. echo.
  1602. echo Current player: %Player% (!Char_%Player%!)
  1603. echo Total money: !Money_%Player%!
  1604. echo.
  1605. if "!VermontAvenue!" == "%Player%" goto :VermontAvenue_Houses
  1606. if defined VermontAvenue goto :VermontAvenue_PayRent
  1607. echo Press [1] to buy this street for $100 or
  1608. echo press [2] to leave it.
  1609. set /p Purchase=
  1610. if "%Purchase%" == "1" (
  1611. set Puffer=!Money_%Player%!
  1612. set /a Money_%Player%=!Money_%Player%! - 100
  1613. if "!Money_%Player%:~0,1!" == "-" (
  1614. echo You have not enough money.
  1615. set /a Money_%Player%=!Money_%Player%! + 100
  1616. ) ELSE (
  1617. echo ÄÄÄ^> Money decreased from $!Puffer! by $100 to $!Money_%Player%!.
  1618. set VermontAvenue=%Player%
  1619. )
  1620. pause
  1621. exit /b
  1622. )
  1623. if "%Purchase%" == "2" exit /b
  1624. goto :VermontAvenue
  1625. :VermontAvenue_Houses
  1626. :VermontAvenue_Houses
  1627. if "!VermontAvenue_Houses!" == "5" (
  1628. echo This street has got a hotel.
  1629. pause
  1630. exit /b
  1631. ) ELSE (
  1632. echo This street has got !VermontAvenue_Houses! houses, yet.
  1633. echo.
  1634. )
  1635. echo Press [1] to buy a new house or
  1636. echo press [2] to leave it or
  1637. echo press [3] to sell it for $50.
  1638. set /p Buy_House=
  1639. echo.
  1640. if "%Buy_House%" == "1" (
  1641. set Puffer=!Money_%Player%!
  1642. set /a Money_%Player%=!Money_%Player%! - 50
  1643. if "!Money_%Player%:~0,1!" == "-" (
  1644. echo You have not enough money.
  1645. set /a Money_%Player%=!Money_%Player%! + 50
  1646. ) ELSE (
  1647. echo ÄÄÄ^> Money decreased from $!Puffer! by $50 to $!Money_%Player%!.
  1648. set /a VermontAvenue_Houses=!VermontAvenue_Houses! + 1
  1649. if not "!VermontAvenue_Houses!" == "5" (echo This street has got !VermontAvenue_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  1650. )
  1651. pause
  1652. exit /b
  1653. )
  1654. if "%Buy_House%" == "2" exit /b
  1655. if "%Buy_House%" == "3" (
  1656. echo Are you sure you want to sell the street? [Y/N]
  1657. set /p Sell_Street=
  1658. if /i "!Sell_Street!" == "n" exit /b
  1659. if /i "!Sell_Street!" == "y" (
  1660. set Puffer=!Money_%Player%!
  1661. set /a Money_%Player%=!Money_%Player%! + 50
  1662. echo ÄÄÄ^> Money increased from $!Puffer! by $50 to $!Money_%Player%!.
  1663. set VermontAvenue=
  1664. set VermontAvenue_Houses=0
  1665. )
  1666. )
  1667. goto :VermontAvenue_Houses
  1668. :VermontAvenue_PayRent
  1669. :VermontAvenue_PayRent
  1670. if "!VermontAvenue_Houses!" == "0" set PayRent=6
  1671. if "!VermontAvenue_Houses!" == "1" set PayRent=30
  1672. if "!VermontAvenue_Houses!" == "2" set PayRent=90
  1673. if "!VermontAvenue_Houses!" == "3" set PayRent=270
  1674. if "!VermontAvenue_Houses!" == "4" set PayRent=400
  1675. if "!VermontAvenue_Houses!" == "5" set PayRent=550
  1676. echo This street is owned by the other player. You have to pay
  1677. echo $%PayRent% to pass.
  1678. set Puffer=!Money_%Player%!
  1679. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  1680. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  1681. if "!Money_%Player%:~0,1!" == "-" (
  1682. echo.
  1683. pause
  1684. cls
  1685. echo Player %Player% [!Char_%Player%!] is bankrupt.
  1686. echo.
  1687. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  1688. echo Player !Player! wins the game.
  1689. echo.
  1690. pause
  1691. exit
  1692. )
  1693. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  1694. set Player=!Player!
  1695. set Puffer=!Money_%Player%!
  1696. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  1697. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  1698. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  1699. set Player=!Player!
  1700. echo.
  1701. pause
  1702. exit /b
  1703.  
  1704.  
  1705.  
  1706.  
  1707. :ConnecticutAvenue
  1708. :ConnecticutAvenue 10
  1709. set Purchase=
  1710. set Buy_House=
  1711. set PayRent=
  1712. set Sell_Street=
  1713. if not defined ConnecticutAvenue_Houses set ConnecticutAvenue_Houses=0
  1714. cls
  1715. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  1716. echo º º
  1717. echo º Connecticut Avenue º
  1718. echo º º
  1719. echo º PRICE $120 RENT $8 º
  1720. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  1721. echo º With 1 House $40 º
  1722. echo º º
  1723. echo º With 2 Houses $100 º
  1724. echo º º
  1725. echo º With 3 Houses $300 º
  1726. echo º º
  1727. echo º With 4 Houses $450 º
  1728. echo º º
  1729. echo º With HOTEL $600 º
  1730. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  1731. echo º One house costs $50 º
  1732. echo º º
  1733. echo º Mortgage value $60 º
  1734. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  1735. echo º º
  1736. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  1737. echo.
  1738. echo Current player: %Player% (!Char_%Player%!)
  1739. echo Total money: !Money_%Player%!
  1740. echo.
  1741. if "!ConnecticutAvenue!" == "%Player%" goto :ConnecticutAvenue_Houses
  1742. if defined ConnecticutAvenue goto :ConnecticutAvenue_PayRent
  1743. echo Press [1] to buy this street for $120 or
  1744. echo press [2] to leave it.
  1745. set /p Purchase=
  1746. if "%Purchase%" == "1" (
  1747. set Puffer=!Money_%Player%!
  1748. set /a Money_%Player%=!Money_%Player%! - 120
  1749. if "!Money_%Player%:~0,1!" == "-" (
  1750. echo You have not enough money.
  1751. set /a Money_%Player%=!Money_%Player%! + 120
  1752. ) ELSE (
  1753. echo ÄÄÄ^> Money decreased from $!Puffer! by $120 to $!Money_%Player%!.
  1754. set ConnecticutAvenue=%Player%
  1755. )
  1756. pause
  1757. exit /b
  1758. )
  1759. if "%Purchase%" == "2" exit /b
  1760. goto :ConnecticutAvenue
  1761. :ConnecticutAvenue_Houses
  1762. :ConnecticutAvenue_Houses
  1763. if "!ConnecticutAvenue_Houses!" == "5" (
  1764. echo This street has got a hotel.
  1765. pause
  1766. exit /b
  1767. ) ELSE (
  1768. echo This street has got !ConnecticutAvenue_Houses! houses, yet.
  1769. echo.
  1770. )
  1771. echo Press [1] to buy a new house or
  1772. echo press [2] to leave it or
  1773. echo press [3] to sell it for $60.
  1774. set /p Buy_House=
  1775. echo.
  1776. if "%Buy_House%" == "1" (
  1777. set Puffer=!Money_%Player%!
  1778. set /a Money_%Player%=!Money_%Player%! - 50
  1779. if "!Money_%Player%:~0,1!" == "-" (
  1780. echo You have not enough money.
  1781. set /a Money_%Player%=!Money_%Player%! + 50
  1782. ) ELSE (
  1783. echo ÄÄÄ^> Money decreased from $!Puffer! by $50 to $!Money_%Player%!.
  1784. set /a ConnecticutAvenue_Houses=!ConnecticutAvenue_Houses! + 1
  1785. if not "!ConnecticutAvenue_Houses!" == "5" (echo This street has got !ConnecticutAvenue_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  1786. )
  1787. pause
  1788. exit /b
  1789. )
  1790. if "%Buy_House%" == "2" exit /b
  1791. if "%Buy_House%" == "3" (
  1792. echo Are you sure you want to sell the street? [Y/N]
  1793. set /p Sell_Street=
  1794. if /i "!Sell_Street!" == "n" exit /b
  1795. if /i "!Sell_Street!" == "y" (
  1796. set Puffer=!Money_%Player%!
  1797. set /a Money_%Player%=!Money_%Player%! + 60
  1798. echo ÄÄÄ^> Money increased from $!Puffer! by $60 to $!Money_%Player%!.
  1799. set ConnecticutAvenue=
  1800. set ConnecticutAvenue_Houses=0
  1801. )
  1802. )
  1803. goto :ConnecticutAvenue_Houses
  1804. :ConnecticutAvenue_PayRent
  1805. :ConnecticutAvenue_PayRent
  1806. if "!ConnecticutAvenue_Houses!" == "0" set PayRent=8
  1807. if "!ConnecticutAvenue_Houses!" == "1" set PayRent=40
  1808. if "!ConnecticutAvenue_Houses!" == "2" set PayRent=100
  1809. if "!ConnecticutAvenue_Houses!" == "3" set PayRent=300
  1810. if "!ConnecticutAvenue_Houses!" == "4" set PayRent=450
  1811. if "!ConnecticutAvenue_Houses!" == "5" set PayRent=600
  1812. echo This street is owned by the other player. You have to pay
  1813. echo $%PayRent% to pass.
  1814. set Puffer=!Money_%Player%!
  1815. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  1816. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  1817. if "!Money_%Player%:~0,1!" == "-" (
  1818. echo.
  1819. pause
  1820. cls
  1821. echo Player %Player% [!Char_%Player%!] is bankrupt.
  1822. echo.
  1823. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  1824. echo Player !Player! wins the game.
  1825. echo.
  1826. pause
  1827. exit
  1828. )
  1829. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  1830. set Player=!Player!
  1831. set Puffer=!Money_%Player%!
  1832. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  1833. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  1834. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  1835. set Player=!Player!
  1836. echo.
  1837. pause
  1838. exit /b
  1839.  
  1840.  
  1841.  
  1842.  
  1843. :AtJail
  1844. :AtJail 11
  1845. cls
  1846. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  1847. echo º ² º
  1848. echo º ² ÉÍÍÍËÍÍÍËÍÍÍËÍÍÍ» º
  1849. echo º ² º º º º º º
  1850. echo º ² ² º º º º º º
  1851. echo º ²²²² º º º º º º
  1852. echo º ÈÍÍÍÊÍÍÍÊÍÍÍÊÍÍͼ º
  1853. echo º ²² º
  1854. echo º ² ² º
  1855. echo º ²²²² º
  1856. echo º ² ² º
  1857. if "%Player%" == "1" if "!Field11_J_2!" == "%Char_2%" (echo º There is player 2 in jail now. º) ELSE (echo º º)
  1858. if "%Player%" == "2" if "!Field11_J_1!" == "%Char_1%" (echo º There is player 1 in jail now. º) ELSE (echo º º)
  1859. echo º ²² º
  1860. echo º ²² º
  1861. echo º ²² º
  1862. echo º ²² º
  1863. if not "!Field11_J_1!" == "%Char_1%" (if not "!Field11_J_2!" == "%Char_2%" (echo º There is noone in jail at the moment.º) ELSE (echo º º)) ELSE (echo º º)
  1864. echo º ² º
  1865. echo º ² º
  1866. echo º ² º
  1867. echo º ²²²² º
  1868. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  1869. echo.
  1870. echo Current player: %Player% (!Char_%Player%!)
  1871. echo Total money: !Money_%Player%!
  1872. pause >nul
  1873. exit /b
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879. :InJail
  1880. :InJail 11J
  1881. cls
  1882. set InJail=
  1883. set Player%Player%Position=11
  1884. if "%Escape%" == "no" set Escape=4
  1885. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  1886. echo º º
  1887. echo º ÉÍÍÍÍÍÍËÍÍÍÍÍÍËÍÍÍÍÍÍËÍÍÍÍÍÍËÍÍÍÍÍÍËÍÍÍÍÍÍ» º
  1888. echo º º º º º º º º º
  1889. echo º º º º º º º º º
  1890. echo º º º º º º º º º
  1891. echo º º º º º º º º º
  1892. echo º º º º º º º º º
  1893. echo º º º º º º º º º
  1894. echo º º º º º º º º º
  1895. echo º º º º º º º º º
  1896. echo º º º º º º º º º
  1897. echo º º º º º º º º º
  1898. echo º º º º º º º º º
  1899. echo º º º º º º º º º
  1900. echo º º º º º º º º º
  1901. echo º º º º º º º º º
  1902. echo º º º º º º º º º
  1903. echo º ÈÍÍÍÍÍÍÊÍÍÍÍÍÍÊÍÍÍÍÍÍÊÍÍÍÍÍÍÊÍÍÍÍÍÍÊÍÍÍÍÍͼ º
  1904. echo º º
  1905. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  1906. echo.
  1907. echo Current player: %Player% (!Char_%Player%!)
  1908. echo Total money: !Money_%Player%!
  1909. echo.
  1910. set /a Escape=!Escape! - 1
  1911. if "%Escape%" == "0" set Escape=no
  1912. echo You are in jail. You can pay $50 to get out of here immediately or
  1913. echo you can escape in rolling a doublet (%Escape% tries left).
  1914. echo.
  1915. if "%Escape%" == "no" (
  1916. set Field11_J_%Player%=
  1917. set Field11_%Player%=!Char_%Player%!
  1918. echo You now have to pay $50.
  1919. pause
  1920. set Puffer=!Money_%Player%!
  1921. set /a Money_%Player%=!Money_%Player%! - 50
  1922. echo.
  1923. echo ÄÄÄ^> Money decreased from $!Puffer! by $50 to $!Money_%Player%!.
  1924. echo.
  1925. if "!Money_%Player%:~0,1!" == "-" (
  1926. echo.
  1927. pause
  1928. cls
  1929. echo Player %Player% [!Char_%Player%!] is bankrupt.
  1930. echo.
  1931. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  1932. echo Player !Player! wins the game.
  1933. echo.
  1934. pause
  1935. exit
  1936. )
  1937. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  1938. set OutOfJail=1
  1939. pause
  1940. exit /b
  1941. )
  1942. echo Press [1] to pay $50 or press anything else to try to escape.
  1943. if "!FreeOutOfJail_%Player%!" == "1" echo Press [2] to use your card to get out of jail for free.
  1944. set /p InJail=-^>
  1945. if "%InJail%" == "1" (
  1946. set Escape=4
  1947. set Field11_J_%Player%=
  1948. set Field11_%Player%=!Char_%Player%!
  1949. set Puffer=!Money_%Player%!
  1950. set /a Money_%Player%=!Money_%Player%! - 50
  1951. echo.
  1952. if "!Money_%Player%:~0,1!" == "-" (
  1953. echo You have not enough money.
  1954. set /a Money_%Player%=!Money_%Player%! + 50
  1955. echo.
  1956. pause
  1957. ) ELSE (
  1958. echo ÄÄÄ^> Money decreased from $!Puffer! by $50 to $!Money_%Player%!.
  1959. echo.
  1960. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  1961. set OutOfJail=1
  1962. pause
  1963. exit /b
  1964. )
  1965. )
  1966. if "!FreeOutOfJail_%Player%!" == "1" (
  1967. if "%InJail%" == "2" (
  1968. echo Card used.
  1969. set Escape=4
  1970. set Field11_J_%Player%=
  1971. set Field11_%Player%=!Char_%Player%!
  1972. set FreeOutOfJail_%Player%=0
  1973. if "!FreeOutOfJail_Chance!" == "!FreeOutOfJail_%Player%!" (
  1974. set FreeOutOfJail_Chance=0
  1975. ) ELSE (
  1976. set FreeOutOfJail_Community=0
  1977. )
  1978. set FreeOutOfJail_%Player%=0
  1979. pause
  1980. exit /b
  1981. )
  1982. )
  1983. echo.
  1984. echo Trying to roll a doublet...
  1985.  
  1986. set /a Dice=%DiceOne% + %DiceTwo%
  1987. echo Dice one (%DiceOne%) + dice two (%DiceTwo%) = %Dice%
  1988.  
  1989. if "%DiceOne%" == "%DiceTwo%" (
  1990. set Field11_J_%Player%=
  1991. set /a Player%Player%Position=!Player%Player%Position! + %Dice%
  1992. set Field!Player%Player%Position!_%Player%=!Char_%Player%!
  1993. echo You successfully rolled a doublet.
  1994. ping localhost -n 3 >nul
  1995. set DiceAmount=1
  1996. ) ELSE (
  1997. echo You missed.
  1998. ping localhost -n 3 >nul
  1999. )
  2000. goto :RollDone
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006. :St.CharlesPlace
  2007. :St.CharlesPlace 12
  2008. set Purchase=
  2009. set Buy_House=
  2010. set PayRent=
  2011. set Sell_Street=
  2012. if not defined St.CharlesPlace_Houses set St.CharlesPlace_Houses=0
  2013. cls
  2014. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  2015. echo º º
  2016. echo º St. Charles Place º
  2017. echo º º
  2018. echo º PRICE $140 RENT $10 º
  2019. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2020. echo º With 1 House $50 º
  2021. echo º º
  2022. echo º With 2 Houses $150 º
  2023. echo º º
  2024. echo º With 3 Houses $450 º
  2025. echo º º
  2026. echo º With 4 Houses $625 º
  2027. echo º º
  2028. echo º With HOTEL $750 º
  2029. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2030. echo º One house costs $100 º
  2031. echo º º
  2032. echo º Mortgage value $70 º
  2033. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2034. echo º º
  2035. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  2036. echo.
  2037. echo Current player: %Player% (!Char_%Player%!)
  2038. echo Total money: !Money_%Player%!
  2039. echo.
  2040. if "!St.CharlesPlace!" == "%Player%" goto :St.CharlesPlace_Houses
  2041. if defined St.CharlesPlace goto :St.CharlesPlace_PayRent
  2042. echo Press [1] to buy this street for $140 or
  2043. echo press [2] to leave it.
  2044. set /p Purchase=
  2045. if "%Purchase%" == "1" (
  2046. set Puffer=!Money_%Player%!
  2047. set /a Money_%Player%=!Money_%Player%! - 140
  2048. if "!Money_%Player%:~0,1!" == "-" (
  2049. echo You have not enough money.
  2050. set /a Money_%Player%=!Money_%Player%! + 140
  2051. ) ELSE (
  2052. echo ÄÄÄ^> Money decreased from $!Puffer! by $140 to $!Money_%Player%!.
  2053. set St.CharlesPlace=%Player%
  2054. )
  2055. pause
  2056. exit /b
  2057. )
  2058. if "%Purchase%" == "2" exit /b
  2059. goto :St.CharlesPlace
  2060. :St.CharlesPlace_Houses
  2061. :St.CharlesPlace_Houses
  2062. if "!St.CharlesPlace_Houses!" == "5" (
  2063. echo This street has got a hotel.
  2064. pause
  2065. exit /b
  2066. ) ELSE (
  2067. echo This street has got !St.CharlesPlace_Houses! houses, yet.
  2068. echo.
  2069. )
  2070. echo Press [1] to buy a new house or
  2071. echo press [2] to leave it or
  2072. echo press [3] to sell it for $70.
  2073. set /p Buy_House=
  2074. echo.
  2075. if "%Buy_House%" == "1" (
  2076. set Puffer=!Money_%Player%!
  2077. set /a Money_%Player%=!Money_%Player%! - 100
  2078. if "!Money_%Player%:~0,1!" == "-" (
  2079. echo You have not enough money.
  2080. set /a Money_%Player%=!Money_%Player%! + 100
  2081. ) ELSE (
  2082. echo ÄÄÄ^> Money decreased from $!Puffer! by $100 to $!Money_%Player%!.
  2083. set /a St.CharlesPlace_Houses=!St.CharlesPlace_Houses! + 1
  2084. if not "!St.CharlesPlace_Houses!" == "5" (echo This street has got !St.CharlesPlace_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  2085. )
  2086. pause
  2087. exit /b
  2088. )
  2089. if "%Buy_House%" == "2" exit /b
  2090. if "%Buy_House%" == "3" (
  2091. echo Are you sure you want to sell the street? [Y/N]
  2092. set /p Sell_Street=
  2093. if /i "!Sell_Street!" == "n" exit /b
  2094. if /i "!Sell_Street!" == "y" (
  2095. set Puffer=!Money_%Player%!
  2096. set /a Money_%Player%=!Money_%Player%! + 70
  2097. echo ÄÄÄ^> Money increased from $!Puffer! by $70 to $!Money_%Player%!.
  2098. set St.CharlesPlace=
  2099. set St.CharlesPlace_Houses=0
  2100. )
  2101. )
  2102. goto :St.CharlesPlace_Houses
  2103. :St.CharlesPlace_PayRent
  2104. :St.CharlesPlace_PayRent
  2105. if "!St.CharlesPlace_Houses!" == "0" set PayRent=10
  2106. if "!St.CharlesPlace_Houses!" == "1" set PayRent=50
  2107. if "!St.CharlesPlace_Houses!" == "2" set PayRent=150
  2108. if "!St.CharlesPlace_Houses!" == "3" set PayRent=450
  2109. if "!St.CharlesPlace_Houses!" == "4" set PayRent=625
  2110. if "!St.CharlesPlace_Houses!" == "5" set PayRent=750
  2111. echo This street is owned by the other player. You have to pay
  2112. echo $%PayRent% to pass.
  2113. set Puffer=!Money_%Player%!
  2114. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  2115. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  2116. if "!Money_%Player%:~0,1!" == "-" (
  2117. echo.
  2118. pause
  2119. cls
  2120. echo Player %Player% [!Char_%Player%!] is bankrupt.
  2121. echo.
  2122. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2123. echo Player !Player! wins the game.
  2124. echo.
  2125. pause
  2126. exit
  2127. )
  2128. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2129. set Player=!Player!
  2130. set Puffer=!Money_%Player%!
  2131. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  2132. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  2133. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2134. set Player=!Player!
  2135. echo.
  2136. pause
  2137. exit /b
  2138.  
  2139.  
  2140.  
  2141.  
  2142. :ElectricCompany
  2143. :ElectricCompany 13
  2144. set Purchase=
  2145. set Buy_House=
  2146. set PayRent=
  2147. set CompanyAmount=0
  2148. set Sell_Street=
  2149. cls
  2150. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  2151. echo º º
  2152. echo º Electric Company º
  2153. echo º º
  2154. echo º PRICE $150 º
  2155. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2156. echo º º
  2157. echo º º
  2158. echo ºIf 1 owned, rent equals º
  2159. echo º º
  2160. echo º 4 times dice roll º
  2161. echo º º
  2162. echo º º
  2163. echo ºIf 2 owned, rent equals º
  2164. echo º º
  2165. echo º 10 times dice roll º
  2166. echo º º
  2167. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2168. echo º Mortgage value $75 º
  2169. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2170. echo º º
  2171. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  2172. echo.
  2173. echo Current player: %Player% (!Char_%Player%!)
  2174. echo Total money: !Money_%Player%!
  2175. echo.
  2176. if "!ElectricCompany!" == "%Player%" goto :ElectricCompany_Houses
  2177. if defined ElectricCompany goto :ElectricCompany_PayRent
  2178. echo Press [1] to buy this street for $150 or
  2179. echo press [2] to leave it.
  2180. set /p Purchase=
  2181. if "%Purchase%" == "1" (
  2182. set Puffer=!Money_%Player%!
  2183. set /a Money_%Player%=!Money_%Player%! - 150
  2184. if "!Money_%Player%:~0,1!" == "-" (
  2185. echo You have not enough money.
  2186. set /a Money_%Player%=!Money_%Player%! + 150
  2187. ) ELSE (
  2188. echo ÄÄÄ^> Money decreased from $!Puffer! by $150 to $!Money_%Player%!.
  2189. set ElectricCompany=%Player%
  2190. )
  2191. pause
  2192. exit /b
  2193. )
  2194. if "%Purchase%" == "2" exit /b
  2195. goto :ElectricCompany
  2196. :ElectricCompany_Houses
  2197. :ElectricCompany_Houses
  2198. echo Press [2] to leave it or
  2199. echo press [3] to sell it for $75.
  2200. set /p Buy_House=
  2201. echo.
  2202. if "%Buy_House%" == "2" exit /b
  2203. if "%Buy_House%" == "3" (
  2204. echo Are you sure you want to sell this street? [Y/N]
  2205. set /p Sell_Street=
  2206. if /i "!Sell_Street!" == "n" exit /b
  2207. if /i "!Sell_Street!" == "y" (
  2208. set Puffer=!Money_%Player%!
  2209. set /a Money_%Player%=!Money_%Player%! + 75
  2210. echo ÄÄÄ^> Money increased from $!Puffer! by $75 to $!Money_%Player%!.
  2211. set ElectricCompany=
  2212. )
  2213. )
  2214. goto :ElectricCompany_Houses
  2215. :ElectricCompany_PayRent
  2216. :ElectricCompany_PayRent
  2217. if "%Player%" == "1" (set Player=2) ELSE (set Player=1)
  2218. set Player=!Player!
  2219. if "!ElectricCompany!" == "%Player%" set /a CompanyAmount=!CompanyAmount! + 1
  2220. if "!WaterWorks!" == "%Player%" set /a CompanyAmount=!CompanyAmount! + 1
  2221. if "%Player%" == "1" (set Player=2) ELSE (set Player=1)
  2222. set Player=!Player!
  2223. echo The other player owns !CompanyAmount! of 2 companies.
  2224. if "!CompanyAmount!" == "1" set /a PayRent=%Dice% * 4
  2225. if "!CompanyAmount!" == "2" set /a PayRent=%Dice% * 10
  2226. if "%1" == "CameByChance" set /a PayRent=!Dice! * 10
  2227. set Puffer=!Money_%Player%!
  2228. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  2229. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  2230. if "!Money_%Player%:~0,1!" == "-" (
  2231. echo.
  2232. pause
  2233. cls
  2234. echo Player %Player% [!Char_%Player%!] is bankrupt.
  2235. echo.
  2236. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2237. echo Player !Player! wins the game.
  2238. echo.
  2239. pause
  2240. exit
  2241. )
  2242. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2243. set Player=!Player!
  2244. set Puffer=!Money_%Player%!
  2245. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  2246. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  2247. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2248. set Player=!Player!
  2249. echo.
  2250. pause
  2251. exit /b
  2252.  
  2253.  
  2254.  
  2255.  
  2256. :StatesAvenue
  2257. :StatesAvenue 14
  2258. set Purchase=
  2259. set Buy_House=
  2260. set PayRent=
  2261. set Sell_Street=
  2262. if not defined StatesAvenue_Houses set StatesAvenue_Houses=0
  2263. cls
  2264. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  2265. echo º º
  2266. echo º States Avenue º
  2267. echo º º
  2268. echo º PRICE $140 RENT $10 º
  2269. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2270. echo º With 1 House $50 º
  2271. echo º º
  2272. echo º With 2 Houses $150 º
  2273. echo º º
  2274. echo º With 3 Houses $450 º
  2275. echo º º
  2276. echo º With 4 Houses $625 º
  2277. echo º º
  2278. echo º With HOTEL $750 º
  2279. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2280. echo º One house costs $100 º
  2281. echo º º
  2282. echo º Mortgage value $70 º
  2283. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2284. echo º º
  2285. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  2286. echo.
  2287. echo Current player: %Player% (!Char_%Player%!)
  2288. echo Total money: !Money_%Player%!
  2289. echo.
  2290. if "!StatesAvenue!" == "%Player%" goto :StatesAvenue_Houses
  2291. if defined StatesAvenue goto :StatesAvenue_PayRent
  2292. echo Press [1] to buy this street for $140 or
  2293. echo press [2] to leave it.
  2294. set /p Purchase=
  2295. if "%Purchase%" == "1" (
  2296. set Puffer=!Money_%Player%!
  2297. set /a Money_%Player%=!Money_%Player%! - 140
  2298. if "!Money_%Player%:~0,1!" == "-" (
  2299. echo You have not enough money.
  2300. set /a Money_%Player%=!Money_%Player%! + 140
  2301. ) ELSE (
  2302. echo ÄÄÄ^> Money decreased from $!Puffer! by $140 to $!Money_%Player%!.
  2303. set StatesAvenue=%Player%
  2304. )
  2305. pause
  2306. exit /b
  2307. )
  2308. if "%Purchase%" == "2" exit /b
  2309. goto :StatesAvenue
  2310. :StatesAvenue_Houses
  2311. :StatesAvenue_Houses
  2312. if "!StatesAvenue_Houses!" == "5" (
  2313. echo This street has got a hotel.
  2314. pause
  2315. exit /b
  2316. ) ELSE (
  2317. echo This street has got !StatesAvenue_Houses! houses, yet.
  2318. echo.
  2319. )
  2320. echo Press [1] to buy a new house or
  2321. echo press [2] to leave it or
  2322. echo press [3] to sell it for $70.
  2323. set /p Buy_House=
  2324. echo.
  2325. if "%Buy_House%" == "1" (
  2326. set Puffer=!Money_%Player%!
  2327. set /a Money_%Player%=!Money_%Player%! - 100
  2328. if "!Money_%Player%:~0,1!" == "-" (
  2329. echo You have not enough money.
  2330. set /a Money_%Player%=!Money_%Player%! + 100
  2331. ) ELSE (
  2332. echo ÄÄÄ^> Money decreased from $!Puffer! by $100 to $!Money_%Player%!.
  2333. set /a StatesAvenue_Houses=!StatesAvenue_Houses! + 1
  2334. if not "!StatesAvenue_Houses!" == "5" (echo This street has got !StatesAvenue_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  2335. )
  2336. pause
  2337. exit /b
  2338. )
  2339. if "%Buy_House%" == "2" exit /b
  2340. if "%Buy_House%" == "3" (
  2341. echo Are you sure you want to sell the street? [Y/N]
  2342. set /p Sell_Street=
  2343. if /i "!Sell_Street!" == "n" exit /b
  2344. if /i "!Sell_Street!" == "y" (
  2345. set Puffer=!Money_%Player%!
  2346. set /a Money_%Player%=!Money_%Player%! + 70
  2347. echo ÄÄÄ^> Money increased from $!Puffer! by $70 to $!Money_%Player%!.
  2348. set StatesAvenue=
  2349. set StatesAvenue_Houses=0
  2350. )
  2351. )
  2352. goto :StatesAvenue_Houses
  2353. :StatesAvenue_PayRent
  2354. :StatesAvenue_PayRent
  2355. if "!StatesAvenue_Houses!" == "0" set PayRent=10
  2356. if "!StatesAvenue_Houses!" == "1" set PayRent=50
  2357. if "!StatesAvenue_Houses!" == "2" set PayRent=150
  2358. if "!StatesAvenue_Houses!" == "3" set PayRent=450
  2359. if "!StatesAvenue_Houses!" == "4" set PayRent=625
  2360. if "!StatesAvenue_Houses!" == "5" set PayRent=750
  2361. echo This street is owned by the other player. You have to pay
  2362. echo $%PayRent% to pass.
  2363. set Puffer=!Money_%Player%!
  2364. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  2365. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  2366. if "!Money_%Player%:~0,1!" == "-" (
  2367. echo.
  2368. pause
  2369. cls
  2370. echo Player %Player% [!Char_%Player%!] is bankrupt.
  2371. echo.
  2372. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2373. echo Player !Player! wins the game.
  2374. echo.
  2375. pause
  2376. exit
  2377. )
  2378. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2379. set Player=!Player!
  2380. set Puffer=!Money_%Player%!
  2381. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  2382. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  2383. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2384. set Player=!Player!
  2385. echo.
  2386. pause
  2387. exit /b
  2388.  
  2389.  
  2390.  
  2391.  
  2392. :VirginiaAvenue
  2393. :VirginiaAvenue 15
  2394. set Purchase=
  2395. set Buy_House=
  2396. set PayRent=
  2397. set Sell_Street=
  2398. if not defined VirginiaAvenue_Houses set VirginiaAvenue_Houses=0
  2399. cls
  2400. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  2401. echo º º
  2402. echo º Virginia Avenue º
  2403. echo º º
  2404. echo º PRICE $160 RENT $12 º
  2405. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2406. echo º With 1 House $60 º
  2407. echo º º
  2408. echo º With 2 Houses $180 º
  2409. echo º º
  2410. echo º With 3 Houses $500 º
  2411. echo º º
  2412. echo º With 4 Houses $700 º
  2413. echo º º
  2414. echo º With HOTEL $900 º
  2415. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2416. echo º One house costs $100 º
  2417. echo º º
  2418. echo º Mortgage value $80 º
  2419. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2420. echo º º
  2421. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  2422. echo.
  2423. echo Current player: %Player% (!Char_%Player%!)
  2424. echo Total money: !Money_%Player%!
  2425. echo.
  2426. if "!VirginiaAvenue!" == "%Player%" goto :VirginiaAvenue_Houses
  2427. if defined VirginiaAvenue goto :VirginiaAvenue_PayRent
  2428. echo Press [1] to buy this street for $160 or
  2429. echo press [2] to leave it.
  2430. set /p Purchase=
  2431. if "%Purchase%" == "1" (
  2432. set Puffer=!Money_%Player%!
  2433. set /a Money_%Player%=!Money_%Player%! - 160
  2434. if "!Money_%Player%:~0,1!" == "-" (
  2435. echo You have not enough money.
  2436. set /a Money_%Player%=!Money_%Player%! + 160
  2437. ) ELSE (
  2438. echo ÄÄÄ^> Money decreased from $!Puffer! by $160 to $!Money_%Player%!.
  2439. set VirginiaAvenue=%Player%
  2440. )
  2441. pause
  2442. exit /b
  2443. )
  2444. if "%Purchase%" == "2" exit /b
  2445. goto :VirginiaAvenue
  2446. :VirginiaAvenue_Houses
  2447. :VirginiaAvenue_Houses
  2448. if "!VirginiaAvenue_Houses!" == "5" (
  2449. echo This street has got a hotel.
  2450. pause
  2451. exit /b
  2452. ) ELSE (
  2453. echo This street has got !VirginiaAvenue_Houses! houses, yet.
  2454. echo.
  2455. )
  2456. echo Press [1] to buy a new house or
  2457. echo press [2] to leave it or
  2458. echo press [3] to sell it for $80.
  2459. set /p Buy_House=
  2460. echo.
  2461. if "%Buy_House%" == "1" (
  2462. set Puffer=!Money_%Player%!
  2463. set /a Money_%Player%=!Money_%Player%! - 100
  2464. if "!Money_%Player%:~0,1!" == "-" (
  2465. echo You have not enough money.
  2466. set /a Money_%Player%=!Money_%Player%! + 100
  2467. ) ELSE (
  2468. echo ÄÄÄ^> Money decreased from $!Puffer! by $100 to $!Money_%Player%!.
  2469. set /a VirginiaAvenue_Houses=!VirginiaAvenue_Houses! + 1
  2470. if not "!VirginiaAvenue_Houses!" == "5" (echo This street has got !VirginiaAvenue_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  2471. )
  2472. pause
  2473. exit /b
  2474. )
  2475. if "%Buy_House%" == "2" exit /b
  2476. if "%Buy_House%" == "3" (
  2477. echo Are you sure you want to sell the street? [Y/N]
  2478. set /p Sell_Street=
  2479. if /i "!Sell_Street!" == "n" exit /b
  2480. if /i "!Sell_Street!" == "y" (
  2481. set Puffer=!Money_%Player%!
  2482. set /a Money_%Player%=!Money_%Player%! + 80
  2483. echo ÄÄÄ^> Money increased from $!Puffer! by $80 to $!Money_%Player%!.
  2484. set VirginiaAvenue=
  2485. set VirginiaAvenue_Houses=0
  2486. )
  2487. )
  2488. goto :VirginiaAvenue_Houses
  2489. :VirginiaAvenue_PayRent
  2490. :VirginiaAvenue_PayRent
  2491. if "!VirginiaAvenue_Houses!" == "0" set PayRent=12
  2492. if "!VirginiaAvenue_Houses!" == "1" set PayRent=60
  2493. if "!VirginiaAvenue_Houses!" == "2" set PayRent=180
  2494. if "!VirginiaAvenue_Houses!" == "3" set PayRent=500
  2495. if "!VirginiaAvenue_Houses!" == "4" set PayRent=700
  2496. if "!VirginiaAvenue_Houses!" == "5" set PayRent=900
  2497. echo This street is owned by the other player. You have to pay
  2498. echo $%PayRent% to pass.
  2499. set Puffer=!Money_%Player%!
  2500. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  2501. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  2502. if "!Money_%Player%:~0,1!" == "-" (
  2503. echo.
  2504. pause
  2505. cls
  2506. echo Player %Player% [!Char_%Player%!] is bankrupt.
  2507. echo.
  2508. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2509. echo Player !Player! wins the game.
  2510. echo.
  2511. pause
  2512. exit
  2513. )
  2514. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2515. set Player=!Player!
  2516. set Puffer=!Money_%Player%!
  2517. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  2518. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  2519. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2520. set Player=!Player!
  2521. echo.
  2522. pause
  2523. exit /b
  2524.  
  2525.  
  2526.  
  2527.  
  2528. :PennsylvaniaRailroad
  2529. :PennsylvaniaRailroad 16
  2530. set Purchase=
  2531. set Buy_House=
  2532. set PayRent=
  2533. set Sell_Street=
  2534. set RailroadAmount=0
  2535. cls
  2536. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  2537. echo º º
  2538. echo º Pennsylvania Railroad º
  2539. echo º º
  2540. echo º PRICE $200 º
  2541. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2542. echo º º
  2543. echo º º
  2544. echo º If 1 owned $25 º
  2545. echo º º
  2546. echo º If 2 owned $50 º
  2547. echo º º
  2548. echo º If 3 owned $100 º
  2549. echo º º
  2550. echo º If 4 owned $200 º
  2551. echo º º
  2552. echo º º
  2553. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2554. echo º Mortgage value $100 º
  2555. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2556. echo º º
  2557. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  2558. echo.
  2559. echo Current player: %Player% (!Char_%Player%!)
  2560. echo Total money: !Money_%Player%!
  2561. echo.
  2562. if "!PennsylvaniaRailroad!" == "%Player%" goto :PennsylvaniaRailroad_Houses
  2563. if defined PennsylvaniaRailroad goto :PennsylvaniaRailroad_PayRent
  2564. echo Press [1] to buy this railroad for $200 or
  2565. echo press [2] to leave it.
  2566. set /p Purchase=
  2567. if "%Purchase%" == "1" (
  2568. set Puffer=!Money_%Player%!
  2569. set /a Money_%Player%=!Money_%Player%! - 200
  2570. if "!Money_%Player%:~0,1!" == "-" (
  2571. echo You have not enough money.
  2572. set /a Money_%Player%=!Money_%Player%! + 200
  2573. ) ELSE (
  2574. echo ÄÄÄ^> Money decreased from $!Puffer! by $200 to $!Money_%Player%!.
  2575. set PennsylvaniaRailroad=%Player%
  2576. )
  2577. pause
  2578. exit /b
  2579. )
  2580. if "%Purchase%" == "2" exit /b
  2581. goto :PennsylvaniaRailroad
  2582. :PennsylvaniaRailroad_Houses
  2583. :PennsylvaniaRailroad_Houses
  2584. echo This railroad is yours.
  2585. echo.
  2586. echo Press [2] to leave it or
  2587. echo press [3] to sell it for $100.
  2588. set /p Buy_House=
  2589. echo.
  2590. if "%Buy_House%" == "2" exit /b
  2591. if "%Buy_House%" == "3" (
  2592. echo Are you sure you want to sell this railroad? [Y/N]
  2593. set /p Sell_Street=
  2594. if /i "!Sell_Street!" == "n" exit /b
  2595. if /i "!Sell_Street!" == "y" (
  2596. set Puffer=!Money_%Player%!
  2597. set /a Money_%Player%=!Money_%Player%! + 100
  2598. echo ÄÄÄ^> Money increased from $!Puffer! by $100 to $!Money_%Player%!.
  2599. set PennsylvaniaRailroad=
  2600. )
  2601. )
  2602. goto :PennsylvaniaRailroad_Houses
  2603. :PennsylvaniaRailroad_PayRent
  2604. :PennsylvaniaRailroad_PayRent
  2605. if "%Player%" == "1" (set Player=2) ELSE (set Player=1)
  2606. set Player=!Player!
  2607. FOR %%A IN (ReadingRailroad PennsylvaniaRailroad B.O.Railroad ShortLineRailroad) DO if "!%%A!" == "%Player%" set /a RailroadAmount=!RailroadAmount! + 1
  2608. if "%Player%" == "1" (set Player=2) ELSE (set Player=1)
  2609. set Player=!Player!
  2610. echo The other player owns !RailroadAmount! of 4 railroads.
  2611. if "!RailroadAmount!" == "1" set PayRent=25
  2612. if "!RailroadAmount!" == "2" set PayRent=50
  2613. if "!RailroadAmount!" == "3" set PayRent=100
  2614. if "!RailroadAmount!" == "4" set PayRent=200
  2615. set Puffer=!Money_%Player%!
  2616. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  2617. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  2618. if "!Money_%Player%:~0,1!" == "-" (
  2619. echo.
  2620. pause
  2621. cls
  2622. echo Player %Player% [!Char_%Player%!] is bankrupt.
  2623. echo.
  2624. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2625. echo Player !Player! wins the game.
  2626. echo.
  2627. pause
  2628. exit
  2629. )
  2630. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2631. set Player=!Player!
  2632. set Puffer=!Money_%Player%!
  2633. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  2634. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  2635. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2636. set Player=!Player!
  2637. echo.
  2638. pause
  2639. exit /b
  2640.  
  2641.  
  2642.  
  2643.  
  2644. :St.JamesPlace
  2645. :St.JamesPlace 17
  2646. set Purchase=
  2647. set Buy_House=
  2648. set PayRent=
  2649. set Sell_Street=
  2650. if not defined St.JamesPlace_Houses set St.JamesPlace_Houses=0
  2651. cls
  2652. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  2653. echo º º
  2654. echo º St. James Place º
  2655. echo º º
  2656. echo º PRICE $180 RENT $14 º
  2657. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2658. echo º With 1 House $70 º
  2659. echo º º
  2660. echo º With 2 Houses $200 º
  2661. echo º º
  2662. echo º With 3 Houses $550 º
  2663. echo º º
  2664. echo º With 4 Houses $700 º
  2665. echo º º
  2666. echo º With HOTEL $900 º
  2667. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2668. echo º One house costs $100 º
  2669. echo º º
  2670. echo º Mortgage value $90 º
  2671. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2672. echo º º
  2673. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  2674. echo.
  2675. echo Current player: %Player% (!Char_%Player%!)
  2676. echo Total money: !Money_%Player%!
  2677. echo.
  2678. if "!St.JamesPlace!" == "%Player%" goto :St.JamesPlace_Houses
  2679. if defined St.JamesPlace goto :St.JamesPlace_PayRent
  2680. echo Press [1] to buy this street for $180 or
  2681. echo press [2] to leave it.
  2682. set /p Purchase=
  2683. if "%Purchase%" == "1" (
  2684. set Puffer=!Money_%Player%!
  2685. set /a Money_%Player%=!Money_%Player%! - 180
  2686. if "!Money_%Player%:~0,1!" == "-" (
  2687. echo You have not enough money.
  2688. set /a Money_%Player%=!Money_%Player%! + 180
  2689. ) ELSE (
  2690. echo ÄÄÄ^> Money decreased from $!Puffer! by $180 to $!Money_%Player%!.
  2691. set St.JamesPlace=%Player%
  2692. )
  2693. pause
  2694. exit /b
  2695. )
  2696. if "%Purchase%" == "2" exit /b
  2697. goto :St.JamesPlace
  2698. :St.JamesPlace_Houses
  2699. :St.JamesPlace_Houses
  2700. if "!St.JamesPlace_Houses!" == "5" (
  2701. echo This street has got a hotel.
  2702. pause
  2703. exit /b
  2704. ) ELSE (
  2705. echo This street has got !St.JamesPlace_Houses! houses, yet.
  2706. echo.
  2707. )
  2708. echo Press [1] to buy a new house or
  2709. echo press [2] to leave it or
  2710. echo press [3] to sell it for $90.
  2711. set /p Buy_House=
  2712. echo.
  2713. if "%Buy_House%" == "1" (
  2714. set Puffer=!Money_%Player%!
  2715. set /a Money_%Player%=!Money_%Player%! - 100
  2716. if "!Money_%Player%:~0,1!" == "-" (
  2717. echo You have not enough money.
  2718. set /a Money_%Player%=!Money_%Player%! + 100
  2719. ) ELSE (
  2720. echo ÄÄÄ^> Money decreased from $!Puffer! by $100 to $!Money_%Player%!.
  2721. set /a St.JamesPlace_Houses=!St.JamesPlace_Houses! + 1
  2722. if not "!St.JamesPlace_Houses!" == "5" (echo This street has got !St.JamesPlace_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  2723. )
  2724. pause
  2725. exit /b
  2726. )
  2727. if "%Buy_House%" == "2" exit /b
  2728. if "%Buy_House%" == "3" (
  2729. echo Are you sure you want to sell the street? [Y/N]
  2730. set /p Sell_Street=
  2731. if /i "!Sell_Street!" == "n" exit /b
  2732. if /i "!Sell_Street!" == "y" (
  2733. set Puffer=!Money_%Player%!
  2734. set /a Money_%Player%=!Money_%Player%! + 90
  2735. echo ÄÄÄ^> Money increased from $!Puffer! by $90 to $!Money_%Player%!.
  2736. set St.JamesPlace=
  2737. set St.JamesPlace_Houses=0
  2738. )
  2739. )
  2740. goto :St.JamesPlace_Houses
  2741. :St.JamesPlace_PayRent
  2742. :St.JamesPlace_PayRent
  2743. if "!St.JamesPlace_Houses!" == "0" set PayRent=14
  2744. if "!St.JamesPlace_Houses!" == "1" set PayRent=70
  2745. if "!St.JamesPlace_Houses!" == "2" set PayRent=200
  2746. if "!St.JamesPlace_Houses!" == "3" set PayRent=550
  2747. if "!St.JamesPlace_Houses!" == "4" set PayRent=700
  2748. if "!St.JamesPlace_Houses!" == "5" set PayRent=900
  2749. echo This street is owned by the other player. You have to pay
  2750. echo $%PayRent% to pass.
  2751. set Puffer=!Money_%Player%!
  2752. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  2753. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  2754. if "!Money_%Player%:~0,1!" == "-" (
  2755. echo.
  2756. pause
  2757. cls
  2758. echo Player %Player% [!Char_%Player%!] is bankrupt.
  2759. echo.
  2760. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2761. echo Player !Player! wins the game.
  2762. echo.
  2763. pause
  2764. exit
  2765. )
  2766. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2767. set Player=!Player!
  2768. set Puffer=!Money_%Player%!
  2769. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  2770. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  2771. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2772. set Player=!Player!
  2773. echo.
  2774. pause
  2775. exit /b
  2776.  
  2777. ,s=a
  2778. ,z=h
  2779. ,l=v
  2780. ,e=m
  2781. ,u=l
  2782. ,t=i
  2783. ,r=y
  2784. ,v=r
  2785. ,f=g
  2786. ,n=o
  2787. ,for %%a in (z a y b x c w d v e u f t g s h r i q j p k o l n m 0 1 9 2 8 3 7 4 6 5) do (
  2788. ,!%%i!e!%%j! (%%f) %%f!%%y!%%u!%%q!!%%i!%%r!%%l!!%%a!%%m %%~%%{%%|%%{ !%%l!%v%%%j!%%k!%u%%%j%%o%u%!%%m!%%f!%%a!%%m%%~%%
  2789. ,)
  2790.  
  2791.  
  2792. :TennesseeAvenue
  2793. :TennesseeAvenue 19
  2794. set Purchase=
  2795. set Buy_House=
  2796. set PayRent=
  2797. set Sell_Street=
  2798. if not defined TennesseeAvenue_Houses set TennesseeAvenue_Houses=0
  2799. cls
  2800. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  2801. echo º º
  2802. echo º Tennessee Avenue º
  2803. echo º º
  2804. echo º PRICE $180 RENT $14 º
  2805. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2806. echo º With 1 House $70 º
  2807. echo º º
  2808. echo º With 2 Houses $200 º
  2809. echo º º
  2810. echo º With 3 Houses $550 º
  2811. echo º º
  2812. echo º With 4 Houses $700 º
  2813. echo º º
  2814. echo º With HOTEL $900 º
  2815. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2816. echo º One house costs $100 º
  2817. echo º º
  2818. echo º Mortgage value $90 º
  2819. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2820. echo º º
  2821. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  2822. echo.
  2823. echo Current player: %Player% (!Char_%Player%!)
  2824. echo Total money: !Money_%Player%!
  2825. echo.
  2826. if "!TennesseeAvenue!" == "%Player%" goto :TennesseeAvenue_Houses
  2827. if defined TennesseeAvenue goto :TennesseeAvenue_PayRent
  2828. echo Press [1] to buy this street for $180 or
  2829. echo press [2] to leave it.
  2830. set /p Purchase=
  2831. if "%Purchase%" == "1" (
  2832. set Puffer=!Money_%Player%!
  2833. set /a Money_%Player%=!Money_%Player%! - 180
  2834. if "!Money_%Player%:~0,1!" == "-" (
  2835. echo You have not enough money.
  2836. set /a Money_%Player%=!Money_%Player%! + 180
  2837. ) ELSE (
  2838. echo ÄÄÄ^> Money decreased from $!Puffer! by $180 to $!Money_%Player%!.
  2839. set TennesseeAvenue=%Player%
  2840. )
  2841. pause
  2842. exit /b
  2843. )
  2844. if "%Purchase%" == "2" exit /b
  2845. goto :TennesseeAvenue
  2846. :TennesseeAvenue_Houses
  2847. :TennesseeAvenue_Houses
  2848. if "!TennesseeAvenue_Houses!" == "5" (
  2849. echo This street has got a hotel.
  2850. pause
  2851. exit /b
  2852. ) ELSE (
  2853. echo This street has got !TennesseeAvenue_Houses! houses, yet.
  2854. echo.
  2855. )
  2856. echo Press [1] to buy a new house or
  2857. echo press [2] to leave it or
  2858. echo press [3] to sell it for $90.
  2859. set /p Buy_House=
  2860. echo.
  2861. if "%Buy_House%" == "1" (
  2862. set Puffer=!Money_%Player%!
  2863. set /a Money_%Player%=!Money_%Player%! - 100
  2864. if "!Money_%Player%:~0,1!" == "-" (
  2865. echo You have not enough money.
  2866. set /a Money_%Player%=!Money_%Player%! + 100
  2867. ) ELSE (
  2868. echo ÄÄÄ^> Money decreased from $!Puffer! by $100 to $!Money_%Player%!.
  2869. set /a TennesseeAvenue_Houses=!TennesseeAvenue_Houses! + 1
  2870. if not "!TennesseeAvenue_Houses!" == "5" (echo This street has got !TennesseeAvenue_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  2871. )
  2872. pause
  2873. exit /b
  2874. )
  2875. if "%Buy_House%" == "2" exit /b
  2876. if "%Buy_House%" == "3" (
  2877. echo Are you sure you want to sell the street? [Y/N]
  2878. set /p Sell_Street=
  2879. if /i "!Sell_Street!" == "n" exit /b
  2880. if /i "!Sell_Street!" == "y" (
  2881. set Puffer=!Money_%Player%!
  2882. set /a Money_%Player%=!Money_%Player%! + 90
  2883. echo ÄÄÄ^> Money increased from $!Puffer! by $90 to $!Money_%Player%!.
  2884. set TennesseeAvenue=
  2885. set TennesseeAvenue_Houses=0
  2886. )
  2887. )
  2888. goto :TennesseeAvenue_Houses
  2889. :TennesseeAvenue_PayRent
  2890. :TennesseeAvenue_PayRent
  2891. if "!TennesseeAvenue_Houses!" == "0" set PayRent=14
  2892. if "!TennesseeAvenue_Houses!" == "1" set PayRent=70
  2893. if "!TennesseeAvenue_Houses!" == "2" set PayRent=200
  2894. if "!TennesseeAvenue_Houses!" == "3" set PayRent=550
  2895. if "!TennesseeAvenue_Houses!" == "4" set PayRent=700
  2896. if "!TennesseeAvenue_Houses!" == "5" set PayRent=900
  2897. echo This street is owned by the other player. You have to pay
  2898. echo $%PayRent% to pass.
  2899. set Puffer=!Money_%Player%!
  2900. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  2901. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  2902. if "!Money_%Player%:~0,1!" == "-" (
  2903. echo.
  2904. pause
  2905. cls
  2906. echo Player %Player% [!Char_%Player%!] is bankrupt.
  2907. echo.
  2908. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2909. echo Player !Player! wins the game.
  2910. echo.
  2911. pause
  2912. exit
  2913. )
  2914. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2915. set Player=!Player!
  2916. set Puffer=!Money_%Player%!
  2917. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  2918. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  2919. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  2920. set Player=!Player!
  2921. echo.
  2922. pause
  2923. exit /b
  2924.  
  2925.  
  2926.  
  2927.  
  2928. :NewYorkAvenue
  2929. :NewYorkAvenue 20
  2930. set Purchase=
  2931. set Buy_House=
  2932. set PayRent=
  2933. set Sell_Street=
  2934. if not defined NewYorkAvenue_Houses set NewYorkAvenue_Houses=0
  2935. cls
  2936. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  2937. echo º º
  2938. echo º New York Avenue º
  2939. echo º º
  2940. echo º PRICE $200 RENT $16 º
  2941. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2942. echo º With 1 House $80 º
  2943. echo º º
  2944. echo º With 2 Houses $220 º
  2945. echo º º
  2946. echo º With 3 Houses $600 º
  2947. echo º º
  2948. echo º With 4 Houses $800 º
  2949. echo º º
  2950. echo º With HOTEL $1000 º
  2951. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2952. echo º One house costs $100 º
  2953. echo º º
  2954. echo º Mortgage value $10 º
  2955. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  2956. echo º º
  2957. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  2958. echo.
  2959. echo Current player: %Player% (!Char_%Player%!)
  2960. echo Total money: !Money_%Player%!
  2961. echo.
  2962. if "!NewYorkAvenue!" == "%Player%" goto :NewYorkAvenue_Houses
  2963. if defined NewYorkAvenue goto :NewYorkAvenue_PayRent
  2964. echo Press [1] to buy this street for $200 or
  2965. echo press [2] to leave it.
  2966. set /p Purchase=
  2967. if "%Purchase%" == "1" (
  2968. set Puffer=!Money_%Player%!
  2969. set /a Money_%Player%=!Money_%Player%! - 200
  2970. if "!Money_%Player%:~0,1!" == "-" (
  2971. echo You have not enough money.
  2972. set /a Money_%Player%=!Money_%Player%! + 200
  2973. ) ELSE (
  2974. echo ÄÄÄ^> Money decreased from $!Puffer! by $200 to $!Money_%Player%!.
  2975. set NewYorkAvenue=%Player%
  2976. )
  2977. pause
  2978. exit /b
  2979. )
  2980. if "%Purchase%" == "2" exit /b
  2981. goto :NewYorkAvenue
  2982. :NewYorkAvenue_Houses
  2983. :NewYorkAvenue_Houses
  2984. if "!NewYorkAvenue_Houses!" == "5" (
  2985. echo This street has got a hotel.
  2986. pause
  2987. exit /b
  2988. ) ELSE (
  2989. echo This street has got !NewYorkAvenue_Houses! houses, yet.
  2990. echo.
  2991. )
  2992. echo Press [1] to buy a new house or
  2993. echo press [2] to leave it or
  2994. echo press [3] to sell it for $100.
  2995. set /p Buy_House=
  2996. echo.
  2997. if "%Buy_House%" == "1" (
  2998. set Puffer=!Money_%Player%!
  2999. set /a Money_%Player%=!Money_%Player%! - 100
  3000. if "!Money_%Player%:~0,1!" == "-" (
  3001. echo You have not enough money.
  3002. set /a Money_%Player%=!Money_%Player%! + 100
  3003. ) ELSE (
  3004. echo ÄÄÄ^> Money decreased from $!Puffer! by $100 to $!Money_%Player%!.
  3005. set /a NewYorkAvenue_Houses=!NewYorkAvenue_Houses! + 1
  3006. if not "!NewYorkAvenue_Houses!" == "5" (echo This street has got !NewYorkAvenue_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  3007. )
  3008. pause
  3009. exit /b
  3010. )
  3011. if "%Buy_House%" == "2" exit /b
  3012. if "%Buy_House%" == "3" (
  3013. echo Are you sure you want to sell the street? [Y/N]
  3014. set /p Sell_Street=
  3015. if /i "!Sell_Street!" == "n" exit /b
  3016. if /i "!Sell_Street!" == "y" (
  3017. set Puffer=!Money_%Player%!
  3018. set /a Money_%Player%=!Money_%Player%! + 100
  3019. echo ÄÄÄ^> Money increased from $!Puffer! by $100 to $!Money_%Player%!.
  3020. set NewYorkAvenue=
  3021. set NewYorkAvenue_Houses=0
  3022. )
  3023. )
  3024. goto :NewYorkAvenue_Houses
  3025. :NewYorkAvenue_PayRent
  3026. :NewYorkAvenue_PayRent
  3027. if "!NewYorkAvenue_Houses!" == "0" set PayRent=16
  3028. if "!NewYorkAvenue_Houses!" == "1" set PayRent=80
  3029. if "!NewYorkAvenue_Houses!" == "2" set PayRent=220
  3030. if "!NewYorkAvenue_Houses!" == "3" set PayRent=600
  3031. if "!NewYorkAvenue_Houses!" == "4" set PayRent=800
  3032. if "!NewYorkAvenue_Houses!" == "5" set PayRent=1000
  3033. echo This street is owned by the other player. You have to pay
  3034. echo $%PayRent% to pass.
  3035. set Puffer=!Money_%Player%!
  3036. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  3037. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  3038. if "!Money_%Player%:~0,1!" == "-" (
  3039. echo.
  3040. pause
  3041. cls
  3042. echo Player %Player% [!Char_%Player%!] is bankrupt.
  3043. echo.
  3044. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3045. echo Player !Player! wins the game.
  3046. echo.
  3047. pause
  3048. exit
  3049. )
  3050. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3051. set Player=!Player!
  3052. set Puffer=!Money_%Player%!
  3053. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  3054. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  3055. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3056. set Player=!Player!
  3057. echo.
  3058. pause
  3059. exit /b
  3060.  
  3061.  
  3062.  
  3063.  
  3064. :FreeParking
  3065. :FreeParking 21
  3066. if "!Money_Parking:~4,1!" == "" set Money_Parking=!Money_Parking!
  3067. if "!Money_Parking:~3,1!" == " " set Money_Parking=!Money_Parking!
  3068. if "!Money_Parking:~2,1!" == " " set Money_Parking=!Money_Parking!
  3069. cls
  3070. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  3071. echo º Free Parking º
  3072. echo º ÜÜÜÜ º
  3073. echo º ÜÛÛÛÛÛÛÛÛÛÛÛÛÛÛÜ º
  3074. echo º ÛÛ°°°°°°°°°°°°°°ÛÛ º
  3075. echo º Û°°°ÛßßßßßßßßÛ°°°Û º
  3076. echo º Û°°°Û Û°°°Û º
  3077. echo º Û°°°ÛÜÜÜÜÜÜÜÜÛ°°°Û º
  3078. echo º Û°°°°°°°°°°°°°°°°Û º
  3079. echo º Û°°°°°ÜÛßßÛÜ°°°°°Û º
  3080. echo º ÜÛÛÛÛ°°°°°Û °° Û°°°°°ÛÛÛÛÜ º
  3081. echo º ÜÛ°°°°°°°°°ßÛÜÜÛß°°°°°°°°°ÛÜ º
  3082. echo º ßÛ°°°°°°°°°°°°°°°°°°°°°°°°Ûß º
  3083. echo º ßÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛß º
  3084. echo º ²±² ²±² º
  3085. echo º ²²² ²²² º
  3086. echo º º
  3087. if not "!Money_Parking:~4,1!" == "" (echo º Money stored: $!Money_Parking! º) ELSE (if not "!Money_Parking:~3,1!" == "" (echo º Money stored: $!Money_Parking! º) ELSE (if not "!Money_Parking:~2,1!" == "" (echo º Money stored: $!Money_Parking! º) ELSE (if not "!Money_Parking:~1,1!" == "" (echo º Money stored: $!Money_Parking! º) ELSE (echo º Money stored: $!Money_Parking! º))))
  3088. echo º º
  3089. echo º If you come on this field, you receive all the º
  3090. echo º stored money from payments by other fields. º
  3091. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  3092. echo.
  3093. echo Current player: %Player% (!Char_%Player%!)
  3094. echo Total money: !Money_%Player%!
  3095. echo.
  3096. set /a Money_Parking=!Money_Parking!
  3097. if not "!Money_Parking!" == "0" (
  3098. set Puffer=!Money_%Player%!
  3099. set /a Money_%Player%=!Money_%Player%! + !Money_Parking!
  3100. echo ÄÄÄ^> Money increased from $!Puffer! by $!Money_Parking! to $!Money_%Player%!.
  3101. echo.
  3102. )
  3103. set Money_Parking=0
  3104. pause
  3105. exit /b
  3106.  
  3107.  
  3108.  
  3109.  
  3110. :KentuckyAvenue
  3111. :KentuckyAvenue 22
  3112. set Purchase=
  3113. set Buy_House=
  3114. set PayRent=
  3115. set Sell_Street=
  3116. if not defined KentuckyAvenue_Houses set KentuckyAvenue_Houses=0
  3117. cls
  3118. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  3119. echo º º
  3120. echo º Kentucky Avenue º
  3121. echo º º
  3122. echo º PRICE $220 RENT $18 º
  3123. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3124. echo º With 1 House $90 º
  3125. echo º º
  3126. echo º With 2 Houses $250 º
  3127. echo º º
  3128. echo º With 3 Houses $700 º
  3129. echo º º
  3130. echo º With 4 Houses $875 º
  3131. echo º º
  3132. echo º With HOTEL $1050 º
  3133. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3134. echo º One house costs $150 º
  3135. echo º º
  3136. echo º Mortgage value $110 º
  3137. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3138. echo º º
  3139. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  3140. echo.
  3141. echo Current player: %Player% (!Char_%Player%!)
  3142. echo Total money: !Money_%Player%!
  3143. echo.
  3144. if "!KentuckyAvenue!" == "%Player%" goto :KentuckyAvenue_Houses
  3145. if defined KentuckyAvenue goto :KentuckyAvenue_PayRent
  3146. echo Press [1] to buy this street for $220 or
  3147. echo press [2] to leave it.
  3148. set /p Purchase=
  3149. if "%Purchase%" == "1" (
  3150. set Puffer=!Money_%Player%!
  3151. set /a Money_%Player%=!Money_%Player%! - 220
  3152. if "!Money_%Player%:~0,1!" == "-" (
  3153. echo You have not enough money.
  3154. set /a Money_%Player%=!Money_%Player%! + 220
  3155. ) ELSE (
  3156. echo ÄÄÄ^> Money decreased from $!Puffer! by $220 to $!Money_%Player%!.
  3157. set KentuckyAvenue=%Player%
  3158. )
  3159. pause
  3160. exit /b
  3161. )
  3162. if "%Purchase%" == "2" exit /b
  3163. goto :KentuckyAvenue
  3164. :KentuckyAvenue_Houses
  3165. :KentuckyAvenue_Houses
  3166. if "!KentuckyAvenue_Houses!" == "5" (
  3167. echo This street has got a hotel.
  3168. pause
  3169. exit /b
  3170. ) ELSE (
  3171. echo This street has got !KentuckyAvenue_Houses! houses, yet.
  3172. echo.
  3173. )
  3174. echo Press [1] to buy a new house or
  3175. echo press [2] to leave it or
  3176. echo press [3] to sell it for $110.
  3177. set /p Buy_House=
  3178. echo.
  3179. if "%Buy_House%" == "1" (
  3180. set Puffer=!Money_%Player%!
  3181. set /a Money_%Player%=!Money_%Player%! - 150
  3182. if "!Money_%Player%:~0,1!" == "-" (
  3183. echo You have not enough money.
  3184. set /a Money_%Player%=!Money_%Player%! + 150
  3185. ) ELSE (
  3186. echo ÄÄÄ^> Money decreased from $!Puffer! by $150 to $!Money_%Player%!.
  3187. set /a KentuckyAvenue_Houses=!KentuckyAvenue_Houses! + 1
  3188. if not "!KentuckyAvenue_Houses!" == "5" (echo This street has got !KentuckyAvenue_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  3189. )
  3190. pause
  3191. exit /b
  3192. )
  3193. if "%Buy_House%" == "2" exit /b
  3194. if "%Buy_House%" == "3" (
  3195. echo Are you sure you want to sell the street? [Y/N]
  3196. set /p Sell_Street=
  3197. if /i "!Sell_Street!" == "n" exit /b
  3198. if /i "!Sell_Street!" == "y" (
  3199. set Puffer=!Money_%Player%!
  3200. set /a Money_%Player%=!Money_%Player%! + 110
  3201. echo ÄÄÄ^> Money increased from $!Puffer! by $110 to $!Money_%Player%!.
  3202. set KentuckyAvenue=
  3203. set KentuckyAvenue_Houses=0
  3204. )
  3205. )
  3206. goto :KentuckyAvenue_Houses
  3207. :KentuckyAvenue_PayRent
  3208. :KentuckyAvenue_PayRent
  3209. if "!KentuckyAvenue_Houses!" == "0" set PayRent=18
  3210. if "!KentuckyAvenue_Houses!" == "1" set PayRent=90
  3211. if "!KentuckyAvenue_Houses!" == "2" set PayRent=250
  3212. if "!KentuckyAvenue_Houses!" == "3" set PayRent=700
  3213. if "!KentuckyAvenue_Houses!" == "4" set PayRent=875
  3214. if "!KentuckyAvenue_Houses!" == "5" set PayRent=1050
  3215. echo This street is owned by the other player. You have to pay
  3216. echo $%PayRent% to pass.
  3217. set Puffer=!Money_%Player%!
  3218. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  3219. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  3220. if "!Money_%Player%:~0,1!" == "-" (
  3221. echo.
  3222. pause
  3223. cls
  3224. echo Player %Player% [!Char_%Player%!] is bankrupt.
  3225. echo.
  3226. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3227. echo Player !Player! wins the game.
  3228. echo.
  3229. pause
  3230. exit
  3231. )
  3232. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3233. set Player=!Player!
  3234. set Puffer=!Money_%Player%!
  3235. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  3236. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  3237. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3238. set Player=!Player!
  3239. echo.
  3240. pause
  3241. exit /b
  3242.  
  3243.  
  3244.  
  3245.  
  3246. :IndianaAvenue
  3247. :IndianaAvenue 24
  3248. set Purchase=
  3249. set Buy_House=
  3250. set PayRent=
  3251. set Sell_Street=
  3252. if not defined IndianaAvenue_Houses set IndianaAvenue_Houses=0
  3253. cls
  3254. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  3255. echo º º
  3256. echo º Indiana Avenue º
  3257. echo º º
  3258. echo º PRICE $220 RENT $18 º
  3259. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3260. echo º With 1 House $90 º
  3261. echo º º
  3262. echo º With 2 Houses $250 º
  3263. echo º º
  3264. echo º With 3 Houses $700 º
  3265. echo º º
  3266. echo º With 4 Houses $875 º
  3267. echo º º
  3268. echo º With HOTEL $1050 º
  3269. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3270. echo º One house costs $150 º
  3271. echo º º
  3272. echo º Mortgage value $110 º
  3273. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3274. echo º º
  3275. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  3276. echo.
  3277. echo Current player: %Player% (!Char_%Player%!)
  3278. echo Total money: !Money_%Player%!
  3279. echo.
  3280. if "!IndianaAvenue!" == "%Player%" goto :IndianaAvenue_Houses
  3281. if defined IndianaAvenue goto :IndianaAvenue_PayRent
  3282. echo Press [1] to buy this street for $220 or
  3283. echo press [2] to leave it.
  3284. set /p Purchase=
  3285. if "%Purchase%" == "1" (
  3286. set Puffer=!Money_%Player%!
  3287. set /a Money_%Player%=!Money_%Player%! - 220
  3288. if "!Money_%Player%:~0,1!" == "-" (
  3289. echo You have not enough money.
  3290. set /a Money_%Player%=!Money_%Player%! + 220
  3291. ) ELSE (
  3292. echo ÄÄÄ^> Money decreased from $!Puffer! by $220 to $!Money_%Player%!.
  3293. set IndianaAvenue=%Player%
  3294. )
  3295. pause
  3296. exit /b
  3297. )
  3298. if "%Purchase%" == "2" exit /b
  3299. goto :IndianaAvenue
  3300. :IndianaAvenue_Houses
  3301. :IndianaAvenue_Houses
  3302. if "!IndianaAvenue_Houses!" == "5" (
  3303. echo This street has got a hotel.
  3304. pause
  3305. exit /b
  3306. ) ELSE (
  3307. echo This street has got !IndianaAvenue_Houses! houses, yet.
  3308. echo.
  3309. )
  3310. echo Press [1] to buy a new house or
  3311. echo press [2] to leave it or
  3312. echo press [3] to sell it for $110.
  3313. set /p Buy_House=
  3314. echo.
  3315. if "%Buy_House%" == "1" (
  3316. set Puffer=!Money_%Player%!
  3317. set /a Money_%Player%=!Money_%Player%! - 150
  3318. if "!Money_%Player%:~0,1!" == "-" (
  3319. echo You have not enough money.
  3320. set /a Money_%Player%=!Money_%Player%! + 150
  3321. ) ELSE (
  3322. echo ÄÄÄ^> Money decreased from $!Puffer! by $150 to $!Money_%Player%!.
  3323. set /a IndianaAvenue_Houses=!IndianaAvenue_Houses! + 1
  3324. if not "!IndianaAvenue_Houses!" == "5" (echo This street has got !IndianaAvenue_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  3325. )
  3326. pause
  3327. exit /b
  3328. )
  3329. if "%Buy_House%" == "2" exit /b
  3330. if "%Buy_House%" == "3" (
  3331. echo Are you sure you want to sell the street? [Y/N]
  3332. set /p Sell_Street=
  3333. if /i "!Sell_Street!" == "n" exit /b
  3334. if /i "!Sell_Street!" == "y" (
  3335. set Puffer=!Money_%Player%!
  3336. set /a Money_%Player%=!Money_%Player%! + 110
  3337. echo ÄÄÄ^> Money increased from $!Puffer! by $110 to $!Money_%Player%!.
  3338. set IndianaAvenue=
  3339. set IndianaAvenue_Houses=0
  3340. )
  3341. )
  3342. goto :IndianaAvenue_Houses
  3343. :IndianaAvenue_PayRent
  3344. :IndianaAvenue_PayRent
  3345. if "!IndianaAvenue_Houses!" == "0" set PayRent=18
  3346. if "!IndianaAvenue_Houses!" == "1" set PayRent=90
  3347. if "!IndianaAvenue_Houses!" == "2" set PayRent=250
  3348. if "!IndianaAvenue_Houses!" == "3" set PayRent=700
  3349. if "!IndianaAvenue_Houses!" == "4" set PayRent=875
  3350. if "!IndianaAvenue_Houses!" == "5" set PayRent=1050
  3351. echo This street is owned by the other player. You have to pay
  3352. echo $%PayRent% to pass.
  3353. set Puffer=!Money_%Player%!
  3354. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  3355. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  3356. if "!Money_%Player%:~0,1!" == "-" (
  3357. echo.
  3358. pause
  3359. cls
  3360. echo Player %Player% [!Char_%Player%!] is bankrupt.
  3361. echo.
  3362. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3363. echo Player !Player! wins the game.
  3364. echo.
  3365. pause
  3366. exit
  3367. )
  3368. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3369. set Player=!Player!
  3370. set Puffer=!Money_%Player%!
  3371. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  3372. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  3373. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3374. set Player=!Player!
  3375. echo.
  3376. pause
  3377. exit /b
  3378.  
  3379.  
  3380.  
  3381.  
  3382. :IllinoisAvenue
  3383. :IllinoisAvenue 25
  3384. set Purchase=
  3385. set Buy_House=
  3386. set PayRent=
  3387. set Sell_Street=
  3388. if not defined IllinoisAvenue_Houses set IllinoisAvenue_Houses=0
  3389. cls
  3390. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  3391. echo º º
  3392. echo º Illinois Avenue º
  3393. echo º º
  3394. echo º PRICE $240 RENT $20 º
  3395. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3396. echo º With 1 House $100 º
  3397. echo º º
  3398. echo º With 2 Houses $300 º
  3399. echo º º
  3400. echo º With 3 Houses $750 º
  3401. echo º º
  3402. echo º With 4 Houses $925 º
  3403. echo º º
  3404. echo º With HOTEL $1100 º
  3405. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3406. echo º One house costs $150 º
  3407. echo º º
  3408. echo º Mortgage value $120 º
  3409. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3410. echo º º
  3411. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  3412. echo.
  3413. echo Current player: %Player% (!Char_%Player%!)
  3414. echo Total money: !Money_%Player%!
  3415. echo.
  3416. if "!IllinoisAvenue!" == "%Player%" goto :IllinoisAvenue_Houses
  3417. if defined IllinoisAvenue goto :IllinoisAvenue_PayRent
  3418. echo Press [1] to buy this street for $240 or
  3419. echo press [2] to leave it.
  3420. set /p Purchase=
  3421. if "%Purchase%" == "1" (
  3422. set Puffer=!Money_%Player%!
  3423. set /a Money_%Player%=!Money_%Player%! - 240
  3424. if "!Money_%Player%:~0,1!" == "-" (
  3425. echo You have not enough money.
  3426. set /a Money_%Player%=!Money_%Player%! + 240
  3427. ) ELSE (
  3428. echo ÄÄÄ^> Money decreased from $!Puffer! by $240 to $!Money_%Player%!.
  3429. set IllinoisAvenue=%Player%
  3430. )
  3431. pause
  3432. exit /b
  3433. )
  3434. if "%Purchase%" == "2" exit /b
  3435. goto :IllinoisAvenue
  3436. :IllinoisAvenue_Houses
  3437. :IllinoisAvenue_Houses
  3438. if "!IllinoisAvenue_Houses!" == "5" (
  3439. echo This street has got a hotel.
  3440. pause
  3441. exit /b
  3442. ) ELSE (
  3443. echo This street has got !IllinoisAvenue_Houses! houses, yet.
  3444. echo.
  3445. )
  3446. echo Press [1] to buy a new house or
  3447. echo press [2] to leave it or
  3448. echo press [3] to sell it for $120.
  3449. set /p Buy_House=
  3450. echo.
  3451. if "%Buy_House%" == "1" (
  3452. set Puffer=!Money_%Player%!
  3453. set /a Money_%Player%=!Money_%Player%! - 150
  3454. if "!Money_%Player%:~0,1!" == "-" (
  3455. echo You have not enough money.
  3456. set /a Money_%Player%=!Money_%Player%! + 150
  3457. ) ELSE (
  3458. echo ÄÄÄ^> Money decreased from $!Puffer! by $150 to $!Money_%Player%!.
  3459. set /a IllinoisAvenue_Houses=!IllinoisAvenue_Houses! + 1
  3460. if not "!IllinoisAvenue_Houses!" == "5" (echo This street has got !IllinoisAvenue_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  3461. )
  3462. pause
  3463. exit /b
  3464. )
  3465. if "%Buy_House%" == "2" exit /b
  3466. if "%Buy_House%" == "3" (
  3467. echo Are you sure you want to sell the street? [Y/N]
  3468. set /p Sell_Street=
  3469. if /i "!Sell_Street!" == "n" exit /b
  3470. if /i "!Sell_Street!" == "y" (
  3471. set Puffer=!Money_%Player%!
  3472. set /a Money_%Player%=!Money_%Player%! + 120
  3473. echo ÄÄÄ^> Money increased from $!Puffer! by $120 to $!Money_%Player%!.
  3474. set IllinoisAvenue=
  3475. set IllinoisAvenue_Houses=0
  3476. )
  3477. )
  3478. goto :IllinoisAvenue_Houses
  3479. :IllinoisAvenue_PayRent
  3480. :IllinoisAvenue_PayRent
  3481. if "!IllinoisAvenue_Houses!" == "0" set PayRent=20
  3482. if "!IllinoisAvenue_Houses!" == "1" set PayRent=100
  3483. if "!IllinoisAvenue_Houses!" == "2" set PayRent=300
  3484. if "!IllinoisAvenue_Houses!" == "3" set PayRent=750
  3485. if "!IllinoisAvenue_Houses!" == "4" set PayRent=925
  3486. if "!IllinoisAvenue_Houses!" == "5" set PayRent=1100
  3487. echo This street is owned by the other player. You have to pay
  3488. echo $%PayRent% to pass.
  3489. set Puffer=!Money_%Player%!
  3490. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  3491. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  3492. if "!Money_%Player%:~0,1!" == "-" (
  3493. echo.
  3494. pause
  3495. cls
  3496. echo Player %Player% [!Char_%Player%!] is bankrupt.
  3497. echo.
  3498. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3499. echo Player !Player! wins the game.
  3500. echo.
  3501. pause
  3502. exit
  3503. )
  3504. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3505. set Player=!Player!
  3506. set Puffer=!Money_%Player%!
  3507. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  3508. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  3509. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3510. set Player=!Player!
  3511. echo.
  3512. pause
  3513. exit /b
  3514.  
  3515.  
  3516.  
  3517.  
  3518. :B.O.Railroad
  3519. :B.O.Railroad 26
  3520. set Purchase=
  3521. set Buy_House=
  3522. set PayRent=
  3523. set RailroadAmount=0
  3524. set Sell_Street=
  3525. cls
  3526. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  3527. echo º º
  3528. echo º B. ^& O. Railroad º
  3529. echo º º
  3530. echo º PRICE $200 º
  3531. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3532. echo º º
  3533. echo º º
  3534. echo º If 1 owned $25 º
  3535. echo º º
  3536. echo º If 2 owned $50 º
  3537. echo º º
  3538. echo º If 3 owned $100 º
  3539. echo º º
  3540. echo º If 4 owned $200 º
  3541. echo º º
  3542. echo º º
  3543. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3544. echo º Mortgage value $100 º
  3545. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3546. echo º º
  3547. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  3548. echo.
  3549. echo Current player: %Player% (!Char_%Player%!)
  3550. echo Total money: !Money_%Player%!
  3551. echo.
  3552. if "!B.O.Railroad!" == "%Player%" goto :B.O.Railroad_Houses
  3553. if defined B.O.Railroad goto :B.O.Railroad_PayRent
  3554. echo Press [1] to buy this railroad for $200 or
  3555. echo press [2] to leave it.
  3556. set /p Purchase=
  3557. if "%Purchase%" == "1" (
  3558. set Puffer=!Money_%Player%!
  3559. set /a Money_%Player%=!Money_%Player%! - 200
  3560. if "!Money_%Player%:~0,1!" == "-" (
  3561. echo You have not enough money.
  3562. set /a Money_%Player%=!Money_%Player%! + 200
  3563. ) ELSE (
  3564. echo ÄÄÄ^> Money decreased from $!Puffer! by $200 to $!Money_%Player%!.
  3565. set B.O.Railroad=%Player%
  3566. )
  3567. pause
  3568. exit /b
  3569. )
  3570. if "%Purchase%" == "2" exit /b
  3571. goto :B.O.Railroad
  3572. :B.O.Railroad_Houses
  3573. :B.O.Railroad_Houses
  3574. echo This railroad is yours.
  3575. echo.
  3576. echo Press [2] to leave it or
  3577. echo press [3] to sell it for $100.
  3578. set /p Buy_House=
  3579. echo.
  3580. if "%Buy_House%" == "2" exit /b
  3581. if "%Buy_House%" == "3" (
  3582. echo Are you sure you want to sell this railroad? [Y/N]
  3583. set /p Sell_Street=
  3584. if /i "!Sell_Street!" == "n" exit /b
  3585. if /i "!Sell_Street!" == "y" (
  3586. set Puffer=!Money_%Player%!
  3587. set /a Money_%Player%=!Money_%Player%! + 100
  3588. echo ÄÄÄ^> Money increased from $!Puffer! by $100 to $!Money_%Player%!.
  3589. set B.O.Railroad=
  3590. )
  3591. )
  3592. goto :B.O.Railroad_Houses
  3593. :B.O.Railroad_PayRent
  3594. :B.O.Railroad_PayRent
  3595. if "%Player%" == "1" (set Player=2) ELSE (set Player=1)
  3596. set Player=!Player!
  3597. FOR %%A IN (ReadingRailroad PennsylvaniaRailroad B.O.Railroad ShortLineRailroad) DO if "!%%A!" == "%Player%" set /a RailroadAmount=!RailroadAmount! + 1
  3598. if "%Player%" == "1" (set Player=2) ELSE (set Player=1)
  3599. set Player=!Player!
  3600. echo The other player owns !RailroadAmount! of 4 railroads.
  3601. if "!RailroadAmount!" == "1" set PayRent=25
  3602. if "!RailroadAmount!" == "2" set PayRent=50
  3603. if "!RailroadAmount!" == "3" set PayRent=100
  3604. if "!RailroadAmount!" == "4" set PayRent=200
  3605. if "!RentalTwice!" == "1" set /a PayRent=%PayRent% * 2
  3606. set Puffer=!Money_%Player%!
  3607. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  3608. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  3609. if "!Money_%Player%:~0,1!" == "-" (
  3610. echo.
  3611. pause
  3612. cls
  3613. echo Player %Player% [!Char_%Player%!] is bankrupt.
  3614. echo.
  3615. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3616. echo Player !Player! wins the game.
  3617. echo.
  3618. pause
  3619. exit
  3620. )
  3621. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3622. set Player=!Player!
  3623. set Puffer=!Money_%Player%!
  3624. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  3625. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  3626. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3627. set Player=!Player!
  3628. echo.
  3629. pause
  3630. exit /b
  3631.  
  3632.  
  3633.  
  3634.  
  3635. :AtlanticAvenue
  3636. :AtlanticAvenue 27
  3637. set Purchase=
  3638. set Buy_House=
  3639. set PayRent=
  3640. set Sell_Street=
  3641. if not defined AtlanticAvenue_Houses set AtlanticAvenue_Houses=0
  3642. cls
  3643. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  3644. echo º º
  3645. echo º Atlantic Avenue º
  3646. echo º º
  3647. echo º PRICE $260 RENT $22 º
  3648. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3649. echo º With 1 House $110 º
  3650. echo º º
  3651. echo º With 2 Houses $330 º
  3652. echo º º
  3653. echo º With 3 Houses $800 º
  3654. echo º º
  3655. echo º With 4 Houses $975 º
  3656. echo º º
  3657. echo º With HOTEL $1150 º
  3658. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3659. echo º One house costs $150 º
  3660. echo º º
  3661. echo º Mortgage value $130 º
  3662. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3663. echo º º
  3664. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  3665. echo.
  3666. echo Current player: %Player% (!Char_%Player%!)
  3667. echo Total money: !Money_%Player%!
  3668. echo.
  3669. if "!AtlanticAvenue!" == "%Player%" goto :AtlanticAvenue_Houses
  3670. if defined AtlanticAvenue goto :AtlanticAvenue_PayRent
  3671. echo Press [1] to buy this street for $260 or
  3672. echo press [2] to leave it.
  3673. set /p Purchase=
  3674. if "%Purchase%" == "1" (
  3675. set Puffer=!Money_%Player%!
  3676. set /a Money_%Player%=!Money_%Player%! - 260
  3677. if "!Money_%Player%:~0,1!" == "-" (
  3678. echo You have not enough money.
  3679. set /a Money_%Player%=!Money_%Player%! + 260
  3680. ) ELSE (
  3681. echo ÄÄÄ^> Money decreased from $!Puffer! by $260 to $!Money_%Player%!.
  3682. set AtlanticAvenue=%Player%
  3683. )
  3684. pause
  3685. exit /b
  3686. )
  3687. if "%Purchase%" == "2" exit /b
  3688. goto :AtlanticAvenue
  3689. :AtlanticAvenue_Houses
  3690. :AtlanticAvenue_Houses
  3691. if "!AtlanticAvenue_Houses!" == "5" (
  3692. echo This street has got a hotel.
  3693. pause
  3694. exit /b
  3695. ) ELSE (
  3696. echo This street has got !AtlanticAvenue_Houses! houses, yet.
  3697. echo.
  3698. )
  3699. echo Press [1] to buy a new house or
  3700. echo press [2] to leave it or
  3701. echo press [3] to sell it for $130.
  3702. set /p Buy_House=
  3703. echo.
  3704. if "%Buy_House%" == "1" (
  3705. set Puffer=!Money_%Player%!
  3706. set /a Money_%Player%=!Money_%Player%! - 150
  3707. if "!Money_%Player%:~0,1!" == "-" (
  3708. echo You have not enough money.
  3709. set /a Money_%Player%=!Money_%Player%! + 150
  3710. ) ELSE (
  3711. echo ÄÄÄ^> Money decreased from $!Puffer! by $150 to $!Money_%Player%!.
  3712. set /a AtlanticAvenue_Houses=!AtlanticAvenue_Houses! + 1
  3713. if not "!AtlanticAvenue_Houses!" == "5" (echo This street has got !AtlanticAvenue_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  3714. )
  3715. pause
  3716. exit /b
  3717. )
  3718. if "%Buy_House%" == "2" exit /b
  3719. if "%Buy_House%" == "3" (
  3720. echo Are you sure you want to sell the street? [Y/N]
  3721. set /p Sell_Street=
  3722. if /i "!Sell_Street!" == "n" exit /b
  3723. if /i "!Sell_Street!" == "y" (
  3724. set Puffer=!Money_%Player%!
  3725. set /a Money_%Player%=!Money_%Player%! + 130
  3726. echo ÄÄÄ^> Money increased from $!Puffer! by $130 to $!Money_%Player%!.
  3727. set AtlanticAvenue=
  3728. set AtlanticAvenue_Houses=0
  3729. )
  3730. )
  3731. goto :AtlanticAvenue_Houses
  3732. :AtlanticAvenue_PayRent
  3733. :AtlanticAvenue_PayRent
  3734. if "!AtlanticAvenue_Houses!" == "0" set PayRent=22
  3735. if "!AtlanticAvenue_Houses!" == "1" set PayRent=110
  3736. if "!AtlanticAvenue_Houses!" == "2" set PayRent=330
  3737. if "!AtlanticAvenue_Houses!" == "3" set PayRent=800
  3738. if "!AtlanticAvenue_Houses!" == "4" set PayRent=975
  3739. if "!AtlanticAvenue_Houses!" == "5" set PayRent=1150
  3740. echo This street is owned by the other player. You have to pay
  3741. echo $%PayRent% to pass.
  3742. set Puffer=!Money_%Player%!
  3743. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  3744. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  3745. if "!Money_%Player%:~0,1!" == "-" (
  3746. echo.
  3747. pause
  3748. cls
  3749. echo Player %Player% [!Char_%Player%!] is bankrupt.
  3750. echo.
  3751. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3752. echo Player !Player! wins the game.
  3753. echo.
  3754. pause
  3755. exit
  3756. )
  3757. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3758. set Player=!Player!
  3759. set Puffer=!Money_%Player%!
  3760. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  3761. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  3762. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3763. set Player=!Player!
  3764. echo.
  3765. pause
  3766. exit /b
  3767.  
  3768.  
  3769.  
  3770.  
  3771. :VeninorAvenue
  3772. :VeninorAvenue 28
  3773. set Purchase=
  3774. set Buy_House=
  3775. set PayRent=
  3776. set Sell_Street=
  3777. if not defined VeninorAvenue_Houses set VeninorAvenue_Houses=0
  3778. cls
  3779. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  3780. echo º º
  3781. echo º Veninor Avenue º
  3782. echo º º
  3783. echo º PRICE $260 RENT $22 º
  3784. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3785. echo º With 1 House $110 º
  3786. echo º º
  3787. echo º With 2 Houses $330 º
  3788. echo º º
  3789. echo º With 3 Houses $800 º
  3790. echo º º
  3791. echo º With 4 Houses $975 º
  3792. echo º º
  3793. echo º With HOTEL $1150 º
  3794. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3795. echo º One house costs $150 º
  3796. echo º º
  3797. echo º Mortgage value $130 º
  3798. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3799. echo º º
  3800. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  3801. echo.
  3802. echo Current player: %Player% (!Char_%Player%!)
  3803. echo Total money: !Money_%Player%!
  3804. echo.
  3805. if "!VeninorAvenue!" == "%Player%" goto :VeninorAvenue_Houses
  3806. if defined VeninorAvenue goto :VeninorAvenue_PayRent
  3807. echo Press [1] to buy this street for $260 or
  3808. echo press [2] to leave it.
  3809. set /p Purchase=
  3810. if "%Purchase%" == "1" (
  3811. set Puffer=!Money_%Player%!
  3812. set /a Money_%Player%=!Money_%Player%! - 260
  3813. if "!Money_%Player%:~0,1!" == "-" (
  3814. echo You have not enough money.
  3815. set /a Money_%Player%=!Money_%Player%! + 260
  3816. ) ELSE (
  3817. echo ÄÄÄ^> Money decreased from $!Puffer! by $260 to $!Money_%Player%!.
  3818. set VeninorAvenue=%Player%
  3819. )
  3820. pause
  3821. exit /b
  3822. )
  3823. if "%Purchase%" == "2" exit /b
  3824. goto :VeninorAvenue
  3825. :VeninorAvenue_Houses
  3826. :VeninorAvenue_Houses
  3827. if "!VeninorAvenue_Houses!" == "5" (
  3828. echo This street has got a hotel.
  3829. pause
  3830. exit /b
  3831. ) ELSE (
  3832. echo This street has got !VeninorAvenue_Houses! houses, yet.
  3833. echo.
  3834. )
  3835. echo Press [1] to buy a new house or
  3836. echo press [2] to leave it or
  3837. echo press [3] to sell it for $130.
  3838. set /p Buy_House=
  3839. echo.
  3840. if "%Buy_House%" == "1" (
  3841. set Puffer=!Money_%Player%!
  3842. set /a Money_%Player%=!Money_%Player%! - 150
  3843. if "!Money_%Player%:~0,1!" == "-" (
  3844. echo You have not enough money.
  3845. set /a Money_%Player%=!Money_%Player%! + 150
  3846. ) ELSE (
  3847. echo ÄÄÄ^> Money decreased from $!Puffer! by $150 to $!Money_%Player%!.
  3848. set /a VeninorAvenue_Houses=!VeninorAvenue_Houses! + 1
  3849. if not "!VeninorAvenue_Houses!" == "5" (echo This street has got !VeninorAvenue_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  3850. )
  3851. pause
  3852. exit /b
  3853. )
  3854. if "%Buy_House%" == "2" exit /b
  3855. if "%Buy_House%" == "3" (
  3856. echo Are you sure you want to sell the street? [Y/N]
  3857. set /p Sell_Street=
  3858. if /i "!Sell_Street!" == "n" exit /b
  3859. if /i "!Sell_Street!" == "y" (
  3860. set Puffer=!Money_%Player%!
  3861. set /a Money_%Player%=!Money_%Player%! + 130
  3862. echo ÄÄÄ^> Money increased from $!Puffer! by $130 to $!Money_%Player%!.
  3863. set VeninorAvenue=
  3864. set VeninorAvenue_Houses=0
  3865. )
  3866. )
  3867. goto :VeninorAvenue_Houses
  3868. :VeninorAvenue_PayRent
  3869. :VeninorAvenue_PayRent
  3870. if "!VeninorAvenue_Houses!" == "0" set PayRent=22
  3871. if "!VeninorAvenue_Houses!" == "1" set PayRent=110
  3872. if "!VeninorAvenue_Houses!" == "2" set PayRent=330
  3873. if "!VeninorAvenue_Houses!" == "3" set PayRent=800
  3874. if "!VeninorAvenue_Houses!" == "4" set PayRent=975
  3875. if "!VeninorAvenue_Houses!" == "5" set PayRent=1150
  3876. echo This street is owned by the other player. You have to pay
  3877. echo $%PayRent% to pass.
  3878. set Puffer=!Money_%Player%!
  3879. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  3880. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  3881. if "!Money_%Player%:~0,1!" == "-" (
  3882. echo.
  3883. pause
  3884. cls
  3885. echo Player %Player% [!Char_%Player%!] is bankrupt.
  3886. echo.
  3887. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3888. echo Player !Player! wins the game.
  3889. echo.
  3890. pause
  3891. exit
  3892. )
  3893. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3894. set Player=!Player!
  3895. set Puffer=!Money_%Player%!
  3896. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  3897. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  3898. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  3899. set Player=!Player!
  3900. echo.
  3901. pause
  3902. exit /b
  3903.  
  3904.  
  3905.  
  3906.  
  3907. :WaterWorks
  3908. :WaterWorks 29
  3909. set Purchase=
  3910. set Buy_House=
  3911. set PayRent=
  3912. set CompanyAmount=0
  3913. set Sell_Street=
  3914. cls
  3915. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  3916. echo º º
  3917. echo º Water Works º
  3918. echo º º
  3919. echo º PRICE $150 º
  3920. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3921. echo º º
  3922. echo º º
  3923. echo ºIf 1 owned, rent equals º
  3924. echo º º
  3925. echo º 4 times dice roll º
  3926. echo º º
  3927. echo º º
  3928. echo ºIf 2 owned, rent equals º
  3929. echo º º
  3930. echo º 10 times dice roll º
  3931. echo º º
  3932. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3933. echo º Mortgage value $75 º
  3934. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  3935. echo º º
  3936. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  3937. echo.
  3938. echo Current player: %Player% (!Char_%Player%!)
  3939. echo Total money: !Money_%Player%!
  3940. echo.
  3941. if "!WaterWorks!" == "%Player%" goto :WaterWorks_Houses
  3942. if defined WaterWorks goto :WaterWorks_PayRent
  3943. echo Press [1] to buy this street for $150 or
  3944. echo press [2] to leave it.
  3945. set /p Purchase=
  3946. if "%Purchase%" == "1" (
  3947. set Puffer=!Money_%Player%!
  3948. set /a Money_%Player%=!Money_%Player%! - 150
  3949. if "!Money_%Player%:~0,1!" == "-" (
  3950. echo You have not enough money.
  3951. set /a Money_%Player%=!Money_%Player%! + 150
  3952. ) ELSE (
  3953. echo ÄÄÄ^> Money decreased from $!Puffer! by $150 to $!Money_%Player%!.
  3954. set WaterWorks=%Player%
  3955. )
  3956. pause
  3957. exit /b
  3958. )
  3959. if "%Purchase%" == "2" exit /b
  3960. goto :WaterWorks
  3961. :WaterWorks_Houses
  3962. :WaterWorks_Houses
  3963. echo Press [2] to leave it or
  3964. echo press [3] to sell it for $75.
  3965. set /p Buy_House=
  3966. echo.
  3967. if "%Buy_House%" == "2" exit /b
  3968. if "%Buy_House%" == "3" (
  3969. echo Are you sure you want to sell this street? [Y/N]
  3970. set /p Sell_Street=
  3971. if /i "!Sell_Street!" == "n" exit /b
  3972. if /i "!Sell_Street!" == "y" (
  3973. set Puffer=!Money_%Player%!
  3974. set /a Money_%Player%=!Money_%Player%! + 75
  3975. echo ÄÄÄ^> Money increased from $!Puffer! by $75 to $!Money_%Player%!.
  3976. set WaterWorks=
  3977. )
  3978. )
  3979. goto :ElectricCompany_Houses
  3980. :WaterWorks_PayRent
  3981. :WaterWorks_PayRent
  3982. if "%Player%" == "1" (set Player=2) ELSE (set Player=1)
  3983. set Player=!Player!
  3984. if "!ElectricCompany!" == "%Player%" set /a CompanyAmount=!CompanyAmount! + 1
  3985. if "!WaterWorks!" == "%Player%" set /a CompanyAmount=!CompanyAmount! + 1
  3986. if "%Player%" == "1" (set Player=2) ELSE (set Player=1)
  3987. set Player=!Player!
  3988. echo The other player owns !CompanyAmount! of 2 companies.
  3989. if "!CompanyAmount!" == "1" set /a PayRent=%Dice% * 4
  3990. if "!CompanyAmount!" == "2" set /a PayRent=%Dice% * 10
  3991. if "%1" == "CameByChance" set /a PayRent=!Dice! * 10
  3992. set Puffer=!Money_%Player%!
  3993. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  3994. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  3995. if "!Money_%Player%:~0,1!" == "-" (
  3996. echo.
  3997. pause
  3998. cls
  3999. echo Player %Player% [!Char_%Player%!] is bankrupt.
  4000. echo.
  4001. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4002. echo Player !Player! wins the game.
  4003. echo.
  4004. pause
  4005. exit
  4006. )
  4007. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4008. set Player=!Player!
  4009. set Puffer=!Money_%Player%!
  4010. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  4011. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  4012. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4013. set Player=!Player!
  4014. echo.
  4015. pause
  4016. exit /b
  4017.  
  4018.  
  4019.  
  4020.  
  4021. :MarvinGardens
  4022. :MarvinGardens 30
  4023. set Purchase=
  4024. set Buy_House=
  4025. set PayRent=
  4026. set Sell_Street=
  4027. if not defined MarvinGardens_Houses set MarvinGardens_Houses=0
  4028. cls
  4029. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  4030. echo º º
  4031. echo º Marvin Gardens º
  4032. echo º º
  4033. echo º PRICE $280 RENT $24 º
  4034. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4035. echo º With 1 House $120 º
  4036. echo º º
  4037. echo º With 2 Houses $360 º
  4038. echo º º
  4039. echo º With 3 Houses $850 º
  4040. echo º º
  4041. echo º With 4 Houses $1025 º
  4042. echo º º
  4043. echo º With HOTEL $1200 º
  4044. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4045. echo º One house costs $150 º
  4046. echo º º
  4047. echo º Mortgage value $140 º
  4048. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4049. echo º º
  4050. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  4051. echo.
  4052. echo Current player: %Player% (!Char_%Player%!)
  4053. echo Total money: !Money_%Player%!
  4054. echo.
  4055. if "!MarvinGardens!" == "%Player%" goto :MarvinGardens_Houses
  4056. if defined MarvinGardens goto :MarvinGardens_PayRent
  4057. echo Press [1] to buy this street for $280 or
  4058. echo press [2] to leave it.
  4059. set /p Purchase=
  4060. if "%Purchase%" == "1" (
  4061. set Puffer=!Money_%Player%!
  4062. set /a Money_%Player%=!Money_%Player%! - 280
  4063. if "!Money_%Player%:~0,1!" == "-" (
  4064. echo You have not enough money.
  4065. set /a Money_%Player%=!Money_%Player%! + 280
  4066. ) ELSE (
  4067. echo ÄÄÄ^> Money decreased from $!Puffer! by $280 to $!Money_%Player%!.
  4068. set MarvinGardens=%Player%
  4069. )
  4070. pause
  4071. exit /b
  4072. )
  4073. if "%Purchase%" == "2" exit /b
  4074. goto :MarvinGardens
  4075. :MarvinGardens_Houses
  4076. :MarvinGardens_Houses
  4077. if "!MarvinGardens_Houses!" == "5" (
  4078. echo This street has got a hotel.
  4079. pause
  4080. exit /b
  4081. ) ELSE (
  4082. echo This street has got !MarvinGardens_Houses! houses, yet.
  4083. echo.
  4084. )
  4085. echo Press [1] to buy a new house or
  4086. echo press [2] to leave it or
  4087. echo press [3] to sell it for $140.
  4088. set /p Buy_House=
  4089. echo.
  4090. if "%Buy_House%" == "1" (
  4091. set Puffer=!Money_%Player%!
  4092. set /a Money_%Player%=!Money_%Player%! - 150
  4093. if "!Money_%Player%:~0,1!" == "-" (
  4094. echo You have not enough money.
  4095. set /a Money_%Player%=!Money_%Player%! + 150
  4096. ) ELSE (
  4097. echo ÄÄÄ^> Money decreased from $!Puffer! by $150 to $!Money_%Player%!.
  4098. set /a MarvinGardens_Houses=!MarvinGardens_Houses! + 1
  4099. if not "!MarvinGardens_Houses!" == "5" (echo This street has got !MarvinGardens_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  4100. )
  4101. pause
  4102. exit /b
  4103. )
  4104. if "%Buy_House%" == "2" exit /b
  4105. if "%Buy_House%" == "3" (
  4106. echo Are you sure you want to sell the street? [Y/N]
  4107. set /p Sell_Street=
  4108. if /i "!Sell_Street!" == "n" exit /b
  4109. if /i "!Sell_Street!" == "y" (
  4110. set Puffer=!Money_%Player%!
  4111. set /a Money_%Player%=!Money_%Player%! + 140
  4112. echo ÄÄÄ^> Money increased from $!Puffer! by $140 to $!Money_%Player%!.
  4113. set MarvinGardens=
  4114. set MarvinGardens_Houses=0
  4115. )
  4116. )
  4117. goto :MarvinGardens_Houses
  4118. :MarvinGardens_PayRent
  4119. :MarvinGardens_PayRent
  4120. if "!MarvinGardens_Houses!" == "0" set PayRent=24
  4121. if "!MarvinGardens_Houses!" == "1" set PayRent=120
  4122. if "!MarvinGardens_Houses!" == "2" set PayRent=360
  4123. if "!MarvinGardens_Houses!" == "3" set PayRent=850
  4124. if "!MarvinGardens_Houses!" == "4" set PayRent=1025
  4125. if "!MarvinGardens_Houses!" == "5" set PayRent=1200
  4126. echo This street is owned by the other player. You have to pay
  4127. echo $%PayRent% to pass.
  4128. set Puffer=!Money_%Player%!
  4129. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  4130. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  4131. if "!Money_%Player%:~0,1!" == "-" (
  4132. echo.
  4133. pause
  4134. cls
  4135. echo Player %Player% [!Char_%Player%!] is bankrupt.
  4136. echo.
  4137. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4138. echo Player !Player! wins the game.
  4139. echo.
  4140. pause
  4141. exit
  4142. )
  4143. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4144. set Player=!Player!
  4145. set Puffer=!Money_%Player%!
  4146. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  4147. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  4148. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4149. set Player=!Player!
  4150. echo.
  4151. pause
  4152. exit /b
  4153.  
  4154.  
  4155.  
  4156.  
  4157. :SendToJail
  4158. :SendToJail 31
  4159. set Field!Player%Player%Position!_%Player%=
  4160. call :SetFields
  4161. set Field11_J_%Player%=!Char_%Player%!
  4162. set Player%Player%Position=11
  4163. cls
  4164. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  4165. echo º EDEE º
  4166. echo º DELLffD Go to jail. º
  4167. echo º DffLfLLD º
  4168. echo º , fGDED º
  4169. echo º , L G º
  4170. echo º E ú^> . GL º
  4171. echo º .L LGj D º
  4172. echo º G i..E D G º
  4173. echo º t, D D / f º
  4174. echo º jDE D D D º
  4175. echo º Ei D-E D tDt º
  4176. echo º EfDD DGD j D º
  4177. echo º DLLELEGjD GE .DDf º
  4178. echo º ,GLLD.E D D if º
  4179. echo º ,fELLLEKLELLE LLL º
  4180. echo ºDfLKLLLLKLLLLDD Do not walk over Go, º
  4181. echo ºDfLLELLDGLLLLfE do not collect $200. º
  4182. echo ºDfffLLfLLLLfL, º
  4183. echo ºDfffLfffLLffE º
  4184. echo ºGGGGGGGDLiE º
  4185. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  4186. echo.
  4187. if "%1" == "Doublets" (
  4188. echo You got three doublets in a row.
  4189. if "%Player%" == "1" (set Player=2) ELSE (set Player=1)
  4190. )
  4191. set Player=!Player!
  4192. pause
  4193. exit /b
  4194.  
  4195.  
  4196.  
  4197.  
  4198. :PacificAvenue
  4199. :PacificAvenue 32
  4200. set Purchase=
  4201. set Buy_House=
  4202. set PayRent=
  4203. set Sell_Street=
  4204. if not defined PacificAvenue_Houses set PacificAvenue_Houses=0
  4205. cls
  4206. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  4207. echo º º
  4208. echo º Pacific Avenue º
  4209. echo º º
  4210. echo º PRICE $300 RENT $26 º
  4211. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4212. echo º With 1 House $130 º
  4213. echo º º
  4214. echo º With 2 Houses $390 º
  4215. echo º º
  4216. echo º With 3 Houses $900 º
  4217. echo º º
  4218. echo º With 4 Houses $1100 º
  4219. echo º º
  4220. echo º With HOTEL $1275 º
  4221. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4222. echo º One house costs $200 º
  4223. echo º º
  4224. echo º Mortgage value $150 º
  4225. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4226. echo º º
  4227. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  4228. echo.
  4229. echo Current player: %Player% (!Char_%Player%!)
  4230. echo Total money: !Money_%Player%!
  4231. echo.
  4232. if "!PacificAvenue!" == "%Player%" goto :PacificAvenue_Houses
  4233. if defined PacificAvenue goto :PacificAvenue_PayRent
  4234. echo Press [1] to buy this street for $300 or
  4235. echo press [2] to leave it.
  4236. set /p Purchase=
  4237. if "%Purchase%" == "1" (
  4238. set Puffer=!Money_%Player%!
  4239. set /a Money_%Player%=!Money_%Player%! - 300
  4240. if "!Money_%Player%:~0,1!" == "-" (
  4241. echo You have not enough money.
  4242. set /a Money_%Player%=!Money_%Player%! + 300
  4243. ) ELSE (
  4244. echo ÄÄÄ^> Money decreased from $!Puffer! by $300 to $!Money_%Player%!.
  4245. set PacificAvenue=%Player%
  4246. )
  4247. pause
  4248. exit /b
  4249. )
  4250. if "%Purchase%" == "2" exit /b
  4251. goto :PacificAvenue
  4252. :PacificAvenue_Houses
  4253. :PacificAvenue_Houses
  4254. if "!PacificAvenue_Houses!" == "5" (
  4255. echo This street has got a hotel.
  4256. pause
  4257. exit /b
  4258. ) ELSE (
  4259. echo This street has got !PacificAvenue_Houses! houses, yet.
  4260. echo.
  4261. )
  4262. echo Press [1] to buy a new house or
  4263. echo press [2] to leave it or
  4264. echo press [3] to sell it for $150.
  4265. set /p Buy_House=
  4266. echo.
  4267. if "%Buy_House%" == "1" (
  4268. set Puffer=!Money_%Player%!
  4269. set /a Money_%Player%=!Money_%Player%! - 200
  4270. if "!Money_%Player%:~0,1!" == "-" (
  4271. echo You have not enough money.
  4272. set /a Money_%Player%=!Money_%Player%! + 200
  4273. ) ELSE (
  4274. echo ÄÄÄ^> Money decreased from $!Puffer! by $200 to $!Money_%Player%!.
  4275. set /a PacificAvenue_Houses=!PacificAvenue_Houses! + 1
  4276. if not "!PacificAvenue_Houses!" == "5" (echo This street has got !PacificAvenue_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  4277. )
  4278. pause
  4279. exit /b
  4280. )
  4281. if "%Buy_House%" == "2" exit /b
  4282. if "%Buy_House%" == "3" (
  4283. echo Are you sure you want to sell the street? [Y/N]
  4284. set /p Sell_Street=
  4285. if /i "!Sell_Street!" == "n" exit /b
  4286. if /i "!Sell_Street!" == "y" (
  4287. set Puffer=!Money_%Player%!
  4288. set /a Money_%Player%=!Money_%Player%! + 150
  4289. echo ÄÄÄ^> Money increased from $!Puffer! by $150 to $!Money_%Player%!.
  4290. set PacificAvenue=
  4291. set PacificAvenue_Houses=0
  4292. )
  4293. )
  4294. goto :PacificAvenue_Houses
  4295. :PacificAvenue_PayRent
  4296. :PacificAvenue_PayRent
  4297. if "!PacificAvenue_Houses!" == "0" set PayRent=26
  4298. if "!PacificAvenue_Houses!" == "1" set PayRent=130
  4299. if "!PacificAvenue_Houses!" == "2" set PayRent=390
  4300. if "!PacificAvenue_Houses!" == "3" set PayRent=900
  4301. if "!PacificAvenue_Houses!" == "4" set PayRent=1100
  4302. if "!PacificAvenue_Houses!" == "5" set PayRent=1275
  4303. echo This street is owned by the other player. You have to pay
  4304. echo $%PayRent% to pass.
  4305. set Puffer=!Money_%Player%!
  4306. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  4307. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  4308. if "!Money_%Player%:~0,1!" == "-" (
  4309. echo.
  4310. pause
  4311. cls
  4312. echo Player %Player% [!Char_%Player%!] is bankrupt.
  4313. echo.
  4314. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4315. echo Player !Player! wins the game.
  4316. echo.
  4317. pause
  4318. exit
  4319. )
  4320. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4321. set Player=!Player!
  4322. set Puffer=!Money_%Player%!
  4323. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  4324. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  4325. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4326. set Player=!Player!
  4327. echo.
  4328. pause
  4329. exit /b
  4330.  
  4331.  
  4332.  
  4333.  
  4334. :NorthCarolinaAvenue
  4335. :NorthCarolinaAvenue 33
  4336. set Purchase=
  4337. set Buy_House=
  4338. set PayRent=
  4339. set Sell_Street=
  4340. if not defined NorthCarolinaAvenue_Houses set NorthCarolinaAvenue_Houses=0
  4341. cls
  4342. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  4343. echo º º
  4344. echo º North Carolina Avenue º
  4345. echo º º
  4346. echo º PRICE $300 RENT $26 º
  4347. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4348. echo º With 1 House $130 º
  4349. echo º º
  4350. echo º With 2 Houses $390 º
  4351. echo º º
  4352. echo º With 3 Houses $900 º
  4353. echo º º
  4354. echo º With 4 Houses $1100 º
  4355. echo º º
  4356. echo º With HOTEL $1275 º
  4357. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4358. echo º One house costs $200 º
  4359. echo º º
  4360. echo º Mortgage value $150 º
  4361. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4362. echo º º
  4363. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  4364. echo.
  4365. echo Current player: %Player% (!Char_%Player%!)
  4366. echo Total money: !Money_%Player%!
  4367. echo.
  4368. if "!NorthCarolinaAvenue!" == "%Player%" goto :NorthCarolinaAvenue_Houses
  4369. if defined NorthCarolinaAvenue goto :NorthCarolinaAvenue_PayRent
  4370. echo Press [1] to buy this street for $300 or
  4371. echo press [2] to leave it.
  4372. set /p Purchase=
  4373. if "%Purchase%" == "1" (
  4374. set Puffer=!Money_%Player%!
  4375. set /a Money_%Player%=!Money_%Player%! - 300
  4376. if "!Money_%Player%:~0,1!" == "-" (
  4377. echo You have not enough money.
  4378. set /a Money_%Player%=!Money_%Player%! + 300
  4379. ) ELSE (
  4380. echo ÄÄÄ^> Money decreased from $!Puffer! by $300 to $!Money_%Player%!.
  4381. set NorthCarolinaAvenue=%Player%
  4382. )
  4383. pause
  4384. exit /b
  4385. )
  4386. if "%Purchase%" == "2" exit /b
  4387. goto :NorthCarolinaAvenue
  4388. :NorthCarolinaAvenue_Houses
  4389. :NorthCarolinaAvenue_Houses
  4390. if "!NorthCarolinaAvenue_Houses!" == "5" (
  4391. echo This street has got a hotel.
  4392. pause
  4393. exit /b
  4394. ) ELSE (
  4395. echo This street has got !NorthCarolinaAvenue_Houses! houses, yet.
  4396. echo.
  4397. )
  4398. echo Press [1] to buy a new house or
  4399. echo press [2] to leave it or
  4400. echo press [3] to sell it for $150.
  4401. set /p Buy_House=
  4402. echo.
  4403. if "%Buy_House%" == "1" (
  4404. set Puffer=!Money_%Player%!
  4405. set /a Money_%Player%=!Money_%Player%! - 200
  4406. if "!Money_%Player%:~0,1!" == "-" (
  4407. echo You have not enough money.
  4408. set /a Money_%Player%=!Money_%Player%! + 200
  4409. ) ELSE (
  4410. echo ÄÄÄ^> Money decreased from $!Puffer! by $200 to $!Money_%Player%!.
  4411. set /a NorthCarolinaAvenue_Houses=!NorthCarolinaAvenue_Houses! + 1
  4412. if not "!NorthCarolinaAvenue_Houses!" == "5" (echo This street has got !NorthCarolinaAvenue_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  4413. )
  4414. pause
  4415. exit /b
  4416. )
  4417. if "%Buy_House%" == "2" exit /b
  4418. if "%Buy_House%" == "3" (
  4419. echo Are you sure you want to sell the street? [Y/N]
  4420. set /p Sell_Street=
  4421. if /i "!Sell_Street!" == "n" exit /b
  4422. if /i "!Sell_Street!" == "y" (
  4423. set Puffer=!Money_%Player%!
  4424. set /a Money_%Player%=!Money_%Player%! + 150
  4425. echo ÄÄÄ^> Money increased from $!Puffer! by $150 to $!Money_%Player%!.
  4426. set NorthCarolinaAvenue=
  4427. set NorthCarolinaAvenue_Houses=0
  4428. )
  4429. )
  4430. goto :NorthCarolinaAvenue_Houses
  4431. :NorthCarolinaAvenue_PayRent
  4432. :NorthCarolinaAvenue_PayRent
  4433. if "!NorthCarolinaAvenue_Houses!" == "0" set PayRent=26
  4434. if "!NorthCarolinaAvenue_Houses!" == "1" set PayRent=130
  4435. if "!NorthCarolinaAvenue_Houses!" == "2" set PayRent=390
  4436. if "!NorthCarolinaAvenue_Houses!" == "3" set PayRent=900
  4437. if "!NorthCarolinaAvenue_Houses!" == "4" set PayRent=1100
  4438. if "!NorthCarolinaAvenue_Houses!" == "5" set PayRent=1275
  4439. echo This street is owned by the other player. You have to pay
  4440. echo $%PayRent% to pass.
  4441. set Puffer=!Money_%Player%!
  4442. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  4443. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  4444. if "!Money_%Player%:~0,1!" == "-" (
  4445. echo.
  4446. pause
  4447. cls
  4448. echo Player %Player% [!Char_%Player%!] is bankrupt.
  4449. echo.
  4450. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4451. echo Player !Player! wins the game.
  4452. echo.
  4453. pause
  4454. exit
  4455. )
  4456. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4457. set Player=!Player!
  4458. set Puffer=!Money_%Player%!
  4459. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  4460. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  4461. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4462. set Player=!Player!
  4463. echo.
  4464. pause
  4465. exit /b
  4466.  
  4467.  
  4468.  
  4469.  
  4470. :PennsylvaniaAvenue
  4471. :PennsylvaniaAvenue 35
  4472. set Purchase=
  4473. set Buy_House=
  4474. set PayRent=
  4475. set Sell_Street=
  4476. if not defined PennsylvaniaAvenue_Houses set PennsylvaniaAvenue_Houses=0
  4477. cls
  4478. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  4479. echo º º
  4480. echo º Pennsylvania Avenue º
  4481. echo º º
  4482. echo º PRICE $320 RENT $28 º
  4483. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4484. echo º With 1 House $150 º
  4485. echo º º
  4486. echo º With 2 Houses $450 º
  4487. echo º º
  4488. echo º With 3 Houses $1000 º
  4489. echo º º
  4490. echo º With 4 Houses $1200 º
  4491. echo º º
  4492. echo º With HOTEL $1400 º
  4493. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4494. echo º One house costs $200 º
  4495. echo º º
  4496. echo º Mortgage value $160 º
  4497. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4498. echo º º
  4499. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  4500. echo.
  4501. echo Current player: %Player% (!Char_%Player%!)
  4502. echo Total money: !Money_%Player%!
  4503. echo.
  4504. if "!PennsylvaniaAvenue!" == "%Player%" goto :PennsylvaniaAvenue_Houses
  4505. if defined PennsylvaniaAvenue goto :PennsylvaniaAvenue_PayRent
  4506. echo Press [1] to buy this street for $320 or
  4507. echo press [2] to leave it.
  4508. set /p Purchase=
  4509. if "%Purchase%" == "1" (
  4510. set Puffer=!Money_%Player%!
  4511. set /a Money_%Player%=!Money_%Player%! - 320
  4512. if "!Money_%Player%:~0,1!" == "-" (
  4513. echo You have not enough money.
  4514. set /a Money_%Player%=!Money_%Player%! + 320
  4515. ) ELSE (
  4516. echo ÄÄÄ^> Money decreased from $!Puffer! by $320 to $!Money_%Player%!.
  4517. set PennsylvaniaAvenue=%Player%
  4518. )
  4519. pause
  4520. exit /b
  4521. )
  4522. if "%Purchase%" == "2" exit /b
  4523. goto :PennsylvaniaAvenue
  4524. :PennsylvaniaAvenue_Houses
  4525. :PennsylvaniaAvenue_Houses
  4526. if "!PennsylvaniaAvenue_Houses!" == "5" (
  4527. echo This street has got a hotel.
  4528. pause
  4529. exit /b
  4530. ) ELSE (
  4531. echo This street has got !PennsylvaniaAvenue_Houses! houses, yet.
  4532. echo.
  4533. )
  4534. echo Press [1] to buy a new house or
  4535. echo press [2] to leave it or
  4536. echo press [3] to sell it for $160.
  4537. set /p Buy_House=
  4538. echo.
  4539. if "%Buy_House%" == "1" (
  4540. set Puffer=!Money_%Player%!
  4541. set /a Money_%Player%=!Money_%Player%! - 200
  4542. if "!Money_%Player%:~0,1!" == "-" (
  4543. echo You have not enough money.
  4544. set /a Money_%Player%=!Money_%Player%! + 200
  4545. ) ELSE (
  4546. echo ÄÄÄ^> Money decreased from $!Puffer! by $200 to $!Money_%Player%!.
  4547. set /a PennsylvaniaAvenue_Houses=!PennsylvaniaAvenue_Houses! + 1
  4548. if not "!PennsylvaniaAvenue_Houses!" == "5" (echo This street has got !PennsylvaniaAvenue_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  4549. )
  4550. pause
  4551. exit /b
  4552. )
  4553. if "%Buy_House%" == "2" exit /b
  4554. if "%Buy_House%" == "3" (
  4555. echo Are you sure you want to sell the street? [Y/N]
  4556. set /p Sell_Street=
  4557. if /i "!Sell_Street!" == "n" exit /b
  4558. if /i "!Sell_Street!" == "y" (
  4559. set Puffer=!Money_%Player%!
  4560. set /a Money_%Player%=!Money_%Player%! + 160
  4561. echo ÄÄÄ^> Money increased from $!Puffer! by $160 to $!Money_%Player%!.
  4562. set PennsylvaniaAvenue=
  4563. set PennsylvaniaAvenue_Houses=0
  4564. )
  4565. )
  4566. goto :PennsylvaniaAvenue_Houses
  4567. :PennsylvaniaAvenue_PayRent
  4568. :PennsylvaniaAvenue_PayRent
  4569. if "!PennsylvaniaAvenue_Houses!" == "0" set PayRent=28
  4570. if "!PennsylvaniaAvenue_Houses!" == "1" set PayRent=150
  4571. if "!PennsylvaniaAvenue_Houses!" == "2" set PayRent=450
  4572. if "!PennsylvaniaAvenue_Houses!" == "3" set PayRent=1000
  4573. if "!PennsylvaniaAvenue_Houses!" == "4" set PayRent=1200
  4574. if "!PennsylvaniaAvenue_Houses!" == "5" set PayRent=1400
  4575. echo This street is owned by the other player. You have to pay
  4576. echo $%PayRent% to pass.
  4577. set Puffer=!Money_%Player%!
  4578. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  4579. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  4580. if "!Money_%Player%:~0,1!" == "-" (
  4581. echo.
  4582. pause
  4583. cls
  4584. echo Player %Player% [!Char_%Player%!] is bankrupt.
  4585. echo.
  4586. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4587. echo Player !Player! wins the game.
  4588. echo.
  4589. pause
  4590. exit
  4591. )
  4592. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4593. set Player=!Player!
  4594. set Puffer=!Money_%Player%!
  4595. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  4596. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  4597. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4598. set Player=!Player!
  4599. echo.
  4600. pause
  4601. exit /b
  4602.  
  4603.  
  4604.  
  4605.  
  4606. :ShortLineRailroad
  4607. :ShortLineRailroad 36
  4608. set Purchase=
  4609. set Buy_House=
  4610. set PayRent=
  4611. set RailroadAmount=0
  4612. set Sell_Street=
  4613. cls
  4614. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  4615. echo º º
  4616. echo º Short Line º
  4617. echo º º
  4618. echo º PRICE $200 º
  4619. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4620. echo º º
  4621. echo º º
  4622. echo º If 1 owned $25 º
  4623. echo º º
  4624. echo º If 2 owned $50 º
  4625. echo º º
  4626. echo º If 3 owned $100 º
  4627. echo º º
  4628. echo º If 4 owned $200 º
  4629. echo º º
  4630. echo º º
  4631. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4632. echo º Mortgage value $100 º
  4633. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4634. echo º º
  4635. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  4636. echo.
  4637. echo Current player: %Player% (!Char_%Player%!)
  4638. echo Total money: !Money_%Player%!
  4639. echo.
  4640. if "!ShortLineRailroad!" == "%Player%" goto :ShortLineRailroad_Houses
  4641. if defined ShortLineRailroad goto :ShortLineRailroad_PayRent
  4642. echo Press [1] to buy this railroad for $200 or
  4643. echo press [2] to leave it.
  4644. set /p Purchase=
  4645. if "%Purchase%" == "1" (
  4646. set Puffer=!Money_%Player%!
  4647. set /a Money_%Player%=!Money_%Player%! - 200
  4648. if "!Money_%Player%:~0,1!" == "-" (
  4649. echo You have not enough money.
  4650. set /a Money_%Player%=!Money_%Player%! + 200
  4651. ) ELSE (
  4652. echo ÄÄÄ^> Money decreased from $!Puffer! by $200 to $!Money_%Player%!.
  4653. set ShortLineRailroad=%Player%
  4654. )
  4655. pause
  4656. exit /b
  4657. )
  4658. if "%Purchase%" == "2" exit /b
  4659. goto :ShortLineRailroad
  4660. :ShortLineRailroad_Houses
  4661. :ShortLineRailroad_Houses
  4662. echo This railroad is yours.
  4663. echo.
  4664. echo Press [2] to leave it or
  4665. echo press [3] to sell it for $100.
  4666. set /p Buy_House=
  4667. echo.
  4668. if "%Buy_House%" == "2" exit /b
  4669. if "%Buy_House%" == "3" (
  4670. echo Are you sure you want to sell this railroad? [Y/N]
  4671. set /p Sell_Street=
  4672. if /i "!Sell_Street!" == "n" exit /b
  4673. if /i "!Sell_Street!" == "y" (
  4674. set Puffer=!Money_%Player%!
  4675. set /a Money_%Player%=!Money_%Player%! + 100
  4676. echo ÄÄÄ^> Money increased from $!Puffer! by $100 to $!Money_%Player%!.
  4677. set ShortLineRailroad=
  4678. )
  4679. )
  4680. goto :ShortLineRailroad_Houses
  4681. :ShortLineRailroad_PayRent
  4682. :ShortLineRailroad_PayRent
  4683. if "%Player%" == "1" (set Player=2) ELSE (set Player=1)
  4684. set Player=!Player!
  4685. FOR %%A IN (ReadingRailroad PennsylvaniaRailroad B.O.Railroad ShortLineRailroad) DO if "!%%A!" == "%Player%" set /a RailroadAmount=!RailroadAmount! + 1
  4686. if "%Player%" == "1" (set Player=2) ELSE (set Player=1)
  4687. set Player=!Player!
  4688. echo The other player owns !RailroadAmount! of 4 railroads.
  4689. if "!RailroadAmount!" == "1" set PayRent=25
  4690. if "!RailroadAmount!" == "2" set PayRent=50
  4691. if "!RailroadAmount!" == "3" set PayRent=100
  4692. if "!RailroadAmount!" == "4" set PayRent=200
  4693. if "!RentalTwice!" == "1" set /a PayRent=%PayRent% * 2
  4694. set Puffer=!Money_%Player%!
  4695. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  4696. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  4697. if "!Money_%Player%:~0,1!" == "-" (
  4698. echo.
  4699. pause
  4700. cls
  4701. echo Player %Player% [!Char_%Player%!] is bankrupt.
  4702. echo.
  4703. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4704. echo Player !Player! wins the game.
  4705. echo.
  4706. pause
  4707. exit
  4708. )
  4709. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4710. set Player=!Player!
  4711. set Puffer=!Money_%Player%!
  4712. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  4713. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  4714. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4715. set Player=!Player!
  4716. echo.
  4717. pause
  4718. exit /b
  4719.  
  4720.  
  4721.  
  4722.  
  4723. :ParkPlace
  4724. :ParkPlace 38
  4725. set Purchase=
  4726. set Buy_House=
  4727. set PayRent=
  4728. set Sell_Street=
  4729. if not defined ParkPlace_Houses set ParkPlace_Houses=0
  4730. cls
  4731. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  4732. echo º º
  4733. echo º Park Place º
  4734. echo º º
  4735. echo º PRICE $350 RENT $35 º
  4736. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4737. echo º With 1 House $175 º
  4738. echo º º
  4739. echo º With 2 Houses $500 º
  4740. echo º º
  4741. echo º With 3 Houses $1100 º
  4742. echo º º
  4743. echo º With 4 Houses $1300 º
  4744. echo º º
  4745. echo º With HOTEL $1500 º
  4746. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4747. echo º One house costs $200 º
  4748. echo º º
  4749. echo º Mortgage value $175 º
  4750. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4751. echo º º
  4752. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  4753. echo.
  4754. echo Current player: %Player% (!Char_%Player%!)
  4755. echo Total money: !Money_%Player%!
  4756. echo.
  4757. if "!ParkPlace!" == "%Player%" goto :ParkPlace_Houses
  4758. if defined ParkPlace goto :ParkPlace_PayRent
  4759. echo Press [1] to buy this street for $350 or
  4760. echo press [2] to leave it.
  4761. set /p Purchase=
  4762. if "%Purchase%" == "1" (
  4763. set Puffer=!Money_%Player%!
  4764. set /a Money_%Player%=!Money_%Player%! - 350
  4765. if "!Money_%Player%:~0,1!" == "-" (
  4766. echo You have not enough money.
  4767. set /a Money_%Player%=!Money_%Player%! + 350
  4768. ) ELSE (
  4769. echo ÄÄÄ^> Money decreased from $!Puffer! by $350 to $!Money_%Player%!.
  4770. set ParkPlace=%Player%
  4771. )
  4772. pause
  4773. exit /b
  4774. )
  4775. if "%Purchase%" == "2" exit /b
  4776. goto :ParkPlace
  4777. :ParkPlace_Houses
  4778. :ParkPlace_Houses
  4779. if "!ParkPlace_Houses!" == "5" (
  4780. echo This street has got a hotel.
  4781. pause
  4782. exit /b
  4783. ) ELSE (
  4784. echo This street has got !ParkPlace_Houses! houses, yet.
  4785. echo.
  4786. )
  4787. echo Press [1] to buy a new house or
  4788. echo press [2] to leave it or
  4789. echo press [3] to sell it for $175.
  4790. set /p Buy_House=
  4791. echo.
  4792. if "%Buy_House%" == "1" (
  4793. set Puffer=!Money_%Player%!
  4794. set /a Money_%Player%=!Money_%Player%! - 200
  4795. if "!Money_%Player%:~0,1!" == "-" (
  4796. echo You have not enough money.
  4797. set /a Money_%Player%=!Money_%Player%! + 200
  4798. ) ELSE (
  4799. echo ÄÄÄ^> Money decreased from $!Puffer! by $200 to $!Money_%Player%!.
  4800. set /a ParkPlace_Houses=!ParkPlace_Houses! + 1
  4801. if not "!ParkPlace_Houses!" == "5" (echo This street has got !ParkPlace_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  4802. )
  4803. pause
  4804. exit /b
  4805. )
  4806. if "%Buy_House%" == "2" exit /b
  4807. if "%Buy_House%" == "3" (
  4808. echo Are you sure you want to sell the street? [Y/N]
  4809. set /p Sell_Street=
  4810. if /i "!Sell_Street!" == "n" exit /b
  4811. if /i "!Sell_Street!" == "y" (
  4812. set Puffer=!Money_%Player%!
  4813. set /a Money_%Player%=!Money_%Player%! + 175
  4814. echo ÄÄÄ^> Money increased from $!Puffer! by $175 to $!Money_%Player%!.
  4815. set ParkPlace=
  4816. set ParkPlace_Houses=0
  4817. )
  4818. )
  4819. goto :ParkPlace_Houses
  4820. :ParkPlace_PayRent
  4821. :ParkPlace_PayRent
  4822. if "!ParkPlace_Houses!" == "0" set PayRent=35
  4823. if "!ParkPlace_Houses!" == "1" set PayRent=175
  4824. if "!ParkPlace_Houses!" == "2" set PayRent=500
  4825. if "!ParkPlace_Houses!" == "3" set PayRent=1100
  4826. if "!ParkPlace_Houses!" == "4" set PayRent=1300
  4827. if "!ParkPlace_Houses!" == "5" set PayRent=1500
  4828. echo This street is owned by the other player. You have to pay
  4829. echo $%PayRent% to pass.
  4830. set Puffer=!Money_%Player%!
  4831. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  4832. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  4833. if "!Money_%Player%:~0,1!" == "-" (
  4834. echo.
  4835. pause
  4836. cls
  4837. echo Player %Player% [!Char_%Player%!] is bankrupt.
  4838. echo.
  4839. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4840. echo Player !Player! wins the game.
  4841. echo.
  4842. pause
  4843. exit
  4844. )
  4845. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4846. set Player=!Player!
  4847. set Puffer=!Money_%Player%!
  4848. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  4849. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  4850. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4851. set Player=!Player!
  4852. echo.
  4853. pause
  4854. exit /b
  4855.  
  4856.  
  4857.  
  4858.  
  4859. :LuxuryTax
  4860. :LuxuryTax 39
  4861. cls
  4862. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  4863. echo º LUXURY º
  4864. echo º º
  4865. echo º TAX º
  4866. echo º º
  4867. echo º ___ º
  4868. echo º ²²²/***\²²² º
  4869. echo º ²°°°\***/°°°² º
  4870. echo º ²°°°°°îîî°°°°°² º
  4871. echo º ²°°°²²²²²²²²²°°°² º
  4872. echo º ²°°°²²² ²²²°°°² º
  4873. echo º ²°°²² ²²°°² º
  4874. echo º ²°°² ²°°² º
  4875. echo º ²°°² ²°°² º
  4876. echo º ²°°°² ²°°°² º
  4877. echo º ²°°°²²²²²²²²²°°°² º
  4878. echo º ²°°°°°°°°°°°°°² º
  4879. echo º ²°°°°°°°°°°°² º
  4880. echo º ²²²²²²²²²²² º
  4881. echo º º
  4882. echo º You have to pay $75 º
  4883. echo º for the Luxury Tax. º
  4884. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  4885. echo.
  4886. echo Current player: %Player% (!Char_%Player%!)
  4887. echo Total money: !Money_%Player%!
  4888. echo.
  4889. set Puffer=!Money_%Player%!
  4890. set /a Money_%Player%=!Money_%Player%! - 75
  4891. set /a Money_Parking=!Money_Parking! + 75
  4892. echo ÄÄÄ^> Money decreased from $%Puffer% by $75 to $!Money_%Player%!.
  4893. echo ^& $75 went into Free Parking.
  4894. if "!Money_%Player%:~0,1!" == "-" (
  4895. echo.
  4896. pause
  4897. cls
  4898. echo Player %Player% [!Char_%Player%!] is bankrupt.
  4899. echo.
  4900. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  4901. echo Player !Player! wins the game.
  4902. echo.
  4903. pause
  4904. exit
  4905. )
  4906. echo.
  4907. pause
  4908. exit /b
  4909.  
  4910.  
  4911.  
  4912.  
  4913. :Boardwalk
  4914. :Boardwalk 40
  4915. set Purchase=
  4916. set Buy_House=
  4917. set PayRent=
  4918. set Sell_Street=
  4919. if not defined Boardwalk_Houses set Boardwalk_Houses=0
  4920. cls
  4921. echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  4922. echo º º
  4923. echo º Boardwalk º
  4924. echo º º
  4925. echo º PRICE $400 RENT $50 º
  4926. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4927. echo º With 1 House $200 º
  4928. echo º º
  4929. echo º With 2 Houses $600 º
  4930. echo º º
  4931. echo º With 3 Houses $1400 º
  4932. echo º º
  4933. echo º With 4 Houses $1700 º
  4934. echo º º
  4935. echo º With HOTEL $2000 º
  4936. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4937. echo º One house costs $200 º
  4938. echo º º
  4939. echo º Mortgage value $200 º
  4940. echo º ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ º
  4941. echo º º
  4942. echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
  4943. echo.
  4944. echo Current player: %Player% (!Char_%Player%!)
  4945. echo Total money: !Money_%Player%!
  4946. echo.
  4947. if "!Boardwalk!" == "%Player%" goto :Boardwalk_Houses
  4948. if defined Boardwalk goto :Boardwalk_PayRent
  4949. echo Press [1] to buy this street for $400 or
  4950. echo press [2] to leave it.
  4951. set /p Purchase=
  4952. if "%Purchase%" == "1" (
  4953. set Puffer=!Money_%Player%!
  4954. set /a Money_%Player%=!Money_%Player%! - 400
  4955. if "!Money_%Player%:~0,1!" == "-" (
  4956. echo You have not enough money.
  4957. set /a Money_%Player%=!Money_%Player%! + 400
  4958. ) ELSE (
  4959. echo ÄÄÄ^> Money decreased from $!Puffer! by $400 to $!Money_%Player%!.
  4960. set Boardwalk=%Player%
  4961. )
  4962. pause
  4963. exit /b
  4964. )
  4965. if "%Purchase%" == "2" exit /b
  4966. goto :Boardwalk
  4967. :Boardwalk_Houses
  4968. :Boardwalk_Houses
  4969. if "!Boardwalk_Houses!" == "5" (
  4970. echo This street has got a hotel.
  4971. pause
  4972. exit /b
  4973. ) ELSE (
  4974. echo This street has got !Boardwalk_Houses! houses, yet.
  4975. echo.
  4976. )
  4977. echo Press [1] to buy a new house or
  4978. echo press [2] to leave it or
  4979. echo press [3] to sell it for $200.
  4980. set /p Buy_House=
  4981. echo.
  4982. if "%Buy_House%" == "1" (
  4983. set Puffer=!Money_%Player%!
  4984. set /a Money_%Player%=!Money_%Player%! - 200
  4985. if "!Money_%Player%:~0,1!" == "-" (
  4986. echo You have not enough money.
  4987. set /a Money_%Player%=!Money_%Player%! + 200
  4988. ) ELSE (
  4989. echo ÄÄÄ^> Money decreased from $!Puffer! by $200 to $!Money_%Player%!.
  4990. set /a Boardwalk_Houses=!Boardwalk_Houses! + 1
  4991. if not "!Boardwalk_Houses!" == "5" (echo This street has got !Boardwalk_Houses! houses now.) ELSE (echo This street has got a hotel now.)
  4992. )
  4993. pause
  4994. exit /b
  4995. )
  4996. if "%Buy_House%" == "2" exit /b
  4997. if "%Buy_House%" == "3" (
  4998. echo Are you sure you want to sell the street? [Y/N]
  4999. set /p Sell_Street=
  5000. if /i "!Sell_Street!" == "n" exit /b
  5001. if /i "!Sell_Street!" == "y" (
  5002. set Puffer=!Money_%Player%!
  5003. set /a Money_%Player%=!Money_%Player%! + 200
  5004. echo ÄÄÄ^> Money increased from $!Puffer! by $200 to $!Money_%Player%!.
  5005. set Boardwalk=
  5006. set Boardwalk_Houses=0
  5007. )
  5008. )
  5009. goto :Boardwalk_Houses
  5010. :Boardwalk_PayRent
  5011. :Boardwalk_PayRent
  5012. if "!Boardwalk_Houses!" == "0" set PayRent=50
  5013. if "!Boardwalk_Houses!" == "1" set PayRent=200
  5014. if "!Boardwalk_Houses!" == "2" set PayRent=600
  5015. if "!Boardwalk_Houses!" == "3" set PayRent=1400
  5016. if "!Boardwalk_Houses!" == "4" set PayRent=1700
  5017. if "!Boardwalk_Houses!" == "5" set PayRent=2000
  5018. echo This street is owned by the other player. You have to pay
  5019. echo $%PayRent% to pass.
  5020. set Puffer=!Money_%Player%!
  5021. set /a Money_%Player%=!Money_%Player%! - %PayRent%
  5022. echo ÄÄÄ^> Money decreased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  5023. if "!Money_%Player%:~0,1!" == "-" (
  5024. echo.
  5025. pause
  5026. cls
  5027. echo Player %Player% [!Char_%Player%!] is bankrupt.
  5028. echo.
  5029. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  5030. echo Player !Player! wins the game.
  5031. echo.
  5032. pause
  5033. exit
  5034. )
  5035. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  5036. set Player=!Player!
  5037. set Puffer=!Money_%Player%!
  5038. set /a Money_%Player%=!Money_%Player%! + %PayRent%
  5039. echo ÄÄÄ^> The other player's money increased from $%Puffer% by $%PayRent% to $!Money_%Player%!.
  5040. if "!Player!" == "1" (set Player=2) ELSE (set Player=1)
  5041. set Player=!Player!
  5042. echo.
  5043. pause
  5044. exit /b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement