Skip to content

Instantly share code, notes, and snippets.

Goals

  • Implement Tic Tac Toe for one client playing "X" and a computer playing a random "O" in response.

Pre Work

  • Write a document that describes each step of the process.
  • What steps do you know how to do?
  • What steps require research?

CSS

Group

  • Have each table summarize the blog post.
  • Watch video.
  • After video Have each table chose a website and seperate it's homepage into these 3 things.

Base

  • Core styles for site
## Problem 1
We are going to take sentence and sort it alphabetically by the letters in each word. So, for instance, if you take the word "hello" and sort the letters in it, you get "ehllo". If you take the two words "hello world", and sort the letters in each word, you get "ehllo dlorw".
#### Input
One english sentence.
#### Output
words sorted.
@zbunde
zbunde / gist:54883aa48ff364648081
Created May 1, 2014 16:01
iterating hashes with map
class Dogs
POOR = (0..5).to_a.sample
AVERAGE = (6..10).to_a.sample
EXCELLENT = (11..15).to_a.sample
def initialize
joe = {
:name => {:first => "Joe", :last=> "Smith"},
:owner_quality => EXCELLENT
}