Skip to content

Instantly share code, notes, and snippets.

View ssg's full-sized avatar
💾
restoring

Sedat Kapanoğlu ssg

💾
restoring
View GitHub Profile
@ssg
ssg / tinyga.fs
Created August 23, 2010 13:14
Minimal GA implementation in F# per TinyGA rules
// TinyGA experimental F# implementation
// SSG 11/27/2008
#light
open System // for random generator
print_endline "TinyGAFS v1.0 - SSG\n"
// check command line
if Array.length Sys.argv <> 7 then
@ssg
ssg / smus.pas
Created August 23, 2010 23:33
Shockwave Multiuser Server Implementation
{
SMUS (Shockwave Multi User Server) types
SSG - 02 Dec 2001
}
unit smus;
interface
uses
@ssg
ssg / uvmain.pas
Created August 23, 2010 23:56
Eksi Universe UI
{ drawing code for ek$i universe - used in book poster - 2002 }
unit uvmain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, ComCtrls;
@ssg
ssg / boot.asm
Created August 24, 2010 00:22
My own operating system bootloader
; ESCape Bootstrap-Loader v0.04 beta - (c) 1994 SSG
; This is a bootstrap loader I coded for one of my own "operating system" projects.
; It didn't go much farther than the loader and some init code anyways.
model tiny
.386
cseg segment use16
org 7c00h
@ssg
ssg / esbbs.pas
Created August 24, 2010 00:44
ES BBS Intro
{ ES BBS Intro - 1995 }
{ Binary can be get at http://www.pouet.net/prod.php?which=55705 }
{$M $800,0,655360}
{$N-,E-,F+}
uses Strings,XBuf,XMode;
const
@ssg
ssg / tdsn.pas
Created August 24, 2010 01:06
Turkish DemoScene News reader
{ - arteffect tdsn reader - (c) 1997 SSG/arteffect - 28th Sep 97 - 15:54 - }
uses
XStream,XColl,XBuf,XMouse,Objects,qText,XStr,Dos;
type
PArticle = ^TArticle;
TArticle = record
@ssg
ssg / euler2.fs
Created January 17, 2011 20:47
my f# implementation of project euler #2
let rec calc sum prev1 prev2 evensum =
if sum > 4000000 then evensum
else
let newsum = prev1 + prev2
calc newsum prev2 newsum (if newsum % 2 = 0 then evensum + newsum else evensum)
printf "%d" (calc 0 0 1 0)
@ssg
ssg / intro.pas
Created January 24, 2011 22:16
sexy fighter cracktro
{ this is obviously missing a lot stuff (obj files) - but scrolltexts are fun to read }
uses XBuf,XProtect,XMode,crt,Dos;
const
finished:boolean=false;
game = 'SEXY FIGHTER';
software = 'FROG';
cracker = 'SSG & FatalicA';
@ssg
ssg / age.pas
Created August 25, 2011 19:54
Unfinished graphic adventure engine attempt
{
adventure game engine 1.0
file format: AGE.INI
[rooms]
<room#>, <room name>, <gfxfile>, <exits>, <flags>
<room description line 1>
.
.
@ssg
ssg / cc.pas
Created August 25, 2011 19:58
Coke Commander - Another attempt for a NC-clone
{
Coke Commander - The Kick Ass NC Clone (1996)
}
uses
QText,XStr,Views,Dialogs,App,Memory,XBuf,TVX,Drivers,Exec,Dos,XIO,Objects;
const