Hello again Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Designing Games for Zillions » Hello again « Previous Next »

Author Message
Mariano Moran Fougerat (Marianomf)
New member
Username: Marianomf

Post Number: 41
Registered: 10-2013
Posted on Saturday, November 09, 2013 - 4:08 am:   

Im designing another existing game and I dont know how to set a restriction to a piece

A piece can move everywhere, thats not a problem, the problem is that that piece cant check the opposite King, how to do that?
Mariano Moran Fougerat (Marianomf)
New member
Username: Marianomf

Post Number: 42
Registered: 10-2013
Posted on Saturday, November 09, 2013 - 4:38 am:   

nevermind again i found a way
Mariano Moran Fougerat (Marianomf)
New member
Username: Marianomf

Post Number: 43
Registered: 10-2013
Posted on Saturday, November 09, 2013 - 6:08 am:   

Well I wrote too many directions, more than a hundred, but thats the only way possible to write the game, is there another version of Zillions where doesnt matter how many directions are?
Mariano Moran Fougerat (Marianomf)
New member
Username: Marianomf

Post Number: 44
Registered: 10-2013
Posted on Saturday, November 09, 2013 - 6:12 am:   

approx 228, but I need those 228 directions to run correctly the game
Mariano Moran Fougerat (Marianomf)
New member
Username: Marianomf

Post Number: 45
Registered: 10-2013
Posted on Saturday, November 09, 2013 - 7:45 am:   

I would desire that, but i could fix it
Mariano Moran Fougerat (Marianomf)
New member
Username: Marianomf

Post Number: 48
Registered: 10-2013
Posted on Saturday, November 09, 2013 - 8:22 am:   

HOW CAN I EXPRESS THIS CORRECTLY?

(loss-condition (White)(checkmated King))
(loss-condition (Black)(pieces-remaining 0))
(draw-condition (White) stalemated)
(draw-condition (White Black)(pieces-remaining 1 PhantomKnight 0 Pawns 0 Queen 0 Knight 0 Rider 0 Rook 1 King))
(draw-condition (Black)(pieces-remaining 1 PhantomKnight 1 Queen))
(draw-condition (Black)(pieces-remaining 1 PhantomKnight 1 Rider))
(draw-condition (Black)(pieces-remaining 1 PhantomKnight 2 Rider))
(draw-condition (Black)(pieces-remaining 1 PhantomKnight 1 Knight))
(draw-condition (Black)(pieces-remaining 1 PhantomKnight 2 Knight))
(draw-condition (Black)(pieces-remaining 1 PhantomKnight 1 Rook))
Sean Duggan (Dream)
New member
Username: Dream

Post Number: 100
Registered: 9-2000
Posted on Sunday, November 10, 2013 - 2:03 pm:   

Ee... do you really need that many directions? Couldn't you combine a few of them? As for not allowing a piece to put the King into check, that should just be a matter of a second test after the move for whether the attack targets the King. It's going to require a lot of movement statements (for example, a Queen and a Knight piece would have 64 moves, not including the multiple moves available in the slide), but it's an option.
Mariano Moran Fougerat (Marianomf)
New member
Username: Marianomf

Post Number: 56
Registered: 10-2013
Posted on Sunday, November 10, 2013 - 4:35 pm:   

I need the black draw conditions

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: