taciano-perez / noir-game

A text-oriented game in JavaScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Noir, a game

A text-oriented game in JavaScript.

In order to play the game online, go to https://taciano-perez.github.io/noir-game/.

Developing

Clone the repository. Start the HTTP server (see below) and open a browser:

> http_server

Game design

Mechanics

  • Text and dialogue-based. The story is narrated mostly via text (with auxiliary images and sounds, no animations). The player advances through the story by choosing how the character reacts to situations.
  • RPG elements. Your character has abilities and stats points, and those influence what you can/cannot do. In-story choices have consequences for your character build.
  • Inventory. The character has an inventory with the objects collected so far. Objects enable story choices. Inventory is kept simple, objects cannot be combined.
  • Combat. The character faces hostile NPCs and can either fight or evade them (with multiple weapons/abilities).
  • Map Navigation. The story takes place in multiple locations of the fictional city of Triste-le-Roy, and the player can navigate among them using a map.
  • Save/restore. The player can save the game and resume from a previous point.
  • PC-oriented. The game is meant to be played on a PC computer (desktop, laptop). If it can also run on a mobile device that's fine, but not a hard requirement.

Theme and prose

  • The game is inspired by hardboiled detective fiction, and follows the tropes of the genre.
  • Sentences are short and direct, and use present tense.
  • Slang is heavily used. See reference1, reference2, reference3.

Reference material

Story

I will not detail the story in order to prevent spoilers. The below list helps me keep track of major parts that need to be done.

  • Chapter 1: The job
  • Chapter 2: City Park
  • Chapter 3: The 3rd Talmudian Conference
  • Chapter 4: The Blind Dutchman
  • Chapter 5: Summoned by the Police

Tech Debt

  • Automate testing
  • Music & sound controls
  • Incorporate combat fully in the main narrative panel (so case file isn't messed up)
  • Make it possible to flee from combat
  • Combat takes character stats into account
  • Handguns need reloading
  • Implement Notebook functionality
  • Alert buttons when something changes (pulse?)
  • Binary JSON savegame

Resources

The following free art resources have been used in making the game. We thank the artists who shared their work, and make proper attribution here.

Audio clips

Fonts

Images

The game and its assets are, unless otherwise indicated, copyright of Taciano Dreckmann Perez (C) 2023.

About

A text-oriented game in JavaScript.

License:MIT License


Languages

Language:JavaScript 73.7%Language:HTML 17.1%Language:CSS 9.2%