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
var pc = [ | |
{ card: "a1", x: 10, y: 10, width: 146, height: 220, round: 10 }, | |
{ card: "a2", x: 161, y: 10, width: 146, height: 220, round: 10 }, | |
{ card: "a3", x: 312, y: 10, width: 146, height: 220, round: 10 }, | |
]; | |
for (a = 0; a < 2; a++) { | |
paper.image("images/schnapsen/" + pc[a].card + ".png", pc[a].x, pc[a].y, pc[a].width, pc[a].height).paper.rect(pc[a].x, pc[a].y, pc[a].width, pc[a].height, pc[a].round).attr({ | |
'stroke-width': 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
var paper_width = 1110, | |
paper_height = 600; | |
paper = Raphael("game", paper_width, paper_height), | |
socket = io.connect(); | |
paper.rect(0, 0, 900, 600, 10).attr({ | |
"stroke-width": 0, | |
"fill": "#52922c" | |
}); |
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
// Flipbox | |
$(".flipbox-container").mouseover(function(){ | |
$(this).flippy({ | |
verso:"<div id='Flipbox'>Test</div>", | |
direction:"LEFT", | |
duration:"750", | |
onFinish: function() { | |
console.log("test"); | |
$("#Flipbox").html(""); |
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
akfjakfj | |
lasfka | |
alčfkaf | |
koda pač |
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 <stdlib.h> | |
#include <time.h> | |
using namespace std; | |
void izpisPolja(int polje[][10], int N) { | |
for (int a = 0; a < N; a++) { |
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 <stdlib.h> | |
#include <time.h> | |
using namespace std; | |
void main() { | |
int a; |
OlderNewer