Commit 315afa5
Changed files (3)
features
step_definitions
features/step_definitions/.mastermind.rb.swp
Binary file
features/step_definitions/mastermind.rb
@@ -0,0 +1,4 @@
+# mastermind.rb
+
+Given /^I am not yet playing$/ do
+end
features/codebreaker_starts_game.feature
@@ -0,0 +1,9 @@
+Feature: code-breaker starts game
+ As a code-breaker
+ I want to start a game
+ So that I can break the code
+ Scenario: start game
+ Given I am not yet playing
+ When I start a new game
+ Then the game should say "Welcome to Mastermind!"
+ And the game should say "Enter guess:"