Skip to content

Instantly share code, notes, and snippets.

View Chances.php
class Chances {
protected $max;
protected $pie;
protected $rnd;
public function __construct($max = 100) {
$this->max = $max;
View gist:f00e5d12dcf5bac1386f
// Arranca en el show() del screen. Cada vez que se muestra el lobby, va a checkTimer()
public void show() {
// Chequeo si ya tengo llenas las monedas (>30). En ese caso, el timer se inhabilita.
View index.html
<html lang="en">
*(c) Copyright 2011 Simone Masiero. Some Rights Reserved.
*This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
<meta charset="utf-8">
<script src='//' type='text/javascript'></script>
View evoplate.php
require 'simple_html_dom.php';
$template_path = 'template/tagnu/';
$template_name = 'home.html';
$html = file_get_html($template_path . $template_name);
View update.php
<?php defined('SYSPATH') or die('No direct script access.');
class Database_Query_Builder_Update extends Kohana_Database_Query_Builder_Update {
* Compile the SQL query and return it.
* @param object Database instance
* @return string