Giter VIP home page Giter VIP logo

jogo-da-cobrinha's Introduction

jogo-da-cobrinha

nesse projeto me desafiei a criar um jogo de interface simples como base no meu apredizado utilizei:

  • [] css - [] html - [] javaScript

jogo-da-cobrinha's People

Contributors

silvana23 avatar

Stargazers

Jaqueline Azevedo  avatar Gustavo Lopes avatar André Felipe avatar Romulo S. Ramos avatar Bruno Ochotorena avatar Monica Craveiro de Menezes avatar Bruno Romeiro avatar Paulo Henrique avatar Ligia Balieiro Barros avatar

Watchers

Andre Ferreira avatar  avatar

jogo-da-cobrinha's Issues

Dica bacana

Gostei da organização do código, seria bem legal também implementar níveis de dificuldade, por exemplo que mude a velocidade da cobrinha.

Seria bacana também colocar as cores em variáveis, facilita depois quando precisar trocar de cor.

:root {
    --title-color: rgb(44, 139, 44);
    --background-color: rgb(34, 63, 196);
}

body {
    height: 95vh;
    width: 95;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--title-color);
}

#cabecalho-principal {
    margin-bottom: 20px;
}

#pontuacao-game {
    background-color: var(--background-color);
    border-radius: 30px;
    padding: 10px;
    color: white;
    padding: 5px 50px;
    font-size: 20px;
    font-weight: 700;
    margin-left: 15px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#pontuacao-game img {
    margin-right: 15px;
}

Adorei o joguinho!!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.