Added Nav on all pages, linked the game and made some CSS adjustments

This commit is contained in:
IM23a-spirgif
2024-09-13 12:03:45 +02:00
parent 6a4168fc25
commit 538187831b
4 changed files with 115 additions and 15 deletions
+4
View File
@@ -39,6 +39,10 @@ def get_guns():
def calculator():
return render_template('calculator.html')
@app.route('/about_us')
def about_us():
return render_template('about_us.html')
def dps_calculation(damage, extra_dmg_percent, rpm, extra_fire_rate):
dps = damage * (extra_dmg_percent / 100 + 1) * (rpm * (extra_fire_rate / 100 + 1) / 60)