Posts tagged ‘sinatra



Final Blackjack game

Posted on: Saturday, Mar 29, 2014

The last lesson (week) of the Tealeaf Academy Ruby on Rails Online Bootcamp was to add betting and AJAXify the Blackjack game. I’ve had the wildest ideas and grand schemes to make the Blackjack game a fun, flashing, exciting and grand game that even could compete with the Casinos.

Blackjack on the web

Posted on: Monday, Mar 24, 2014

In week 3 of the Ruby on Rails online bootcamp I had to remake the Blackjack game using the web framework, Sinatra. As this would be the third time making the Blackjack game, that game logic wasn’t that much of a problem anymore. However, getting used to Sinatra and suddenly making a web application proved to […]

I’m working on the web version of the Blackjack game. This is done using the Sinatra framework for Ruby. While running the development web server (Shotgun/Thin) and using sessions, you may get the following warning in the console: SECURITY WARNING: No secret option provided to Rack::Session::Cookie. This poses a security threat. It is strongly recommended […]