Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Scripting collab! (https://forums.graalonline.com/forums/showthread.php?t=63953)

adam 02-12-2006 05:10 AM

I did work on a chess game a while ago.

It never worked, I think I had all the movement and attacking scripts done. I forget what was done and what wasn't.

I know the board was an array of arrays. And the peices were numbered individually black and white. It was before gscript2 so no functions of that sort.

jake13jake 02-12-2006 05:31 AM

Quote:

Originally Posted by adam
I did work on a chess game a while ago.

It never worked, I think I had all the movement and attacking scripts done. I forget what was done and what wasn't.

I know the board was an array of arrays. And the peices were numbered individually black and white. It was before gscript2 so no functions of that sort.

Yea, the hardest part is the check... perhaps each individual piece should carry a function to see if the king is in check from their position?


All times are GMT +2. The time now is 07:44 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.