Used to design games. I've heard that some times ago and decided to get information on the topic.
here some of the resources I've foud
| class Player | |
| attr_accessor : color, qi, taos, :ghosts, :name | |
| def initialize | |
| end | |
| end |
| require 'rubygems' | |
| require 'nokogiri' | |
| def parse_lib | |
| @list = [] | |
| @doc = Nokogiri::XML(File.open('lib.xml', 'r')) | |
| # Find each dictionary item and loop through it | |
| @doc.xpath('/plist/dict/dict/dict').each do |node| |
| <li class="party"> | |
| <% f.fields_for party, :index => index do |p| %> | |
| <%= text_field_tag "party[game][#{Time.now.to_i}]", nil, :class => "party_game_name", :size => 40 %><br /> | |
| <div class="auto_complete"></div> | |
| <%= p.hidden_field :game_id, :class => "party_game_id" %> | |
| <%= p.hidden_field :created_at %> | |
| <% p.simple_fields_for :sub_parties do |sub| %> | |
| <%= sub.association :game, :collection => @extensions %> | |
| <%= sub.hidden_field :created_at %> |
| module Ludomanager | |
| module ARMustache | |
| # any method placed here will apply to classes, like Hickwall | |
| def mustache_attrs(*attrs) | |
| cattr_accessor :mustache_attrs | |
| self.mustache_attrs = attrs | |
| send :include, InstanceMethods | |
| end |
| <li>{{name}}</li> |
| From 8539739dba84f29013359b99dee7d8e3e0473055 Mon Sep 17 00:00:00 2001 | |
| From: djtal <guillaume.garcera@gmail.com> | |
| Date: Sat, 14 Nov 2009 11:54:09 +0100 | |
| Subject: [PATCH] Add a missing submodule path | |
| change to SCRIPTY2_DIST_DIR instead of SCRIPTY2_DEBUG_DIR since it has been modified in commit 81e0e05706f4050249d20e89d9f4c5b7a1705937 | |
| --- | |
| .gitmodules | 1 + | |
| Rakefile | 7 ++++--- | |
| 2 files changed, 5 insertions(+), 3 deletions(-) |
| var PlayerForm = Class.create({ | |
| initialize: function(form){ | |
| if(!$(form)) return; | |
| this.form = $(form); | |
| new Ajax.Request('/members.json', {method: "get", onSuccess: this.loadMember.bind(this)}); | |
| }, | |
| loadMember: function(response){ | |
| this.members = response.responseJSON.inject($H(), function(acc, member){ |