Skip to content

fergusg/live_view_black_jack

 
 

Repository files navigation

BlackJack

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Info

This repo is the code behind https://polite-angelic-beaver.gigalixirapp.com/.

It is a Phoenix Application utilizing LiveView.

The main pieces of code lives in:

  • lib/black_jack_web/live/black_jack_live.ex
    • Main templating logic
  • lib/game_manager/manager.ex
    • This is the dealer simulater

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 68.4%
  • CSS 24.7%
  • JavaScript 5.2%
  • HTML 1.7%