Permalink
Browse files

Increased scale for excitedness and confusion for Alex to be unblocke…

…d with generation.
  • Loading branch information...
1 parent 1b53478 commit 39cdd2edc4c5f67f854b5bd8375f763e206ac6cf Jake McGinty committed Mar 9, 2012
Showing with 14 additions and 3 deletions.
  1. +14 −3 app.rb
View
17 app.rb
@@ -9,7 +9,18 @@
class TwitterBeats
@@debug = :high # PurdyPrint debug var
-
+ @@parsers = {
+ :text_mood => {
+ :instance => nil,
+ :result => nil,
+ :weight => nil,
+ },
+ :text_mood => {
+ :instance => nil,
+ :result => nil,
+ :weight => nil,
+ },
+ }
def initialize
pp :info, "TwitterBeats initializing..."
@@ -48,12 +59,12 @@ def initialize
capped_total_happiness = 10 if total_happiness > 10
capped_total_happiness = -10 if total_happiness < -10
- total_excitement = Integer(info[1]*10) - Integer(info[0]*5) #followerspertweet * 10 - boringimages * 5
+ total_excitement = (Integer(info[1]*10) - Integer(info[0]*5))*2 #followerspertweet * 10 - boringimages * 5
capped_total_excitement = total_excitement
capped_total_excitement = 10 if total_excitement > 10
capped_total_excitement = -10 if total_excitement < -10
- total_randomness = -10 + Integer(syms[1]) + rand(5) #-10 + '?' + rand(5)
+ total_randomness = (-10 + Integer(syms[1]) + rand(5))*2 #-10 + '?' + rand(5)
capped_total_randomness = total_randomness
capped_total_randomness = 10 if total_excitement > 10
capped_total_randomness = -10 if total_excitement < -10

0 comments on commit 39cdd2e

Please sign in to comment.