Search found 354 matches

by JamesD
Thu Jan 12, 2012 5:04 am
Forum: Games
Topic: The Return of Viking Chess (Hnefatafl)
Replies: 268
Views: 243847

Try formatting your code like this, it's more consistent and a little easier to follow. The blank area after Description in the header is for documentation as to what the routine does. I spent some time certifying code for government compliance so I do know a little on the subject. :) I still say yo...
by JamesD
Sun Jan 08, 2012 3:17 am
Forum: Games
Topic: Mordoric
Replies: 33
Views: 27100

Looks like a lot like a Hack clone.
by JamesD
Mon Jan 02, 2012 5:43 pm
Forum: Games
Topic: The Return of Viking Chess (Hnefatafl)
Replies: 268
Views: 243847

Hi James, Thanks for the coding tips, sometimes I look at my own code weeks later and say "WTF!?"...decpoints is a case in point. I take your points about the brackets and the other things. Thanks. I have a problem with SVN which is why I'm not using it properly (I really must RTFM!) Try TortoiseSV...
by JamesD
Sat Dec 31, 2011 5:59 pm
Forum: Games
Topic: The Return of Viking Chess (Hnefatafl)
Replies: 268
Views: 243847

if (0 < players[row][col] < 4) drawpiece(); Does that really work? I thought it would evaluate "0 < players[row][col]" as true (1) or false (0), and those are both smaller than 4, it would always evaluate to true..? That's why I said if it works. I'd have to test it and don't have a C compiler up a...
by JamesD
Sat Dec 31, 2011 1:36 pm
Forum: Games
Topic: The Return of Viking Chess (Hnefatafl)
Replies: 268
Views: 243847

I took a look at the source code and I have a few comments. Let subversion keep track of old versions of main.c instead of keeping them all in the current version of the repository. You can always go back and check out a specific version later. White space is your friend and you seem to be packing y...
by JamesD
Fri Dec 30, 2011 5:03 pm
Forum: Cross development tools
Topic: Problem in OSDK?
Replies: 6
Views: 8787

If I remember right, OSDK uses lcc rather than cc65 like the rest of the 6502 world. It could be a couple things. How long of variable names does lcc support? Or it could be a parser issue. Things to try. Use shorter names (replace canbetakenweight with CnBTakenWt) Use more white space (this also he...
by JamesD
Tue Dec 06, 2011 12:45 am
Forum: Games
Topic: The Return of Viking Chess (Hnefatafl)
Replies: 268
Views: 243847

@barnsey123, you wouldn't happen to have data for 8x8 tile images would you?
by JamesD
Mon Dec 05, 2011 11:35 pm
Forum: Games
Topic: Skool Daze
Replies: 167
Views: 162583

Dbug wrote:Vrozos is maybe right.

Perhaps we should just go ahead, make the web-page with some big copyright "them" messages, with link/adds for the iPhone game?
They would have significant difficulty proving any damages if they went to court. Worst case, you get a cease and desist letter.
by JamesD
Mon Dec 05, 2011 9:24 pm
Forum: Games
Topic: The Return of Viking Chess (Hnefatafl)
Replies: 268
Views: 243847

@JamesD. Yup, all the above points are valid. However, I would argue that the purpose of looking ahead is to determine if a certain move (of the computer or the humanplayer) can lead to a "goal state". In this case the King either escapes or is captured. If we limit the number of "ply" then many pr...
by JamesD
Mon Dec 05, 2011 12:40 am
Forum: Games
Topic: Skool Daze
Replies: 167
Views: 162583

Source code is protected as free speech in certain countries.
You can release the source code with build scripts and they can't say a thing about that.
by JamesD
Mon Dec 05, 2011 12:26 am
Forum: Games
Topic: The Return of Viking Chess (Hnefatafl)
Replies: 268
Views: 243847

Yes, dbug, quite correct. It's a theory of mine that "look ahead" shouldn't be necessary (in this game anyway). It's a quest for a "golden formula". I have yet to see any strategy game where a "golden formula" played at an advanced level. Look ahead (using something like classic MINIMAX procedures)...
by JamesD
Sun Dec 04, 2011 7:07 pm
Forum: Games
Topic: The Return of Viking Chess (Hnefatafl)
Replies: 268
Views: 243847

If you want to implement look ahead, you should take a look at game trees.
by JamesD
Sat Dec 03, 2011 5:06 am
Forum: Games
Topic: The Return of Viking Chess (Hnefatafl)
Replies: 268
Views: 243847

barnsey123 wrote:First poster in December. Yay.

Am sick of the sight of this bloody game but I'll finish it if it kills me.
LMAO!
Hang in there. Once it's done you won't mind so much.
by JamesD
Mon Oct 24, 2011 5:08 am
Forum: Games
Topic: Prince of Persia
Replies: 7
Views: 9014

Godzil wrote:There is no such things as "hardware sprite" on the Apple II, but the framebuffer is a bit easier to use than the Oric one ;)
That interleaved memory mess on the Apple II is actually easier to use than one on something else? (keels over from shock)
by JamesD
Mon Sep 19, 2011 4:08 pm
Forum: Games
Topic: Skool Daze
Replies: 167
Views: 162583

Ah thanks indeed JamesD. I think this player may suit my needs. I am not sure if I will be able to write any music as AY register values, but I will certainly try. And it should also be suitable for the basic sfx. In fact I was tempted to make direct calls to the ROM sound routines (music) so a son...