FizzBuzz Part II | The Game

October 08, 2018 | App Development |

Back to List

Following my recent post about a function for the popular interview challenge FizzBuzz, I have decided to make a game for iPhones! It still has work to be done but the basic mechanics are there!

 

For those that do not know how to play the game of FizzBuzz the rules are quite simple, typically this is a two player game (although with my app it is a single player game). Each player will go back and forth starting from the number 1 and increasing by 1 each time. If the number is a multiple of 3 instead of saying "three" you would say "Fizz", if the number is a multiple of 5 you say "Buzz", and if the number is a multiple of both 3 and 5 you would say "FizzBuzz". To get an idea of how this is played in action you can play with the mechanics of the game in this post.

 

Below I recorded my screen of the app in action! This is in native swift running on the latest iOS 12.1 beta but will work with devices all the way down to iOS 9! As I am not finished with this it is not yet available to download on the app store but once I finish I will submit it to the app store if anyone is interested! For those that run android, I have not started on the android version and will start on it after I finish the iOS version!