Skip to content

Instantly share code, notes, and snippets.

View trafficone's full-sized avatar

Trafficone trafficone

View GitHub Profile
package main
import (
"fmt"
"time"
)
// FizzBuzz implemented using time and go's select
// At 15ms, fizz, buzz, and boom all trigger, so select will go through them at random (until it gets to boom)
func main() {
@trafficone
trafficone / weirdie.go
Last active February 11, 2022 22:27
Word Guessing Game
package main
import (
"bufio"
"errors"
"fmt"
"io/ioutil"
"math"
"math/rand"
"os"

Keybase proof

I hereby claim:

  • I am trafficone on github.
  • I am trafficone (https://keybase.io/trafficone) on keybase.
  • I have a public key whose fingerprint is 16C3 5D63 E82E 2C39 8C14 2FBC C5FF 0B2A 0AED 7DE4

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am trafficone on github.
* I am trafficone (https://keybase.io/trafficone) on keybase.
* I have a public key whose fingerprint is 5346 CBA1 7A5F 0484 72A8 17A0 8069 EE8F 208F C78F
To claim this, I am signing this object: