termfront 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -1
- data/README.md +5 -2
- data/lib/termfront/config.rb +1 -0
- data/lib/termfront/network/client.rb +2 -2
- data/lib/termfront/network/wavesfight_client.rb +2 -2
- data/lib/termfront/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 361fd9f04e455824ea42245b3dae9c5eda732f7846a8345756809353bebc0b6d
|
|
4
|
+
data.tar.gz: 50480fe780ff0cc795004616228aa7042889fbe606289645cb3c973b3657005f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae66c3672d820736a3155a2d78b41456f90c4f4043421d32b4cbef5b610e4aa697886092e15f64ef086fff5232574bbdae82b977de099df2c9bd00440d1238c8
|
|
7
|
+
data.tar.gz: 56ad7d6332ac2828cbd75b0b8087a8230367be8c4462f161c4db731ae4f6203daeaeb77a49d10fd4063f09778b64091406ddd06026e6a9f08ecc3eef397b59eb
|
data/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,15 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on Keep a Changelog, and this project follows Semantic Versioning as it stabilizes.
|
|
6
6
|
|
|
7
|
-
## [
|
|
7
|
+
## [Unreleased]
|
|
8
|
+
|
|
9
|
+
## [0.1.1] - 2026-05-21
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- Changed the default multiplayer server address to `termfront.gamelinks007.net:443`
|
|
14
|
+
|
|
15
|
+
## [0.1.0] - 2026-05-21
|
|
8
16
|
|
|
9
17
|
Initial public gem release candidate.
|
|
10
18
|
|
|
@@ -34,6 +42,7 @@ Initial public gem release candidate.
|
|
|
34
42
|
- Updated PvP match-size selection to support arrow keys in addition to `J`/`K`
|
|
35
43
|
- Disabled quitting PvP matches with `Q` to avoid accidental exits during combat
|
|
36
44
|
- Added Wavesfight arena registration for `Corridor Sweep`, `Stronghold`, and `Final Push`
|
|
45
|
+
- Added SNI hostname support to TLS client connections for `nginx stream`-based 443 routing
|
|
37
46
|
|
|
38
47
|
### Notes
|
|
39
48
|
|
data/README.md
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
- `paplay`
|
|
23
23
|
- `aplay`
|
|
24
24
|
|
|
25
|
-
RubyGems metadata currently targets Ruby `0.1.
|
|
25
|
+
RubyGems metadata currently targets Ruby `0.1.1`.
|
|
26
26
|
|
|
27
27
|
## Installation
|
|
28
28
|
|
|
@@ -62,6 +62,8 @@ termfront-server 9000
|
|
|
62
62
|
|
|
63
63
|
Default PvP port is `7777`.
|
|
64
64
|
|
|
65
|
+
The default multiplayer client address is `termfront.gamelinks007.net:443`.
|
|
66
|
+
|
|
65
67
|
## Controls
|
|
66
68
|
|
|
67
69
|
- `W` `A` `S` `D`: move
|
|
@@ -109,6 +111,7 @@ PvP is currently marked experimental.
|
|
|
109
111
|
|
|
110
112
|
- The server listens on TCP and wraps traffic with TLS.
|
|
111
113
|
- The client connects directly to `host:port`.
|
|
114
|
+
- The default multiplayer endpoint is `termfront.gamelinks007.net:443`.
|
|
112
115
|
- Matchmaking now supports `1v1`, `2v2`, and `4v4`.
|
|
113
116
|
- Players choose the match size on the client, and the server keeps separate queues for each mode.
|
|
114
117
|
- Team matches end when one side is fully eliminated.
|
|
@@ -150,7 +153,7 @@ gem build termfront.gemspec
|
|
|
150
153
|
Install the built gem locally:
|
|
151
154
|
|
|
152
155
|
```bash
|
|
153
|
-
gem install ./termfront-0.1.
|
|
156
|
+
gem install ./termfront-0.1.1.gem
|
|
154
157
|
```
|
|
155
158
|
|
|
156
159
|
## License
|
data/lib/termfront/config.rb
CHANGED
|
@@ -46,7 +46,7 @@ module Termfront
|
|
|
46
46
|
private
|
|
47
47
|
|
|
48
48
|
def prompt_address
|
|
49
|
-
input =
|
|
49
|
+
input = Config::PVP_DEFAULT_ADDRESS
|
|
50
50
|
|
|
51
51
|
STDIN.raw do |stdin|
|
|
52
52
|
loop do
|
|
@@ -80,7 +80,7 @@ module Termfront
|
|
|
80
80
|
data.each_byte do |b|
|
|
81
81
|
case b
|
|
82
82
|
when 27 then return nil
|
|
83
|
-
when 13, 10 then return input.empty? ?
|
|
83
|
+
when 13, 10 then return input.empty? ? Config::PVP_DEFAULT_ADDRESS : input
|
|
84
84
|
when 127, 8 then input = input[0...-1] unless input.empty?
|
|
85
85
|
when 32..126 then input << b.chr
|
|
86
86
|
end
|
|
@@ -43,7 +43,7 @@ module Termfront
|
|
|
43
43
|
private
|
|
44
44
|
|
|
45
45
|
def prompt_address
|
|
46
|
-
input =
|
|
46
|
+
input = Config::PVP_DEFAULT_ADDRESS
|
|
47
47
|
|
|
48
48
|
STDIN.raw do |stdin|
|
|
49
49
|
loop do
|
|
@@ -76,7 +76,7 @@ module Termfront
|
|
|
76
76
|
data.each_byte do |b|
|
|
77
77
|
case b
|
|
78
78
|
when 27 then return nil
|
|
79
|
-
when 13, 10 then return input.empty? ?
|
|
79
|
+
when 13, 10 then return input.empty? ? Config::PVP_DEFAULT_ADDRESS : input
|
|
80
80
|
when 127, 8 then input = input[0...-1] unless input.empty?
|
|
81
81
|
when 32..126 then input << b.chr
|
|
82
82
|
end
|
data/lib/termfront/version.rb
CHANGED