Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bootcamp02-desafio02
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Liza Coronel
bootcamp02-desafio02
Commits
ad87a8ea
Commit
ad87a8ea
authored
Mar 07, 2018
by
roshka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arreglo
parent
1e863321
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
funciondamas.js
+4
-4
No files found.
funciondamas.js
View file @
ad87a8ea
...
...
@@ -38,7 +38,7 @@ function mover(celda_actual, celda){
celda
.
innerHTML
=
''
;
celda
.
style
.
background
=
"black"
;
}
else
{
elda
.
style
.
background
=
"
skyblue
"
;
elda
.
style
.
background
=
"
black
"
;
alert
(
"Movimiento Invalido!. Las fichas deben moverse de manera diagonal"
)}
}
...
...
@@ -71,7 +71,7 @@ function mover(celda_actual, celda){
celda
.
innerHTML
=
''
;
celda
.
style
.
background
=
"black"
;
}
else
{
celda
.
style
.
background
=
"
skyblue
"
;
celda
.
style
.
background
=
"
black
"
;
alert
(
"Movimiento Invalido!. Las fichas deben moverse de manera diagonal"
)}
}
...
...
@@ -83,7 +83,7 @@ function mover(celda_actual, celda){
celda
.
innerHTML
=
''
;
celda
.
style
.
background
=
"black"
;
}
else
{
celda
.
style
.
background
=
"
skyblue
"
;
celda
.
style
.
background
=
"
black
"
;
alert
(
"Movimiento Invalido!. Las fichas deben moverse de manera diagonal"
)}
}
if
(
celda
.
id
==
'F31'
){
...
...
@@ -92,7 +92,7 @@ function mover(celda_actual, celda){
celda
.
innerHTML
=
''
;
celda
.
style
.
background
=
"black"
;
}
else
{
celda
.
style
.
background
=
"
skyblue
"
;
celda
.
style
.
background
=
"
black
"
;
alert
(
"Movimiento Invalido!. Las fichas deben moverse de manera diagonal"
)}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment