Giter Site home page Giter Site logo

integerman / doggoquestng Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 1.84 MB

An Angular Interactive Fiction game built for various articles and talks

Home Page: https://www.doggoquest.com

License: MIT License

JavaScript 7.58% TypeScript 72.40% HTML 11.52% CSS 8.50%
interactive-fiction angular compromise-nlp event-modeling material-ui

doggoquestng's Introduction

Doggo Quest

Netlify Status

Doggo Quest is small an Angular Interactive Fiction game created by Matt Eland as a teaching exercise to discuss various topics:

  • Event Modeling
  • Angular
  • Material UI
  • TypeScript
  • Jest
  • NgRx
  • Compromise-NLP

The game involves you as a small dog that gets loose in its house while its owners are away. The player gets a fixed number of turns to cause as much mayhem as they desire before the owners return. Chaos ensues.

Availability

Doggo Quest is not yet hosted online, but will be at a later date.

Game Design

Map

The game's map is defined as follows:

Doggo Quest Map

Image created in Trizbort

Event Modeling

I undertook an exercise to use event modeling for game design and the resulting graphic is included below:

Event Modeling Diagram

Puzzle Dependency Diagram

Additionally, I represented significant story beats in a puzzle dependency diagram which is included below (Warning: Contains spoilers):

Puzzle Dependency Diagram

Visual Structure

The application is a small one and only composed of a few components. Let's take a look at the mockup and how it maps to individual Angular Components:

Visual Structure

The game's components are:

  • App.Component - Main container for the application
  • Header.Component - Contains the game title and high level game information, including the score
  • Footer.Component - Holds the command entry component and the game over component
  • StoryView.Component - Contains the game's narrative. New entries will be added to the bottom
  • CommandEntry.Component - Allows the player to enter in game commands and submit them
  • GameOver.Component - Shown when the game has ended and allows the user to restart the game
  • PlayerCommand.Component - Represents something the player typed into the engine at one point and is now part of the story
  • StoryText.Component - An individual paragraph within the game's narrative. Housed inside the StoryView.Component

doggoquestng's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jay-li-0202

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.