Skip to content

Commit acd6c8e

Browse files
committed
Init commit. Synchro with players and joining the game.
1 parent a70ed69 commit acd6c8e

19 files changed

+9315
-2
lines changed

.babelrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"presets": [
3+
["env", { "modules": false }],
4+
"stage-3"
5+
]
6+
}

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.gitignore

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.DS_Store
2+
node_modules/
3+
dist/
4+
npm-debug.log
5+
yarn-error.log
6+
7+
# Editor directories and files
8+
.idea
9+
*.suo
10+
*.ntvs*
11+
*.njsproj
12+
*.sln

README.md

+18-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
1-
# Perudo
2-
Perudo game in Vue.js + Firebase
1+
# test-project
2+
3+
> Test project
4+
5+
## Build Setup
6+
7+
``` bash
8+
# install dependencies
9+
npm install
10+
11+
# serve with hot reload at localhost:8080
12+
npm run dev
13+
14+
# build for production with minification
15+
npm run build
16+
```
17+
18+
For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader).

index.html

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>perudo</title>
6+
</head>
7+
<body>
8+
<div id="app"></div>
9+
<script src="/dist/build.js"></script>
10+
</body>
11+
</html>

instruction

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Player status - not needed anymore
2+
3+
Game status:
4+
1 - before the game
5+
2 - in game
6+
3 - finished
7+
8+
9+
+ przycisk start gry tylko dla tworcy gry -> zmiana statusu gry
10+
+ wyswietlanie odpowiedniego diva gdy gra jest aktywna
11+
+ sprawdzanie statusu gry i odrzucanie nowych graczy
12+
+ losowe autonumerowanie graczy przy rozpoczeciu gry
13+
- losowanie kosci przy starcie gry
14+
- wyswietlic liste graczy
15+
16+
- mozliwosc wykonania jednej z akcji (sprawdzenie, podbicie, spot)
17+
- zapisanie akcji do uzytkownika i sprawdzenie warunkow gry
18+
- zmiana na kolejnego gracza
19+
- zakonczenie rundy i start nowej

0 commit comments

Comments
 (0)