Skip to content

Instantly share code, notes, and snippets.

View rahwang's full-sized avatar

Rachel Hwang rahwang

  • Bonfire Studios
  • Chicago
View GitHub Profile
@rahwang
rahwang / DetectMoon.cs
Last active October 19, 2018 10:18
Code for Moonshot: tiny game about gravity and planetary destruction
using UnityEngine;
using System.Collections;
public class DetectMoon : MonoBehaviour {
private GameManager gameManager;
// Use this for initialization
void Start () {
gameManager = GameObject.Find ("GameManager").GetComponent<GameManager> ();
@rahwang
rahwang / board.cpp
Created October 10, 2018 07:09
Simple game of checkers!
#include "board.h"
Board::Board() {}
char Board::pieceChar(const PieceType &pieceType) const
{
switch(pieceType)
{
case BLANK:
return '.';
This file has been truncated, but you can view the full file.
{
"accessors": {
"accessor_102": {
"bufferView": "bufferView_2",
"byteOffset": 0,
"byteStride": 0,
"componentType": 5123,
"count": 1056,
"type": "SCALAR"
},
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[{"id":"document","name":"SampleFlight","version":"1.0","clock":{"interval":"20170711T16Z/20170711T1620Z","currentTime":"20170711T16Z","multiplier":2,"range":"LOOP_STOP","step":"SYSTEM_CLOCK_MULTIPLIER"}},{"id":"Aircraft/Aircraft1","name":"Aircraft1","availability":"20170711T16Z/20170711T162001.65996549888041Z","billboard":{"color":{"rgba":[0,255,255,255]},"eyeOffset":{"cartesian":[0,0,0]},"horizontalOrigin":"CENTER","image":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAjSURBVChTYyAa/EcDUGEIgIphAKg0XRSAAFQMDqDChAADAwDC13+BJ+0oDwAAAABJRU5ErkJgggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==","pixelOffset":{"cartesian2":[0,0]},"scale":1,"show":true,"verticalOrigin":"CENTER"},"path":{"show":[{"interval":"20170711T16Z/20170711T162001.65996549900046Z","boolean":true}],"width":1,"material":{"solidColor":{"color":{"rgba
[{"id":"document","name":"SampleFlight","version":"1.0","clock":{"interval":"20170711T16Z/20170711T1620Z","currentTime":"20170711T16Z","multiplier":2,"range":"LOOP_STOP","step":"SYSTEM_CLOCK_MULTIPLIER"}},{"id":"Aircraft/Aircraft1","name":"Aircraft1","availability":"20170711T16Z/20170711T162001.65996549888041Z","billboard":{"color":{"rgba":[0,255,255,255]},"eyeOffset":{"cartesian":[0,0,0]},"horizontalOrigin":"CENTER","image":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAjSURBVChTYyAa/EcDUGEIgIphAKg0XRSAAFQMDqDChAADAwDC13+BJ+0oDwAAAABJRU5ErkJgggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==","pixelOffset":{"cartesian2":[0,0]},"scale":1,"show":true,"verticalOrigin":"CENTER"},"path":{"show":[{"interval":"20170711T16Z/20170711T162001.65996549900046Z","boolean":true}],"width":1,"material":{"solidColor":{"color":{"rgba
<?xml version='1.0' encoding='UTF-8'?>
<kml xmlns:kml="http://earth.google.com/kml/2.2">
<Document id="featureCollection">
<Style id="defaultStyle">
<LineStyle>
<width>1.5</width>
</LineStyle>
<PolyStyle>
<color>7d8a30c4</color>
</PolyStyle>
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<name>PolygonTest.kml</name>
<StyleMap id="m_ylw-pushpin">
<Pair>
<key>normal</key>
<styleUrl>#s_ylw-pushpin</styleUrl>
</Pair>
</StyleMap>