@@ -120,7 +120,7 @@ func readBGP() (gameIncrementor, X, Y, HitOrMissOnLast int, err error) {
120
120
func testBGPCode () {
121
121
for x := 0 ; x < 10 ; x ++ {
122
122
for y := 0 ; y < 10 ; y ++ {
123
- _ , c2 := genCommunutiies (1 , x , y , 0 )
123
+ _ , c2 := genCommunities (1 , x , y , 0 )
124
124
125
125
r := numberToBitReader (c2 )
126
126
t := r .Uint8 (2 )
@@ -144,7 +144,7 @@ func testBGPCode() {
144
144
}
145
145
}
146
146
147
- func genCommunutiies (gameIncrementor , X , Y , HitOrMissOnLast int ) (uint16 , uint16 ) {
147
+ func genCommunities (gameIncrementor , X , Y , HitOrMissOnLast int ) (uint16 , uint16 ) {
148
148
counternumberbytes := make ([]byte , 2 )
149
149
counternumberbits := iobit .NewWriter (counternumberbytes )
150
150
@@ -171,7 +171,7 @@ func genCommunutiies(gameIncrementor, X, Y, HitOrMissOnLast int) (uint16, uint16
171
171
172
172
func writeBGP (gameIncrementor , X , Y , HitOrMissOnLast int ) error {
173
173
counterCommunity , positionCommunity :=
174
- genCommunutiies (gameIncrementor , X , Y , HitOrMissOnLast )
174
+ genCommunities (gameIncrementor , X , Y , HitOrMissOnLast )
175
175
176
176
// Now we have the two community strings counterCommunity and positionCommunity
177
177
0 commit comments