add turn limit and environment info to rules

This commit is contained in:
Ilion Beyst 2022-04-25 20:13:18 +02:00
parent 9f24a6184e
commit 39940aaabd

View file

@ -1,6 +1,6 @@
<div class="container"> <div class="container">
<div class="game-rules"> <div class="game-rules">
<h3>Welcome to planetwars!</h3> <h2 class="title">Welcome to planetwars!</h2>
<p> <p>
Planetwars is a game of galactic conquest for busy people. Your goal is to program a bot that Planetwars is a game of galactic conquest for busy people. Your goal is to program a bot that
@ -90,6 +90,17 @@
ship, last man standing gets to keep the planet. ship, last man standing gets to keep the planet.
</p> </p>
<p>
The game will end when no enemy player ships remain (neutral ships may survive), or when the
turn limit is reached. The default limit is 100 turns.
</p>
<p>
You can code your bot in python 3.10. You have the entire stdlib at your disposal. <br />
If you'd like additional libraries or a different programming language, feel free to nag the administrator.
</p>
<h3 class="tldr">TL;DR</h3>
<p> <p>
Head over to the editor view to get started - a working example is provided. <br /> Head over to the editor view to get started - a working example is provided. <br />
Feel free to just hit the play button to see how it works! Feel free to just hit the play button to see how it works!
@ -111,4 +122,8 @@
.game-rules p { .game-rules p {
padding-top: 1.5em; padding-top: 1.5em;
} }
.game-rules .tldr {
padding-top: 3em;
}
</style> </style>