Skip to content

Instantly share code, notes, and snippets.

View supernova-at's full-sized avatar
💭
👨‍💻 Doing Manager Things™️

Andy Terranova supernova-at

💭
👨‍💻 Doing Manager Things™️
View GitHub Profile
@supernova-at
supernova-at / FizzBuzzBang.markdown
Last active March 29, 2022 18:48
Fizz Buzz Bang
@supernova-at
supernova-at / Tic Tacs Toe.markdown
Last active August 29, 2015 14:27
Tic Tacs Toe
function getNames(input) {
// Using the array index of map for the numbers
var map = [
// 0
[''],
// 1
[''],
// 2
['a', 'b', 'c'],
// 3
@supernova-at
supernova-at / index.js
Last active October 13, 2015 00:07
Candygram: Final Jeopardy
/**
* @fileOverview
* Final Jeopardy algorithm for contestants to determine how much to bet in Final Jeopardy.
*/
/**
* The determineBet function takes an array of player scores
* and an index into that array that allows us to determine the player's score.
*
* The assumption is that the player has 50% confidence that they'll get the
@supernova-at
supernova-at / candy.md
Last active September 25, 2020 18:44
CANDY