Skip to content

Instantly share code, notes, and snippets.

View heavysixer's full-sized avatar
😎

Mark Daggett heavysixer

😎
View GitHub Profile
@heavysixer
heavysixer / _.md
Last active March 16, 2016 19:30
prototype: d3.geo topojson v1
@heavysixer
heavysixer / _.md
Created March 16, 2016 18:35
prototype: d3.geo topojson v1
@heavysixer
heavysixer / _.md
Created March 16, 2016 18:35
prototype: d3.geo topojson v1
@heavysixer
heavysixer / README.md
Last active March 16, 2016 20:02
fresh block
@heavysixer
heavysixer / form-errors.js
Last active April 12, 2016 22:04
Angular 1.x directive for displaying rails errors in the view.
(function () {
'use strict';
/**
* @ngdoc directive
* @name hsFormErrors
* @module humansized.directives.hsFormErrors
* @restrict E
*
* @description
*
# A simple Book Cipher
# https://en.wikipedia.org/wiki/Book_cipher
# input = <<EOF
# A book cipher is a cipher in which the key is some aspect of a book or other
# piece of text; books being common and widely available in modern times, users
# of book ciphers take the position that the details of the key are sufficiently
# well hidden from attackers in practice.
#EOF
# cipher = BookCipher.new
# encoded = cipher.encode(input)
@heavysixer
heavysixer / gist:0fa8343cc1ff05fae262fb7b15def41e
Created February 8, 2022 16:52
additional card mechanics for Hearthstone.
Additional card mechanic idea which is that there are two characters per card. One for defense and one for offense. The card is removed only when the defensive and offensive sides have been destroyed.
Cards start with base attributes and abilities, which can be modified by a variety of triggers.
What if?
- some cards took up more than one slot in the hand
- Some cards could be combined while still in the (deck, discard pile, hand)
- Actions happened based on winning or losing streaks
Game Components