Permalink
Switch branches/tags
Nothing to show
Commits on Aug 21, 2013
  1. Update SimpleRLGolfPretty.html

    committed Aug 21, 2013
Commits on Mar 2, 2012
  1. Merge pull request #6 from chron/master

    Updated ruby version, 243 bytes
    committed Mar 2, 2012
  2. Assorted changes, bytecount now at 243:

    * replaced while ... end with loop{}
    * replaced d() method with a 1.9 style "stabby lambda"
    * because of d being in scope now, changed $p to local var
    * implicit receiver for getch
    * use << instead of addstr and chain it off the initialization
    * replaced inline if-statement with a ternary expression
    * moved the clear (d[32]) call just after the getch to get fix redraw timing
    chron committed Mar 2, 2012
Commits on Mar 1, 2012
  1. Update ruby/SimpleRLGolf.rb

    chron committed Mar 1, 2012
Commits on Dec 21, 2011
  1. js version now 337 bytes

    committed Dec 21, 2011
Commits on Mar 21, 2011
  1. Can use % on the keycode instead of subtracting Curses::KEY_DOWN to s…

    …ave 2 more characters.
    chron committed Mar 21, 2011
Commits on Mar 15, 2011
  1. Changed two lines to use ruby 1.9 behavior for string indexing (Strin…

    …g#[] returns a string instead of a character code). Removed the "rescue exit" line as a clean exit is not a requirement. 267 bytes.
    chron committed Mar 15, 2011
Commits on Mar 14, 2011
Commits on Mar 11, 2011
  1. Can save one more byte by adding $p onto v during declaration instead…

    … of twice later. 276.
    chron committed Mar 11, 2011
  2. Redrawing the player regardless of movement success saves a few chara…

    …cters. Also removed a few superfluous parens. 299.
    chron committed Mar 11, 2011
  3. New variant with a more cryptic (and terse!) style, 309 characters. A…

    …ny key other than an arrow key will quit.
    chron committed Mar 11, 2011
Commits on Mar 4, 2011
Commits on Mar 3, 2011
Commits on Mar 2, 2011
Commits on Feb 14, 2011
  1. added js version 370 bytes

    committed Feb 14, 2011