Skip to content

uprighted-learners/zorkington-aidanho1188

Repository files navigation

Zorkington V1

Zorkington V1

zork game west of house splash screen

The game Zork was not the first text adventure game, but it was the first to achieve commercial success.

In this project, you will create a version of Zork born from your own beautiful mind. In our example case, it's one that takes place in the faraway kingdom of Burlington, Vermont. Feel free to use it as well :)

Features

  • Introductory Text Display: Displays an introductory text when the game starts.
  • User Input Handling: Handles user input and provides appropriate responses.
    • Unrecognized commands result in a specific message.
  • Item Interaction: Players can interact with items, such as reading signs.
  • Immovable Objects: Some objects cannot be taken, and the game will notify the player.
  • Locked Doors: Doors may be locked, requiring a code to unlock.
  • Puzzle Solving: Players can solve puzzles to progress to the next room.
  • Room Descriptions: Provides detailed descriptions of the rooms.
  • Inventory Management: Players can pick up, drop, and view items in their inventory.
  • Room Connections: Multiple rooms with unique connections, puzzles, and inventories.

Tech Stack

  • JavaScript: The primary programming language for implementing the game logic.
  • Node.js: For running the game server and handling asynchronous operations.
  • Terminal: For handling command-line prompts and user inputs.

Links


Zorkington V2

New Features

Bringing JavaScript Console Game to Web-Based Console Game

You can now experience Zorkington, the JavaScript console game, in a web-based console environment. Enjoy the following features:

  • Web-Based Gameplay: Enjoy the game directly in your browser, no download required.
  • HTML Integration: Enhance the game interface with the power of HTML.
  • Smooth Upgrade: Preserve game mechanics by integrating the existing Zorkington JavaScript code.
  • Enhanced Iconography: Elevate the user experience with intuitive and engaging icons throughout the game interface.

Unit Testing for Input and Output (Black-box Testing)

Ensure the reliability of the Zorkington console game with comprehensive unit testing. Highlights include:

  • Test case coverage: Define scenarios for different user inputs and expected outputs.
  • Mock user input: Simulate user interactions to validate game responses.
  • Automated testing: Streamline the testing process with CI pipelines or test runners.

Tech Stack

  • JavaScript: The primary programming language for implementing the game logic.
  • Node.js: For running the game server and handling asynchronous operations.
  • Github Pages: For hosting the web-based console game.
  • HTML/CSS: For creating the web-based console interface.
  • Cypress: For unit testing the game logic and user interactions.
  • Webpack: For bundling the JavaScript code and assets for the web-based game.

Links