Skip to content

Instantly share code, notes, and snippets.

@bricef
bricef / merge_mappings.py
Last active December 13, 2019 20:27 — forked from angstwad/dict_merge.py
Recursive dictionary merge in Python
# Recursive dictionary merge
# Copyright (C) 2019 Brice Fernandes <brice.fernandes@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@bricef
bricef / FormationController.cs
Last active August 29, 2015 14:21 — forked from Jaandlu/gist:71f1a3f14df43a523dad
Update on boundary code
using UnityEngine;
using System.Collections;
public class FormationController : MonoBehaviour {
public GameObject enemyPrefab;
public float width = 10;
public float height = 5;
public float speed;
public float padding;