Giter Site home page Giter Site logo

minazhen / hangman Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 688 KB

Hangman game made with node and pug, with an array of words to guess

Home Page: https://minazhen-hangman.herokuapp.com/

JavaScript 73.55% CSS 8.59% HTML 17.87%
pug nodejs expressjs bootstrap es6 mocha

hangman's Introduction

HANGMAN

This is a Hangman game created with ES6, Node and Express.js, Bootstrap and Pug. Testing with expect(Jest) and Mocha.

There are two modes: single player and two players, with two players, one chooses a word and an attempts number and the other player tryies to guess it. In this mode, it is possible to write a sentence or different words and there is not spell checking to make it funnier.

In single mode player has 10 attempts to guess a random word, that is choosen from an array of almost thousend words.

Screenshots

screenshots.png

Getting Started

Prerequisites

First, and if you don't have, install Node in your machine.

I used Nodemon for working, if you want to use copy the line below once installed Node.

npm install -g nodemon

Installing

Copy or download this repo

Open your command line and enter the directory where you want to copy the repository and then enter:

git clone https://github.com/MinaZhen/hangman.git

Navigate into hangman, in package.json level and enter:

npm install

To see how it's working enter:

npm start

Done!

Running the tests

Use the following line to run the tests:

npm test

This test check the logic functions, directly or indirectly and handle errors.

Versioning

Hangman 2.0.0

Authors

  • Marina Clarés - web and videogames developer - GitHub

Project for: Skylab Coders Academy

hangman's People

Contributors

minazhen avatar

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.