Used Test First Development (no code without the test first) to implement a Minesweeper game. The code was developed in the following way:
- Write the test
- Run the test (there is no implementation code, test does not pass)
- Write just enough implementation code to make the test pass
- Run all tests (tests pass)
- Refactor
- Repeat
This is written in Java and uses JUnit for automated unit test cases.
To run this code:
- CD (into the root directory)
- (run) ./gradlew