projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Need to pass props from Game to ComputerGame to BaseGame to Board...
[vchess.git]
/
client
/
src
/
components
/
ComputerGame.vue
diff --git
a/client/src/components/ComputerGame.vue
b/client/src/components/ComputerGame.vue
index
a15686f
..
962960a
100644
(file)
--- a/
client/src/components/ComputerGame.vue
+++ b/
client/src/components/ComputerGame.vue
@@
-1,7
+1,7
@@
<template lang="pug">
.row
.col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
<template lang="pug">
.row
.col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
- BaseGame(:variant="variant.name" :analyze="analyze" :
players="players")
+ BaseGame(:variant="variant.name" :analyze="analyze" :players="players")
</template>
<script>
</template>
<script>
@@
-24,9
+24,7
@@
export default {
lockCompThink: false, //to avoid some ghost moves
fenStart: "",
compWorker: null,
lockCompThink: false, //to avoid some ghost moves
fenStart: "",
compWorker: null,
-
-//TODO: players ? Computed?
-
+ players: ["Myself","Computer"], //always playing white for now
};
},
computed: {
};
},
computed: {