Giter Club home page Giter Club logo

hangman's People

Contributors

imranadan avatar

Watchers

 avatar  avatar  avatar

hangman's Issues

UI - Layout Ideas

Need to generate a few ideas on the UI layout. Initially I'm thinking of having a Sidebar or a top sticky bar to navigate between different view i.e. management view/ in game view.

Use git flow

@btduong We should use git flow to have a stable version running of master. I will introduce this and set version numbers for release accordingly. Will close this issue once we are all on board. ๐Ÿ‘

UI - Hangman UI

Research on some frontend tech for the Hangman game.

The front end framework should be used to build dashboards and render/draw items on the screen. It would also be great if the framework has a UI toolkit to ease the render of components; e.g. buttons, panel etc

Few frameworks to look at

  • Extjs
  • Nodejs + UI Toolkit
  • React/Redux
  • Angular 2 + PrimeNG

Feature - Hangman Game Engine

Hangman Game Engine Feature.

Requirements

We need a game engine that will update the state of the game based on the next character that is provided.

Details

Given a game and a next character, update the state of the game based on the next character in relation to the word that is to be guessed. Return the updated game.

The method should:

  • Check if the character is in the word to guess, if YES THEN Update the guess, e.g. word = HELLO, nextCharacter = L, guess = _ _ L L _. If NO THEN Update the number of incorrect guesses, e.g. word = HELLO, nextCharacter = W, guess = _ _ _ _ _ , incorrectGuess = 1
  • Update the state of the game's Hangman. The updating Hangman depends on the number of permitted guess and number of incorrect guesses you do not want to update the state of hangman for each incorrect guess, think about how this should be done, give the player a chance based on the number of permitted guess, i.e. every other incorrect guess.
  • Compute game over state, game is over when the number of permitted guesses = 0 && all part of the hangman are to be drawn.

Also have a look at GameEngineTest, we would want all those test to pass. You can also think of additional tests to ensure quality.

The features are to be implemented in the GameEngine class and tested in the GameEngineTest class. @btduong could you checkout the feature/game-engine branch and work on you changes their. We can use this issue as a forum of communication.

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.