Giter Club home page Giter Club logo

hookman's Introduction

Hookman

Hookman is simply a CLI version of the classic hangman game written in the Rust programming language. The name is inspired by the idea of using a rusty hook instead of a rope to build the hangman on.

The project is based off of this awesome tutorial series by dcode on YouTube. Check it out if you want an enjoyable intro to Rust.

Words Data

The words data used for the game was derived from this English Word Frequency kaggle dataset.

You can configure and generate a different word set for your hookman games by configuring and running the python script (write_games_file.py).

Configuration options are:

  • Word Data Source :: path of text file containing comma-separated words used for building the games text file
  • Search Limit :: max rows to read through the CSV data source when adding to the games text file
  • Minimum word length :: minumum character length for a word to be considered and added to the games text file

The script requires Python 3 (only tested using v3.9) to be available in your local environment with the pandas package installed.

To build games.txt, run the following from the repository's root directory:

python3 write_games_file.py

hookman's People

Contributors

barkdoll 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.