Skip to content
This repository has been archived by the owner on May 3, 2020. It is now read-only.

Commit

Permalink
Uploaded project sources and website content
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieu-locussol committed Jan 14, 2020
1 parent 2a617ae commit 2cb8151
Show file tree
Hide file tree
Showing 49 changed files with 6,157 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
# Hex
Hex game written in C using SDL library.

## Preview and downloads

Screenshots and releases can be downloaded at : [https://matthieu-locussol.github.io/Hex/](https://matthieu-locussol.github.io/Hex/)

## Description

Hex is a strategy board game for two players played on a hexagonal grid. Players alternate placing markers on unoccupied spaces in an attempt to link their opposite sides of the board in an unbroken chain.

*Project carried out as part of my second year at [Paul Sabatier University](http://www.univ-tlse3.fr/).*

## Dependencies

* [SDL 1.2.15](https://www.libsdl.org/download-1.2.php)
* [SDL_ttf for SDL 1.2.15](https://www.libsdl.org/projects/SDL_ttf/release-1.2.html)
* [SDL_image for SDL 1.2.15](https://www.libsdl.org/projects/SDL_image/release-1.2.html)
10 changes: 10 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
theme: jekyll-theme-cayman
version: 1.0.0
name: Hex
description: Hex game
url: https://matthieu-locussol.github.io/Hex
repository: https://github.com/matthieu-locussol/Hex
show_downloads: true
github:
windows_url_64: https://github.com/matthieu-locussol/Hex/releases/latest/download/Hex-windows_x64.zip
windows_url_86: https://github.com/matthieu-locussol/Hex/releases/latest/download/Hex-windows_x86.zip
48 changes: 48 additions & 0 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>

{% if site.google_analytics %}
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ site.google_analytics }}');
</script>
{% endif %}
<meta charset="UTF-8">

{% seo %}
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#157878">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
</head>
<body>
<a id="skip-to-content" href="#content">Skip to the content.</a>

<header class="page-header" role="banner">
<h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
<h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
{% if site.github.is_project_page %}
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
{% endif %}
{% if site.show_downloads %}
<a href="{{ site.github.windows_url_64 }}" class="btn">Download for Windows (x64)</a>
<a href="{{ site.github.windows_url_86 }}" class="btn">Download for Windows (x86)</a>
{% endif %}
</header>

<main id="content" class="main-content" role="main">
{{ content }}

<footer class="site-footer">
{% if site.github.is_project_page %}
<span class="site-footer-owner"><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span>
{% endif %}
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
</footer>
</main>
</body>
</html>
Loading

0 comments on commit 2cb8151

Please # to comment.