Skip to content

Commit

Permalink
Merge pull request #174 from battlecode/web-logistics-info
Browse files Browse the repository at this point in the history
Add submission and tournament info
  • Loading branch information
stephanie-fu authored Dec 29, 2020
2 parents 5086b66 + 67d3fc7 commit d315ae1
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 90 deletions.
4 changes: 4 additions & 0 deletions frontend/src/views/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ class LinksCard extends Component {
</li>
<li>
<a href='https://battlecode.org'>Battlecode.org</a>
<ul>
<li><a href='https://battlecode.org#faq'>FAQs</a></li>
<li><a href='https://battlecode.org#about'>Eligibility</a></li>
</ul>
</li>
</ul>
</p>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/views/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ class LoginRegister extends Component {
textAlign: 'center',
fontWeight: 'bold',
color: 'white'
}}>Battlehack 2020</h1>
}}>Battlecode 2021</h1>
<p style={{
textAlign: 'center',
fontWeight: 'bold',
color: 'white'
}}>Log in below to participate in Battlehack 2020!</p>
}}>Log in below to participate in Battlecode 2021!</p>
{errorDiv}
{successDiv}
<form onSubmit={this.formSubmit}>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/views/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ class Register extends Component {
textAlign: 'center',
fontWeight: 'bold',
color: 'white'
}}>Battlehack 2020</h1>
}}>Battlecode 2021</h1>
<p style={{
textAlign: 'center',
fontWeight: 'bold',
color: 'white'
}}>Register below to participate in Battlehack 2020!</p>
}}>Register below to participate in Battlecode 2021!</p>
{errorDiv}
{successDiv}
<form onSubmit={this.formSubmit}>
Expand Down
6 changes: 2 additions & 4 deletions frontend/src/views/submissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,8 @@ class Submissions extends Component {
We will have a 5-minute grace period; if you're having trouble submitting, send us your code on Discord before 7:05. If the code you submit to us on Discord has only minor differences to the code submitted on time through the website (e.g., 1 or 2 lines), we will accept it. <b>We will not accept anything submitted after 7:05 pm.</b>
</p> */}
<p>
Create a <code>zip</code> file of your robot player using the <b>utility found <a href="https://github.com/battlecode/battlehack20-scaffold/blob/master/zipper.py">here</a></b>. Download this file and place it alongside your <code>run.py</code>. Use it with <code>[python/python3] zipper.py [file location of your bot, e.g. examplefuncsplayer]</code>. The utility will give you feedback if you have entered an incorrect file location. Once you have your <code>zip</code> file, upload it here. <b>Please</b> use this utility; <b>incorrectly structured submissions will not run</b>. Submit the <code>zip</code> file below.
</p>

<p>
Create a <code>zip</code> file of your robot player. The <code>zip</code> file can only contain 1 player package, and needs to have a <code>RobotPlayer.java</code> file. Submit the <code>zip</code> file below. Ensure that you're not importing any packages not included in the <code>zip</code> file, or your code won't compile.
</p><p>
Please <b><i>stay on this page until the card below indicates success.</i></b> To double-check that your code has been submitted, you can download at "Latest Submissions".

</p>
Expand Down
107 changes: 25 additions & 82 deletions frontend/src/views/tournaments.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,93 +42,52 @@ class Tournaments extends Component {
<div className="col-md-12">
<div className="card">
<div className="header">
<h4 className="title">2021 Tournament Info Coming Soon</h4>
<h4 className="title">2021 Tournament Schedule</h4>
</div>
<div className="content">
<p>Updated dates and prizes will be posted soon. In the meantime, checkout our Battlehack 2020 winners below 🎉</p>
</div>
</div>

<div className="card">
<div className="header">
<h4 className="title">Tournament Results</h4>
</div>
<div className="content">
<p>
Thank you to everyone for participating!
</p>
<p>
<b>The winner of Battlehack 2020 is <NavLink to='rankings/1643'>Team Snakes and ladders</NavLink></b>,
awarded a cash prize of $500. Congrats!
</p>
<p>
The full results of the round robin of the top 16 teams, with replays, <a href='https://bh2020.battlecode.org/finalresults.json'>are available here</a>.
Battlecode 2021 will consist of seven tournaments throughout the month! We stream and commentate all tournaments online.
</p>
<p>The results of the 4 divisions for determining the top 16 are available here: <a href='https://docs.google.com/spreadsheets/d/1n0aUFyXv_IEvvYum5QvjxIsbYUZPwADfcdee04dej84/edit?usp=sharing'>here</a></p>
<p>
<b>Engine breaker winners:</b>
<ul>
<li>
<a href='https://github.com/battlecode/battlehack20/issues/133'>Issue 133</a>: $125
<b>Sprint Tournament: 1/12.</b> One week after spec release, you're given a chance to win small prizes in this tournament. The goal is to get an idea of the meta-game, and a chance to test your bot prototypes.
</li>
<li>
<a href='https://github.com/battlecode/battlehack20/issues/121'>Issue 121</a>: $125
<b>Seeding Tournament: 1/19.</b> One week after the Sprint Tournament, this tournament determines your positioning in the Qualifying Tournament.
</li>
<li>
<a href='https://github.com/battlecode/battlehack20/issues/108'>Issue 108</a>: $100
</li>
<li>
<a href='https://github.com/battlecode/battlehack20/issues/106'>Issue 106</a>: $100
</li>
<li>
<a href='https://github.com/battlecode/battlehack20/issues/104'>Issue 104</a>: $100
</li>
<b>International Qualifying Tournament: 1/26.</b> This tournament determines the <i>4 international teams</i> that will qualify for the Final Tournament.
</li>
<li>
<a href='https://github.com/battlecode/battlehack20/issues/97'>Issue 97</a>: $100
</li>
<li>
<a href='https://github.com/battlecode/battlehack20/issues/71'>Issue 71</a>: $100
</li>
</ul>
</p>
<p>
<b>L33t h4ck3r winners:</b>
<ul>
<b>US Qualifying Tournament: 1/26.</b>
This tournament determines the <i>12 US-based teams</i> that will qualify for the Final Tournament.
</li>
<li>
<a href='https://github.com/battlecode/battlehack20/issues/136'>Issue 136</a>: $350
<b>Newbie Tournament: 1/28.</b> The top newbie teams compete for a smaller prize pool. The final match between the top 2 teams will be run at the Final Tournament.
</li>
<li>
<a href='https://github.com/battlecode/battlehack20/issues/69'>Issue 69</a>: $200
<b>High School Tournament: 1/28.</b> The top high school teams compete for a smaller prize pool. Like the Newbie Tournament, the final match will be run at the Final Tournament.
</li>
<li>
<a href='https://github.com/battlecode/battlehack20/issues/135'>Issue 135</a>: $200
<b>Final Tournament: 1/30.</b> The top 16 teams, as determined by the qualifying tournaments, compete for glory, fame and a big prize pool. The tournament will take place live, and will be streamed online for 2021. There will not be a component on MIT campus this year.
</li>
</ul>
</p>
The deadline to submit code for each non-final tournament is 7 pm EST <i>the day before</i> the tournament.
</p>


</div>
</div>

<div className="card">
<div className="header">
<h4 className="title">Tournament Schedule</h4>
<h4 className="title">Tournament Results</h4>
</div>
<div className="content">

<p>
Battlehack 2020 will start on <b>Thursday, April 16th at 8pm MIT time (EDT +5mins)</b> and consist of one tournament at the end of the week-long event.
</p>

<p>
The deadline to submit code for this final tournament is <b>Wednesday, April 22nd at 8pm EDT</b>.
</p>

<p>
We will stream and commentate this tournament on <b>Friday, April 24th at 8pm EDT</b>.
</p>
</div>
</div>


<div className="card">
<div className="header">
<h4 className="title">Tournament Format</h4>
Expand All @@ -143,38 +102,22 @@ class Tournaments extends Component {
</div>
</div>

<div className='card'>
<div className='header'>
<h4 className='title'>Results</h4>
</div>
<div className='content'>
<p>Division Results are out!</p>
</div>

</div>


<div className="card">
<div className="header">
<h4 className="title">Prizes</h4>
</div>
<div className="content">
<p>
Thanks to our sponsor HRT!

Thanks to our gold sponsor, Five Rings!
<ul>
<li><b>$500 1st Place prize:</b> to whosoever has the highest rating at the end (hacks not allowed)</li>

<li><b>$750 Engine Breaker prize:</b> for finding major bugs (e.g. getting illegal game state, crashing opponents, giving yourself unlimited bytecode, etc). A list of bugs known before launch can be found <a href="https://docs.google.com/document/d/10Id1pa7txfkrFgaM7WrK90VQKdbCXlNDOUuMRx7x9ls/edit?usp=sharing">here</a>; duplicating these bugs will not result in any prizes awarded. This prize will be split across all teams who submit a novel reproducible example as a GitHub issue <a href="https://github.com/battlecode/battlehack20/issues">here</a>.</li>

<li><b>$750 L33t H4ck3r prize:</b> escape the sandbox into our servers.
Split across all teams who contact us and demonstrate a unique exploit, that can either read the value
of an environment variable (e.g. <code>echo $SECRET_KEY</code>) or read the contents of an arbitrary
file (e.g. <code>open("api_key.json","r")</code>).
Please do NOT submit them publicly (i.e. no GitHub issue). Email us or DM us on Discord.
<li><b>1st Place prize:</b> to whosoever has the highest rating at the end (hacks not allowed). Smaller prizes for subsequent placers.</li>
<li>Smaller prizes for top placers in other non-final (newbie, high school, sprint) tournaments.</li>
<li><b>More prizes???</b> TBA, maybe 👀
<ul>
<li>Historically, we have given out prizes for creative strategies, major bugs found, and other game-specific topics. Have fun with your strategies, write-ups, and overall participation in Battlecode!</li>
</ul>
</li>

<li><b>More prizes???</b> TBA, maybe</li>
</ul>
</p>
</div>
Expand All @@ -188,7 +131,7 @@ class Tournaments extends Component {
</div>
<div className="content">
<p>
Anyone is welcome to participate in Battlecode! Anyone can write a bot, create a team and participate in the tournament.
Anyone is welcome to participate in Battlecode! Anyone can write a bot, create a team and participate in the tournament. More eligibility details can be found <a href="https://battlecode.org#about">here</a>.
</p>

<p>
Expand Down

0 comments on commit d315ae1

Please sign in to comment.