Fresh Beginning
  • Home
  • Portfolio
  • My Clothing Shop
  • Etsy Clothing Store
  • Buy Me A Coffee
  • Patreon
  • Speaking
  • Reading
  • About Me
  • Contact Me
Subscribe

Refactor

A collection of 4 posts
Writing unit tests for Minesweeper game
Minesweeper

Writing unit tests for Minesweeper game

Yesterday was quite a productive day to conclude the refactor project. Especially I venture into the most sacred territory of any good software - Unit testing. Here are the screenshots of test coverage taken before and after writing tests It was overall a big win. Especially after I felt so
Jan 6, 2019 2 min read
Rewriting a Minesweeper - Part 3
Minesweeper

Rewriting a Minesweeper - Part 3

Welcome to part 3 of the Minesweeper game. Today we will see logic behind some of the core and bonus features in the game. Highlighting tiles Tiles highlighting is triggered when user taps on one of the tiles which is not mine. This triggers a sort of chain reaction to
Jan 4, 2019 3 min read
Rewriting a Minesweeper - Part 2
Minesweeper

Rewriting a Minesweeper - Part 2

Happy new year to all. I guess as I am getting old, I am not feeling enthusiastic enough about new years. There is one thing I am excited about though. Writing a rewriting Minesweeper game in Swift. Yesterday was quite a productive day in terms of my progress. Here's the
Jan 3, 2019 6 min read
Rewriting a Minesweeper  - Part 1
Minesweeper

Rewriting a Minesweeper - Part 1

I am going to being this series of post on how I found my 4 year old Minesweeper game project written in Objective-C and process to start converting it into Swift. My goals for this project are as follows: 1. Make sure to bring this project in stable state -
Dec 31, 2018 2 min read
Fresh Beginning © 2025
Powered by Ghost