Faoileag's Nest

My Home On The Net


Game of Life

Bad graphics, but runs on the console: gol is an implementation of John Conway's Game of Life in Common Lisp.
Download the Tarball to try it out, it comes with a couple of example grids to get you started showing gliders, oscillators and Gospel's Gun.

Dragon Quest

A simple text adventure written in C++. You've got to kill the dragon, a task you can only achieve with the help of various artefacts you've got to collect. You can Get the source from here. Compile it with "$ g++ dq.cpp -o dq", change the binary's permissions with "$ chmod 751 dq" then run it with "$ ./dq". Good luck!

A Common Lisp version of Dragon Quest is something I'm currently working on, but as yet it is so incomplete that it's not even alpha. So, no tarball for that right now.

"Faoileag's Brainfuck Interpreter"

Another Common Lisp project, fbi is an interpreter for Brainfuck, the esoteric programming language, as well as for "Faoileag's Brainfuck Dialect", my very own blend of mnemonics for that machine model.
You can get the tarball including "Hello World!" example scripts here.
fbi is pretty complete and it supports code execution either by loading a file or by piping commands into the executable (stdin only accepts fbd though, and not brainfuck), but is not very fast.

Fibonacci Numbers in Brainfuck

fibo1.bf is a Brainfuck script calculating for a given number its corresponding fibonacci number. It does have severe limitations (see the comment block) and works satisfactorily for a maximum query of 6. ou can download it here.
fibo2.bf is my second attempt. In theory, there's no limit to the calculated number, in practice it is. Storing (big) integers as the length of a range of data cells doesn't work with most brainfuck interpreters due to the limit of 30000 cells they usually have. It should work with mine, but doesn't either and is also extremely slow. So fibo2.bf is now abandoned and I work on version 3 (not going to give up that easily).

A Sudoku Solver in Java

SudokuSolver is a sudoku solving algorithm I have written in Java some years ago. As I was only interested in the algorithm at the time, there is now fancy gui, just some console dumps that show the original and solved grid. The example sudokus are provided to test the algorithm against. If you are interested, you can download it from here and check it out.

A Random-Word-Generator

pw is a generator for random words, building the words from random 2 or 3 letter syllables. It's been written in C++ and you can download it here.
Compile it with "$ g++ pw.cpp -o pw", change the binary's permissions with "chmod 751 pw" then run it with "$ ./pw".

A Mandelbrot Set Generator for the X Window System (X11)

This is truly ancient software. XMandelbrot is a C++ project that displays a mandelbrot set in a window, accomplishing this with the help of the api for the X11 / X Window System common to linux / unix platforms alone. No additional framework, gui development form the ground up.
Even at the time I wrote this, doing gui development solely using the X11 api was pretty much obsolete (I think). Nevertheless, it provided valuable insight into gui development and doing things from the ground up can be pretty nice sometimes, too.
If you want to check it out, you can get the tarball from here, run make once you've unpacked it and have a look.