HTTPS SSH

Z-Day

An interpretation of of Radomir 'The Sheep' Dopieralski's Z-Day
Written in Go and compiled to Javascript by GopherJS.
It also compiles to a native terminal application.

Play online

This is Free Software governed by the terms of the GNU General Public License Version 3 or later.
See LICENSE for details.

Build

You need a running Go 1.7 installation.

Terminal version

$ go get bitbucket.org/s_l_teichmann/zday

Manual build

$ hg clone https://bitbucket.org/s_l_teichmann/zday
$ go get -u  github.com/nsf/termbox-go
$ cd zday
$ go build

JS version

$ hg clone https://bitbucket.org/s_l_teichmann/zday
$ go get -u github.com/gopherjs/gopherjs
$ go get -u honnef.co/go/js/dom
$ cd zday
$ gopherjs build

To build a minified JS file:

$ gopherjs build -m

Run

Terminal version

$ ./zday

or

$ ./zday -256
$ ./zday -2

The later two give you correct gray values but only on terminals which support 256 colors.

JS version

Open index.html in your browser.

Play

Goals

  • Survive!
  • Find an emergency exit on the first floor!

Controls

Use ...

  • ... Cursor keys to move around.
  • ... v to dash (vault) two fields into a direction.
  • ... z to shoot (zap) at highlighted enemy.
  • ... Z to aim at a different enemy.
  • ... x to eXamine crates and corpses.
  • ... X to use the escalators.
  • ... a to u keys to use items from inventory.
  • ... A to U keys to discard items from inventory.
  • ... Space to wait a round.
  • ... Esc to quit.
  • ... ? to show help.

Legend

  • @ the player
  • Z the zombies
  • . floor
  • # wall
  • : trash and rubble
  • + various body parts
  • % corpses
  • & crates and boxes
  • $ dangerous machinery
  • < escalators
  • X emergency exit