Presentation is loading. Please wait.

Presentation is loading. Please wait.

Java Risk game Slide 1 The rules of RISK Simon Forey.

Similar presentations


Presentation on theme: "Java Risk game Slide 1 The rules of RISK Simon Forey."— Presentation transcript:

1 Java Risk game Slide 1 The rules of RISK Simon Forey

2 Java Risk game Slide 2 The rules, and variations There are many variations on the RISK game Yours will be compliant to the official 1993 Parker brother rules.

3 Java Risk game Slide 3 Risk: The board Countries Sea lanes

4 Java Risk game Slide 4 The continents North America South America Europe Asia Africa Australia

5 Java Risk game Slide 5 Object of the game “To conquer the world by occupying every territory on the board, thus eliminating all your opponents”

6 Java Risk game Slide 6 Game Setup 1 Number of players agreed. This determines the number of starting armies the players have A player is randomly selected as the starting player Starting with that player, and moving round each player places 1 ‘army’ on an empty territory. This continues until all the territories have been taken

7 Java Risk game Slide 7 Game setup 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Player 1 Player 2 Player 3 Player 4

8 Java Risk game Slide 8 Game setup 3 1 1 1 1 1 2 2 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 Player 1 Player 2 Player 3 Player 4

9 Java Risk game Slide 9 Complete setup 1 1 1 1 4 8 2 1 1 3 5 7 5 6 4 1 6 1 1 1 5 6 5 6 3 1 4 1 1 1 2 1 4 3 2 3 1 4 1 1 1 5 1 1 3 Player 1 Player 2 Player 3 Player 4

10 Java Risk game Slide 10 A Player turn A player turn has 3 parts: Get and place new armies Attack territories Fortify your position

11 Java Risk game Slide 11 Getting and placing new armies You get: 1 army per 3 territories you own (round down) Armies equal to the value of the continents you control. Armies gained from trading in Risk cards Minimum of 3 armies Australia – 2 South America –2 North America – 5 Asia – 7 Europe – 5 Africa - 3 Armies can be placed in any territories that you own

12 Java Risk game Slide 12 Attacking Territories You can perform as many attacks as you wish during your turn. You can only attack adjacent territories, sea lanes make territories adjacent You must have at least 2 armies in the territory from which you are attacking. An attack can only be performed from a single territory at a time.

13 Java Risk game Slide 13 Example of an attack Select a territory to attack from And the target The yellow player decides to attack the red player to the left to take more of Europe

14 Java Risk game Slide 14 Resolve attack Players decide how many dice to use: Attack can use up to 3 dice, but must have at least one more army in territory than the number of dice they use. Defender uses up to 2 dice, cannot use more dice than they have armies The more dice used the greater the chance of winning, but the more armies you can potentially lose Both player roll their dice

15 Java Risk game Slide 15 Deciding the battle

16 Java Risk game Slide 16 Example of attack, continuation Yellow player Red player Roll 1 10 armies, rolls 3 dice Rolls 4,3,1 4 armies, rolls 2 dice Rolls 4, 2 Roll 2 9 armies, rolls 3 dice Rolls 6, 5, 2 3 armies, rolls 2 dice Rolls 5, 4 Roll 3 9 armies, rolls 3 dice Rolls 6, 4, 2 1 armies, rolls 1 dice Rolls 6 Roll 4 8 armies, rolls 3 dice Rolls 4, 2, 2 1 armies, rolls 1 dice Rolls 3 Yellow wins, with 8 armies remaining

17 Java Risk game Slide 17 Capturing territories The attack must cease the attack if they have just 1 army left The attacker can retreat after any set of dice have been rolled. During the game, every territory must always be occupied by at least 1 army. If all the defending forces are destroyed then the attacker MUST occupy the territory with at least as many armies as they rolled dice in your last battle. Leaving at least 1 behind in the territory they attacked from.

18 Java Risk game Slide 18 Example of capture Yellow moves a minimum of 3, maximum of 7 of their remaining armies into the territory Yellow can then attack from this new country, or anther that they own

19 Java Risk game Slide 19 Ending the attack phase A players attack phase ends once they do not wish to attack any other territories. If they have captured 1 or more territories then they get 1 RISK card.

20 Java Risk game Slide 20 Fortifying your position At the end of your go you can move as many armies as you like from ONE of your territories into an ADJACENT territory that you own. You may do this just ONCE Then your go ends, and it’s the next players turn.

21 Java Risk game Slide 21 Winning “You win when you own all the territories, and your opponents have been eliminated” – This is called the world domination victory, and is the default

22 Java Risk game Slide 22 RISK Cards You get between 0-1 risk card per turn. Cards are traded to get extra armies at the beginning of your go cards are traded in as sets if 3. A set consists of all of one type, or 1 of each type

23 Java Risk game Slide 23 RISK Cards The sets return varying numbers of armies, depending on how many sets have been traded in before: First set – 4 armies Second set – 6 armies Third set – 8 armies Fourth set – 10 armies Fifth set – 12 armies Sixth set – 15 armies Every set after is worth an extra 5 armies

24 Java Risk game Slide 24 Building a JAVA version of RISK Simon Forey

25 Java Risk game Slide 25 Application Programmer Interface (API) API GUI API contains the model and the application logic The GUI simply allows the user to manipulate and understand the underlying model. The GUI ‘knows about’ the API, the API does NOT know about the GUI

26 Java Risk game Slide 26 API Commands parsed and interpreted from the command line interface, then passed to API Text based console version (Week 13) Just a basic graphic (jpg)– NOTHING MORE Command line interface

27 Java Risk game Slide 27 API Graphical version (week 23) GUI Commands passed from the GUI to the API API notifies interested listeners when the model has been changed

28 Java Risk game Slide 28 How graphical does it have to be?

29 Java Risk game Slide 29 AI (Artificial Intelligence) You will need to implement computer controlled players in your RISK game. How do you go about this? go to Google and type in ‘Risk board game strategy’


Download ppt "Java Risk game Slide 1 The rules of RISK Simon Forey."

Similar presentations


Ads by Google