Add game (it's stupid but it's there)

This commit is contained in:
jheaps
2025-05-27 10:40:39 -06:00
parent 824a1d6eab
commit cfd8a54259
6 changed files with 133 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
@page
@model JoshHeaps.Net.Pages.GameModel
@{
ViewData["Title"] = "Game";
Layout = "_Layout";
}
<canvas id="gameCanvas"></canvas>
@section Styles {
<link href="/css/game/game.css?v=@ViewData["cssVersion"]" rel="stylesheet" type="text/css" />
}
@section Scripts {
<script src="~/js/Game/game.js"></script>
}
+12
View File
@@ -0,0 +1,12 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace JoshHeaps.Net.Pages
{
public class GameModel : PageModel
{
public void OnGet()
{
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
@{
Layout = null;
ViewData["cssVersion"] = "1.0.2"; // <--- change this once to bust cache
ViewData["cssVersion"] = "1.0.3"; // <--- change this once to bust cache
}
<!DOCTYPE html>