Chain reaction with recurcivity.

Just BASIC Games
Post Reply
cassiope01
Posts: 56
Joined: Sat Jun 06, 2009 7:27 am
Location: FRANCE, Montpellier

Chain reaction with recurcivity.

Post by cassiope01 »

I don't really understand the interest of this game :D but the challenge to code it with recurcivity was fun :D

Each player at he's turn click on a cell, and if the nb of points in this cell become egal to the number of neighbors cells it have, it explode on it and take your color...

Maybe soon an AI !
Attachments
ChainReaction.zip
(2.99 KiB) Downloaded 534 times
cassiope01
Posts: 56
Joined: Sat Jun 06, 2009 7:27 am
Location: FRANCE, Montpellier

Re: Chain reaction with recurcivity.

Post by cassiope01 »

UPDATED.

Computer play.
Game saved.

AI improvement !

Priority to cells that do explode the most of opponent's cells...

have fun...;)

.
Attachments
ChainReaction.zip
(3.94 KiB) Downloaded 477 times
Post Reply