This file contains 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
#!/usr/bin/env python2 | |
# | |
# galaxy - jzhu98 | |
# See bottom for LICENSE. | |
# | |
from __future__ import division | |
from math import fsum | |
from random import gauss |
This file contains 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 Card(s, n) { | |
var suit = s; | |
var number = n; | |
this.getNumber = function() { | |
return number; | |
}; | |
this.getSuit = function() { | |
return suit; | |
}; | |
this.getValue = function() { |
This file contains 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 <vector> | |
#include <array> | |
typedef std::array<float, 2> xyCoord; | |
float isInCircle(float x, float y, float radius); | |
void setSquareCoords(int row, int column, std::array<xyCoord, 4>& square); | |
int main() |
NewerOlder