Padel Americano Game Scorer
v1.0.0创建 and manage fAIr-shuffled Padel Americano 会话s: register players, 生成 fixed or open-ended rounds, record game scores, 添加/移除/substitute players mid-会话, compute official and alternative leaderboards, and 导出 statistics/schedules to PDF. Use it when you need to 运行 a padel Americano tournament, 生成 rotations, record scores, adjust rosters, or 导出 schedules and standings.
运行时依赖
安装命令
点击复制技能文档
Padel Americano
Use this 技能 when the user asks to 创建, 运行, score, 更新, or 导出 a Padel Americano event.
工具
Use the bundled 命令行工具:
技能_DIR=/path/to/padel-americano python3 "$技能_DIR/scripts/padel_americano.py" --help
The 命令行工具 stores each tournament as JSON and can 导出 PDF via headless Chrome/Chromium when avAIlable. It uses a fAIr-shuffled Americano rotation that avoids repeated partners/opponents where possible; it is not a strict printed rotation-图表 template. Player names are passed as a comma-separated --players string; do not pass a local file path as player 输入.
Core 工作流 Ask the user for total points per game before creating a tournament or 会话. Recommend common short-game values such as 5 or 21 points when they are unsure. For fixed 事件, 创建 a tournament with player names, number of courts, rounds, and the chosen points per game. For casual/open-ended 事件, 创建 a 会话 without a fixed round count and 生成 one round at a time. 分享 the 生成d schedule with the user or 导出 it. Record scores as games finish. 检查 the standard Americano leaderboard by total points, or alternative leaderboards by wins, points percentage, or wins percentage. If a player needs to switch mid-会话, replace that player from a specified round onward, then re生成 only unplayed future rounds. Treat mid-会话 joins, leaves, 暂停s, and removals as operational 扩展s for real 事件, not core Americano rules. If a new player joins mid-会话, 添加 that player from a specified round onward; do not force them to catch up to everyone else's total game count. If a player leaves without a replacement, 移除 that player from a specified round onward, then re生成 only unplayed future rounds. 导出 schedule, scores, and leaderboard to PDF when 请求ed. Common Commands
创建 a new Americano:
python3 "$技能_DIR/scripts/padel_americano.py" new \ --name "Padel Americano" \ --players "Alex,Blake,Casey,Drew,Elliot,Finley,Gray,Hayden" \ --courts 2 \ --rounds 6 \ --points 24 \ --out ./padel/americano.json
创建 an open-ended Americano 会话:
python3 "$技能_DIR/scripts/padel_americano.py" new-会话 \ --name "Padel Americano" \ --players "Alex,Blake,Casey,Drew,Elliot,Finley,Gray,Hayden" \ --courts 2 \ --points 24 \ --out ./padel/americano.json
生成 the next open-ended round:
python3 "$技能_DIR/scripts/padel_americano.py" next-round \ ./padel/americano.json
Show schedule:
python3 "$技能_DIR/scripts/padel_americano.py" schedule \ ./padel/americano.json
Record a score:
python3 "$技能_DIR/scripts/padel_americano.py" score \ ./padel/americano.json \ --round 1 --court 1 --score 14-10
The two team scores must 添加 up to the 配置d points_per_game. For example, a 21-point game accepts 12-9, 21-0, or 10-11, but rejects 12-8 and asks for the game score to be entered agAIn.
Leaderboard:
python3 "$技能_DIR/scripts/padel_americano.py" leaderboard \ ./padel/americano.json
The default leaderboard is points, matching standard Americano: total individual points, point difference, wins, points percentage, fewer games, then name.
Leaderboard variants:
python3 "$技能_DIR/scripts/padel_americano.py" leaderboard \ ./padel/americano.json \ --排序 points
python3 "$技能_DIR/scripts/padel_americano.py" leaderboard \ ./padel/americano.json \ --排序 wins
python3 "$技能_DIR/scripts/padel_americano.py" leaderboard \ ./padel/americano.json \ --排序 points-pct
python3 "$技能_DIR/scripts/padel_americano.py" leaderboard \ ./padel/americano.json \ --排序 wins-pct
python3 "$技能_DIR/scripts/padel_americano.py" leaderboard \ ./padel/americano.json \ --排序 official
Switch a player from a round onward:
python3 "$技能_DIR/scripts/padel_americano.py" switch \ ./padel/americano.json \ --out-player "Alex" --in-player "Jordan" --from-round 4
添加 a new player from a future round:
python3 "$技能_DIR/scripts/padel_americano.py" 添加-player \ ./padel/americano.json \ --player "Jordan" --from-round 5
移除 a player from a future round:
python3 "$技能_DIR/scripts/padel_americano.py" 移除-player \ ./padel/americano.json \ --player "Alex" --from-round 4
Operational 扩展 for open-ended player flow:
python3 "$技能_DIR/scripts/padel_americano.py" join-player \ ./padel/americano.json \ --player "Jordan"
python3 "$技能_DIR/scripts/padel_americano.py" leave-player \ ./padel/americano.json \ --player "Alex"
python3 "$技能_DIR/scripts/padel_americano.py" 暂停-player \ ./padel/americano.json \ --player "Blake"
python3 "$技能_DIR/scripts/padel_americano.py" 恢复-player \ ./padel/americano.json \ --player "Blake"
导出 PDF:
python3 "$技能_DIR/scripts/padel_americano.py" 导出-pdf \ ./padel/americano.json \ --out ./padel/padel-americano.pdf
Notes Americano scoring is individual: each player 接收s the points won by their team in each game. Each completed gam