teeworlds_network/README.md

15 lines
246 B
Markdown
Raw Normal View History

2022-10-25 12:07:56 +00:00
# teeworlds-client
A teeworlds 0.7 client library written in ruby
2022-11-01 13:25:56 +00:00
```ruby
require_relative 'lib/teeworlds-client'
client = TwClient.new(verbose: false)
client.hook_chat do |msg|
puts "chat: #{msg}"
end
client.connect('localhost', 8303)
```