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
<?php | |
/** | |
* Created by IntelliJ IDEA. | |
* User: Richard Miles | |
* Date: 6/27/2018 | |
* Time: 4:05 PM | |
* | |
* A 6-Deck blackjack card counting game | |
* | |
* 2-6 is +1 |
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
#include <iostream> | |
#include <bitset> | |
using namespace std; | |
const int TABLE_SIZE = 17; // You can change consts with | |
const int MAX_DIST = 4; // *((int*)(&a)) = 6 | |
unsigned int startingPlace = 1; // a binary representation of the hop | |
struct item { | |
int *input; |
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
<html> // This was chopped from https://carbonphp.com , a php framework which incorporates PJAX and and HTML5 Sockets | |
<head> | |
<script> | |
/*! loadJS: load a JS file asynchronously. [c]2014 @scottjehl, Filament Group, Inc. (Based on http://goo.gl/REQGQ by Paul Irish). Licensed MIT */ | |
(function (w) { | |
let loadJS; | |
loadJS = function (src, cb) { | |
"use strict"; | |
let ref = w.document.getElementsByTagName("script")[0]; | |
let script = w.document.createElement("script"); |
NewerOlder