Skip to content

PamperBoy/tdd-homework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codebreaker game

Simple Ruby game made following week 2 of the 9-week Codaisseur Academy.

Assignment: write a codebreaker algorithm in Ruby, following TDD. The game is Mastermind with numbers instead of colours. Setup, including test suite, was provided.

Steps

Based on the provided test suite, I fulfilled the requirements of each context in order:

  1. [A] basic set up
  2. [B] with no matches
  3. [C] with 1 match
  4. [D] with 2 matches
  5. [E] with 3 matches
  6. [F] with 4 matches
  7. [G] with ambiguous matches

Running Locally

Make sure you have Ruby installed.

git clone [email protected]:PamperBoy/tdd-homework.git
cd tdd-homework
bin/codebreaker

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages