Coder Social home page Coder Social logo

cube-runner-arduino's Introduction

CUBE RUNNER

Developed By:

Nick Diocson
Cole Milburn

Project Description

Our final project is based around the online game known as "Cube Field" or "Cube Runner". This is a 3D arcade-like game in which the player controls a triangular cursor accelerating through a field of cube-like objects. The objective of the game is simple: avoid colliding with the oncoming cubes for as long as possible. While the player is alive, the difficulty will increase with the game spawning more blocks to reduce the player's available pathways. As the game progresses, the player will earn points based on the number of cubes they have passed. Additionally, the player will be able to view their score relative to the next highest score on the current leader board while playing the game.

Game Instructions

Using the Arduino's joystick, the player is able to move left or right. The player may click the joystick button to pause/unpause the game. If a high score is achieved, the player will be prompted by the serial monitor to enter in their name once their game is finished. Their name and score will be stored onto the SD card.

Note that only letters should be used when storing names, and capital letters are already implemented. Should an SD card not be available to the player, the game will still be able to be played just without the functionality of the leader board and in-game highscore tracker.

Wiring Instruction

Adafruit ILI9341

GND <--> GND
Vin <--> +5V
CLK <--> 52
MISO <--> 50
MOSI <--> 51
CS <--> 10
D/C <--> 9
Y+ <--> A2
X+ <--> 4
Y- <--> 5
X- <--> A3
CCS <--> 6

SainSmart Joystick

GND <--> GND
+5V <--> +5V
VRx <--> A1
VRy <--> A0
SW <--> 2

cube-runner-arduino's People

Contributors

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