Author Topic: The chain shot challenge  (Read 14244 times)

0 Members and 1 Guest are viewing this topic.

RobbeK

  • Guest
Re: The chain shot challenge
« Reply #45 on: December 30, 2014, 08:28:46 AM »
Hi Mike,

Yes, a sphere (curved in all (human) dimensions) can not be unfolded -- but I was thinking to use hexagons then  (somewhat the way a leather football is made ) & only "playing" on the surface of course there are 6 neighbours / cell
(the incredible way would be, instead of moving cells towards one of the poles or the equator , making a collapese when enough cells are gone !!!   goint to a lower level  --    what'd you think ???  )
The cylinder is challenging too - Lisp can not set up cyclic data structures  ::)   -- really challenging !  I mean like for a square, rect .. I define the border inside the array (like zero's or whatever ) , this has the advantage any recursive algorithm can run on any size of such figure whitout the code has to know the width or height (this is very Scheme-ish )  ,   but on a cylinder (?)  -- I have to think about this -- it's very interesting !!   :)

best ,  Rob
« Last Edit: December 30, 2014, 10:06:04 AM by RobbeK »

Mike Lobanovsky

  • Guest
Re: The chain shot challenge
« Reply #46 on: December 30, 2014, 09:46:56 AM »
(the incredible way would be, instead of moving cells towards one of the poles of the equator , making a collapese when enough cells are gone !!!   goint to a lower level  --    what'd you think ???  )

Hehe, that would essentially introduce yet another shape into the game; this time, a cone! :D

Charles Pegge

  • Guest
Re: The chain shot challenge
« Reply #47 on: December 31, 2014, 12:05:20 AM »

Another possibility is to go into the fourth dimension, having two or more cubes, representing adjacent volumes :)

RobbeK

  • Guest
Re: The chain shot challenge
« Reply #48 on: December 31, 2014, 01:08:54 AM »
 into the fourth dimension,  8)  cool,

how should we call the two new directions       --   beam up and beam down  (but up and down may be confusing ) ... 

Charles Pegge

  • Guest
Re: The chain shot challenge
« Reply #49 on: December 31, 2014, 09:36:29 AM »

Chain Shot 4D

A simple shallow (2 volume) implementation.

I have minimised the sphere polygons to lighten the GPU load


.

Charles Pegge

  • Guest
Re: The chain shot challenge
« Reply #50 on: December 31, 2014, 04:31:26 PM »
Happy New Year !


« Last Edit: December 31, 2014, 04:44:46 PM by Charles Pegge »

Mike Lobanovsky

  • Guest
Re: The chain shot challenge
« Reply #51 on: January 01, 2015, 02:06:44 AM »
Thanks Charles,

So far I've been able to play the 4D version down to 1 ball in 30 clicks twice but never managed to kill them all. It seems like playing 4D is easier than 3D.

erosolmi

  • Guest
Re: The chain shot challenge
« Reply #52 on: January 01, 2015, 02:41:30 AM »
grrr 2 spheres left in 23 clicks
 ;D

Charles Pegge

  • Guest
Re: The chain shot challenge
« Reply #53 on: January 01, 2015, 03:54:54 AM »
The 4D version has 1024 cells, and potentially 8 neighbours instead of 6. It might benefit from some extra colors to make it more challenging :)

Hexagonal stacking in 3D would have 12 neighbours!

Mike Lobanovsky

  • Guest
Re: The chain shot challenge
« Reply #54 on: January 01, 2015, 07:22:29 AM »
On my PC, everything runs pretty smoothly with Spheric 1,1,5 and ay=.25. CPU load is less than 5%. Still no epic win though. :)


[UPD] Unremming %ColorCodedPick crashes the app!
« Last Edit: January 01, 2015, 07:32:06 AM by Mike Lobanovsky »

Charles Pegge

  • Guest
Re: The chain shot challenge
« Reply #55 on: January 02, 2015, 12:02:27 PM »
Hi Mike,

I'm doing a little more work on ColorCodedPick to get the cleanest semantics, but the crash was most likely caused by indexing the array of cells on a non-flat color. The index must be checked against an upper limit. Unlike conventional picking, color-coded picking cannot be entirely hidden.



There is an alternative game objective: To leave the maximum stable number of spheres, and the highest columns. :)



.

Mike Lobanovsky

  • Guest
Re: The chain shot challenge
« Reply #56 on: January 02, 2015, 04:02:15 PM »
There is an alternative game objective

Hi Charles,

Hehe, looks like a giveaway alternative for losers. :)