tumblr-game 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 11079368d51aaf0e494f83139601b9846ea6ca22
4
- data.tar.gz: bff5313defe0404f09c8f32124f51d85a445aac5
3
+ metadata.gz: aeba2408a942ee0911e69de173c12d057fe69db4
4
+ data.tar.gz: 3fa0eaf0dc765714d9ade3a133d4cc4f512ecc9c
5
5
  SHA512:
6
- metadata.gz: be5cb57194b329ef4ab14d847868f7e1f3e7f0c0464961d4bd9c848423d41ddc37b8c1d3eeab47dc9854afe076a5cc49203dfc6201636f8b417bfe9ce678359e
7
- data.tar.gz: a7fc87596f6bc78ec0e486ba8819fc68168086787090d8c46f5955142941141c73b6eb1c6ed7f02393a9f1344b8c4e037090e3c4d2b346311057a428631b33ce
6
+ metadata.gz: d8609bce964a95ce914a29e452285f79fe28d6aea05e144bfe8b9417776362e42ecb4bcec1f3a20610e4c1007e516f3f155c3e1cb0c5fb8b21c07590cbd7c1fd
7
+ data.tar.gz: 188c920c47eb2daaf833af885183d348c7e5ea9399d9a6d6445b00fe30fa44f4ec1cb29c0cb12b1ebc149bc83fcf4494c76edd37fbec4e010b243eb69a305644
@@ -61,16 +61,16 @@ class MyWindow < Gosu::Window
61
61
 
62
62
  # create a hash of the image names that we are using along with their associated id
63
63
  imgNames = Hash[
64
- '../../resources/image1.png' => 0,
65
- '../../resources/image2.png' => 1,
66
- '../../resources/image3.png' => 2,
67
- '../../resources/image4.png' => 3,
68
- '../../resources/image5.png' => 4,
69
- '../../resources/image6.png' => 0,
70
- '../../resources/image7.png' => 1,
71
- '../../resources/image8.png' => 2,
72
- '../../resources/image9.png' => 3,
73
- '../../resources/image10.png' => 4 ]
64
+ 'image1.png' => 0,
65
+ 'image2.png' => 1,
66
+ 'image3.png' => 2,
67
+ 'image4.png' => 3,
68
+ 'image5.png' => 4,
69
+ 'image6.png' => 0,
70
+ 'image7.png' => 1,
71
+ 'image8.png' => 2,
72
+ 'image9.png' => 3,
73
+ 'image10.png' => 4 ]
74
74
 
75
75
  ## Durstenfield's Shuffling Algorithm
76
76
  # convert the hash from above into a two-dimensional array that will be shuffled in order to
@@ -51,16 +51,16 @@ class TumblrAPIObject
51
51
  # FUTURE GOAL: INSTEAD OF COPYING EACH IMAGE ONCE, CHANGE THIS FUNCTION TO JUST OPEN THE 5 IMAGES.
52
52
  def create_images
53
53
  imgNames = Hash[
54
- '../../resources/image1.png' => 0,
55
- '../../resources/image2.png' => 1,
56
- '../../resources/image3.png' => 2,
57
- '../../resources/image4.png' => 3,
58
- '../../resources/image5.png' => 4,
59
- '../../resources/image6.png' => 0,
60
- '../../resources/image7.png' => 1,
61
- '../../resources/image8.png' => 2,
62
- '../../resources/image9.png' => 3,
63
- '../../resources/image10.png' => 4 ]
54
+ 'image1.png' => 0,
55
+ 'image2.png' => 1,
56
+ 'image3.png' => 2,
57
+ 'image4.png' => 3,
58
+ 'image5.png' => 4,
59
+ 'image6.png' => 0,
60
+ 'image7.png' => 1,
61
+ 'image8.png' => 2,
62
+ '.image9.png' => 3,
63
+ 'image10.png' => 4 ]
64
64
 
65
65
  i = 0
66
66
  imgNames.each_key do |imgN|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tumblr-game
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Canero