Compare commits

...

No commits in common. "agent_bryte" and "main" have entirely different histories.

  1. 2
      .gitignore
  2. 2
      LICENSE
  3. BIN
      assets/KRITA/ANTIMATTER.kra
  4. BIN
      assets/KRITA/SKAMKRAFTLOGO.kra
  5. BIN
      assets/KRITA/SKAMKRAFTLOGO1.kra
  6. BIN
      assets/KRITA/agent.kra
  7. BIN
      assets/KRITA/asteroid1.kra
  8. BIN
      assets/KRITA/asteroid2.kra
  9. BIN
      assets/KRITA/asteroid3.kra
  10. BIN
      assets/KRITA/asteroid4.kra
  11. BIN
      assets/KRITA/background.kra
  12. BIN
      assets/KRITA/backgroundfinal.kra
  13. BIN
      assets/KRITA/backgroundfinal.kra~
  14. BIN
      assets/KRITA/blackhole.kra
  15. BIN
      assets/KRITA/bluesystem.kra
  16. BIN
      assets/KRITA/greensystem.kra
  17. BIN
      assets/KRITA/jumpgate.kra
  18. BIN
      assets/KRITA/medkit.kra
  19. BIN
      assets/KRITA/pinksystem.kra
  20. BIN
      assets/KRITA/planetproto.kra
  21. BIN
      assets/KRITA/plastic.kra
  22. BIN
      assets/KRITA/procurement.kra
  23. BIN
      assets/KRITA/profilebackground.kra
  24. BIN
      assets/KRITA/redsystem.kra
  25. BIN
      assets/KRITA/shuttle.kra
  26. BIN
      assets/KRITA/spaceship.kra
  27. BIN
      assets/KRITA/spaceshiporbits.kra
  28. BIN
      assets/KRITA/transportation.kra
  29. BIN
      assets/KRITA/whitehole.kra
  30. BIN
      assets/KRITA/yellowsystem.kra
  31. BIN
      assets/contracts/background.png
  32. BIN
      assets/contracts/leftarrow.png
  33. BIN
      assets/contracts/procurement.png
  34. BIN
      assets/contracts/rightarrow.png
  35. BIN
      assets/contracts/screen.png
  36. BIN
      assets/contracts/screen_background.png
  37. BIN
      assets/contracts/shuttle.png
  38. BIN
      assets/contracts/transportation.png
  39. BIN
      assets/fonts/Pixellari.ttf
  40. BIN
      assets/img/background.png
  41. BIN
      assets/leaderboard/trophee.mp4
  42. BIN
      assets/logo/Offre.png
  43. BIN
      assets/logo/elephant.png
  44. BIN
      assets/logo/logoblanc.png
  45. BIN
      assets/logo/logoblancnotext.png
  46. BIN
      assets/logo/logonoir.png
  47. BIN
      assets/logo/spacetradertitle.png
  48. BIN
      assets/menu/contracts.png
  49. BIN
      assets/menu/home.png
  50. BIN
      assets/menu/info.png
  51. BIN
      assets/menu/leaderboard.png
  52. BIN
      assets/menu/logout.png
  53. BIN
      assets/menu/ships.png
  54. BIN
      assets/menu/systems.png
  55. BIN
      assets/planets/ARTIFICAL_GRAVITY_WELL.png
  56. BIN
      assets/planets/ASTEROID_BASE.png
  57. BIN
      assets/planets/ASTEROID_FIELD.png
  58. BIN
      assets/planets/ENGINEERED_ASTEROID.png
  59. BIN
      assets/planets/FUEL_STATION.png
  60. BIN
      assets/planets/GAS_GIANT.png
  61. BIN
      assets/planets/GRAVITY_WELL.png
  62. BIN
      assets/planets/MOON.png
  63. BIN
      assets/planets/PLANET.png
  64. BIN
      assets/planets/asteroid1.png
  65. BIN
      assets/planets/asteroid2.png
  66. BIN
      assets/planets/asteroid3.png
  67. BIN
      assets/planets/asteroid4.png
  68. BIN
      assets/planets/backgroundcanvas.PNG
  69. BIN
      assets/planets/blackhole.png
  70. BIN
      assets/planets/jumpgate.png
  71. BIN
      assets/planets/whitehole.png
  72. BIN
      assets/profile/background.mp4
  73. BIN
      assets/profile/background.png
  74. BIN
      assets/ressources/ANTIMATTER.png
  75. BIN
      assets/ressources/medkit.png
  76. BIN
      assets/sounds/skamkraft_main_theme.mp3
  77. BIN
      assets/spaceships/COMMAND.png
  78. BIN
      assets/spaceships/SATELLITE.png
  79. BIN
      assets/spaceships/blueprint.png
  80. BIN
      assets/spaceships/hangar.png
  81. BIN
      assets/spaceships/spaceship.png
  82. BIN
      assets/spaceships/spaceshiporbits.png
  83. BIN
      assets/systems/bluesystem.png
  84. BIN
      assets/systems/greensystem.png
  85. BIN
      assets/systems/pinksystem.png
  86. BIN
      assets/systems/redsystem.png
  87. BIN
      assets/systems/yellowsystem.png
  88. 32
      css/auth.css
  89. 72
      css/contracts.css
  90. 192
      css/global.css
  91. 56
      css/leaderboard.css
  92. 41
      css/modal-ships.css
  93. 101
      css/profile.css
  94. 55
      css/ships.css
  95. 127
      css/style.css
  96. 17
      css/system.css
  97. BIN
      favicon.ico
  98. BIN
      favicon.png
  99. BIN
      fonts/m42.TTF
  100. 8
      html/template.html
  101. Some files were not shown because too many files have changed in this diff Show More

2
.gitignore vendored

@ -0,0 +1,2 @@
/.vs/
/js/skama_code

@ -0,0 +1,2 @@
DO NOT USE THIS CODE OR LOOK AT IT IF YOU ARE NOT ALLOWED TO
IF YOU DO YOU CAN'T USE OR TEACH THE KNOWLEAGE YOU ACQUEIRED.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 945 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 969 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 419 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 767 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 729 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 675 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

@ -0,0 +1,32 @@
.auth-container {
height: inherit;
display: flex;
justify-content: center;
align-items: center;
}
.auth-title
{
font-size: 50px;
}
.auth{
width: 300px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: var(--main-color);
padding: 30px;
border-radius: 5px;
}
.auth-grp-label {
font-size: 20px;
display: flex;
justify-content: space-between;
}
.errors {
color: red;
}

@ -0,0 +1,72 @@
.card{
display: grid;
margin-top: 15px;
grid-template-columns: 1fr 1fr;
}
.contracts
{
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
height: 50%;
width: 50%;
overflow-y: scroll;
}
.contract-screen
{
width: 100%;
height: 100%;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.screen-img {
z-index: -1;
position: absolute;
top: 10%;
height: 80%;
bottom: 1%;
right: 20%;
left: 20%;
width: 60%;
}
.card-body{
margin-left: 50px;
}
.card-button{
margin-top: 10px;
}
.img
{
position: absolute;
top: 10%;
left: 25%;
z-index: -1;
background-repeat: no-repeat;
display: flex;
justify-content: center;
}
#contracts-modal
{
background-color: rgba(0, 0, 255, 0.5);
border: none;
border-radius: 10px;
padding: 40px;
color: white;
}
/* Modal */
.status-onhold {
color: orange;
}
.status-accepted {
color: greenyellow;
}

@ -0,0 +1,192 @@
@font-face {
font-family: pixellari;
src: url("/assets/fonts/Pixellari.ttf");
}
:root {
--text-color: white;
--text-familly: pixellari;
--main-color: black;
--sec-color: rgba(69, 128, 255, 0.842);
}
::-webkit-scrollbar {
width: 0 !important
}
body{
background-image: url("/assets/img/background.png");
background-repeat: no-repeat;
background-size: cover;
overflow: hidden;
font-family: var(--text-familly);
color: var(--text-color);
margin: 0;
padding: 0;
}
/*
button{
font-family: var(--text-familly);
color: var(--text-color);
} */
input{
font-family: var(--text-familly);
color: var(--text-color);
}
#block-content{
margin: 0;
padding: 0;
width: 100%;
height: 100vh;
}
.modal-disable::backdrop {
background-color: rgba(0, 0, 0, 0.493);
}
.ext-modal[open] {
animation: myFadeIn 0.5s ease normal;
}
@keyframes myFadeIn{
from {
bottom: 100%;
}
to {
bottom: 0%;
}
}
.home-container {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-shadow: 4px 2px black;
}
.languettes {
z-index: 1;
right: -30px;
top: 25%;
width: 80px;
position: absolute;
display: flex;
flex-direction: column;
align-items:flex-end;
}
.languettes input{
width: 100%;
}
.languettes input:hover{
animation: slide-left;
position: relative;
animation-timing-function: ease;
animation-fill-mode: forwards;
animation-duration: 1s;
}
@keyframes slide-left {
0% {right: 0px; top: 0px;}
100% {right: 25px; top: 0px;}
}
.Title{
position: absolute;
font-size: 50px;
margin-left: 50px;
background-color: rgba(0, 0, 0, 0.363);
border-radius: 5px;
width: fit-content;
padding: 10px;
}
.cont-center {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.title{
font-size: 50px;
margin-left: 50px;
}
::placeholder {
color: var(--text-color);
}
.base-input{
margin: 5px;
padding: 10px;
border: none;
border-radius: 5px;
background-color: var(--sec-color);
font-size: 20px;
}
.base-input:active{
background-color: var(--sec-color);
font-size: 20px;
}
/* .base-btn{
margin: 2px;
padding: 10px;
border: none;
border-radius: 5px;
background-color: var(--sec-color);
font-size: 20px;
} */
button, .button {
margin: 2px;
font-family: var(--text-familly);
background-color: #0000008f;
color: #ffffff;
border: 2px solid #ffffff;
padding: 10px;
font-size: 13px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
button:hover, .button:hover {
background-color: #ffffff;
color: #1a1a1a;
border-color: #1a1a1a;
}
button:active, .button:active {
background-color: #333333;
color: #ffffff;
border-color: #ffffff;
}
button:disabled, .button:disabled {
background-color: #555555;
color: #b3b3b3;
border-color: #b3b3b3;
cursor: not-allowed;
opacity: 0.6;
}
/* .base-btn:hover{
box-shadow: 1px 1px 1px 0px rgba(88, 88, 252, 0.842);
} */
.base-select {
margin: 5px;
padding: 10px;
border: none;
border-radius: 3px;
background-color: var(--sec-color);
font-size: 15px;
font-family: var(--text-familly);
color: var(--text-color);
}

@ -0,0 +1,56 @@
.container-ldb {
width: 100%;
}
#myVideo {
position: fixed;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
z-index: -1;
}
.head-board {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
margin: auto;
width: 60%;
padding: 20px;
font-size:x-large;
border : 1px solid white;
border-bottom-color: white;
border-bottom-width: 1px;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
background-color: rgba(0, 0, 0, 0.5);
}
.leaderboard {
display: flex;
margin: auto;
align-items: center;
flex-direction: column;
border : 1px solid white;
width: 60%;
height: 350px;
overflow-y: scroll;
overflow-x: visible;
background-color: rgba(0, 0, 0, 0.5);
padding: 20px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
scrollbar-width: none;
}
.player {
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
border-bottom: 1px solid rgb(255, 255, 255);
}
.player p {
padding: 5px;
color: white;
font-size: large;
text-align: start;
}

@ -0,0 +1,41 @@
.modal-ships {
background-image: url("/assets/spaceships/blueprint.png");
background-size: cover;
font-size: 25px;
width: 1000px; /* Set the width to the image width */
height: 560px; /* Set the height to the image height */
position: relative;
margin: auto;
padding: 40px;
color: rgb(255, 255, 255);
}
.infos-ships {
padding: 20px;
margin-bottom: 20px; /* Space below the info box */
}
.ship-info {
background-color: rgba(0, 0, 0, 0.363);
border-radius: 5px;
width: fit-content;
padding: 5px;
}
.btn-close-ships {
position: absolute;
font-size:x-large;
bottom: 20px;
left: 20px;
background-color: rgba(255, 255, 255, 0.8);
border: none;
color: rgb(252, 252, 252);
padding: 10px 20px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.btn-close-ships:hover {
background-color: rgba(255, 255, 255, 1);
}

@ -0,0 +1,101 @@
.cont-profile
{
width: 100%;
height: 100%;
display: flex;
align-items: center;
}
#myVideo {
position: fixed;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
z-index: -1;
}
#profile
{
width: 50%;
height: 90%;
padding: 10px;
background-color: rgba(0, 0, 0, 0.637);
border: none;
border-radius: 10px;
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: column;
color: white;
}
.profile-header
{
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.profile-header p
{
font-size: 60px;
}
.profile-header button
{
display: flex;
justify-content: center;
align-items: center;
border: none;
}
.profile-header button p
{
font-size: 25px;
padding: 0;
margin: 0;
}
.profile-content
{
width: 80%;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
border: 1px solid white;
border-radius: 10px;
padding: 0;
}
.profile-content p
{
text-align: center;
}
.tb-r
{
border-right: 1px solid white;
}
.profile-footer
{
display: flex;
align-items: center;
width: 80%;
padding: 5px;
}
#btn-logout
{
width: 50px;
height: 50px;
padding: 0;
border: none;
background: none;
}
#btn-logout img
{
width: 100%;
height: 100%;
}

@ -0,0 +1,55 @@
.block-ships{
position: relative;
width: 50%;
display:flex;
flex-direction: column;
color: white;
font-size:large;
text-align: center;
margin: auto;
}
.ships-modal{
font-size:small;
background-image: url("/assets/spaceships/blueprint.png");
background-repeat: no-repeat;
background-size: contain;
}
.ships-list {
display: none;
}
/* Next & previous buttons */
.prev, .next {
cursor: pointer;
position: absolute;
top: 50%;
margin-top: -22px;
font-weight: bold;
font-size: 60px;
transition: 0.6s ease;
}
.imgShip {
left: 0;
margin-top: 50px;
width: 70%;
}
.ships-list h5 {
font-size:xx-large;
background-color: rgba(0, 0, 0, 0.363);
border-radius: 5px;
width: fit-content;
padding: 10px;
margin:auto;
}
/* Position the "next button" to the right */
.next {
right: 0;
}
/* On hover, add a black background color with a little bit see-through */
.btn-ships{
font-size:x-large;
}

@ -1,127 +0,0 @@
@font-face {
font-family: M42;
src: url(/fonts/m42.TTF);
}
*{
font-family: M42;
font-size: 10px;
}
.deploy-bar{
display: flex;
flex-direction: column;
width: 100%;
margin: auto;
}
.btn-deploy{
margin: auto;
color: white;
background-color: black;
border-radius: 10px 10px 0px 0px;
width: 70%;
}
.container {
display: block;
margin: auto;
width: 70%;
}
.head-board {
display: flex;
margin: auto;
justify-content: space-between;
width: 100%;
border: 0px solid black;
border-top-color : white;
border-bottom-color: white;
border-bottom-width: 1px;
background-color: black;
}
.leaderboard {
display: flex;
margin: auto;
align-items: center;
flex-direction: column;
width: 100%;
height: 50vh;
overflow-y: scroll;
overflow-x:visible;
background-color: black;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none;
}
.leaderboard::-webkit-scrollbar {
width: 0 !important
}
article{
width: 100%;
display: flex;
justify-content: space-between;
border-bottom: 1px solid rgb(255, 255, 255);
}
p{
padding: 5px;
text-align: start;
}
.num{
font-size: larger;
color: rgb(255, 255, 255);
}
.faction{
color:rgb(0, 255, 115);
}
.headquarters{
color:rgb(86, 187, 255);
}
.symbol{
color:red;
text-decoration: underline;
}
.credits{
color: rgb(250, 204, 88);
}
.ships{
color: rgb(146, 146, 146);
}
.btn-cont {
margin: auto;
display: flex;
justify-content: space-between;
width: 100%;
}
button:hover{
transition: ease-in-out;
color: black;
transition-duration: 0.3s;
background-color: white;
}
button{
padding: 15px;
}
.btn-cred{
background-color: black;
color: rgb(250, 204, 88);
width: 50%;
font-size: 11px;
border-left-color: black;
border: 3px none none 3px;
border-bottom: none;
border-top-color: white;
border-radius: 0px 0px 0px 10px;
}
.btn-ship{
background-color: black;
color: rgb(86, 187, 255);
width: 50%;
font-size: 11px;
border: 3px none none 3px;
border-bottom: none;
border-right-color: white;
border-left-color: black;
border-top-color: white;
border-radius: 0px 0px 10px 0px;
}

@ -0,0 +1,17 @@
.cont-canvas
{
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
z-index: -1;
}
#sys-canvas
{
z-index: -1;
border: 1px solid black;
border-radius: 10px;
background-color: rgba(11, 1, 37, 0.842);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

@ -0,0 +1,8 @@
<script>
// document.getElementById('audio').play();
</script>
<div id="links" class="languettes">
</div>
<div id="block-content">
</div>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save