Skip to content

Commit 673d2f8

Browse files
committed
add snake-event
1 parent 77d16a3 commit 673d2f8

File tree

4 files changed

+74
-1
lines changed

4 files changed

+74
-1
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
layout: base
3+
title: Snake tournament
4+
timerange: "17:00 - 20:00"
5+
place: "E:1406"
6+
---
7+
<div id="flex-container">
8+
<img id="thumbnail-img" src="/assets/images/2019/snake_event_banner.jpg" />
9+
<div style="display:block;text-align:left">
10+
<h1 class="event-title">{{page.title}}</h1>
11+
<h5>{{page.date | date_to_string}} - {{page.place}}</h5>
12+
<h5>{{page.timerange}}</h5>
13+
</div>
14+
</div>
15+
<div style="clear:both;"></div>
16+
17+
<br>
18+
_find information in English below_
19+
20+
<br>
21+
22+
Grundkursen i programmering som D1 och W3 för tillfället läser har en grupplabb som går ut på att programmera spelet snake i multiplayer-läge. Vi anordnar en turnering med ett av snake-spelen som utvecklats av labb-grupperna!
23+
24+
Första delen av eventet riktar sig till studenter som läser grundkursen i programmering, men ALLA är HJÄRTLIGT välkomna att delta i turneringen (del 2 och 3 nedan).
25+
26+
Del 1: Från 17:00 kommer vi från Code@LTH finnas på plats i E:1406 för att hjälpa grupperna att lägga till nya roliga features och finslipa sina spel!
27+
28+
Del 2: Vid 18:00 presenterar gruppperna sina snakespel, i form av att grupperna demar några spel-omgångar på en projektor. (3-5 minuter per grupp)
29+
30+
Del 3: 18:30 är det omröstning om vilket snakespel som verkar roligast, och sedan börjar turneringen direkt efter. Finaler kommer streamas på en projektor!
31+
32+
**Det kommer bjudas på en ypperlig julfika!**
33+
34+
#### ---
35+
36+
The elementary programming course (pgk) for D1 and W3 just had a group exercise programming a multiplayer snake-game. At our event we will host a tournament with the snake games which have been developed by the lab groups in the course!
37+
38+
The first part of the event is meant for students currently taking the pgk-course, but everyone is very welcome to participate in the tournament (part 2 and 3).
39+
40+
Part 1: At 17:00 we will unlock E:1406 to help the groups add fun features to their games!
41+
42+
Part 2: At 18:00 the groups present their snake-games, by doing a quick demo of them playing their games on a projector. (3 - 5 minutes per group).
43+
44+
Part 3: At 18:30 we have a vote to determine the game that seems the most fun to play, and directly afterwards the tournament starts. We will stream the finals at a projector for everyone to watch!
45+
46+
**To keep your energy up we will have julfika!**
47+

_includes/head.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
<title>Code@LTH{% if page.title %} - {{ page.title }}{% endif %}</title>
33

44
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
5-
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
65

6+
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
77

88
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
99
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
1010

1111
<link href="/css/syntax.css" rel="stylesheet">
1212
<link href="/css/about.css" rel="stylesheet">
1313
<link href="/css/topnav.css" rel="stylesheet">
14+
<link href="/css/layout.css" rel="stylesheet">
1415
<link rel="icon" type="image/png" href="{{site.logo}}">
1516

1617
<!-- Bootstrap mobile thingy http://getbootstrap.com/css/ -->
257 KB
Loading

css/layout.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
div#flex-container {
2+
display: flex;
3+
flex-wrap: nowrap;
4+
}
5+
h1.event-title { margin-top: 5px; }
6+
#thumbnail-img {
7+
position: relative;
8+
float: left;
9+
width: 150px;
10+
height: 100px;
11+
overflow: hidden;
12+
margin-right: 20px;
13+
}
14+
#thumbnail-img img {
15+
object-fit: cover;
16+
object-position: center;
17+
position: absolute;
18+
left: 50%;
19+
top: 50%;
20+
height: 100%;
21+
width: auto;
22+
-webkit-transform: translate(-50%,-50%);
23+
-ms-transform: translate(-50%,-50%);
24+
transform: translate(-50%,-50%);
25+
}

0 commit comments

Comments
 (0)