Skip to content

Instantly share code, notes, and snippets.

View BreonKnight's full-sized avatar
🎯
Look At It Closely

Breon Knight BreonKnight

🎯
Look At It Closely
View GitHub Profile

Keybase proof

I hereby claim:

  • I am breonknight on github.
  • I am breon (https://keybase.io/breon) on keybase.
  • I have a public key ASCVZJkK7loaexUBE4h4ixE680y4ARUO3CqPY4J02pHzIAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am breonknight on github.
  • I am breon (https://keybase.io/breon) on keybase.
  • I have a public key ASCVZJkK7loaexUBE4h4ixE680y4ARUO3CqPY4J02pHzIAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am breonknight on github.
  • I am illusive (https://keybase.io/illusive) on keybase.
  • I have a public key whose fingerprint is D33F B6B4 B413 323A A7CB 6B05 5036 90E4 528D BDAB

To claim this, I am signing this object:

CAN CAN CAN ???

**Ever have issues with User auth? Ever wondered how to restrict access from certain users? Well I got some good news, you can can can do that. **

Mou icon

The Can Can Can Gem is very easy to set up.

console.log('Sanity Check: JS is working!');
$(document).ready(function(){
//getting canvas from ID in the canvas class and turning it into a JS variable.
var canvas = document.getElementById("canvas");
var ctx = canvas.getContext("2d");
var x = canvas.width2;
var y = canvas.height-30;
var dx = 2;
var dy = -2;
function horizontalWin(players){
var counter = 0;
for (var x = 0; x < gamegrid.length; x++){
if(gamegrid[x] === players){
counter++;
}
}if(counter === 3){
console.log(players + " wins");
}