Skip to content

Instantly share code, notes, and snippets.

Connor Scialdone tripl3dogdare

Block or report user

Report or block tripl3dogdare

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
@tripl3dogdare
tripl3dogdare / Gemfile
Last active Jun 22, 2019
AutoLeaf v0.0.2-ALPHA
View Gemfile
source 'https://rubygems.org'
gem 'discordrb', git: 'https://github.com/meew0/discordrb'
gem 'hash_dot'
View game.js
var canvas, board, score
function initGame() {
let canvasElem = document.getElementById("game")
canvas = canvasElem.getContext('2d')
canvasElem.setAttribute('height', 640)
canvasElem.setAttribute('width', 640)
setInterval(() => {
canvasElem.style.height = Math.min(Math.max(window.innerWidth/1.5, 260), Math.max(window.innerHeight/1.5, 360)) + "px"
@tripl3dogdare
tripl3dogdare / README.md
Last active Jul 15, 2018
Nevada Programming Language
View README.md

This is a project I did a long time ago, on a road trip through Nevada. I wrote the code for this interpreter by hand in a tiny dollar store notebook with a pencil. The goal was to create an esoteric language that could be interpreted in as few LOC as possible, as few characters as possible, and still be as useful as possible. I gave myself half an hour to complete the task, and thus, Nevada was born.

  • Total LOC: 23
  • Total characters: 593 (not including trailing newline)
  • Total effectiveness: Yeah, don't bother trying to use this in production. It technically works though!
View snek.html
<!--
I highly recommend viewing this on rawgit.com, so you can play the game instead of just seeing the code =)
http://rawgit.com/tripl3dogdare/bcdc855b45bfa8e8c0277da493adc865/raw/snek.html
-->
<head>
<title>Snek</title>
<link href="https://emojipedia-us.s3.amazonaws.com/thumbs/160/lg/35/snake_1f40d.png" rel="shortcut icon">
</head>
<body>
@tripl3dogdare
tripl3dogdare / dungeongen.py
Last active Jan 8, 2019
Random dungeon generator in Python
View dungeongen.py
import random, math
# === Data === #
# Unminified, each string is a 3x3 grid of corridors and walls.
# I've set up 15 rooms, totalling all combinations of walls/corridors without corridors in the corners.
room_templates = [
" ■ ■ ■ ",
" ■■■ ",
" ■■ ■ ",
You can’t perform that action at this time.