<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>摸鱼小游戏 | 开心斗地主</title>
<link rel="shortcut icon" href="https://haiyong.site/img/favicon.png" />
<style>
body {
padding: 0;
margin: 0;
height: 100%;
background-color: #eee;
font-size: 12px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-text-size-adjust: none;
}
#main {
margin: 0 auto;
width: 1008px;
}
#textContainer {
margin: 0 auto;
font: 24px arial, verdana;
font-weight: bold;
color: #333;
position: absolute;
top: 200px;
left: 450px;
text-align: center;
text-shadow: 0 2px 2px #ccc;
}
.btn {
position: absolute;
bottom: 1%;
right: 0px;
border: 1px solid white;
border-radius: 5px;
font-size: 0.9rem;
padding: 0.5rem 0.7em;
background: transparent;
color: #F9B31C;
-webkit-font-smoothing: antialiased;
font-weight: 700;
cursor: pointer;
transition: all .3s;
z-index: 11;
}
.btn_left {
left: 0px;
right: unset;
text-decoration: none;
}
.btn_right {
left: unset;
right: 0px;
text-decoration: none;
}
.btn:hover {
background: #ffffff;
color: #2a2b2f;
}
</style>
<script type="text/javascript" >
var casual = {};
casual.trace = function () {
for (var c = [], a = 0; a < arguments.length; a++) c.push(arguments[a]);
typeof console != "undefined" && typeof console.log == "function" && console.log(c.join(" "))
};
casual.inherit = function (c, a) {
var b = function () { };
b.prototype = a.prototype;
c.superClass = a.prototype;
c.prototype = new b;
c.prototype.constructor = c
};
casual.delegate = function (c, a) {
var b = a || window;
if (arguments.length > 2) {
var d = Array.prototype.slice.call(arguments, 2);
return function () {
var e = Array.prototype.slice.call(arguments);
Array.prototype.unshift.apply(e, d);
return c.apply(b, e)
}
} else return function () {
return c.apply(b, arguments)
}
};
casual.copy = function (c, a, b) {
if (typeof c !== "object") return c;
var d = c.valueOf();
if (c != d) return new c.constructor(d);
if (c instanceof c.constructor && c.constructor !== Object) {
d = a ? new a : casual.clone(c.constructor.prototype);
for (var e in c) if (a || c.hasOwnProperty(e)) d[e] = c[e]
} else {
d = {};
for (e in c) d[e] = c[e]
}
if (b) for (e in b) d[e] = b[e];
return d
};
casual.clone = function (c) {
casual.__cloneFunc.prototype = c;
return new casual.__cloneFunc
};
casual.__cloneFunc = function () { }; (function () {
var c = function (a, b, d, e, f, g) {
this.a = a != undefined ? a : 1;
this.b = b != undefined ? b : 0;
this.c = d != undefined ? d : 0;
this.d = e != undefined ? e : 1;
this.tx = f != undefined ? f : 0;
this.ty = g != undefined ? g : 0
};
casual.Matrix = c;
c.prototype.concat = function (a) {
var b = this.a,
d = this.c,
e = this.tx;
this.a = b * a.a + this.b * a.c;
this.b = b * a.b + this.b * a.d;
this.c = d * a.a + this.d * a.c;
this.d = d * a.b + this.d * a.d;
this.tx = e * a.a + this.ty * a.c + a.tx;
this.ty = e * a.b + this.ty * a.d + a.ty
};
c.prototype.concatTransform = function (a, b, d, e, f, g, h) {
var i = 1,
j = 0;
if (f % 360) {
f = f * Math.PI / 180;
i = Math.cos(f);
j = Math.sin(f)
}
if (g != 0) this.tx -= g;
if (h != 0) this.ty -= h;
this.concat(new c(i * d, j * d, -j * e, i * e, a, b))
};
c.prototype.rotate = function (a) {
var b = Math.cos(a);
a = Math.sin(a);
var d = this.a,
e = this.c,
f = this.tx;
this.a = d * b - this.b * a;
this.b = d * a + this.b * b;
this.c = e * b - this.d * a;
this.d = e * a + this.d * b;
this.tx = f * b - this.ty * a;
this.ty = f * a + this.ty * b
};
c.prototype.scale = function (a, b) {
this.a *= a;
this.d *= b;
this.tx *= a;
this.ty *= b
};
c.prototype.translate = function (a, b) {
this.tx += a;
this.ty += b
};
c.prototype.identity = function () {
this.a = this.d = 1;
this.b = this.c = this.tx = this.ty = 0
};
c.prototype.invert = function () {
var a = this.a,
b = this.b,
d = this.c,
e = this.d,
f = this.tx,
g = a * e - b * d;
this.a = e / g;
this.b = -b / g;
this.c = -d / g;
this.d = a / g;
this.tx = (d * this.ty - e * f) / g;
this.ty = -(a * this.ty - b * f) / g
};
c.prototype.clone = function () {
return new c(this.a, this.b, this.c, this.d, this.tx, this.ty)
};
c.prototype.toString = function () {
return "(a=" + this.a + ", b=" + this.b + ", c=" + this.c + ", d=" + this.d + ", tx=" + this.tx + ", ty=" + this.ty + ")"
}
})(); (function () {
var c = function (a, b, d, e) {
this.x = a != undefined ? a : 0;
this.y = b != undefined ? b : 0;
this.width = d != undefined ? d : 0;
this.height = e != undefined ? e : 0
};
casual.Rectangle = c;
c.prototype.intersects = function (a) {
return this.x <= a.x + a.width && a.x <= this.x + this.width && this.y <= a.y + a.height && a.y <= this.y + this.height
};
c.prototype.intersection = function (a) {
var b = Math.max(this.x, a.x),
d = Math.min(this.x + this.width, a.x + a.width);
if (b <= d) {
var e = Math.max(this.y, a.y);
a = Math.min(this.y + this.height, a.y + a.height);
if (e <= a) return new c(b, e, d - b, a - e)
}
return null
};
c.prototype.containsPoint = function (a, b) {
return this.x <= a && a <= this.x + this.width && this.y <= b && b <= this.y + this.height
};
c.prototype.clone = function () {
return new c(this.x, this.y, this.width, this.height)
};
c.prototype.toString = function () {
return "(x=" + this.x + ", y=" + this.y + ", width=" + this.width + ", height=" + this.height + ")"
}
})(); (function () {
var c = {
_counter: 0
};
casual.NameUtil = c;
c.getUID = function () {
return c._counter++
};
c.createUniqueName = function (a) {
var b = a.charCodeAt(a.length - 1);
if (b >= 48 && b <= 57) a += "_";
return a + c.getUID()
};
c.displayObjectToString = function (a) {
var b;
for (a = a; a != null; a = a.parent) {
var d = a.id != null ? a.id : a.name;
b = b == null ? d : d + "." + b;
if (a == a.parent || a.parent instanceof Stage) break
}
return b
}
})(); (function () {
var c = function (a, b, d) {
this.type = a;
this.params = this.currentTarget = this.target = null;
this.bubbles = b != undefined ? b : false;
this.cancelable = d != undefined ? d : false
};
casual.EventBase = c;
c.prototype.stopPropagation = function () { };
c.prototype.preventDefault = function () { };
c.prototype.clone = function () {
return casual.copy(this)
};
c.prototype.dispose