This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Precisamos baixar mais uma branch do Fork original. Como fazemos? | |
1. Utilizamos da seguite linha de comando: | |
git remote add upstream htttps://github.com/USERNAME/PROJECT_NAME.git | |
2. O comando "--all" baixa tudo que tem no projeto e "--prune" faz uma limpeza | |
local em alguma referência e algum arquivo que existia e que hoje não existe mais | |
git fetch --all --prune | |
3. lista todas as branchs remotas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="width: 85px; height: 170px; position: relative;"> | |
<div style="width: 5px; height: 5px; position: absolute; top: 0px; left: 0px; box-shadow: transparent 0px 0px 0px 0px, transparent 5px 0px 0px 0px, transparent 10px 0px 0px 0px, transparent 15px 0px 0px 0px, transparent 20px 0px 0px 0px, rgb(20, 33, 50) 25px 0px 0px 0px, transparent 30px 0px 0px 0px, transparent 35px 0px 0px 0px, transparent 40px 0px 0px 0px, transparent 45px 0px 0px 0px, transparent 50px 0px 0px 0px, rgb(20, 33, 50) 55px 0px 0px 0px, transparent 60px 0px 0px 0px, transparent 65px 0px 0px 0px, transparent 70px 0px 0px 0px, transparent 75px 0px 0px 0px, transparent 80px 0px 0px 0px, transparent 0px 5px 0px 0px, transparent 5px 5px 0px 0px, transparent 10px 5px 0px 0px, transparent 15px 5px 0px 0px, transparent 20px 5px 0px 0px, rgb(20, 33, 50) 25px 5px 0px 0px, transparent 30px 5px 0px 0px, transparent 35px 5px 0px 0px, transparent 40px 5px 0px 0px, transparent 45px 5px 0px 0px, transparent 50px 5px 0px 0px, rgb(20, 33, 50) 55px 5p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="width: 85px; height: 170px; position: relative;"> | |
<div style="display: block; width: 85px; height: 5px; position: absolute; left: 0px; top: 0px;"> | |
<div style="display: block; width: 5px; height: 5px; background-color: transparent; position: absolute; left: 0px; top: 0px;"></div> | |
<div style="display: block; width: 5px; height: 5px; background-color: transparent; position: absolute; left: 5px; top: 0px;"></div> | |
<div style="display: block; width: 5px; height: 5px; background-color: transparent; position: absolute; left: 10px; top: 0px;"></div> | |
<div style="display: block; width: 5px; height: 5px; background-color: transparent; position: absolute; left: 15px; top: 0px;"></div> | |
<div style="display: block; width: 5px; height: 5px; background-color: transparent; position: absolute; left: 20px; top: 0px;"></div> | |
<div style="display: block; width: 5px; height: 5px; background-color: rgb(20, 33, 50); position: absolute; left: 25px; top: 0px;"></div> | |
<div style="display: block; width: 5px; heig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<svg width="85" height="170"> | |
<rect style="fill:transparent" width="5" height="5" x="0" y="0"></rect> | |
<rect style="fill:transparent" width="5" height="5" x="5" y="0"></rect> | |
<rect style="fill:transparent" width="5" height="5" x="10" y="0"></rect> | |
<rect style="fill:transparent" width="5" height="5" x="15" y="0"></rect> | |
<rect style="fill:transparent" width="5" height="5" x="20" y="0"></rect> | |
<rect style="fill:#142132" width="5" height="5" x="25" y="0"></rect> | |
<rect style="fill:transparent" width="5" height="5" x="30" y="0"></rect> | |
<rect style="fill:transparent" width="5" height="5" x="35" y="0"></rect> | |
<rect style="fill:transparent" width="5" height="5" x="40" y="0"></rect> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
internalLabel: 'easy', | |
label: '😸 easy', | |
maxNumber: 3, | |
operators: [ | |
{ label: '+', }, | |
{ label: '-', } | |
] | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name | description | type | |
---|---|---|---|
levelDefautl | define o nível padrão do game | string | |
lvls | lista de níveis que o game irá suportar | array | |
lvls -> internalLabel | nome do nível que não pode conter espaços e caracter especial | string | |
lvls -> label | nome do nível que irá ser exibida na UI | string | |
lvls -> maxNumber | número máximo aleatório que irá ser utilizado nas operações | number | |
lvls -> operators | lista de operadores para o nível selecionado | array | |
showResult | exibe ou não o resultado da operação durante o game | boolean | |
time | tempo para finalizar o game | number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
App.STATE = { | |
countdown: { | |
value: 20 | |
}, | |
lvlDefault: { | |
value: 'easy' | |
}, | |
lvls: { | |
value: [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mathematics.PROPS = { | |
/** | |
* @type {number} | |
* @default 30 | |
*/ | |
countdown: Config.number().value(30), | |
/** | |
* @type {string} | |
* @default undefined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
render() { | |
const {start, finish, init, lvl} = this.state; | |
return ( | |
<div class={`mathematics mathematics--lvl-${lvl.internalLabel}`}> | |
<div class={'mathematics__body'}> | |
{init && ( | |
<div class={'mathematics__init'}> | |
{this.renderInitGame()} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Render UI init game | |
*/ | |
renderInitGame() { | |
return ( | |
<Layout> | |
<Layout.Header>{LANGUAGE.initGame}</Layout.Header> | |
<Layout.Body> | |
{this.renderUIButtons()} |
OlderNewer