Skip to content

Instantly share code, notes, and snippets.

View kevinburke's full-sized avatar

Kevin Burke kevinburke

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import random
from twilio.rest import TwilioRestClient
client = TwilioRestClient()
hyphy_songs = [
'The Pack - Got My Vans On',
'Mistah Fab - Super Sicc Wit It',
'Mistah Fab - The Slap',
### Keybase proof
I hereby claim:
* I am kevinburke on github.
* I am kb (https://keybase.io/kb) on keybase.
* I have a public key whose fingerprint is 825C DF32 1D05 D90B 032D 2E49 8FA0 A02F 1AD1 C02F
To claim this, I am signing this object:
@kevinburke
kevinburke / track_properties.go
Created April 22, 2014 17:49
track_properties.go
package main
import (
"encoding/hex"
"fmt"
"os"
"strings"
)
func hasBit(n int, pos uint) bool {

RCT via Computer

The goal is to write a genetic algorithm that generates really cool looking Roller Coaster Tycoon coasters. Eventually you can optimize for various things

  • Coolest roller coaster that fits in some bounding box

  • Coolest roller coaster under $1000 in game money, etc.

Progress so far

package main
import (
//"encoding/hex"
"fmt"
"os"
//"strings"
)
func hasBit(n int, pos uint) bool {
0 Spiral Roller coaster 7
1 Stand Up Coaster 4
2 Suspended Swinging 4
3 Inverted 5
4 Steel Mini Coaster 4
5 Mini Railroad 5
6 Monorail 5
7 Mini Suspended Coaster 4
8 Bumper Boats 5
9 Wooden Wild Mine/Mouse 4
@kevinburke
kevinburke / output
Created May 21, 2014 14:10
ride type flags
0 Spiral Roller coaster 180 true
1 Stand Up Coaster 180 true
2 Suspended Swinging 180 true
3 Inverted 180 true
4 Steel Mini Coaster 181 true
5 Mini Railroad 100 false
6 Monorail 100 false
7 Mini Suspended Coaster 180 true
8 Bumper Boats 36 false
9 Wooden Wild Mine/Mouse 181 true
package main
import (
"fmt"
"os"
rct "github.com/kevinburke/rct-rides"
)
func main() {
@kevinburke
kevinburke / 0x0057E3B4
Created May 21, 2014 15:38
0x0057E3B4
0 Spiral Roller coaster a
1 Stand Up Coaster a
2 Suspended Swinging 14
3 Inverted d
4 Steel Mini Coaster 8
5 Mini Railroad a
6 Monorail a
7 Mini Suspended Coaster a
8 Bumper Boats 4
9 Wooden Wild Mine/Mouse 9