Skip to content

Instantly share code, notes, and snippets.

View amirrajan's full-sized avatar
Working on DragonRuby Game Toolkit and RubyMotion

Amir Rajan amirrajan

Working on DragonRuby Game Toolkit and RubyMotion
View GitHub Profile
amirrajan /
Last active April 15, 2024 05:35
Flappy Bird - DragonRuby Game Toolkit: Apples to Apples
amirrajan / Program.cs
Last active April 5, 2024 12:45
C# Dynamic
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Collections;
using System.Diagnostics;
using System.Dynamic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Text;
amirrajan / tutorial.html
Created March 24, 2024 05:00
DragonRuby Fiddle Tutorial Example
<title>DragonRuby - Warp Drive Tutorial</title>
<link rel="stylesheet" href="//" />
<script src="//"></script>
<script src="tutorial.js"></script>
<link rel="stylesheet" href="tutorial.css" />
amirrajan / main.rb
Created March 23, 2024 14:51
DragonRuby Game Toolkit - Random Hack and Slash
class Game
def request_action name, at: nil
at ||= state.tick_count
state.player.requested_action = name
state.player.requested_action_at = at
def new_player
amirrajan / main.rb
Last active March 8, 2024 07:48
DragonRuby Game Toolkit - Shader Tech Demo
class Game
def tick
amirrajan / dragonruby-mruby.patch
Created March 4, 2024 04:34
Patches to mRuby that DragonRuby Game Toolkit has made.
commit d387b42b5c0be25883a933160e9f8f636f13b4dd
Author: Amir Rajan <>
Date: Sun Mar 3 21:54:41 2024 -0600
patches DragonRuby has made to mRuby 3.0.0
diff --git a/codespell.txt b/codespell.txt
new file mode 100644
index 000000000..dcc0ddb43
--- /dev/null
amirrajan / init.el
Last active March 2, 2024 18:40
Emacs minimal init.el for Mac (evil and magit only)
(require 'package)
;; Emacs has an official repository of packages and a more current
;; unofficial one. Melpa is the 'unoffical one' (which in this
;; case translates to more up to date, newer, and by extension,
;; a bit more volatile). The official repo is called org. This
;; repo is slow changing and extremely stable (but doesn't have
;; all the cool/cutting edge packages that are being used).
(push '("melpa" . "") package-archives)
(push '("org" . "") package-archives)
amirrajan /
Last active March 2, 2024 02:26
DragonRuby Game Toolkit - elements mixing/crafting game