Skip to content

Commit 518780c

Browse files
committed
Added solutions section
1 parent 811b48c commit 518780c

File tree

6 files changed

+54
-24
lines changed

6 files changed

+54
-24
lines changed

Boids.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@
2828
<body>
2929
{% include HeaderBar.html %}
3030

31+
<!-- Page content -->
3132
<div class="section">
32-
<!-- Page content -->
3333
<p> This is the boids page </p>
3434

35+
<p> <a href="/SimulationLabs/BoidsSolutions">Task Solutions</a> </p>
3536
<h2> Contents </h2>
3637

3738
<ul>
@@ -143,7 +144,7 @@ <h3> Task: Multicolour </h3>
143144
<div id="CirclesRainbowContainer"></div>
144145

145146
<strong> <emph>Hint:</emph></strong> The range of colours is 0-255 (anything >255 will be interpreted as 255), so you will have to use modulus (<strong>%</strong>) or if statements to ensure RGB values don't go outside that range!
146-
147+
147148
<h2> Autonomous Agents Intro </h2>
148149

149150
<p> Applying forces, basic goals </p>

BoidsSolutions.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
---
3+
4+
<!DOCTYPE html>
5+
6+
<html lang="en">
7+
<head>
8+
<meta charset="UTF-8">
9+
<title> BOIDS </title>
10+
11+
<!-- CDNs -->
12+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
13+
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.2/p5.min.js" integrity="sha512-1YMgn4j8cIL91s14ByDGmHtBU6+F8bWOMcF47S0cRO3QNm8SKPNexy4s3OCim9fABUtO++nJMtcpWbINWjMSzQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
14+
15+
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.23.0/themes/prism.min.css" rel="stylesheet">
16+
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.23.0/prism.min.js"></script>
17+
18+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
19+
<link href="/SimulationLabs/Stylesheets/Default.css" rel="stylesheet">
20+
21+
</head>
22+
23+
<body>
24+
{% include HeaderBar.html %}
25+
26+
<!-- Page content -->
27+
<div class="section">
28+
<a href="/SimulationLabs/Solutions/Boids/Task1Part1">Task 1 - Part 1 Solutions </a>
29+
</section>
30+
</body>
31+
</html>

Solutions/Boids/Task1Part1.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Boids - Task 1, Part 1
3+
---
4+
5+
Insert writeup here...
6+
7+
```js
8+
console.log("hello world!");
9+
```

_config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
# You can create any custom variable you would like, and they will be accessible
1919
# in the templates via {{ site.myvariable }}.
2020

21-
title: Simulation Labs Pages
22-
21+
title: Simulation Labs
22+
email:
2323
description: >- # this means to ignore newlines until "baseurl:"
24-
Lab Pages for the Simulation Labs for UWCS
24+
Simulation Labs Notes
2525
baseurl: "/SimulationLabs" # the subpath of your site, e.g. /blog
2626
url: "https://uwcs.github.io/SimulationLabs" # the base hostname & protocol for your site, e.g. http://example.com
27-
twitter_username: NA
27+
twitter_username:
2828
github_username: https://github.com/RexMortem
2929

3030
# Build settings

about.markdown

Lines changed: 0 additions & 18 deletions
This file was deleted.

about.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: page
3+
title: About
4+
permalink: /about/
5+
---
6+
7+
The *Simulation Lab Notes* are supplementary resources for the [Simulation Labs](/SimulationLabs/) - mainly solutions.

0 commit comments

Comments
 (0)