initial commit
This commit is contained in:
23
YatzyGame/Views/Home/Index.cshtml
Normal file
23
YatzyGame/Views/Home/Index.cshtml
Normal file
@@ -0,0 +1,23 @@
|
||||
<div class="flexbox">
|
||||
<div class="GameArea">
|
||||
<h3>Online Multiplayer</h3>
|
||||
<form action="@Url.Action("CreateGame", "Home", new {type = 0})" style="display: flex; flex-direction: column;">
|
||||
<input type="text" name="name" class="form-control mt-4" placeholder="Name of first player" />
|
||||
<input type="submit" class="btn btn-primary mt-4 text-center" value="Create Game" />
|
||||
</form>
|
||||
</div>
|
||||
<div class="GameArea">
|
||||
<h3>Local Multiplayer</h3>
|
||||
<form action="@Url.Action("CreateGame", "Home", new {type = 1})" style="display: flex; flex-direction: column;">
|
||||
<input type="text" name="name" class="form-control mt-4" placeholder="Name of first player" />
|
||||
<input type="submit" class="btn btn-primary mt-4 text-center" value="Create Game" />
|
||||
</form>
|
||||
</div>
|
||||
<div class="GameArea">
|
||||
<h3>Join Game</h3>
|
||||
<form action="@Url.Action("JoinGame", "Home", new {type = 1})" style="display: flex; flex-direction: column;">
|
||||
<input type="text" name="joinCode" class="form-control mt-4" placeholder="Code" />
|
||||
<input type="submit" class="btn btn-primary mt-4 text-center" value="Join Game" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user