GithubHelp home page GithubHelp logo

bordspil's Introduction

Borðspil

Í þessu verkefni ætlið þið að hanna og smíða frá grunni rafrænt borðspil með notkun Arduino og íhlutum. Spilið má einnig innihalda spilastokk, teninga, leikmenn og fleira sem ykkur dettur í hug. Hugið vel að leikjaspilun og reglum. Þegar þið hafið lokið við verkefnið ættuð þið að hafa fullbúið rafrænt borðspil í höndunum sem er tilbúið að fara í verslanir, sýnidæmi.

Borðspilið þarf að innihalda eftirfarandi íhluti (einn eða fleiri):

  • Leds
  • arcade takka
  • buzzer/hátalara
  • reed switch
  • on/off takki og batterí.

Hönnun með Inkscape

  1. Hannið og útfærið Boardgame template útfrá leikjahönnun.
  2. Grunnur fyrir borðspil
  3. Mál á götum:
    • Led (5 mm): Gat: 5 mm þvermál
    • Arcade takki (stór 100 mm): Gat: 94 mm þvermál
    • Arcade takki (mið 65 mm): Gat 25 mm þvermál eða 58mm þvermál.
    • Arcade takki (lítill 28 mm): Gat: 25 mm þvermál
  4. Skrifið spilaleiðbeiningar á toppinn.

Arduino nano

Kóðadæmi:

  1. Blink
  2. Takki
  3. Buzzer og velja lög
  4. reed switch
  5. Random

Málfræði

  • breytur, HIGH/LOW, OUTPUT/INPUT, int/long, if/else og ==
  • setup(), loop(), pinMode(), digitalWrite(), digitalRead(), analogRead(), delay(), Serial.begin(), Serial.println(), tone(), noTone, random(), randomSeed()

driver CH340 rekilinn https://sparks.gogo.co.nz/ch340.html

bordspil's People

Contributors

gunnarthorunnarson avatar

Watchers

 avatar

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.