<commit_before>package main

import (
	"flag"
	"fmt"
	"net"

	"github.com/asciimoo/solary/arena"
	"github.com/asciimoo/solary/arena/board"
)

func gameLoop(address string, players_num int) {
	game_server, _ := net.Listen("tcp", address)
	fmt.Println("Server started")

	for {
		a := arena.Create()
		for i := 0; i < players_num; i++ {
			conn, _ := game_server.Accept()
			a.AddPlayer(conn)
		}
		fmt.Println("Game", a.Id, "started")
		go a.Play()
	}
}

func main() {

	address := flag.String("listen", "127.0.0.1:6666", "server listen address")
	players_per_game := flag.Int("players", 2, "number of players in one arena")

	flag.Parse()<commit_msg>[mod] print server address on startup<commit_after>package main

import (
	"flag"
	"fmt"
	"net"

	"github.com/asciimoo/solary/arena"
	"github.com/asciimoo/solary/arena/board"
)

func gameLoop(address string, players_num int) {
	game_server, _ := net.Listen("tcp", address)
	fmt.Println("Server started on " + address)

	for {
		a := arena.Create()
		for i := 0; i < players_num; i++ {
			conn, _ := game_server.Accept()
			a.AddPlayer(conn)
		}
		fmt.Println("Game", a.Id, "started")
		go a.Play()
	}
}

func main() {

	address := flag.String("listen", "127.0.0.1:6666", "server listen address")
	players_per_game := flag.Int("players", 2, "number of players in one arena")

	flag.Parse()
{'fraction_non_alphanumeric': 0.1741405082212257, 'fraction_numerical': 0.017937219730941704, 'mean_word_length': 4.033834586466165, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4567664', 'n_tokens_mistral': 558, 'n_tokens_neox': 518, 'n_words': 112}