tower-hanoi-game 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/TowersApp_Class.rb +8 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjhkYzVhZTlkMjhjZTZiYTE1YjFjYzBiZmM5MGViZGZjMzgxN2VmOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NGYyNzJiODRhZGMyNGQ5NjRiMDQwOWM5MjE4YzYxODM3MGNkYjgwOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZThkNzFmNjdiNGI2YzdmOWZmZjdlMTA3Zjg1N2EwMjc0ZDIyNjk2ZjBiMGUw
|
10
|
+
MTM5OTRmYjgwMWFjNDUxZWVlMjQxZGEyOWFmNmZiZDFmNDRiNDA4ZjIzOTA2
|
11
|
+
ODEyM2Q3OGU5Y2Q4MTUyN2VjOGI3ODEyNWMzMTJlNDQyYWQ4OWM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDIwZmUyMzY0NzQ4YTExYjRkMGQ1YjAxYzlmOGIxMmI2ZWMzNzE4MDlhMmRh
|
14
|
+
NDczZDhlNTFjNTU1NGFjYTVkNTE5ODA4ZGVjMWI5YTk4NGQxY2RjNjA3ZjMy
|
15
|
+
MjMyYjA5N2E0NTYxZDliY2ExYTA2N2YwZGY1N2FiNGY5NGZmNjc=
|
data/lib/TowersApp_Class.rb
CHANGED
@@ -4,9 +4,15 @@ class TowersApp
|
|
4
4
|
def initialize(target_object)
|
5
5
|
@target = target_object
|
6
6
|
@messages = []
|
7
|
-
puts "\nWelcome to
|
7
|
+
puts "\nWelcome to the Tower of Hanoi game!"
|
8
8
|
sleep 1.5
|
9
|
-
puts "
|
9
|
+
puts "This is a game based on the Tower of Hanoi problem."
|
10
|
+
sleep 1.5
|
11
|
+
puts "Type 'render' after selecting a difficulty to display the towers."
|
12
|
+
sleep 1.5
|
13
|
+
puts "Type 'quit' anytime to leave the game."
|
14
|
+
sleep 1.5
|
15
|
+
puts "Ready? Please type in your name!"\
|
10
16
|
"\nNo spaces, numbers, or special characters!"
|
11
17
|
end
|
12
18
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tower-hanoi-game
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CJ Virtucio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A simple terminal game based on the Towers of Hanoi problem
|
14
14
|
email: virtucio.cj@gmail.com
|
@@ -43,5 +43,5 @@ rubyforge_project:
|
|
43
43
|
rubygems_version: 2.4.3
|
44
44
|
signing_key:
|
45
45
|
specification_version: 4
|
46
|
-
summary:
|
46
|
+
summary: tower of hanoi game
|
47
47
|
test_files: []
|