Skip to content

Instantly share code, notes, and snippets.

View Falconerd's full-sized avatar
⚙️
Crankin'

Dylan Falconer Falconerd

⚙️
Crankin'
View GitHub Profile
@Falconerd
Falconerd / init.lua
Last active March 13, 2025 21:29
Simple nvim setup Odin+C
vim.cmd([[
let mapleader = ' '
]])
require('packer').startup(function(use)
use "BurntSushi/ripgrep"
use "danilamihailov/beacon.nvim"
use "folke/todo-comments.nvim"
use "folke/trouble.nvim"
use "goolord/alpha-nvim"
@Falconerd
Falconerd / machine.js
Created April 28, 2021 04:53
Generated by XState Viz: https://xstate.js.org/viz
Machine({
id: 'Dog API',
initial: 'idle',
context: {
dog: null
},
states: {
idle: {
on: {
FETCH: 'loading'
/* dict.h */
#pragma once
#include <stdlib.h>
struct dict {
int *hashed_keys;
void *values;
int count;

Lost Knowledge - Programming mastery will save lives

Introduction

As the layers of abstraction get piled onto our software solutions, we have lost

<sentence> ::= <subj> <obj> <verb> <part>
<sub> ::= <noun>
<noun> ::= dog | cat | man | woman | robot | pen
<obj> ::= <noun>
<verb> ::= kick | whack | dance | own
<part> ::= now | earlier | later
<subj> <obj> <verb> <part>
man pen own now == "A man owns a pen"
dog cat dance earlier == "A dog was dacing with a cat"
Hero Primary Secondary
Ana Hitscan (Flicking) Projectile (Sleepdart and Grenade)
Ashe Hitscan (Flicking) Projectile (Dynamite)
Baptiste Hitscan (Flicking) Projectile (Healing)
Bastion Hitscan (Tracking)
Brigitte Hybrid
D.Va Hitscan (Tracking) Projectile (Rockets)
Doomfist Projectile

I'm just gonna list a bunch of features that I think we should incorporate into this game and we can to through them in-depth at a later time. Most of these ideas are ripped from other games so I will list them under game headings.

There will be a lot of crossover, so it's not THAT important which game it came from. For example: Throwable objects comes form Owlboy and Zelda but I have it listed under Zelda for the sake of brevity

Zelda BotW

  • Climb Anything
  • Set Fire to anything Flamable
  • Shops with physical items in-game
  • Pick up and throw objects
@Falconerd
Falconerd / stuff.js
Created October 29, 2016 06:14
webpack 2, react, redux
$ npm i -S react redux react-redux react-dom webpack@2* webpack-dev-server@2*
$ npm i -D babel-core babel-loader babel-preset-es2015 babel-preset-react
// webpack.config.js
module.exports = {
context: __dirname + '/src',
entry: {
app: './index.js'
},

Submitting Apps to the App Store and Google Play

App Store (iOS)

Preparation

Review Human Interface and Store Guidelines

iOS Human Interface Guidelines
@Falconerd
Falconerd / partitions.js
Last active January 15, 2016 14:07
Find N partitions of number M with min and max partition size
// Currently, there's a bug when numbers which are too large are used...
function getRandomPartitionsFromNumber(number, parts, min, max) {
var result = [];
for (var i = 0; i < parts; i++) {
var part = randomIntFromInterval(min, max);
result.push(part);
}