Skip to content

Instantly share code, notes, and snippets.

@trufa
Last active October 23, 2018 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trufa/ea9daac17dd15cbc13543202b3f5da14 to your computer and use it in GitHub Desktop.
Save trufa/ea9daac17dd15cbc13543202b3f5da14 to your computer and use it in GitHub Desktop.

hacer un juego donde hay dos grupos con divs que se pasan de uno a otro con clicks

............
.			      .
.	    A		  .
.	    B		  .
.			      .
.............

............
.			.
.	C		.
.			.
.			.
.............

Cuando le hago click A debería quedar asi:

.......
.			.
.			.
.	B		.
.			.
.......

.......
.			.
.	C		.
.	A		.
.			.
.........
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment