add how to play link

This commit is contained in:
Evan
2024-11-29 13:11:15 -08:00
parent 3e4f4e42cf
commit 6cd75d3a9f
2 changed files with 11 additions and 1 deletions
+9
View File
@@ -31,7 +31,16 @@
<h2 class="text-3xl sm:text-4xl md:text-5xl lg:text-6xl mb-4">(v0.9.0)</h2>
<div class="flex justify-center items-start">
<div class="w-full max-w-3xl p-4 space-y-4">
<br />
<username-input></username-input>
<div class="flex space-x-2 max-w-xs mx-auto">
<a href="https://www.youtube.com/watch?v=A4QRo-xRlkM" id="how-to-play" target="_blank"
rel="noopener noreferrer"
class="flex-1 px-4 py-2 text-lg font-bold text-white bg-emerald-600 hover:bg-emerald-700 rounded-mg focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500 transition duration-300 ease-in-out text-center">
How to Play
</a>
</div>
<br />
<!-- Button layout -->
<div class="flex space-x-4 max-w-xs mx-auto">
<!-- Single Player button -->
+2 -1
View File
@@ -5,7 +5,7 @@ export const devConfig = new class extends DefaultConfig {
unitInfo(type: UnitType): UnitInfo {
const info = super.unitInfo(type)
const oldCost = info.cost
info.cost = (p: Player) => oldCost(p) / 1000000
info.cost = (p: Player) => oldCost(p) / 5
return info
}
@@ -14,6 +14,7 @@ export const devConfig = new class extends DefaultConfig {
}
numSpawnPhaseTurns(): number {
return 40
// return 100
}
gameCreationRate(): number {
return 20 * 1000