Skip to content

Instantly share code, notes, and snippets.

View mitsuhirookuno's full-sized avatar
🏚️
working in home(Bit Valley)

mitsuhiro okuno mitsuhirookuno

🏚️
working in home(Bit Valley)
View GitHub Profile
@onk
onk / .rubocop.yml
Last active January 15, 2018 02:30
僕の使っている .rubocop.yml
# rubocop v0.35.0 から inherit_gem という機能が増えたので gem にしました
# https://github.com/onk/onkcop
inherit_gem:
onkcop: "config/rubocop.yml"
@kota
kota / ai.rb
Created December 9, 2014 04:03
SamurAICoding2014
class SamuraiAi
def read_game_info
@total_turns,@num_daimyos,@num_lords = self.read_integers
@military_strength = self.read_integers
end
def read_turn_info
@turn,@time = STDIN.gets.split(' ')
@turn = @turn.to_i
@ints = []