Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the game Marco Spaans #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions css/game.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
body {
background-image: url("../img/background.jpg");
}

#screen {
position: absolute;
left: 25%;
top: 100px;
}

#text {
color: white;
position: absolute;
left: 25%;
top: 480px;
max-width: 640px;
}

button {
position: relative;
left: 25%;
top: 550px;
margin-right: 1%;
background-color: #FBA93A;
padding: 12px 6px;
border: solid 3px #EA7040;
border-radius: 25px;
color: #4691E4;
}
button:active {
background-color: #fa9405;
border: solid 3px #cf4b17;
color: #1d6dc9;
}
button:hover {
text-decoration: none;
}

#act2, #act3 {
display: none;
}
16 changes: 16 additions & 0 deletions game.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>game</title>
<link rel="stylesheet" href="css/game.css">
</head>
<body>
<img id="screen" src="img/start.jpg" alt="start screen" height="50%" width="50%">
<p id="text">Welcome to Overwatch</p>
<button id="act1" type="button" name="button" onclick="select()">start game</button>
<button id="act2" type="button" name="button"></button>
<button id="act3" type="button" name="button"></button>
</body>
<script type="text/javascript" src="js/game.js"></script>
</html>
Binary file added img/Volskaya_act1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Volskaya_act2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Volskaya_act3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Volskaya_select.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/defeat.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/start.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/victory.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading