Draws & Prizes
After you find the 2nd Chance draw you want, just select the draw name for details. If you don't see your draw, look for it in the Results & Winners tab. To see your entries and results, view My Submissions.
DRAW NAME
Value of Prizes Available
`); }; var redrawResultsTableForPrizes = function(pageDto) { var tableHtmlString = ""; for (let i = 0; i < pageDto.draws.length; i++) { tableHtmlString += drawResultRowHtmlForPrizes(pageDto.draws[i], i + 1); } $('#accordion-draws-winners').html(tableHtmlString); }; var drawResultRowHtmlForPrizes = function(draw, rowNumber) { var totalPrizeAmount = 0; for (let i = 0; i < draw.drawPrizes.length; i++) { totalPrizeAmount += draw.drawPrizes[i].prizeCount * draw.drawPrizes[i].totalPrizeValue; } const htmlString = "
" + "
" + "" + "
" + "
" + "
" + "
" + "
" + "
" + draw.drawDescription + "
" + "
- " + "
- Draw Type: " + "
- " + draw.drawType + " " + "
- Value of Prizes Available: " + "
- $" + totalPrizeAmount.format() + " " + "
- Open for Code Submissions: " + "
- " + getDateTimeForPrizes(draw.openDate) + " " + "
- Code Submissions Deadline: " + "
- " + getDateTimeForPrizes(draw.entryDeadline) + " " + "
- Winners Posted By: " + "
- " + getDateTimeForPrizes(draw.winnersPostedBy) + " " + "
- This information provides draw details and is not a winner notification message. " + "
" + "
" + "
" + "
" + "
" + "
"; return htmlString; }; var redrawPaginationControlForPrizes = function(playerDrawPageDto) { let page = playerDrawPageDto.currentPage; let mTotalPages = playerDrawPageDto.totalPages; let str = ''; let active; let ariaActive; let pageCutLow = page - 1; let pageCutHigh = page + 1; var gameType = $('#PrizesGamePrograms').val(); var mDraws = $('#draws').val(); var previous = 'PREVIOUS'; var next = 'NEXT'; if (page > 1) { str += "
"; } else { str += "
"; } // Show all the pagination elements if there are less than 6 pages total if (mTotalPages < 6) { for (let p = 1; p <= mTotalPages; p++) { active = page === p ? "active" : ""; ariaActive = page === p ? ' aria-current="page"' : ''; str += "
"; } } // Use "..." to collapse pages outside of a certain range else { // Show the very first page followed by a "..." at the beginning of the // pagination section (after the Previous button) if (page > 2) { str += "
"; if (page > 3) { str += '
'; } } // Determine how many pages to show after the current page index if (page === 1) { pageCutHigh += 2; } else if (page === 2) { pageCutHigh += 1; } // Determine how many pages to show before the current page index if (page === mTotalPages) { pageCutLow -= 2; } else if (page === mTotalPages - 1) { pageCutLow -= 1; } // Output the indexes for pages that fall inside the range of pageCutLow // and pageCutHigh for (let p = pageCutLow; p <= pageCutHigh; p++) { if (p === 0) { p += 1; } if (p > mTotalPages) { continue; } active = page === p ? "active" : ""; ariaActive = page === p ? ' aria-current="page"' : ''; str += "
"; } // Show the very last page preceded by a "..." at the end of the pagination // section (before the Next button) if (page < mTotalPages - 1) { if (page < mTotalPages - 2) { str += '
'; } str += "
"; } } // Show the Next button only if you are on a page other than the last if (page < mTotalPages) { str += "
"; } else { str += "
"; } str += ''; // Return the pagination string to be outputted in the pug templates document.getElementById('mPrizesPagination-top').innerHTML = str; document.getElementById('mPrizesPagination-bottom').innerHTML = str; return str; }; var redrawShowResultsLabelForPrizes = function(playerDrawPageDto) { const mTotalPages = playerDrawPageDto.totalPages; const mPageNumber = playerDrawPageDto.currentPage; const mTotalResults = playerDrawPageDto.totalItems; if (mTotalPages === 0) { $('#totalResultsPrizes-top').html(""); $('#totalResultsPrizes-bottom').html(""); } else { if (mPageNumber < mTotalPages) { $('#totalResultsPrizes-top') .html("Showing " + (((mPageNumber - 1) * 25) + 1) + " to " + mPageNumber * 25 + " of " + mTotalResults + " Results"); $('#totalResultsPrizes-bottom') .html("Showing " + (((mPageNumber - 1) * 25) + 1) + " to " + mPageNumber * 25 + " of " + mTotalResults + " Results"); } else { $('#totalResultsPrizes-top') .html("Showing " + (((mPageNumber - 1) * 25) + 1) + " to " + mTotalResults + " of " + mTotalResults + " Results"); $('#totalResultsPrizes-bottom') .html("Showing " + (((mPageNumber - 1) * 25) + 1) + " to " +mTotalResults+ " of " + mTotalResults + " Results"); } } }; $('#PrizesGamePrograms').change(function() { secondChanceServiceForPrizes(1, $('#PrizesGamePrograms').val(), $('#draws').val()); }); $('#draws').change(function() { secondChanceServiceForPrizes(1, $('#PrizesGamePrograms').val(), $('#draws').val()); }); $(document).ready(function() { secondChanceServiceForPrizes(pagenumber, gameType, draws); }); var getDateTimeForPrizes = function (unixTimestamp) { if (unixTimestamp === 0) { return 'TBD'; } const a = new Date(unixTimestamp); const usaTime = a.toLocaleDateString("en-US"); return usaTime; } })();
Results & Winners
See if you won! Find the 2nd Chance game and date you want, then just select the draw name and you’ll see a list of winners. You can also check your account for more information.
DRAW NAME
DRAW WINNERS
`); }; var redrawResultsTable = function(pageDto) { var tableHtmlString = ""; for (let i = 0; i < pageDto.draws.length; i++) { tableHtmlString += drawResultRowHtml(pageDto.draws[i], i + 1); } $('#accordion-results-winners').html(tableHtmlString); }; var drawResultRowHtml = function(draw, rowNumber) { var drawWinnersCount = 0; for (var i = 0; i < draw.drawPrizes.length; i++) { drawWinnersCount += draw.drawPrizes[i].drawPrizeWinners.length; } var totalPrizeAmount = 0; for (var i = 0; i < draw.drawPrizes.length; i++) { totalPrizeAmount += draw.drawPrizes[i].prizeCount * draw.drawPrizes[i].totalPrizeValue; } var htmlString = "
" + "
" + "" + "
" + "
" + "
" + "
" + "
" + "
" + draw.drawDescription + "
" + "
" + "
- " + "
- Draw Type: " + "
- " + draw.drawType + " " + "
- Value of Prizes Awarded: " + "
- $" + totalPrizeAmount.format() + " " + "
- Total Entries: " + "
- " + parseInt(draw.numEntries).toLocaleString('en', {useGrouping:true}) + " " + "
- Open for Entry: " + "
- " + getDateTime(draw.openDate) + " " + "
- Entry Deadline: " + "
- " + getDateTime(draw.entryDeadline) + " " + "
- Winners Posted By: " + "
- " + getDateTime(draw.winnersPostedBy) + " " + "
" + "
" + "
" + "
PRIZE | " + "WINNERS | " + "
---|
" + "
" + "
" + "
" + "
" + "
" + "
"; return htmlString; }; var drawWinnerRowHtml = function (drawPrize) { var htmlString = ""; for (let i = 0; i < drawPrize.drawPrizeWinners.length; i++) { htmlString += "
"; } return htmlString; }; var redrawPaginationControl = function(playerDrawPageDto) { let page = playerDrawPageDto.currentPage; let mTotalPages = playerDrawPageDto.totalPages; let str = ''; let active; let ariaActive; let pageCutLow = page - 1; let pageCutHigh = page + 1; var previous = 'PREVIOUS'; var next = 'NEXT'; if (page > 1) { str += "
"; } else { str += "
"; } // Show all the pagination elements if there are less than 6 pages total if (mTotalPages < 6) { for (let p = 1; p <= mTotalPages; p++) { active = page === p ? "active" : ""; ariaActive = page === p ? ' aria-current="page"' : ''; str += "
"; } } // Use "..." to collapse pages outside of a certain range else { // Show the very first page followed by a "..." at the beginning of the // pagination section (after the Previous button) if (page > 2) { str += "
"; if (page > 3) { str += '
'; } } // Determine how many pages to show after the current page index if (page === 1) { pageCutHigh += 2; } else if (page === 2) { pageCutHigh += 1; } // Determine how many pages to show before the current page index if (page === mTotalPages) { pageCutLow -= 2; } else if (page === mTotalPages - 1) { pageCutLow -= 1; } // Output the indexes for pages that fall inside the range of pageCutLow // and pageCutHigh for (let p = pageCutLow; p <= pageCutHigh; p++) { if (p === 0) { p += 1; } if (p > mTotalPages) { continue; } active = page === p ? "active" : ""; ariaActive = page === p ? ' aria-current="page"' : ''; str += "
"; } // Show the very last page preceded by a "..." at the end of the pagination // section (before the Next button) if (page < mTotalPages - 1) { if (page < mTotalPages - 2) { str += '
'; } str += "
"; } } // Show the Next button only if you are on a page other than the last if (page < mTotalPages) { str += "
"; } else { str += "
"; } str += ''; // Return the pagination string to be outputted in the pug templates document.getElementById('mPagination-top').innerHTML = str; document.getElementById('mPagination-bottom').innerHTML = str; return str; }; var redrawShowResultsLabel = function(playerDrawPageDto) { const mTotalPages = playerDrawPageDto.totalPages; const mPageNumber = playerDrawPageDto.currentPage; const mTotalResults = playerDrawPageDto.totalItems; if (mTotalPages === 0) { $('#totalDrawResults-top').html(""); $('#totalDrawResults-bottom').html(""); } else { if (mPageNumber < mTotalPages) { $('#totalDrawResults-top') .html("Showing " + (((mPageNumber - 1) * 25) + 1) + " to " + mPageNumber * 25 + " of " + mTotalResults + " Results"); $('#totalDrawResults-bottom') .html("Showing " + (((mPageNumber - 1) * 25) + 1) + " to " + mPageNumber * 25 + " of " + mTotalResults + " Results"); } else { $('#totalDrawResults-top') .html("Showing " + (((mPageNumber - 1) * 25) + 1) + " to " + mTotalResults + " of " + mTotalResults + " Results"); $('#totalDrawResults-bottom') .html("Showing " + (((mPageNumber - 1) * 25) + 1) + " to " +mTotalResults+ " of " + mTotalResults + " Results"); } } }; $('#GamePrograms').change(function() { gameType = $('#GamePrograms').val(); secondChanceService(1, $('#GamePrograms').val(), $('#years').val()); }); $('#years').change(function() { years = $('#years').val(); secondChanceService(1, $('#GamePrograms').val(), $('#years').val()); }); $(document).ready(function() { secondChanceService(pagenumber, gameType, years); }); var getDateTime = function(UNIX_timestamp) { const a = new Date(UNIX_timestamp); const usaTime = a.toLocaleString("en-US"); return usaTime.replace(",", ""); } })();