- Dvergar / BaconJam: 2D top-down bullet-hell collaboratory game for Reddits BaconJam.
- Eiyeron / SQUARE: Complete, but minimalistic, game.
- Rostiger / Luxe Projects: Different tests projects.
- NicoM1 / Collab: Shmup-like game collaboration between NicoM1 and Eiyeron.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum Tree<T> { | |
Leaf(v :T); | |
Node(l :Tree<T>, r :Tree<T>); | |
} | |
class Test { | |
static function main() { | |
var myTree = Node( | |
Leaf("foo"), | |
Node( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here's a list of the strings in the game (SPOILERS kinda): | |
A game by: Et spil af | |
Powered by: Kører på | |
Press left or right to start: Tryk venstre eller højre for at starte | |
Release left and right: Slip venstre og højre | |
to start: for at starte | |
to erase: for at slette | |
Touch left or right side to start: Tryk venstre eller højre side for at starte | |
Release both sides: Slip begge sider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://try.haxe.org/#fC600 | |
// minmax: http://old.haxe.org/doc/snip/minimax_algorithm | |
// negamax: http://en.wikipedia.org/wiki/Negamax | |
class GameMove | |
{ | |
public function new() | |
{ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"folders": | |
[ | |
{ | |
"follow_symlinks": true, | |
"name": "PROJECT NAME", | |
"path": "/project/path" | |
}, | |
{ | |
"follow_symlinks": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Test | |
{ | |
public static function main() :Void { | |
var test = new Test(); | |
test.run(); | |
} | |
public function new() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
graph LR | |
subgraph User | |
Action(Action) --> ChangeState | |
UserEvents(Events) | |
end | |
subgraph Game | |
Commands(Commands) --> ChangeState(<b>Change State</b>) | |
ChangeState --> Events | |
Events(Events) --> Commands |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Markov { | |
var cache :Map<String, Array<String>>; | |
var words :Array<String>; | |
public function new() { | |
words = []; | |
cache = new Map<String, Array<String>>(); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Markov { | |
var cache :Map<String, Array<String>>; | |
var starting_keys :Array<Array<String>>; | |
public function new() { | |
cache = new Map<String, Array<String>>(); | |
starting_keys = []; | |
} | |
public function train(input :String) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kup = require 'coffeekup' | |
# Client-side web page with canvas and processing | |
webpage = kup.render -> | |
doctype 5 | |
html -> | |
head -> | |
meta charset: 'utf-8' | |
title 'CoffeeKup Processing' | |
style '''body { background-image:url('http://icanhasnoise.com/1d0b07-4a2219/40x1500/4'); text-align: center; } header { font-family: 'Lobster Two', cursive; font-size: 28px; color: white; text-shadow: 3px 3px 3px brown; }''' | |
link rel: 'stylesheet', href: 'http://fonts.googleapis.com/css?family=Lobster+Two&v2' |
OlderNewer