Skip to content

Commit

Permalink
Convert app to globe game
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarnhart committed Jan 29, 2012
1 parent b81b352 commit 5e2ab33
Show file tree
Hide file tree
Showing 72 changed files with 24 additions and 260 deletions.
Binary file modified app/assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/layout.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ nav {

/* Sign up button */

a.signup_button {
a.start_button {
margin-left: auto;
margin-right: auto;
display: block;
Expand Down
2 changes: 0 additions & 2 deletions app/views/layouts/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<ul>
<li><%= link_to "About", page_path('about') %></li>
<li><%= link_to "Contact", page_path('contact') %></li>
<li><a href="http://news.railstutorial.org/">News</a></li>
<li><a href="http://railstutorial.org/">Rails Tutorial</a></li>
</ul>
</nav>
</footer>
3 changes: 1 addition & 2 deletions app/views/layouts/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<header>
<% logo = image_tag("logo.png", alt: "Sample App", class: "round") %>
<% logo = image_tag("logo.png", alt: "Globe Game", class: "round") %>
<%= link_to logo, root_path %>
<nav class="round">
<ul>
<li><%= link_to "Home", root_path %></li>
<li><%= link_to "Help", page_path('help') %></li>
<li><%= link_to "Sign In", '#' %></li>
</ul>
</nav>
</header>
20 changes: 15 additions & 5 deletions app/views/static_pages/about.html.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
<% provide(:title, 'About') %>
<h1>About</h1>
<p>
<a href="http://railstutorial.org/">Ruby on Rails Tutorial</a>
is a project to make a book and screencats to teach web development
with <a href="http://rubyonrails.org/">Ruby on Rails</a>. This
is the sample application for the tutorial.
This game was made for
<a href="http://globalgamejam.org/">Global Game Jam 2012</a> by
<a href="mailto:[email protected]">Darryl Barnhart</a>. Ample
credit goes to the <a href="http://railstutorial.org/">Rails Tutorial</a>
guy. You'll notice a striking similarity between this app and the tutorial demo.
This is not a coincidence.
</p>
<p>
I'm feeling lucky... Wait, that's workaholism.
It uses Ruby on Rails and WebGL to deliver a unique online gaming experience, or
some crap like that. Anyways, you can play it if you want... I wouldn't.
</p>
<p>
The objective is to create a planetary scale industrial empire, so you can
gather the resources to build an inter-planetary colonial vessel. Why would
you want this? Your empire will eventually render the planet inhospible due
to its unrelenting decadence, avarice and greed. So you need to find a new
place to ruin, before moving on once again...
</p>
6 changes: 4 additions & 2 deletions app/views/static_pages/contact.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<% provide(:title, 'Contact') %>
<h1>Contact</h1>
<p>
Contact Ruby on Rails Tutorial about the sample app at the
<a href="http://railstutorial.org/contact">contact page</a>.
Made by <a href="mailto:[email protected]">Darryl Barnhart</a>.
</p>
<p>
If you find bug or have a problem; frankly, my dear, I don't give a damn.
</p>
5 changes: 1 addition & 4 deletions app/views/static_pages/help.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<% provide(:title, 'Help') %>
<h1>Help</h1>
<p>
Get help on Ruby on Rails Tutorial at the
<a href="http://railstutorial.org/help">Rails Tutorial help page</a>.
To get help on this sample app, see the
<a href="http://railstutorial.org/book">Rails Tutorial book</a>.
If you're here, you're already beyond help.
</p>
7 changes: 2 additions & 5 deletions app/views/static_pages/home.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<% provide(:title, 'Home') %>
<h1>Sample App</h1>
<p>
This is the home page for the
<a href="http://railstutorial.org/">Ruby on Rails Tutorial</a>
sample application.
If I'm lucky, there will be a game here eventually.
</p>
<%= link_to "Sign up now!", '#', class: "signup_button round" %>
<%= link_to "Start the Game!", '#', class: "start_button round" %>
19 changes: 0 additions & 19 deletions public/assets/application-0e412768ee00931a8e039dea9f2ac4a9.js

This file was deleted.

Binary file not shown.
19 changes: 0 additions & 19 deletions public/assets/application-0fe496dcdbdf7bae3ca394d6883aafd9.js

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
Empty file.
Binary file not shown.
1 change: 0 additions & 1 deletion public/assets/application.css

This file was deleted.

Binary file removed public/assets/application.css.gz
Binary file not shown.
19 changes: 0 additions & 19 deletions public/assets/application.js

This file was deleted.

Binary file removed public/assets/application.js.gz
Binary file not shown.

This file was deleted.

Binary file not shown.
1 change: 0 additions & 1 deletion public/assets/blueprint/ie.css

This file was deleted.

Binary file removed public/assets/blueprint/ie.css.gz
Binary file not shown.
Binary file not shown.
Binary file removed public/assets/blueprint/plugins/buttons/icons/cross.png
Binary file not shown.
Binary file not shown.
Binary file removed public/assets/blueprint/plugins/buttons/icons/key.png
Binary file not shown.
Binary file not shown.
Binary file removed public/assets/blueprint/plugins/buttons/icons/tick.png
Binary file not shown.

This file was deleted.

32 changes: 0 additions & 32 deletions public/assets/blueprint/plugins/buttons/readme.txt

This file was deleted.

This file was deleted.

14 changes: 0 additions & 14 deletions public/assets/blueprint/plugins/fancy-type/readme.txt

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed public/assets/blueprint/plugins/link-icons/icons/im.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

18 changes: 0 additions & 18 deletions public/assets/blueprint/plugins/link-icons/readme.txt

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions public/assets/blueprint/plugins/rtl/readme.txt

This file was deleted.

This file was deleted.

Binary file not shown.
1 change: 0 additions & 1 deletion public/assets/blueprint/print.css

This file was deleted.

Binary file removed public/assets/blueprint/print.css.gz
Binary file not shown.
Loading

0 comments on commit 5e2ab33

Please sign in to comment.