-
-
Save 8th-Light-Blog/1054219 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Blog Title: Limelight Tutorial: Tic Tac Toe Example (Part 5) | |
Author: Paul Pagel | |
Date: September 29th, 2008 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main { | |
width "100%" | |
horizontal_alignment "center" | |
} | |
board { | |
width 152 | |
height 152 | |
border_width 1 | |
border_color "black" | |
} | |
cell { | |
width 50 | |
height 50 | |
border_width 1 | |
border_color "black" | |
} | |
message_center_container{ | |
top_margin 100 | |
width "100%" | |
horizontal_alignment "center" | |
} | |
message_center { | |
width 300 | |
height 100 | |
rounded_corner_radius "10" | |
border_color "black" | |
border_width 2 | |
padding 5 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main do | |
board do | |
3.times do |row| | |
3.times do |col| | |
cell :id => "cell_#{row}_#{col}" | |
end | |
end | |
end | |
end | |
message_center_container do | |
message_center :id => "message_center" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment