Skip to content

Commit

Permalink
Directly reference the StreamReader so we can see where it came from.
Browse files Browse the repository at this point in the history
  • Loading branch information
redleek committed Jan 13, 2015
1 parent d0410db commit d6a5170
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ Tactical Gameplay
-----------------
Once a player has moved their rocket along the board, they can choose whether or not to roll the `tactics dice'. If they land on a cheese square, they are forced to roll the tactics dice. The tactics dice has six possible operations depending on what the player rolls:

If they rolled a 1 the player's rocket has it's engines exploded and are sent back to square zero.
Rolling a 2 causes all the engines of all the players on the same square as the current exploded and sent back to the start.
Rolling a 3 is the same as rolling a 2 but instead the current player is not sent back to the start.
Rolling a 4 causes the current player to move six squares forwards. If they pass the last square, they win the game.
Rolling a 5 forces the player to move to any other payers' position.
Rolling a 6 forces the player to swap positions with any other player.
+ If they rolled a 1 the player's rocket has it's engines exploded and are sent back to square zero.
+ Rolling a 2 causes all the engines of all the players on the same square as the current exploded and sent back to the start.
+ Rolling a 3 is the same as rolling a 2 but instead the current player is not sent back to the start.
+ Rolling a 4 causes the current player to move six squares forwards. If they pass the last square, they win the game.
+ Rolling a 5 forces the player to move to any other payers' position.
+ Rolling a 6 forces the player to swap positions with any other player.

If a player lands on a cheese chedar square due to rolling a tactical dice of 4, 5 or 6, they are not allowed to roll another tactical dice.

Expand Down
5 changes: 2 additions & 3 deletions TacticalSpaceCheeseRacer/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.IO;
/*
using System.Collections.Generic;
using System.Linq;
Expand Down Expand Up @@ -156,10 +155,10 @@ static void ParseCLA(string[] args)
case "--help":
case "-h":
// Print out command line help.
StreamReader reader;
System.IO.StreamReader reader;
try
{
reader = new StreamReader(@"README.md");
reader = new System.IO.StreamReader(@"README.md");
}
catch
{
Expand Down

0 comments on commit d6a5170

Please sign in to comment.