npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

Wanderer

v0.4.0

Published

A terminal based 2D open world game. Where you can build stuff, shoot stuff, and blow stuff up.

Downloads

4

Readme

NPM version NPM downloads

Wanderer

A terminal based 2D open world game. Where you can build stuff, shoot stuff, and blow stuff up.

Web version

There is now a beta web version of the app available! If you browse to wandererapp.herokuapp.com, you can try it out.

Currently, the architecture is not very fast, so there may be some lag, but if there is enough interest in it, I will add more dynos.

Installing

Make sure you have node and npm installed.

$ node -v
v4.1.2
$ npm -v
2.14.4

If you get errors instead of version numbers visit the NodeJS site.

Install the game globaly:

$ npm install --production -g Wanderer

Or if you don't care about having a few dev dependencies:

$ npm install -g Wanderer

Now run the game and have some fun:

$ wanderer

Controls

Note: Controls are not very well layed out currently since the game engine itself has been the priority. They are subject to possibly durastic change in the near future.

  • left - a
  • right - d
  • up - w
  • place block down - g
  • place block up - r
  • remove block down - v
  • remove block left bottom - z
  • remove block lett top - q
  • remove block right bottom - x
  • remove block right top - e
  • shoot left - u
  • shoot right - i
  • drop bomb - h
  • re-render screen - y
  • drop tesseract - b
  • move tesseract left - j
  • move tesseract right - k
  • teleport to ground - k

Multiplayer

Run the game with the m option and a url to the server you are joining:

$ wanderer m http://<servername>.<domain>:<port>

Server Setup

Note: Currently the server setup is a little limited. With each run, a new world is generated and worlds cannot be saved. Changing this is a high priority, so there should be a WorldManager of sorts in the near future. The default port is 3030 and is not configurable currently.

Run the app with the s option.

$ wanderer s

For development

Fork the repo and clone it to your box.

$ git clone <your_forked_repo>
$ cd <your_forked_repo>

Create a branch

$ git branch <your_feature>
$ git checkout <your_feature>

Install dependencies

$ npm install

The directory structure of the app is currently pretty simple. Modules/Functionality are stored in modules/, types and utilities are stored in types/, external processes (such as the structure analysis and tesseract monitor) are kept in /proc

Notes

Tested on:

  • Arch Linux tty terminal
  • Xterm on Arch linux
  • KDE Plasma Konsole on Arch Linux(Works but with some fonts are there display issues. Recomend the Terminus font)
  • LXDE LXTerminal on Arch Linux(Works but with some fonts are there display issues.)
  • Gnome Terminal on Ubuntu 15.04
  • Windows 7 Command Prompt
  • Windows 10 Command Prompt(A few input issues noticed)
  • Windows 10 MINGW64 teminal emulator(A few input issues noticed)

Out of all these options, I've gotten by far the best results out of a straight Linux tty terminal. Yah, ya don't need a GUI to play this game.