Skip to content

Instantly share code, notes, and snippets.

Rishaan Gupta nofishleft

Block or report user

Report or block nofishleft

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nofishleft
nofishleft / Find4thPoint.cs
Created May 13, 2019
Finds the 4th point in a rectangle, given three known points
View Find4thPoint.cs
using UnityEngine;
public class Find4thPoint {
public Vector3 Find4th(Vector3 a, Vector3 b, Vector3 c) {
Vector3 point, cornerA, cornerB;
Vector3[] points = new Vector3[] {a, b, c};
float angleDelta = 180;
@nofishleft
nofishleft / mines.js
Last active Mar 1, 2019
Node module to add minesweeper to any discord bot
View mines.js
//Example Usage:
/*
const mines = require('./mines.js');
let msg = mines(14,14,20,'X',true);
*/
//X - Width
//Y - Height
You can’t perform that action at this time.