Skip to content

Instantly share code, notes, and snippets.

View scizo's full-sized avatar

Scott Nielsen scizo

  • Salt Lake City, UT
View GitHub Profile
@phaedryx
phaedryx / chaos.rb
Last active December 21, 2022 23:10
errors = [
SystemStackError, LocalJumpError, IOError, RegexpError, ZeroDivisionError,
ThreadError, SystemCallError, SecurityError, RuntimeError, NameError,
RangeError, IndexError, ArgumentError, TypeError
]
module Kernel
def suppress_warnings
original_verbosity = $VERBOSE
$VERBOSE = nil
@scizo
scizo / liard.rb
Created May 13, 2011 15:02
Liar's Dice
require 'eventmachine'
module Liard
TEST = false
MINIMUM_PLAYERS = 2
HELP = <<-END
-- Commands from client
BID <num> <val> Creates a bid of "num vals (e.g. four 3's)"