ゲームデザイン - tmuramat081/42_ft_transcendence GitHub Wiki
基本要件
基本ルール
- アタリ社のPong(1972)に準ずる。
- パドルで球を弾き返して、相手が返し損なったら1点
- Webサイト上でリモートの相手と対戦する
対戦
- トーナメント形式
- 具体的な実現方法は自由だが、相手や試合順が画面に表示されること
- プレイヤーはトーナメント開始時に任意の名前を決められる
- 次の試合相手とは自動でマッチメイクされる
- 全てのプレイヤーは同じ移動速度であることが理想的(AIを含む)
- 見た目の要素は自由だが、オリジナルのPongを踏まえたものであること
• Therefore, users must have the ability to participate in a live Pong game against another player directly on the website. Both players will use the same keyboard. The Remote players module can enhance this functionality with remote players.
• A player must be able to play against another player, but it should also be possible to propose a tournament. This tournament will consist of multiple players who can take turns playing against each other. You have flexibility in how you implement the tournament, but it must clearly display who is playing against whom and the order of the players.
• A registration system is required: at the start of a tournament, each player must input their alias name. The aliases will be reset when a new tournament begins. However, this requirement can be modified using the Standard User Management module.
• There must be a matchmaking system: the tournament system organize the matchmaking of the participants, and announce the next fight.
• All players must adhere to the same rules, which includes having identical paddle speed. This requirement also applies when using AI; the AI must exhibit the same speed as a regular player.
• The game itself must be developed in accordance with the default frontend con- straints (as outlined above), or you may choose to utilize the FrontEnd module, or you have the option to override it with the Graphics module. While the visual aesthetics can vary, it must still capture the essence of the original Pong (1972).
アイデア
内部実装
- マッチ作成API
- マッチ一覧取得API
- マッチ更新API
- マッチ削除API
- プレイヤー参加API
- プレイヤー退出API
- 対戦履歴登録API
- 対戦履歴一覧取得API