Skip to content

Instantly share code, notes, and snippets.

View quackduck's full-sized avatar
running...

Ishan Goel quackduck

running...
View GitHub Profile
@quackduck
quackduck / kolakoski.go
Created March 10, 2021 15:40
Implement a kolakoski sequence generator: OEIS:A000002
package main
import (
"fmt"
"strconv"
"strings"
)
var (
// n is the number of terms to calculate
//Pins
int redled = 11;
int greenled = 10;
int blueled = 9;
int an2 = 2;
//Colours
int red = 255;
int green = 255;
int blue = 255;