To use the program:
- Install common lisp
- Make sure it's installed by typing 'clisp'
- Exec command "clisp path/to/file.lisp population string"
- Tweak population to find what works best for you
#!/home/greg/.rvm/rubies/default/bin/ruby | |
require 'gosu' | |
# main class for the laser element in game | |
class Laser | |
attr_reader :created_at, :x, :y, :created_by | |
def initialize(window_size, angle, player) | |
@window_size = window_size |
#!/home/greg/.rvm/rubies/default/bin/ruby | |
require 'rmagick' | |
# monkeypatch string to convert bases | |
class String | |
def convert_base(from, to) | |
to_i(from).to_s(to) | |
end | |
end |
#!/home/greg/.rvm/rubies/default/bin/ruby | |
require 'shoes' | |
class String | |
def convert_base(from, to) | |
to_i(from).to_s(to) | |
end | |
end |
#!/usr/bin/ruby | |
# set username here! | |
NICK = "" # irc nick | |
IP = "" # computer on which to exec espeak | |
USER = "" # user on said computer | |
# this is all wizardry | |
# don't touch |
#!/usr/bin/ruby | |
# This is a port of my previous hello-algo program, | |
# which was written in Common Lisp | |
# | |
# Written by Fredrik A. Madsen-Malmo | |
# init all global variables | |
# doesn't look as good if you include \t and \n in CHARS |
// Human Benchmarking - Number Memory Test cheat | |
// Written by Fredrik A. Madsen-Malmo | |
// | |
// For educational purposes only. Duh | |
// Error when trying to access jQuery outside top-level scope | |
var j = $; | |
var current_number; | |
// Assign in if for more DRY-ness |
// Human Benchmarking - Verbal Memory Test cheat | |
// Written by Fredrik A. Madsen-Malmo | |
// | |
// For educational purposes only. Duh | |
// Error when trying to access jQuery outside the top-level scope | |
var words = []; | |
var j = $; | |
var last; |
accomodate | |
acknowlegement | |
arguemint | |
comitmment | |
deductabel | |
depindant | |
existanse | |
forworde | |
herrass | |
inadvartent |
'''This is a simple script to create moon objects to use with | |
PietDaGamer's space-game. | |
This is the class file | |
''' | |
__author__ = 'Fredrik A. Madsen-Malmo' | |
class Moon: | |
"""Format: |