Random-Number Ordering

Random Number Ordering using Bluetooth Controller

Overview

This project is a simple game that uses uLCD-144-G2 128x128 LCD and Adafruit Bluefruit LE which gives the capability of using a Bluetooth controller. The game comes with Setting that gives the user to choose the difficulty of the game and Help that has a brief introduction about the game.

Game

The Bluetooth controller gives the user the capability of moving in the 4 main directions (up,down,right,left) and by pressing number "1", you can select the underlined selection. The game is 3x3 random number sliding game and the user needs to move the blank box such that all the numbers be in the order from 1 to 9. If you are willing to go back to main menu, press "1" twice. By pressing "1" for the first time, the "Game Over" image will be displayed and by pressing it twice, the main menu will come up. The features that come with it are playing music while playing the game and also images pop up at the end of the game and the images are corresponding to if the user wins the game or stops the game.

/media/uploads/pshabbaki3/winning_case.png

Demo

Components

Hookup Guide

mbeduLCDAdafruit Bluetooth LEMicroSD BreakOut
VU=5V5VVIN
VCCVOUT
GNDGNDGND, CTSGND
TX=P28RX
RX=P27TX
P30RES
CS
P9RIX
P10TXO
P8CS
P5DI
P7SCK
P6DO

/media/uploads/pshabbaki3/schematic1.png

Import programgame

Random-number ordering game controlled via Bluetooth.


Please log in to post comments.