Hi dudes,
here is HNEFATAFL ONLINE v0.6 which has been tested on Oricutron Rev:626 on Win7 x64.
Created using latest OSDK 1.3
For Disk:
For Tape:
NOTES:
The DSK version is a bit twitchy (been working fine but tested again before posting and the initial screen freezes...not sure why). No problem with TAP. Runs fine using OSDK-EXECUTE but not when loading the DSK directly from oricutron.
The game does NOT feature any computer play (only human vs human connected via either a serial, dial-up or Internet link). I have not tested this on a real oric and have only tested the internet operation on my PC.
Start the prog and it will ask you if you want to be a SERVER or a CLIENT. Once selected, you can't re-select it (so you will remain a server or a client for the duration of the session).
The SERVER controls who plays as ATTACKERS or DEFENDERS (KING). The CLIENT has to wait until the SERVER has made his selection. The SERVER transmits the selection to the client and so the CLIENT becomes the OPPOSITE of what the server selects.
So if SERVER=ATTACKERS, the CLIENT automatically becomes the DEFENDERS.
The ATTACKERS always go first (this is handled automatically so that if the SERVER=KING the CLIENT has the first turn and so on).
A "WAITING..." message will display if it is not your turn. When the other player takes his turn you will here a ZAP, see his move take place and process any takes etc.
The game then continues as normal with trophies awarded etc.
At the end of a game, the SERVER can re-select which side he wants to play as (so the SERVER and CLIENT can continue indefinitely, swapping sides as they go).
The TURN LIMIT has been pre-set at 60 which allows for a good game without becoming too lengthy.
TO DO:
Perhaps a time limit for each player as per tea-for-two
User STATS (so that performance can be compared between SERVER and CLIENT over a number of games)
CHAT feature (this would certainly help as per tea-for-two)
MAYBE incorporate on-line play into the original game as an option. [Maybe won't do this as improved AI is planned and there may not be room]. Hnefatafl II may be lowres (sob!)...
HELLOS:
Thanx to Fabrice for the serial code from tea-for-two and Iss for the oricutron changes.
I'm looking forward to playing against real human opponents (I'm not a "master" at this in case anyone is wondering)
To be SERVER select menu options : 1-1-2 (then 1 or 2 depending on if you want to be attacker or defender)
To be CLIENT select menu options: 2-1-2 and then enter IP address or name of server. I've only tested with 127.0.0.1 and LOCALHOST.
I think the SERVER has be available first else the client bombs.