Skip to content

Commit d8a02b7

Browse files
committed
all: fix a few typos
1 parent 4c105cf commit d8a02b7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

birdc.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func readBGP() (gameIncrementor, X, Y, HitOrMissOnLast int, err error) {
120120
func testBGPCode() {
121121
for x := 0; x < 10; x++ {
122122
for y := 0; y < 10; y++ {
123-
_, c2 := genCommunutiies(1, x, y, 0)
123+
_, c2 := genCommunities(1, x, y, 0)
124124

125125
r := numberToBitReader(c2)
126126
t := r.Uint8(2)
@@ -144,7 +144,7 @@ func testBGPCode() {
144144
}
145145
}
146146

147-
func genCommunutiies(gameIncrementor, X, Y, HitOrMissOnLast int) (uint16, uint16) {
147+
func genCommunities(gameIncrementor, X, Y, HitOrMissOnLast int) (uint16, uint16) {
148148
counternumberbytes := make([]byte, 2)
149149
counternumberbits := iobit.NewWriter(counternumberbytes)
150150

@@ -171,7 +171,7 @@ func genCommunutiies(gameIncrementor, X, Y, HitOrMissOnLast int) (uint16, uint16
171171

172172
func writeBGP(gameIncrementor, X, Y, HitOrMissOnLast int) error {
173173
counterCommunity, positionCommunity :=
174-
genCommunutiies(gameIncrementor, X, Y, HitOrMissOnLast)
174+
genCommunities(gameIncrementor, X, Y, HitOrMissOnLast)
175175

176176
// Now we have the two community strings counterCommunity and positionCommunity
177177

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func main() {
5858

5959
*startfirst = true
6060

61-
fmt.Printf("waiting on players responce...\n")
61+
fmt.Printf("waiting on players response...\n")
6262

6363
for {
6464
time.Sleep(time.Second)

0 commit comments

Comments
 (0)