NumLock

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

Notes

Notes
SubVersion
Vim
C and C++
FreeBSD
more...

RMITCS

C Helpdesk Resources
Customising Your CS Account
CS Fluxbox Menu Maker

Software

Codepile
Assorted little scripts and apps.
dumps.pl - FreeBSD Backup script
rastodo.py - Python Console todo/reminder
more...
Android
NumLock
Lost Emulators

Game Mods

LethalMod
A Max Payne 2 mod - more realistic and deadly.
more...

Image Gallery

Image Gallery
Photos
Screenshots
more...

Roleplaying Games

Shadowrun Notes(4th ed)
Heavy Gear Notes(2nd ed)
GURPS Notes
GameMastering Notes

Miscellaneous

links
Taglines
crazy
Trombone slide position chart [PDF]
[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 Sat, 22 Oct 2011 04:10:02 +1100
Copyright © 2002-2011 Dylan Leigh.
[HTML 4.01 Transitional]