A teeworlds 0.7 network protocol library written in ruby
Go to file
ChillerDragon 57a8f0bcc7 Unhardcode the last packet (startinfo)
Also support bigger integers than 63 :)
2022-11-04 12:31:42 +01:00
lib Unhardcode the last packet (startinfo) 2022-11-04 12:31:42 +01:00
.gitignore Decompress packet payload 2022-10-25 20:17:07 +02:00
Gemfile Decompress packet payload 2022-10-25 20:17:07 +02:00
README.md Do not spawn a thread by default 2022-11-01 15:32:47 +01:00
sample.rb Unhardcode more chunk headers 2022-11-04 10:12:23 +01:00

teeworlds-client

A teeworlds 0.7 client library written in ruby

require_relative 'lib/teeworlds-client'

client = TwClient.new(verbose: false)

client.hook_chat do |msg|
  puts "chat: #{msg}"
end

client.connect('localhost', 8303, detach: false)