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

fit-fat-foe

A collection of 1 post
tic-tac-toe

Algorithm to Detect A tic tac toe Winner

Recently I was asked to work on the game of tic tac toe on iOS. Creating a game layout and rest of the business logic is straightforward, until it comes to detecting whether either side has won the game or not. There are 2 ways of solving this problem -
May 13, 2020 7 min read
Fresh Beginning © 2025
Powered by Ghost