Create software to manage a Multi Table Tournament
- สถานะ: Closed
- รางวัล: $500
- ผลงานที่ได้รับ: 3
- ผู้ชนะ: rmparisi
รายละเอียดการประกวด
Poker MTTs are comprised of many different tables, each with 9 to 10 players who are all competing for a seat at the final table. Your job is to create software to manage the tournament (not the game).
REQUIREMENTS:
-Javascript/NodeJS (Typescript strongly preferred)
RESPONSIBILITIES:
-Randomly seed the tables and seats of players
-Keep track of standings in tournament
-Pay winning player(s) [i.e. Last Man Standing, custom payout structure, etc...]
-Balance the tables/move players to another table, when players are eliminated
-Keep track of how many buy ins a player has left
The architecture of the software should be event based. In other words, the inputs will be events and the software should create snapshots of state after each event is processed.
Feel free to design the input events as you wish, the only requirement is that your software will have to process the events based on a type and an optional payload.
It is sufficient for your program to process the input events from a JSON file, and to output state snapshots to another file.
Here might be an example input JSON with example events (remember you can redefine the events as you see fit):
{ type: 'REGISTERED', payload: {playerId: 'abc'} }
{ type: 'REGISTERED', payload: {playerId: 'def'} }
{ type: 'REGISTERED', payload: {playerId: 'ghi'}}
{ type: 'UNREGISTERED', payload: {playerId: 'ghi'}}
{ type: 'TOURNAMENT_STARTED', payload: { blinds: '5:10', startingChips: ‘1000’, maxRebuys: 1, ... /*Any other options for poker tournaments that might be needed here */ } }
{type ‘GAME_FINISHED’, payload: {tableId: 1, players: {‘abc’ : {chips: 1500}, ‘def’: {chips: 500}}}
{ type: 'BLINDS_RAISED'}}
{type ‘GAME_FINISHED’, payload: {tableId: 1, players: {‘abc’ : {chips: 200}, ‘def’: {chips: 0}}}
{type: 'PLAYER_REBOUGHT' , payload" {playerId: 'def'}}
{ type: 'BLINDS_RAISED'}}
{type ‘GAME_FINISHED’, payload: {tableId: 1, players: {‘abc’ : {chips: 1200}, ‘def’: {chips: 800}}}
{type ‘GAME_FINISHED’, payload: {tableId: 1, players: {‘abc’ : {chips: 3000}, ‘def’: {chips: 0}}}
After each event, record the snapshot of the current state of the tournament (tables, seats, player rebuys available,
At this link, you'll find a few general tournament rules and some goals for table balance that if you achieve will help you stand out:
https://docs.google.com/document/d/1L5kJ8mVrRD_qrP-_DlN-cpufgXhWho7m60GqtHVLbUQ/edit?usp=sharing
ทักษะแนะนำ
คำติชมจากผู้ว่าจ้าง
“He is communicative, sharp, and follows up well.”
jordansuarez0, United States.
ผลงานอันดับสูงสุดจากการประกวดนี้
-
rmparisi United States
-
bennygenel Turkey
-
johnthebunny Brazil
กระดานประกาศ
วิธีเริ่มต้นจัดการประกวด
-
จัดการประกวดของคุณ รวดเร็วและง่ายดาย
-
รอรับผลงานจำนวนมหาศาล จากทั่วโลก
-
มอบรางวัลให้แก่ผลงานที่ดีที่สุด ดาวน์โหลดไฟล์ - ง่ายดาย!