The SQL dump was stolen from here and imported into MySQL.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const HomePage = () => { | |
| return ( | |
| <SiteLayout> | |
| <div className="flex"> | |
| <SitePanel></SitePanel> | |
| <SiteContainer></SiteContainer> | |
| </div> | |
| </SiteLayout> | |
| ) | |
| } |
The below is a breakdown / bird's eye view of how a sparse-array backed ECS like EnTT or Shipyard works.
Please see the thanks and references at the bottom - without their help I would not have been able to share this breakdown with you... everything here is really just notes and rephrasing of what they've written already :)
Also, these notes do not cover archetype systems (like unity) nor adaptations of archetypes (like in Flecs). Though there's a couple comparative footnotes at the end.
Here we go!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'dart:typed_data'; | |
| import 'package:flutter/material.dart'; | |
| import 'dart:ui' as ui; | |
| void main() => runApp(MyApp()); | |
| int xorshift32(int x) { | |
| x ^= x << 13; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Procedurally generated Minecraft dirt texture. | |
| */ | |
| (function() { | |
| var ctx, imgd; | |
| ctx = document.getElementById('texture').getContext('2d'); | |
| imgd = ctx.createImageData(64, 64); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <time.h> | |
| #define C if | |
| #define T void | |
| #define P NULL | |
| #define U while | |
| #define Z break | |
| #define S return | |
| #define L typedef |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Blocks-12.1.0.txt | |
| # Date: 2019-03-08, 23:59:00 GMT [KW] | |
| # © 2019 Unicode®, Inc. | |
| # For terms of use, see http://www.unicode.org/terms_of_use.html | |
| # | |
| # Unicode Character Database | |
| # For documentation, see http://www.unicode.org/reports/tr44/ | |
| # | |
| # Format: | |
| # Start Code..End Code; Block Name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from "react" | |
| import createStore from "storeon" | |
| import useStoreon from "storeon/react" | |
| import StoreContext from "storeon/react/context" | |
| import produce from "immer" | |
| import { Pane, Button } from "fannypack" | |
| export default () => { | |
| return ( | |
| <StoreContext.Provider value={store}> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Fragment, useState, useEffect } from "react" | |
| // this is similar to react's render(). | |
| export default () => { | |
| const [state, setState] = useState({ count: 1 }) | |
| // this is similar to react's componentDidMount(). | |
| useEffect(() => { | |
| setState({ count: 2 }) | |
| timeout(500, () => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; The official HD AI | |
| ; An Artificial Intelligence Script written by Archon and Promiskuitiv | |
| ; Get in contact with Promiskuitiv by sending a mail to neuernamae@web.de | |
| ; List of taunts it reacts to: | |
| ; Standard taunts. | |
| ; 33 - Stop slinging resources. If slinging is requested early and is immediately canceled it may mess up the strategy. | |
| ; 38 - Sling Resources. Human player only, stops any unit production except for civilian units. |

