chrisjbatts / javascript_fizzbuzz

A simple game of FizzBuzz written in Javascript. Using Jasmine for TDD.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fizzbuzz.js

Overview

A really simple game of fizzbuzz written in javascript.

The game was built using TDD, relying on Jasmine to run each test phase.

Rules

The player produces a number at random.

  • if the number is a multiple of 3, the game returns Fizz.
  • if the number is a multiple of 5, the game returns Buzz.
  • if the number is a multiple of 3 and 5, the game returns Fizzbuzz.

About

A simple game of FizzBuzz written in Javascript. Using Jasmine for TDD.


Languages

Language:JavaScript 100.0%