Giter VIP home page Giter VIP logo

hangman-classic's Introduction

Hangman-Classic

Hangman Classic is a console application for playing the classic game of Hangman. Designed with Go, this project provides an interactive experience for guessing hidden words.

Features

  • ASCII Art
  • Start And Stop
  • Impossible to retry letter or word
  • Add different color into the output

Deployment

IMPORTANT ! Before executing any command, open a terminal from the program folder.

  • To start the normal game
  go run .\cmd\main.go
  • To start in ASCII Art mode (You can replace name_of_file by : standard / shadow / thinkertoy)
  go run .\cmd\main.go --letterFile (name_of_file).txt

  • To start since the save file (IMPORTANT everytime a save file is created his name is save.txt)
  go run .\cmd\main.go --startWith save.txt

  • To start since the save file and Ascii Art mode in same time (You can replace name_of_file by : standard / shadow / thinkertoy)
  go run .\cmd\main.go --startWith save.txt --letterFile (name_of_ascii_file).txt

Appendix

Every time a game is finish a stats file is refresh for add your game history and all your stats (enjoy :)

If you want to stop the game and save your progression into a save file just write STOP into the standard input

Lessons Learned

The biggest difficulty than we encounter into this project is to create it in such a way that the program works on different computers

Authors

  • Carrola Quentin / Petit Melvin

hangman-classic's People

Contributors

xplit495 avatar

Watchers

 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.