This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//queue is an array of functions | |
//board is a 2D array | |
//grid is a 2D array of numbers | |
//progression is B-O-G-R | |
//grid values | |
//Red = 1 | |
//Green = 2 | |
//Orange = 3 | |
//Blue = 4 | |
//Empty = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private async void CapturePhoto_Click(object sender, RoutedEventArgs e) | |
{ | |
var dialog = new Windows.Media.Capture.CameraCaptureUI(); | |
photo = await dialog.CaptureFileAsync(Windows.Media.Capture.CameraCaptureUIMode.Photo); | |
if (photo != null) | |
{ | |
IRandomAccessStream stream = await photo.OpenAsync(Windows.Storage.FileAccessMode.ReadWrite); | |
image = new BitmapImage(); | |
image.SetSource(stream); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
var clientKey = "XXXXXXXXXXXXXX"; | |
var clientSecret = "XXXXXXXXXXXX"; | |
var oauthToken; | |
var oauthSecret; | |
var userId; | |
var loginUrl; | |
var applicationName; |