Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.3 KB

README.md

File metadata and controls

35 lines (21 loc) · 1.3 KB

Hangman


Table of Contents

Overview

This game is a project from the Ruby path on The Odin Project called Hangman, it is the last project of the Files and Serialization section. This project will enhance my skills in serialization. The game will be played vs. computer.

How It's Made

Tech used: Ruby, YAML

The game was written in Ruby, and serializes to YAML. It is CLI based, so game will only run on CMD/Terminal or on Replit.

Usage:

To play it on CLI, you must have ruby installed on your system, then clone this repo, and then from CLI make sure you're in the right directory (lib/) and type ruby game.rb and press enter.

Gameplay

Setup

The computer will choose a random word between 5-12 characters long, player has 6 chances to guess wrong before losing.

Rules

You can find out about the game on Wikipedia.