Code Monkey home page Code Monkey logo

university-project-repos / interactivemicrocontrollergame Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 16 KB

Simple embedded-C program for an interactive, multi-tiered memory game between UCFK4 microcontrollers using real-time infrared communication. ENCE260 group project at the University of Canterbury.

Makefile 12.16% C 87.84%
c-programming-language computer-architecture embedded-c embedded-systems infrared interactive-game memory-game microcontroller-programming real-time ucfk4 university-of-canterbury university-project computer-science uc-fun-kit user-specified requirements-elicitation computer-systems collaborative-development code-smells 98-percenter

interactivemicrocontrollergame's Introduction

ENCE260 Microcontroller Assignment

Simple embedded-C program for an interactive, multi-tiered memory game between UCFK4 microcontrollers using real-time infrared communication.

UCFK4

My first project implementing C, embedded microcontrollers, and basically in fulfilling user-specified requirements (with exception to underlying project specifications, and already completing a software engineering project course in exchange studies abroad, although oddly not recognised somehow by the University of Canterbury regardless of already being transfered to my studies there, and not to mention with a group rather than left alone) to a "Simon Say's" theme.

Team

Instructions

Game Play

  • First of the two boards to have the nav-switch button pushed when START GAME is scrolling across the display starts the game as Player "SENDER". The nav-switch is used for all actions.
  • Player "SENDER" chooses a difficulty level by moving the nav-switch N/E to increment difficulty selection, or S/W to decrement difficulty selection.
  • Player "SENDER" then chooses directions to infrared-transmit to Player "RECEIVER" by moving the nav-switch 'N', 'E', 'S', or 'W' a maximum number of directions respective of the selected difficulty level.
  • After pressing the nav-switch button when PLAY DIRECTIONS is scrolling on the display and the counter expires, Player "RECEIVER" then repeats the displayed directions transmitted by Player "SENDER".
  • If Player "RECEIVER" repeats each direction in sequential order of instruction for three consecutive gameplay-levels of incrementing difficulty, or fails to in any one attempt, the boards swap player roles and play restarts.
  • For each board that is active in play, an LED light will be on, and the other board will be "locked-down" with either a '$' or 'R' char dependent on player "SENDER" and "RECEIVER" role to indicate this, respectively.

Requirements

  • Two UCFK4 microcontrollers
  • Excluded driver files, etc.

Install

With a microcontroller connected to the installation device by USB-cable, execute

make clean
make
make program

interactivemicrocontrollergame's People

Contributors

r055a 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.