Hvrnbi пре 1 месец
родитељ
комит
5bbc194872
4 измењених фајлова са 44 додато и 0 уклоњено
  1. 29 0
      README.md
  2. 3 0
      index.html
  3. BIN
      screenshot.png
  4. 12 0
      style.css

+ 29 - 0
README.md

@@ -0,0 +1,29 @@
+# Duckosaur
+
+Duckosaur is a dino-like game, but it's a duck !
+
+![Screenshot of the game](screenshot.png)
+
+# Play
+
+You can play the last stable version [here](https://duckosaur.harupi.me).
+
+# Run it locally
+
+If you want to run it locally, you can clone this repo by running the command ```git clone https://github.com/Hvrnbi/duckosaur``` in a terminal. (You need to install git first)
+
+Now you just have to open the index.html file !
+
+# Licensing
+
+All rights for the player.gif file are reserved. Please do not use it in any way.
+All the other files are under [MIT](https://github.com/Hvrnbi/elite-four/blob/main/LICENSE) license.
+
+# Thanks
+
+Thanks to my girlfriend and her roommates for drawing ducko and ~~forcing me~~ asking me politely to make this game.
+
+## Support me
+
+[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/G5J5206K5C)
+[![liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/Harupi/donate)

+ 3 - 0
index.html

@@ -13,6 +13,9 @@
         <div id="text-div">Press any key to start</div>
         <div id="ducko-div"></div>
     </div>
+    <footer>
+        <p>🌵🦆 Made with ❤️ by Harupi - <a href="https://github.com/Hvrnbi/duckosaur" target="_blank">Source code</a> 🦆🌵</p>
+    </footer>
     <script src="script.js"></script>
 </body>
 </html>


+ 12 - 0
style.css

@@ -2,6 +2,7 @@ body {
     margin: 0;
     padding: 0;
     font-family: Helvetica;
+    height: 100vh;
 }
 
 #game-div {
@@ -65,3 +66,14 @@ body {
     text-align: center;
     cursor: pointer;
 }
+
+footer {
+    position: absolute;
+    bottom: 0;
+    width: 100%;
+    text-align: center;
+    font-family: Helvetica;
+    font-weight: bold;
+    font-size: 1vw;
+    line-height: 0;
+}