Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Old version; new version is being made in rewrite/

  • Loading branch information...
commit 7f994fdb9536e5098046a0d7ad286f0bce790671 1 parent e09a586
@txus authored
Showing with 0 additions and 147 deletions.
  1. +0 −20 LICENSE
  2. 0  README
  3. +0 −7 README.rdoc
  4. +0 −56 Rakefile
  5. 0  {old_version/lib → }/classes/block.rb
  6. 0  {old_version/lib → }/classes/game_window.rb
  7. 0  {old_version/lib → }/classes/game_window.rb~
  8. 0  {old_version/lib → }/classes/grid.rb
  9. 0  {old_version/lib → }/classes/hall_of_fame.rb
  10. 0  {old_version/lib → }/classes/menu.rb
  11. 0  {old_version/lib → }/classes/piece_types.rb
  12. 0  {old_version/lib → }/classes/record.rb
  13. 0  {old_version/lib → }/classes/shape.rb
  14. 0  {old_version/lib → }/classes/text_field.rb
  15. 0  {old_version/lib → }/classes/z_order.rb
  16. 0  {old_version/lib → }/data/data.dat
  17. +0 −9 features/game_window.feature
  18. +0 −12 features/step_definitions/txustris_steps.rb
  19. +0 −4 features/support/env.rb
  20. 0  {old_version/lib → }/gosu.bundle
  21. 0  old_version/lib/txustris.rb → init.rb
  22. 0  {old_version/lib → }/media/.DS_Store
  23. 0  {old_version/lib → }/media/beep.aif
  24. 0  {old_version/lib → }/media/block.png
  25. 0  {old_version/lib → }/media/menu.png
  26. 0  {old_version/lib → }/media/txustris.ogg
  27. +0 −23 old_version/lib/txustris.rb~
  28. 0  {lib → rewrite}/classes/game_window.rb
  29. 0  {lib → rewrite}/classes/grid.rb
  30. 0  {lib → rewrite}/classes/gui.rb
  31. 0  {lib → rewrite}/classes/hall_of_fame.rb
  32. 0  {lib → rewrite}/classes/menu.rb
  33. 0  {lib → rewrite}/classes/player.rb
  34. 0  {lib → rewrite}/classes/settings.rb
  35. 0  {lib → rewrite}/classes/z_order.rb
  36. 0  {lib → rewrite}/settings.xml
  37. 0  {lib → rewrite}/txustris.rb
  38. +0 −9 spec/spec_helper.rb
  39. +0 −7 spec/txustris_spec.rb
View
20 LICENSE
@@ -1,20 +0,0 @@
-Copyright (c) 2009 txusty
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
0  README
No changes.
View
7 README.rdoc
@@ -1,7 +0,0 @@
-= txustris
-
-Description goes here.
-
-== Copyright
-
-Copyright (c) 2009 txusty. See LICENSE for details.
View
56 Rakefile
@@ -1,56 +0,0 @@
-require 'rubygems'
-require 'rake'
-
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |gem|
- gem.name = "txustris"
- gem.summary = %Q{TODO}
- gem.email = "josep.m.bach@gmail.com"
- gem.homepage = "http://github.com/txusty/txustris"
- gem.authors = ["txusty"]
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
- end
-
-rescue LoadError
- puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
-end
-
-require 'spec/rake/spectask'
-Spec::Rake::SpecTask.new(:spec) do |spec|
- spec.libs << 'lib' << 'spec'
- spec.spec_files = FileList['spec/**/*_spec.rb']
-end
-
-Spec::Rake::SpecTask.new(:rcov) do |spec|
- spec.libs << 'lib' << 'spec'
- spec.pattern = 'spec/**/*_spec.rb'
- spec.rcov = true
-end
-
-begin
- require 'cucumber/rake/task'
- Cucumber::Rake::Task.new(:features)
-rescue LoadError
- task :features do
- abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
- end
-end
-
-task :default => :spec
-
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
- if File.exist?('VERSION.yml')
- config = YAML.load(File.read('VERSION.yml'))
- version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
- else
- version = ""
- end
-
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "txustris #{version}"
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
-
View
0  old_version/lib/classes/block.rb → classes/block.rb
File renamed without changes
View
0  old_version/lib/classes/game_window.rb → classes/game_window.rb
File renamed without changes
View
0  old_version/lib/classes/game_window.rb~ → classes/game_window.rb~
File renamed without changes
View
0  old_version/lib/classes/grid.rb → classes/grid.rb
File renamed without changes
View
0  old_version/lib/classes/hall_of_fame.rb → classes/hall_of_fame.rb
File renamed without changes
View
0  old_version/lib/classes/menu.rb → classes/menu.rb
File renamed without changes
View
0  old_version/lib/classes/piece_types.rb → classes/piece_types.rb
File renamed without changes
View
0  old_version/lib/classes/record.rb → classes/record.rb
File renamed without changes
View
0  old_version/lib/classes/shape.rb → classes/shape.rb
File renamed without changes
View
0  old_version/lib/classes/text_field.rb → classes/text_field.rb
File renamed without changes
View
0  old_version/lib/classes/z_order.rb → classes/z_order.rb
File renamed without changes
View
0  old_version/lib/data/data.dat → data/data.dat
File renamed without changes
View
9 features/game_window.feature
@@ -1,9 +0,0 @@
-Feature: Start
- In order to something something
- A user something something
- something something something
-
- Scenario: something something
- Given inspiration
- When I start application
- Then I should see "shown"
View
12 features/step_definitions/txustris_steps.rb
@@ -1,12 +0,0 @@
-Given /^inspiration$/ do
- ""
-end
-
-When /^I start application$/ do
- ""
-end
-
-Then /^I should see "([^\"]*)"$/ do |arg1|
- ""
-end
-
View
4 features/support/env.rb
@@ -1,4 +0,0 @@
-$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../lib')
-require 'txustris'
-
-require 'spec/expectations'
View
0  old_version/lib/gosu.bundle → gosu.bundle
File renamed without changes
View
0  old_version/lib/txustris.rb → init.rb
File renamed without changes
View
0  old_version/lib/media/.DS_Store → media/.DS_Store
File renamed without changes
View
0  old_version/lib/media/beep.aif → media/beep.aif
File renamed without changes
View
0  old_version/lib/media/block.png → media/block.png
File renamed without changes
View
0  old_version/lib/media/menu.png → media/menu.png
File renamed without changes
View
0  old_version/lib/media/txustris.ogg → media/txustris.ogg
File renamed without changes
View
23 old_version/lib/txustris.rb~
@@ -1,23 +0,0 @@
-require 'rubygems'
-require 'gosu'
-require 'classes/piece_types'
-require 'classes/game_window'
-require 'classes/grid'
-require 'classes/shape'
-require 'classes/block'
-require 'classes/z_order'
-require 'classes/menu'
-require 'classes/hall_of_fame'
-require 'classes/text_field'
-
-BLOCK_SIZE = 20
-INITIAL_SCORE_PER_LINE = 50
-BONUS_INCREASE_FACTOR = 0.8
-LINES_PER_LEVEL = 6
-INITIAL_SPEED = 1050
-
-HEY = 0
-
-window = GameWindow.new
-
-window.show
View
0  lib/classes/game_window.rb → rewrite/classes/game_window.rb
File renamed without changes
View
0  lib/classes/grid.rb → rewrite/classes/grid.rb
File renamed without changes
View
0  lib/classes/gui.rb → rewrite/classes/gui.rb
File renamed without changes
View
0  lib/classes/hall_of_fame.rb → rewrite/classes/hall_of_fame.rb
File renamed without changes
View
0  lib/classes/menu.rb → rewrite/classes/menu.rb
File renamed without changes
View
0  lib/classes/player.rb → rewrite/classes/player.rb
File renamed without changes
View
0  lib/classes/settings.rb → rewrite/classes/settings.rb
File renamed without changes
View
0  lib/classes/z_order.rb → rewrite/classes/z_order.rb
File renamed without changes
View
0  lib/settings.xml → rewrite/settings.xml
File renamed without changes
View
0  lib/txustris.rb → rewrite/txustris.rb
File renamed without changes
View
9 spec/spec_helper.rb
@@ -1,9 +0,0 @@
-require 'spec'
-
-$LOAD_PATH.unshift(File.dirname(__FILE__))
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-require 'txustris'
-
-Spec::Runner.configure do |config|
-
-end
View
7 spec/txustris_spec.rb
@@ -1,7 +0,0 @@
-require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
-
-describe "Txustris" do
- it "fails" do
- fail "hey buddy, you should probably rename this file and start specing for real"
- end
-end
Please sign in to comment.
Something went wrong with that request. Please try again.