space_arcade/docs/Spec.md
2023-01-28 12:43:53 -08:00

2.8 KiB

Introduction

System Purpose

This is a miniature arcade machine that can be played utilizing an accompanying phone app. The objective of this project is to provide a fun desk decoration that can be turned on, connected to, and played quickly during downtime. It should be small enough as too not intrude on desk space but large enough to contain a screen large enough to facilitate an enjoyable playing experience.

Definitions, Acronyms, and Abbreviations

Definitions

OpenSCad - script based computer aided design software (CAD) for modeling 3D objects
Bluetooth - wireless standard used for data exchange

Acronyms and Abbreviations

FPGA - Field Programmable Gate Array
PLA - Plastic used for printing chassis(Polylactic acid)
FDM - 3D printing Process (Fused Filament Fabrication)\

General System Description

System Overview

The projected subsystems of this project include the audio, video, wireless connection, app, game logic, and 3D design.

Blackbox Design

A small speaker is employed for audio, a color LCD for video, and a PMOD Bluetooth module for the interface between the phone app and the FPGA through bluetooth. The chassis is designed utilizing openSCad and is printed from a FDM printer, specifically the Ender 3 pro, using black eSun PLA+. The game logic is based off of the 1978 arcade game Space invaders.

External Inputs and Outputs

Name Description Use
Phone Application (Input) Phone Application that allows for directional input, a fire button, a select button, and a start button Allows for user to interact with the game on the arcade
Display An LCD that displays the different frames of the game when the arcade is switched on Allows user to interact with the game
Audio A Speaker that plays sound cues and music when the arcade is switched on Creates a more immersive experience

System Context

The arcade can be kept as a desk decoration due to its small size. During down time, a user can turn on the arcade using a switch that is located on the back of the arcade. The arcade powers on and, after it is finished booting up, starts waiting for a bluetooth connection to be made. The user can then take out their smart phone, and open the Space Arcade app. Through the app, they can connect to the arcade and press start to start the game. The game is a simple space invaders clone that keeps track of score which is gained when an alien is shot down. After a board is cleared, the game speed increases and the aliens start shooting back more frequently. After the player loses all 3 lives the game is over and the score is saved if it is within the top 3 scores and the scoreboard is updated. The game asks if the player wants to play again. If the player wants to play again they press start and the game starts over.