Skip to content

Commit

Permalink
feat(release): add files for release of sprint #4 v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
manuandru committed Oct 8, 2023
1 parent 8ce060c commit 02c0086
Show file tree
Hide file tree
Showing 55 changed files with 50,820 additions and 0 deletions.
14 changes: 14 additions & 0 deletions releases/v1.0.1/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Scatan</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div id="root"></div>
<!-- Include Scala.js compiled code -->
<script type="text/javascript" src="target/scala-3.3.0/scatan-fastopt/main.js"></script>

</body>
</html>
Binary file added releases/v1.0.1/res/img/Catan-Game.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 releases/v1.0.1/res/img/background.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 releases/v1.0.1/res/img/backgroundBlurred.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 releases/v1.0.1/res/img/cards/LargestArmy.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 releases/v1.0.1/res/img/cards/RoadBuilder.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 releases/v1.0.1/res/img/cards/resource/clay.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 releases/v1.0.1/res/img/cards/resource/ore.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 releases/v1.0.1/res/img/cards/resource/sheep.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 releases/v1.0.1/res/img/cards/resource/wheat.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 releases/v1.0.1/res/img/cards/resource/wood.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 releases/v1.0.1/res/img/dice/1.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 releases/v1.0.1/res/img/dice/2.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 releases/v1.0.1/res/img/dice/3.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 releases/v1.0.1/res/img/dice/4.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 releases/v1.0.1/res/img/dice/5.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 releases/v1.0.1/res/img/dice/6.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 releases/v1.0.1/res/img/hexagonal/clay.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 releases/v1.0.1/res/img/hexagonal/desert.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 releases/v1.0.1/res/img/hexagonal/ore.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 releases/v1.0.1/res/img/hexagonal/sheep.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 releases/v1.0.1/res/img/hexagonal/water.jpg
Binary file added releases/v1.0.1/res/img/hexagonal/wheat.jpg
Binary file added releases/v1.0.1/res/img/hexagonal/wood.jpg
Binary file added releases/v1.0.1/res/img/logo.png
Binary file added releases/v1.0.1/res/img/node/cityblue.png
Binary file added releases/v1.0.1/res/img/node/citygreen.png
Binary file added releases/v1.0.1/res/img/node/cityred.png
Binary file added releases/v1.0.1/res/img/node/cityyellow.png
Binary file added releases/v1.0.1/res/img/node/houseblue.png
Binary file added releases/v1.0.1/res/img/node/housegreen.png
Binary file added releases/v1.0.1/res/img/node/housered.png
Binary file added releases/v1.0.1/res/img/node/houseyellow.png
Binary file added releases/v1.0.1/res/img/road/ninetyblue.png
Binary file added releases/v1.0.1/res/img/road/ninetygreen.png
Binary file added releases/v1.0.1/res/img/road/ninetyred.png
Binary file added releases/v1.0.1/res/img/road/ninetyyellow.png
Binary file added releases/v1.0.1/res/img/road/thirtyNegblue.png
Binary file added releases/v1.0.1/res/img/road/thirtyNegred.png
Binary file added releases/v1.0.1/res/img/road/thirtyNegyellow.png
Binary file added releases/v1.0.1/res/img/road/thirtyblue.png
Binary file added releases/v1.0.1/res/img/road/thirtygreen.png
Binary file added releases/v1.0.1/res/img/road/thirtyred.png
Binary file added releases/v1.0.1/res/img/road/thirtyyellow.png
Binary file added releases/v1.0.1/res/img/robber.png
274 changes: 274 additions & 0 deletions releases/v1.0.1/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,274 @@
body {
/* Set the background image URL */
background-image: url('res/img/backgroundBlurred.jpg');

/* Set the background size to cover the entire body */
background-size: cover;

--hover: #f2f2f2;
--road: #363636;
--button-color: #f2f2f2;

font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Game */
.spot {
/* fill: var(--spot); */
opacity: 0;
}

.spot:hover,
.road-center:hover {
fill: var(--hover);
transition: all 0.2s ease-out;
opacity: 0.4;
}

.road {
stroke: var(--road);
stroke-width: 10px;
stroke-linecap: round;
}

.road-center {
fill: white;
opacity: 0;
}

.player-1 {
fill: #ff0000;
stroke: #ff0000;
opacity: 1;
}

.player-2 {
fill: #0000ff;
stroke: #0000ff;
opacity: 1;
}

.player-3 {
fill: #00ff00;
stroke: #00ff00;
opacity: 1;
}

.player-4 {
fill: #ffff00;
stroke: #ffff00;
opacity: 1;
}

.robber {
stroke: rgb(255, 70, 70);
opacity: 0.7;
stroke-width: 10px;
}

.hexagon-center-circle {
fill: white;
}

.hexagon-center-number,
.spot-text {
fill: black;
text-anchor: middle;
dominant-baseline: central;
font-family: sans-serif;
font-weight: bold;
}

/* end Game */

.home-view {
margin-top: 1em;
margin-bottom: 1em;
margin-left: auto;
margin-right: auto;
width: 80%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.home-title {
background-position-x: center;
background-image: url("res/img/logo.png");
background-size: contain;
background-repeat: no-repeat;
width: 100%;
height: 20em;
}

/* Home
display all menu item vertically
*/
.home-menu {
margin-top: 1em;
margin-bottom: 1em;
display: flex;
width: 70%;
height: auto;
flex-direction: column;
gap: 1em;
}

.home-menu-button {
flex-grow: 1;
font-size: large;
font-weight: bold;
height: 3em;
border-radius: 1em;
background-color: var(--button-color);
}

/* SetUp */
.setup-view {
display: flex;
flex-direction: column;
}

.setup-view>* {
display: inline-block;
width: fit-content;
margin: auto;
}

.setup-title {
font-size: 5em;
font-weight: bold;
margin-top: 1em;
background-color: rgba(159, 109, 23, 0.5);
padding: 0.3em 0.6em;
border-radius: 1em;
box-shadow: 0 0 0.5em 0.2em rgba(159, 109, 23, 0.65);
}

.setup-menu-combobox {
margin-top: 2em;
width: 50%;
font-size: 1.2em;
width: fit-content;
}

.setup-menu-textbox {
margin-top: 1em;
font-size: 1.2em;
}

.setup-menu-button {
margin-top: 1em;
width: 50%;
height: 3em;
font-size: large;
font-weight: bold;
border-radius: 1em;
background-color: var(--button-color);
}

.setup-menu-button:first-of-type {
margin-top: 2.5em;
}

/* Game */
.game-view-left-tab {
display: inline-flex;
flex-direction: column;
width: 25%;
margin-top: 5em;
background-color: white;
border-radius: 2em;
vertical-align: top;
padding: 2em;
}

.game-view-game-tab {
text-align: center;
display: inline-block;
width: 50%;
margin-right: auto;
}

.game-view-player {
font-size: 1.5em;
}
.game-view-phase {
font-size: 1em;
}
.game-view-step {
font-size: 1em;
}
.game-view-buttons {
margin-top: 1em;
display: flex;
justify-content: center;
gap: 1em;
}

.game-view-button {
width: 25%;
height: 3em;
font-size: 1em;
font-weight: bold;
border-radius: 1em;
}

.roll-dice-button {
background-color: #b5ffa0;
}

.end-turn-button {
background-color: #fb9b9b;
}

.game-view-moves {
margin-top: 1em;
font-size: 1em;
}

.game-view-move {
width: fit-content;
margin-top: 0.8em;
padding: 0.3em 0.6em;
font-size: 1em;
text-align: center;
background-color: #ffc977;
border-radius: 1em;
box-shadow: 0 0 0.5em 0.2em rgba(0, 0, 0, 0.65);
}

/* Card */
.game-view-card-container {
display: flex;
justify-content: space-between;
}

.game-view-child-container {
display: flex;
gap: 1em;
}

.game-view-card-item {
width: 8vw;
background-color: #ffc977;
border-radius: 1em;
box-shadow: 0 0 0.5em 0.2em rgba(0, 0, 0, 0.65);

}

.game-view-card {
width: 90%;
border-radius: 1.5em;
padding: 0.5em 5%;
}


.game-view-card-count {
font-size: 2em;
font-weight: bold;
text-align: center;
padding-top: 0.5em;
}
62 changes: 62 additions & 0 deletions releases/v1.0.1/target/.history3
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
1695751620774:~test
1695756600244:exit
1696005235875:~test
1696006981176:~testOnly *StateWithScoresTest
1696008325308:~test
1696010394595:~fastLinkJS
1696091715687:test
1696091786244:~fastLinkJS
1696092333978:~test
1696149970419:~fastLinkJS
1696260327002:~test
1696260405667:exit
1696516964182:~test
1696518510494:[B
1696518513835:~test
1696518576144:fastLinkJS
1696689368191:~fastLinkJS
1696700262859:sbt test
1696700266140:test
1696700286666:fastLinkJS
1696700324081:~fastLinkJS
1696760452456:reload
1696760458236:sbt compile
1696760468276:compile
1696760533895:reload
1696760537789:compile
1696760542667:fastLinkJS
1696760619599:reload
1696760624508:fastLinkJS
1696760758348:~fastLinkJS
1696761520912:reload
1696761525017:fastLinkJS
1696761568463:reload
1696761571643:fastLinkJS
1696761684225:reload
1696761688061:fastLinkJS
1696761947385:reload
1696761952087:fastLinkJS
1696761998559:reload
1696762003522:fastLinkJS
1696762052244:reload
1696762054891:fastLinkJS
1696762157899:reload
1696762161457:fastLinkJS
1696762178819:reload
1696762182392:fastLinkJS
1696762345929:reload
1696762347368:fastLinkJS
1696762375321:exit
1696770568886:fastLinkJS
1696770906971:compile
1696770912626:refresh
1696770914478:reload
1696771977041:fastLinkJS
1696773209154:test
1696783963569:fastLinkJS
1696783975331:compile
1696783977428:reload
1696783983255:compile
1696784837801:fastLinkJS
1696785341339:compile
1696785933648:fastLinkJS
Loading

0 comments on commit 02c0086

Please sign in to comment.