Can somebody help me design a zillion... Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Designing Games for Zillions » Can somebody help me design a zillions version of Irensei « Previous Next »

Author Message
Ben Wilder (Animalia555)
New member
Username: Animalia555

Post Number: 3
Registered: 1-2009
Posted on Wednesday, January 21, 2009 - 5:40 pm:   

I would like to be able to play Irensei on zillions and I Am sure other people would to. problem is I have NO programing knowledge. Here is a link to the a description of the rules.

http://en.wikipedia.org/wiki/Irensei

I was wondering if someone would be willing to help me out.

P.S. it is similar to Gomoku and Renju and Connect6
Edoardo Annunziata (Attwo)
New member
Username: Attwo

Post Number: 1
Registered: 6-2009
Posted on Wednesday, June 24, 2009 - 8:38 am:   

I think it would not be so difficult to script. Just start from the Go ZRF shipped with the Zillions program and add:

(win-condition (Black White)
(or (relative-config stone n stone n stone n stone n stone n stone n stone)
(relative-config stone e stone e stone e stone e stone e stone e stone)
(relative-config stone ne stone ne stone ne stone ne stone ne stone ne stone)
(relative-config stone nw stone nw stone nw stone nw stone nw stone nw stone)
)
)

Zillions should understand it.
Ben Wilder (Animalia555)
New member
Username: Animalia555

Post Number: 5
Registered: 1-2009
Posted on Wednesday, November 25, 2009 - 7:21 am:   

where exactly in the file do i put it?
Greg Schmidt (Gschmidt2)
New member
Username: Gschmidt2

Post Number: 117
Registered: 1-2007
Posted on Wednesday, November 25, 2009 - 8:08 am:   

I tried it and it launches without error.

1) Put it above the "count-condition".
2) In Edoardo's code change "stone" to "Stone".
3) Add the "ne" and "nw" directions, e.g.
(directions (n 0 -1) (e 1 0) (s 0 1) (w -1 0) (ne 1 -1) (nw -1 -1))

-- Greg
Ben Wilder (Animalia555)
New member
Username: Animalia555

Post Number: 7
Registered: 1-2009
Posted on Wednesday, November 25, 2009 - 10:48 am:   

how do i make it so that if black creates a line of 8 or more stones he loses?
Ben Wilder (Animalia555)
New member
Username: Animalia555

Post Number: 8
Registered: 1-2009
Posted on Wednesday, November 25, 2009 - 11:00 am:   

nevermind figured it out
Ben Wilder (Animalia555)
New member
Username: Animalia555

Post Number: 9
Registered: 1-2009
Posted on Wednesday, November 25, 2009 - 11:18 am:   

almost done now i just need to figure out how to make sure stones placed on the outer two lines of the board cannot be counted for towards the seven in a line
Ben Wilder (Animalia555)
New member
Username: Animalia555

Post Number: 10
Registered: 1-2009
Posted on Wednesday, November 25, 2009 - 11:22 am:   

also need to figure out how to make suicide legal ONLY when it will lead to having the required 7 in a row
Ben Wilder (Animalia555)
New member
Username: Animalia555

Post Number: 11
Registered: 1-2009
Posted on Wednesday, November 25, 2009 - 12:11 pm:   

any clue on how to do the above two things?
Keith Carter (Keithc)
New member
Username: Keithc

Post Number: 176
Registered: 8-2000
Posted on Wednesday, November 25, 2009 - 3:33 pm:   

"how to make sure stones placed on the outer two lines of the board cannot be counted for towards the seven in a line"

I am going to guess that it could be done with a zone. Make a zone out the outer two lines of the board and have the seven in a line test require not being in the zone. Or make a zone off all but the outer two lines and require membership in the zone.
Ben Wilder (Animalia555)
New member
Username: Animalia555

Post Number: 12
Registered: 1-2009
Posted on Wednesday, November 25, 2009 - 3:34 pm:   

How do you make a zone? I am still new to this

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: