game-of-death

antagonistic game of life  https://xi.github.io/game-of-death/
git clone https://git.ce9e.org/game-of-death.git

commit
7baea89b4cffdc5a4f0801331acd0dfa653b0c67
parent
6f4067ea7c23e417b117b0e06c2b309638c8d582
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2019-10-26 19:12
add logo

Diffstat

A logo.jpg 0
M src/template.js 1 +
M style.css 5 +++++

3 files changed, 6 insertions, 0 deletions


diff --git a/logo.jpg b/logo.jpg

Binary files differ.

diff --git a/src/template.js b/src/template.js

@@ -55,6 +55,7 @@ const renderControls = function(state) {
   55    55 
   56    56 const renderMenu = function(state) {
   57    57     return h('div', {'class': 'menu'}, [
   -1    58         h('img', {'class': 'logo', 'src': 'logo.jpg', 'alt': 'Game of Death'}),
   58    59         h('button', {'class': 'js-menu-sandbox'}, 'Start sandbox game')
   59    60     ].concat(scenarios.map((scenario, i) => h(
   60    61         'button',

diff --git a/style.css b/style.css

@@ -71,6 +71,11 @@ input[type=range]:focus::-webkit-slider-thumb {
   71    71     background-color: var(--bg);
   72    72 }
   73    73 
   -1    74 .logo {
   -1    75     max-width: 100%;
   -1    76     margin: 0 auto 3em;
   -1    77 }
   -1    78 
   74    79 .menu {
   75    80     max-width: 15em;
   76    81     margin: 10vh auto;