Skip to content
This repository was archived by the owner on Mar 22, 2020. It is now read-only.

Classic word game Hangman for R language

Notifications You must be signed in to change notification settings

calejero/Hangman_game_with_R

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hangman_game_with_R

Hangman is a classic word game in which you need to need to guess as many possible letters in word, so you can guess the word, before running out of tries (lives).

Upon running out of tries, you are hanged!

R code

R code consists of couple helper functions and data.frame dataset for drawing the hangman using ggplot. Hangmang in ggplot2

Once you start the while loop, you will be prompted to insert the word that will be shown as "_ , _ , _ , _ " (in case of four-letter word) and later a separate letter for guessing.

Hangmang in ggplot2

Cloning the repository

You can follow the steps below to clone the repository.

git clone -n https://github.com/tomaztk/Hangman_game_with_R

Contributors and co-authors

Thanks to these wonderful community people making this classical game in R better. Contributions of any kind is highly appreciated!

Jesus Armand Calejero Roman
Jesus Armand Calejero Roman

Liam Crowhurst
Liam Crowhurst

License

These samples and templates are all licensed under the MIT license.

Questions

Email questions to: tomaztsql@gmail.com

About

Classic word game Hangman for R language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%