Skip to content

Instantly share code, notes, and snippets.

View thefubon's full-sized avatar

Fubon - Website Design & Frontend Development thefubon

View GitHub Profile
@thefubon
thefubon / dinosaur-game-chrome.markdown
Last active January 24, 2023 11:19
Dinosaur Game Chrome
@thefubon
thefubon / Menja
Created January 24, 2023 11:08
Menja
<!-- Game canvas -->
<canvas id="c"></canvas>
<!-- Gameplay HUD -->
<div class="hud">
<div class="hud__score">
<div class="score-lbl"></div>
<div class="cube-count-lbl"></div>
</div>
<div class="pause-btn"><div></div></div>
@thefubon
thefubon / Tower Blocks
Last active January 24, 2023 11:05
Tower Blocks
<meta name="viewport" content="width=device-width,user-scalable=no">
<div id="container">
<div id="game"></div>
<div id="score">0</div>
<div id="instructions">Click (or press the spacebar) to place the block</div>
<div class="game-over">
<h2>Game Over</h2>
<p>You did great, you're the best.</p>
<p>Click or spacebar to start again</p>