Topic: JavaScript Set Game (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=30503" title="Pages that link to Topic: JavaScript Set Game (Page 1 of 1)" rel="nofollow" >Topic: JavaScript Set Game <span class="small">(Page 1 of 1)</span>\

 
samliew
Obsessive-Compulsive (I) Inmate

From: JavaScript World
Insane since: Aug 2008

IP logged posted posted 08-25-2008 06:16 Edit Quote

Hi, I'm new to this forum and just wanted to share one of my mini 'projects'.

Set© Game:
http://www.samliew.com/programming.php#js15
http://www.samliew.com/Resources/Downloads/Programs/SetGame/index.html

Managed to make it playable in FF3 and added img preload before posting this.

Let me know what you guys think of this

Hope this helps!

Personal Website | My JavaScripts | My Facebook

bjwaters
Nervous Wreck (II) Inmate

From:
Insane since: Apr 2008

IP logged posted posted 08-25-2008 17:23 Edit Quote

Might want to check the validity of your links before posting them.

esskay
Bipolar (III) Inmate

From:
Insane since: Jan 2005

IP logged posted posted 08-26-2008 05:39 Edit Quote

Interesting puzzle - it's hard, makes my brain hurt

- SK

samliew
Obsessive-Compulsive (I) Inmate

From: JavaScript World
Insane since: Aug 2008

IP logged posted posted 08-31-2008 17:23 Edit Quote

The links are working. esskay managed to view the site.

Hope this helps!

Personal Website | My JavaScripts | My Facebook

hdon
Obsessive-Compulsive (I) Inmate

From:
Insane since: Sep 2008

IP logged posted posted 09-12-2008 05:13 Edit Quote

Cool! Set was one of the earliest games I developed when I was in highschool (in C with SDL.)

lucy1988
Nervous Wreck (II) Inmate

From:
Insane since: Sep 2008

IP logged posted posted 10-23-2008 10:23 Edit Quote

World of Warcraft Powerleveling
Insider is reporting that the 's 'tendrils' are already working their way south into the lands of Azeroth! The expansion is soon upon us, and already we're seeing signs of the coming expansion. Agents of Northrend http://www.powerleveling2000.com
called Argent Healers have appeared in the Horde capital city of Orgrimmar and are most likely also making themselves known in the Alliance capital city of Stormwind. for this amazing disease-born world event!

Head to Booty Bay to get in on the fun! You'll be transformed into a zombie and can - at your choice - rush back to the city to be healed ... or spread your foul infection where you will! Just don't come near us with your plagued hands. Other WoW Insider Zombie Invasion resource

samliew
Obsessive-Compulsive (I) Inmate

From: JavaScript World
Insane since: Aug 2008

IP logged posted posted 11-07-2008 11:19 Edit Quote
quote:

lucy1988 said:

World of Warcraft Powerleveling Insider is reporting that ...


nice thread hijack...

Hope this helps!

Personal Website | My JavaScripts | My Facebook

coach
Bipolar (III) Inmate

From:
Insane since: May 2011

IP logged posted posted 05-31-2011 11:11 Edit Quote
Edit TP: spam removed
D10n[0]
Nervous Wreck (II) Inmate

From: Perth,WA,Australia
Insane since: Apr 2001

IP logged posted posted 08-20-2011 09:11 Edit Quote

Spam Bumped thread but I want to make comment anyway.
This is a very nice tidy mind bending game.
Took me a while but I got the hang of and now am reasonably proficient.
However, the coding is not very elegant - all those if's and else's.

code:
1    red
2    green
4    purple
8    empty
16   shaded
32   solid
64   oval
128  diamond
256  squiggle
512  1
1024 2
2048 3

a) red empty diamond 1 =  001 010 001 001
b) red shaded diamond 2 = 010 010 010 001
c) red solid diamond 3 =  100 010 100 001

bitPat = a OR b OR c = 111 010 111 001

score=0;
for(i=0;i<4;i++)
 { bitCnt=0;
   for(j=0;j<3;j++)
    { bitCnt+=(bitPat & 1);
      bitPat>>1;
    };
   if(bitCnt==3 || bitCnt==1)
    score++;
 };

if(score==4)
 alert("winner");



Post Reply
 
Your User Name:
Your Password:
Login Options: Remember Me On This Computer
 
Your Text:
Loading...
Options: Show Signature
Enable Slimies
Enable Linkwords

« BackwardsOnwards »

Show Forum Drop Down Menu