-
Notifications
You must be signed in to change notification settings - Fork 0
/
cpp.html
119 lines (87 loc) · 4.03 KB
/
cpp.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="style.css" rel="stylesheet" type="text/css">
<title>Owen Pauptit</title>
<script type="text/javascript">
if (screen.width <= 699) {
document.location = "home";
}
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-166874064-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-166874064-1');
</script>
</head>
<body class="lightBackground">
<header class="darkBackground">
<div class="container">
<h1>Owen Pauptit</h1>
<p1>A portfolio of all my significant programming projects</p1>
<br>
<nav class="navLinkGroup">
<ul>
<li><a href="/">Home</a></li>
<li><a href="#">languages</a>
<ul class="dropdown darkBackground">
<li><a href="/python.html">Python</a></li>
<li><a href="/cpp.html">C++</a></li>
<li><a href="/cs.html">C#</a></li>
</ul>
</li>
<li><a href="home">Markdown Website</a></li>
</ul>
</nav>
</div>
</header>
<div class="container">
<h2>C++</h2>
<p2>
I started learning C++ late 2019, and soon after, I started experimenting with the <a href="sfml-dev.org">SFML</a> libraries.
</p2>
<br/><br/>
<div class="leftRightPair">
<div class="displayLeft textBlock">
<h3>Conway's Game of Life</h3>
<p3>
Conway's game of life is a zero player game, which takes a single input, then computes the following generations. It consists of a grid of cells which can either be alive or dead. When the next generation is calculated, the cells live or die depending on 3 rules:
<ul>
<li> If a living cell is surrounded by less than two other cells, it dies of underpopulation </li>
<li> If a living cell is surrounded by more than three other cells, it dies of overpopulation </li>
<li> - if a dead cell is surrounded by exactly three other cells, it is born</li>
</ul>
<a href="ProgramRepos/SFML-GameOfLife/GameOfLife.zip">Download for windows</a>
</p3>
</div>
<div class = "displayRight">
<img src="Resources/Images/GameOfLife-Random.gif" style="float: left; padding-right: 10px; padding-top: 10px;">
<img src="Resources/Images/GameOfLife-Max.gif" style="float: right; padding-top: 10px;">
</div>
</div>
<div class="leftRightPair">
<h3>Other, less noteworthy projects:</h3>
<ul>
<li><a href="https://github.com/owenpauptit/sfml-flappybird">Flappy Bird</a></li>
<li><a href="https://github.com/owenpauptit/sfml-pong">Pong</a></li>
<li><a href="https://github.com/owenpauptit/sfml-connectfour">Connect Four</a></li>
<li><a href="https://github.com/owenpauptit/sfml-noughtsandcrosses">Noughts and Crosses</a></li>
</ul>
</div>
<div class="leftRightPair"></div>
</div>
<footer class="darkBackground">
<div class="footerLinks navLinkGroup">
<ul class="SiteLinks">
<li><a href="https://github.com/owenpauptit">Github Profile</a></li>
<li><a href="https://LinkedIn.com/in/owenpauptit">LinkedIn Profile</a></li>
</ul>
</div>
</footer>
</body>
</html>