Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Latest commit

 

History

History
38 lines (20 loc) · 1.23 KB

ReadMe.md

File metadata and controls

38 lines (20 loc) · 1.23 KB

redux-adventure

Redux Adventure is a text-based adventure game written in Angular 2 and TypeScript that leverages Redux. It is a simple implementation designed to both learn and teach the principles of an app that relies on Redux for state management.

Read the blog post to learn more about how the app is organized, structured, and the role Redux plays in driving gameplay.

Redux Adventure

Quick Start

Online

Play the Game

Local

First, clone the repo:

git clone https://github.com/JeremyLikness/redux-adventure.git

cd redux-adventure

Next, install the dependencies: npm install

The project uses the Angular-CLI:

npm i -g angular-cli

Now you can launch it:

ng serve

Objective

The objective is to explore the dungeon and pick up all of the artifacts. You win the game when your inventory includes all possible items. The game will render a map of areas you've visited. The following commands are possible:

n north s south e east w west g get i inventory