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
{ | |
"id": "Location#", | |
"title": "Location Schema", | |
"description": "A location", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string", | |
"description": "UUID v4 with 'L-' prefix", | |
"pattern": "/^L-[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$/i" |
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
Galactic Explorer | |
Hex map, 2d, like Hades Star. | |
Each system is a star that can have 2 rings of hexes with planets or other stuff in it. | |
Each hex can have up to 2 planets in it, each star can have up to 10 of the 18 hexes around it with something in it. | |
Each star is a minimum of 7 hexes from another star. | |
Each planet can have up to 3 moons. | |
Basically and endless map to explore. |
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
Grid.hexagonalShape = function(size) { | |
var hexes = []; | |
var _g1 = -size; | |
var _g = size + 1; | |
while(_g1 < _g) { | |
var x = _g1++; | |
var _g3 = -size; | |
var _g2 = size + 1; | |
while(_g3 < _g2) { | |
var y = _g3++; |
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
--- | |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: Website S3 Hosted, API Gateway Backend | |
Parameters: | |
DomainName: | |
Type: String | |
Description: The DNS name of an Amazon Route 53 hosted zone e.g. server.com | |
AllowedPattern: '(?!-)[a-zA-Z0-9-.]{1,63}(?<!-)' | |
ConstraintDescription: must be a valid DNS zone name. | |
Mappings: |
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
--- | |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: Website S3 Hosted, API Gateway Backend | |
Parameters: | |
DomainName: | |
Type: String | |
Description: The DNS name of an Amazon Route 53 hosted zone e.g. server.com | |
AllowedPattern: '(?!-)[a-zA-Z0-9-.]{1,63}(?<!-)' | |
ConstraintDescription: must be a valid DNS zone name. | |
Mappings: |
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:math'; | |
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/scheduler.dart'; | |
import 'package:flutter/services.dart'; | |
import 'views/main_view.dart'; | |
import 'views/update_view.dart'; | |
import 'store.dart'; | |
import 'recordKeeper/store.dart'; |
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
`timescale 1ns / 1ps | |
`default_nettype none | |
module cpu_mem_interface #( | |
parameter XLEN = 32, // Bus data width | |
parameter SLEN = 2, // Source ID length | |
parameter MAX_RETRIES = 3 // Maximum number of retry attempts | |
) ( | |
input wire clk, | |
input wire reset, |
OlderNewer