<commit_before>#paste into 'bundle exec bin/console' session

SlackRubyBot::Client.logger.level = Logger::INFO
game = Werewolf::Game.instance

slackbot = Werewolf::SlackBot.new(token: ENV['SLACK_API_TOKEN'], aliases: ['fangbot'])
game.add_observer(slackbot)

slackbot.start_async

sleep 2


seer = Werewolf::Player.new(:name => 'bill', :bot => true)
wolf = Werewolf::Player.new(:name => 'tom', :bot => true)
beholder = Werewolf::Player.new(:name => 'seth', :bot => true)
villager2 = Werewolf::Player.new(:name => 'john', :bot => true)
villager3 = Werewolf::Player.new(:name => 'monty', :bot => true)


game.join(seer)
game.join(wolf)
game.join(beholder)
game.join(villager2)
game.join(villager3)

# start 5 player game
game.start('seer')

# reassign roles
seer.role = 'seer'
wolf.role = 'wolf'
beholder.role = 'beholder'
villager2.role = 'villager'
villager3.role = 'cultist'

# Night 0
seer.view(beholder)
game.advance_time

# Day 1
game.vote(voter_name='bill', 'john')
game.vote(voter_name='tom', 'john')
game.vote(voter_name='seth', 'bill')
game.vote(voter_name='john', 'tom')
#villager3 doesn't vote
game.vote_tally
game.status

# Night 1
game.advance_time
game.players['john'].dead?
seer.view(wolf)
game.nightkill('tom', 'monty')
game.players['monty'].dead?
game.status

# Day 2
game.advance_time
game.players['monty'].dead?

game.vote(voter_name='bill', 'tom')
game.vote(voter_name='tom', 'bill')
game.vote(voter_name='seth', 'tom')
game.vote_tally
game.status

# Game over
game.advance_time
game.status
game.players['tom'].dead?
game.winner<commit_msg>im in ur codez fixing ur keyword args<commit_after>#paste into 'bundle exec bin/console' session

SlackRubyBot::Client.logger.level = Logger::INFO
game = Werewolf::Game.instance

slackbot = Werewolf::SlackBot.new(token: ENV['SLACK_API_TOKEN'], aliases: ['fangbot'])
game.add_observer(slackbot)

slackbot.start_async

sleep 2


seer = Werewolf::Player.new(:name => 'bill', :bot => true)
wolf = Werewolf::Player.new(:name => 'tom', :bot => true)
beholder = Werewolf::Player.new(:name => 'seth', :bot => true)
villager2 = Werewolf::Player.new(:name => 'john', :bot => true)
villager3 = Werewolf::Player.new(:name => 'monty', :bot => true)


game.join(seer)
game.join(wolf)
game.join(beholder)
game.join(villager2)
game.join(villager3)

# start 5 player game
game.start('seer')

# reassign roles
seer.role = 'seer'
wolf.role = 'wolf'
beholder.role = 'beholder'
villager2.role = 'villager'
villager3.role = 'cultist'

# Night 0
seer.view(beholder)
game.advance_time

# Day 1
game.vote(voter_name: 'bill', candidate_name: 'john')
game.vote(voter_name: 'tom', candidate_name: 'john')
game.vote(voter_name: 'seth', candidate_name: 'bill')
game.vote(voter_name: 'john', candidate_name: 'tom')
#villager3 doesn't vote
game.vote_tally
game.status

# Night 1
game.advance_time
game.players['john'].dead?
seer.view(wolf)
game.nightkill(werewolf: 'tom', victim: 'monty')
game.players['monty'].dead?
game.status

# Day 2
game.advance_time
game.players['monty'].dead?

game.vote(voter_name: 'bill', candidate_name: 'tom')
game.vote(voter_name: 'tom', candidate_name: 'bill')
game.vote(voter_name: 'seth', candidate_name: 'tom')
game.vote_tally
game.status

# Game over
game.advance_time
game.status
game.players['tom'].dead?
game.winner
{'fraction_non_alphanumeric': 0.1729185727355901, 'fraction_numerical': 0.007929246721561452, 'mean_word_length': 6.420814479638009, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5412630', 'n_tokens_mistral': 1337, 'n_tokens_neox': 1266, 'n_words': 246}