kyleaowen / Blackjack_Sinatra

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

didn't realize that instead of redirecting to '/game' of refresh I could have just rendered 'erb :game' template again to reload. this one concept could most likely simplify my code.
Also, didn't know about 'before'
bootstrap 'Wells' components/misc/wells
also, 'halt'
also, can use instance variables to show/hide certain html
define loser/winner messages as methods in helper

1. Make sure the 'sinatra' gem is installed.
2. From the command line, you can start the server by 'ruby main.rb'
3. If you have the 'shotgun' gem installed, you can instead run 'shotgun main.rb'
4. ctrl+c to stop the server

need to:

2. add styling
3. show dealer cards properly
4. go to sleep by 11:30
5.


About


Languages

Language:Ruby 71.7%Language:JavaScript 24.1%Language:CSS 4.2%