Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
js-e005
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
Pedro Rolon
js-e005
Commits
8f10d22a
Commit
8f10d22a
authored
Oct 30, 2018
by
Pedro Rolon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
se corrigieron los mensajes!
parent
3833b790
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
damas.js
+3
-3
No files found.
damas.js
View file @
8f10d22a
...
...
@@ -80,17 +80,17 @@ function comenzarJuego(){
//Comprobar que los jugadores X y O tienen jugadores válidos
if
(
selectX
.
value
==
""
){
alert
(
"Debe elegir un jugador
X
"
);
alert
(
"Debe elegir un jugador
para blancas
"
);
return
;
}
if
(
selectO
.
value
==
""
){
alert
(
"Debe elegir un jugador
O
"
);
alert
(
"Debe elegir un jugador
para negras
"
);
return
;
}
//Comprobar que los jugadores X y O no sean iguales
if
(
selectX
.
value
==
selectO
.
value
){
alert
(
"Los jugadores
X y O
deben ser diferentes!"
);
alert
(
"Los jugadores deben ser diferentes!"
);
return
;
}
jugador
[
0
][
1
]
=
selectX
.
value
;
...
...
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