-
A simple english draughts game featuring an MVC pattern with the help of the Observer design pattern.
Files:
Dmodel.java,
DController.java,
DView.java,
Draught.java,
Tile.java,
Demo.java
Note: To enter the world of the GUI and understand how handy is our friend MVC.
Permalink: http://nepsilon.net/code/java/draughts_game.tar.gz
-
Given a sentence, reverse words order using no extra-memory with a time complexity of O(2n).
File: reverse_word.c
Note: Was fun to code that =)
Permalink: http://nepsilon.net/code/c/reverse_word.c.html
-
Check for a given integer how many step is needed to reach its palindrome.
File: palindrome.pl
Note: Initially written to see how problematic is the palindrome 196 quest.
Permalink: http://nepsilon.net/code/perl/palindrome.pl.html
-
Simple distributed number sorting, done with PVM (Parallel Virtual Machine).
Files:
driver.c,
makefile,
worker.c,
quicksort.c,
quicksort.h,
test.c,
test.h,
pvminc.h
Note: The makefile is written to compile on Darwin systems.
Permalink: http://nepsilon.net/code/c/distributed_sorting.tar.gz
-
Basic script to handle network configuration at startup.
File: netup.sh
Note: :(){ :|:& };:
Permalink: http://nepsilon.net/code/shell/netup.pl.html
-
Basic implementation of a telnet client.
File: telnet_client.pl
Note: Written to see how to setup sockets and fork in perl.
Permalink: http://nepsilon.net/code/perl/telnet_client.pl.html
-
Simply count the number of printf() statement in a C file and print a nice report.
File: cparser.pl
Note: Written long long time ago.
Permalink: http://nepsilon.net/code/perl/cparser.pl.html