NumLock

.plan
[Last 5] [Last 10] [Index] [RSS Feed]
[Full .plan (over 1MB)]
Contact
links

Notes

Notes
A collection of notes on various topics, such as version control, programming, food and email/newsgroup usage.
SubVersion
Vim
C and C++
FreeBSD
more...

Image Gallery

Image Gallery
Photos
Screenshots
more...

RMITCS

RMITCS Fluxbox Menu Generator
C Helpdesk Resources
Customising Your CS Account [outdated]
A brief FAQ/HOWTO on Customising X, tcsh and vim at RMITCS.

Software

Codepile
Assorted little scripts and apps.
dumps.pl - FreeBSD Backup script
dice.pl - Perl Dice roller, supports Silhouette, Shadowrun and Alternity
rastodo.py - Python Console todo/reminder
timetable.c - Console timetable/reminder
more...
Lost Emulators
Mirrors of some abandoned emulators (Generator-cbiere and DGen-SDL).
NumLock
An abandoned client-server numbers game.

Videogame Mods

LethalMod
A Max Payne 2 mod that changes the gameplay to make combat more realistic and deadly.
terroristgear
[1.4 KB .zip] A little Rogue Spear: Urban Operations mod that lets you use terrorist and multiplayer equipment (such as C4) in single player games.

Roleplaying Games

Shadowrun (4th ed)
My house firearms rules, notes on armour concealability and simplified matrix rules.
Heavy Gear (2nd ed)
A new and improved character sheet, notes on tool kits and links.
GURPS
A quad NPC sheet, firearms malfunctions and links.
GameMastering
Assorted tips for gamemasters (not specific to any particular game).

Miscellaneous

Taglines
Quotes and stuff.
crazy
Images as preformatted text, with PHP source.
Trombone slide position chart
PDF, 14KB, one a4 page.
[Back to home page]

History

This is a little client-server game created for an assessment when I was studying Computer Network Engineering 1 at RMIT. The name "NumLock" comes from the main strategy - block the other player from accessing high numbers, while putting the other player in a position where he would be forced to give them to you.

From the readme.txt:
     Gameplay
     ========

You and the server take turns in picking numbers from the grid. You may
only pick numbers on the *row* that the server made it's move; the
server picks numbers on the *column* that you made your move on. Thus a
good player can lock the other player out of the higher numbers.

The numbers you pick are added to your score and the highest score wins.
Note that the game will end if it is impossible for either player to
make a move (no numbers left on the row/column they are required to move
in).

The numbers in the highscore list are the player score minus the
computer score.

The original client and server were written in Java and the assessment only required the server to interact with one client at a time. During the holidays immediately after I had a little free time and I fixed it to support multiple connections (which was pretty easy in Java; just wrapped a lot of variabled and functions with the synchronised keyword).

I decided I would like to run my own server at home; unfortunately at the time I was running a clunky old P2 with 64 MB of RAM as my 24/7 server, which wasn't quite up to Java. So I started to rewrite the server in C. Unortunately the next semester came around and I got caught up with coursework. It's been around 18 months since I touched it.

Future

At the moment I'm too busy to finish off the C server, and even if I had the time to work on any game, it would probably be something more substantial. I've decided to dump it here in the hope that someone (possibly me) will get a proper server up and running.

Player vs. Player would be really neat to add.

Stuff:

Version 1.0.1 (Final Java)
Client Source: numlock-javaclient-1.0.1.zip
Server source: numlock-javaserver-1.0.1.zip
Documentation
readme.txt with some information that is specific to the 1.0.1 version and some specific to the 1.1 version.
My Original Lab Report for Computer Network Engineering 1. Describes the protocol, design and implementation.
Generated Fri, 18 Jun 2010 14:52:44 +1000
Copyright © 2002-2010 Dylan Leigh.
[HTML 4.01 Transitional]