mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-22 13:59:48 +00:00
add how to play link
This commit is contained in:
@@ -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 -->
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user