Skip to content
This repository has been archived by the owner on Oct 20, 2020. It is now read-only.

bijanbwb/hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hangman

Quickstart

# Change directory to Phoenix application
cd gallows

# Fetch all dependencies
mix deps.get

# Install front-end assets
cd assets && npm install

## Start the Phoenix server
cd .. && mix phx.server

## Visit localhost:4000/hangman to play!

Applications

  • dictionary: Generates a random word using an Elixir Agent based on a text file containing thousands of words.
  • gallows: Phoenix application that displays the Hangman application in the browser to play games via a web-based front-end.
  • hangman: Hangman game implementation in lib/hangman/game.ex and an Elixir GenServer in lib/hangman/server.ex.
  • socket_gallows: (partially implemented) Phoenix application to play the Hangman game using WebSockets instead of the HTTP gallows version`.
  • text_client: Text client for the hangman game that prompts for guesses and prints a summary (run mix run -e TextClient.start from text_client folder).

About

Elixir sample application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published