/tinytextgamejs

A small text game library & Rock, Paper, Scissors implementation to help learn modern JavaScript.

Primary LanguageJavaScriptMIT LicenseMIT

TinyTextGameJS

Note

This repo will likely be split and updated due to:

  1. Recent updates to JavaScript's Set
  2. My own upcoming projects

You are probably looking for another library, such as xterm.js.

This is a learning project. It contains the following:

  1. An enhanced subclass of JavaScript's built-in Set which adds a choose() method
  2. A text-based console object which echoes any input
  3. A playable example implementation of Rock, Paper, Scissors using the two above

An older version is live on neocities.

Why did you write this?

  1. To brush up on modern JavaScript features, such as modules
  2. Demonstrate knowledge of JavaScript to prospective clients, teammates, & employers