Giter VIP home page Giter VIP logo

2.ea-kodutoo's Introduction

2. kodutöö – Typer mängu täiendus

Mängu eesmärk on võimalikult kiiresti ekraanile tekkivaid sõnu ära trükkida. Sõnad võetud Eesti Keele Instituudi lehelt, lemmad2013

Kodutööna peate täiendama etteantud mängu, et nõuded oleksid täidetud.

Töö võib teha ka kahekesi, kuid siis peab GitHubis nägema, kes mida tegi!

Nõuded

  1. Eraldi on mängu tutvustav leht, kus kirjeldatakse mängu, saab sisestada mängija nime ning alustada mängu
  2. Mängijate kohta hoitakse meeles skoori ja salvestakse nt kasutades localStorage'it
  3. Mängu tutvustaval lehel näidatakse 10 parima mängija skoori (selle brauseri põhjal kui kasutate localStorage'it)
  4. Mäng on põnevam ja teeb midagi lisaks, nt mõni nendest:
    1. valesti tähe trükkimisel on tagajärg (nt mõjutab skoori, ekraan vilgub)
    2. kasutaja saab ise valida raskusastme või teda huvitavad sõnad (sõnapikkuse vms järgi)
    3. eraldi on öörežiim (ingl dark mode)
    4. mängus on animatsioonid (nt tähed lendavad ära pärast trükkimist)
    5. ...
  5. Eraldi on statistika leht, kus näidatakse ära arvatud sõnade ja kasutajate kohta statistikat (nt eksimuste arv, kirjutamise kiirus vms)
  6. [EI OLE KOHUSTUSLIK] Juba mängitud sõnu enam ei loosita
  7. [EI OLE KOHUSTUSLIK] Skoori ja kõiki muid andmeid hoitakse serveris
  8. [EI OLE KOHUSTUSLIK] Mängu loogika on serveris ja kasutatakse mängus petmist ennetatakse – cheat'imine on kõvasti keerulisem
  9. [EI OLE KOHUSTUSLIK] Mäng näeb hea välja ja töötab ka retina ekraanidel!

Täiendav abimaterjal

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.