Need help with an area movement type ... Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Designing Games for Zillions » Need help with an area movement type chess variant: Moving all pieces in a zone for a turn « Previous Next »

Author Message
Richard Hutnik (Richardhutnik)
Posted on Sunday, January 12, 2003 - 8:28 pm:   

As an approach to do area movement for Zillions, and developing stacking for a game, I came up with an idea for an "area movement" chess variant, and would like helping to implement it. The setup and rules are similar to chess, except:
1. Win by capturing, not checkmating an opponent's king.
2. Area movement:
a. The typical board of 64 square is divided up into 16 2 by 2 regions (I have these labelled below):
AABBCCDD
AABBCCDD
EEFFGGHH
EEFFGGHH
IIJJKKLL
IIJJKKLL
MMNNOOPP
MMNNOOPP
b. During a turn, a player can move any or all pieces of their own (once preferably) per turn. For example, in a stanard opening for white, they could move the two pawns and bishop that are in the O area of the board.

Anyone have any idea how to allow pieces of one player all in one zone, to move?

Thanks...
- Richard Hutnik
Andreas Kaufmann (Andreas)
Posted on Tuesday, January 14, 2003 - 3:15 am:   

Possible solution:
1) specify two move types:
- first-move
- next-move

2) moves for 'first-move' are usual chess move rules
3) moves for 'next-move' is usual chess moves with added (verify? (same-zone)) at the beggining of each move definition.
4) (same-zone) macro shoud check if the current position is in the same zone as (last-from) position (you may need a lot of if's in this macro).
5) specify turn order:
(White first-move) (White next-move) (White next-move) (White next-move) (Black first-move) (Black next-move) (Black next-move) (Black next-move)
6) Allow to pass turn: (option "pass turn" true)
or (option "pass turn" forced) depending on your intent.

Other possibility (may be better for AI) is to divide the whole board on 4 disjoint zones (each zone to have exactly one squre from you small 2x2 zone).

Then specify 4 different move types. Moves for each move types will differ only that they will be allowed to do only from one zone: first move type will allow to move from the first zone, second from the second zone etc. Then specify turn order:
(White move-zone-1) (White move-zone-2) (White move-zone-3) (White move-zone-4) (Black move-zone-1) (Black move-zone-2) (Black move-zone-3) (Black move-zone-4)
Richard Hutnik (Richardhutnik)
Posted on Tuesday, January 14, 2003 - 11:37 am:   

Thanks for the help...

My objective here is to lay the ground work for area movement in Zillions game. The AI may not do this well, but at least it could serve as a ref in other games being ported to Zillions.

By the way, is there any way to force a person to be able to make one move before allowing passing of turn?

- Richard Hutnik
Andreas Kaufmann (Andreas)
Posted on Wednesday, January 15, 2003 - 9:25 am:   

As far as I know it is not possible to force a person to be able to make one move before allowing passing of turn.

I also needed similar for last game I implemented (Dark Chess), but not found any way to solve this problem.

What is needed from Zillion language is the ability to specify pass turn option only for some move types, e.g:
(option "pass turn" true my-move-type)
Richard Hutnik (Richardhutnik)
Posted on Wednesday, January 15, 2003 - 5:41 pm:   

The reason why I need a forced move or something like that, is that a zone needs to become activated to determine which other pieces would move.

Maybe a simulate pass move could be the moving of a pass piece on a board somewhere that would appear after a first move is made.

- Richard Hutnik

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: