THE GUESS OF DEATH. PSEUDOCODE: The logic for my code will be. Dawson Dill 152BC. A less convinient form of analog hangman

Similar documents
Part II: Number Guessing Game Part 2. Lab Guessing Game version 2.0

In this project, you will create a memory game where you have to memorise and repeat a sequence of random colours!

1. The decimal number 62 is represented in hexadecimal (base 16) and binary (base 2) respectively as

Industrial Automation Training Academy. Arduino, LabVIEW & PLC Training Programs Duration: 6 Months (180 ~ 240 Hours)

Unit 5: What s in a List

Where's the Treasure?

Memory. Introduction. Scratch. In this project, you will create a memory game where you have to memorise and repeat a sequence of random colours!

D1 Probability of One Event

LEVEL A: SCOPE AND SEQUENCE

ECE 445 Senior Design Laboratory. Fall Individual Progress Report. Automatic Pill Dispenser

// Parts of a Multimeter

Let's Race! Typing on the Home Row

LogicBlocks & Digital Logic Introduction

The WIF n Proof Design Center

Operation Guide Internet Radio

ET Water SmartWorks Panel Installation Guide

LogicBlocks & Digital Logic Introduction a

Survey Technical Support Notes December 2015

In this project you ll learn how to create a times table quiz, in which you have to get as many answers correct as you can in 30 seconds.

Arduino Lesson 1. Blink. Created by Simon Monk

Unit 6.5 Text Adventures

Chief Architect X3 Training Series. Layers and Layer Sets

C# Tutorial Fighter Jet Shooting Game

PHOTOGRAPHER S GUIDE TO THE CANON POWERSHOT S110

Exercise 10. Linear Slides EXERCISE OBJECTIVE

HAPPY HCS Voyager: Level-1 Maintenance & Repair Intermediate-level repair / maintenance procedures

GameSalad Basics. by J. Matthew Griffis

Strings, Puzzle App I

Donkey Kong Remix Trainer & Pace Instructions Copyright 2016 Arcadeshop, LLC - all rights reserved.

Making Your World - the world building tutorial

More Challenges These challenges should only be attempted after difficulty challenges have been successfully completed in all the required objectives.

ServoDMX OPERATING MANUAL. Check your firmware version. This manual will always refer to the most recent version.

Chef Solus and the Food Pyramid Adventure Game Game Instructions

MAE106 Laboratory Exercises Lab # 3 Open-loop control of a DC motor

A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads:

APPENDICES. Table of The Speech functions analysis of and typical mood of clauses

CPSC 217 Assignment 3 Due Date: Friday March 30, 2018 at 11:59pm

CURIE Academy, Summer 2014 Lab 2: Computer Engineering Software Perspective Sign-Off Sheet

Girls Programming Network. Scissors Paper Rock!

Project #1 Report for Color Match Game

OCULUS VR, LLC. Oculus User Guide Runtime Version Rev. 1

Lab 06: Ohm s Law and Servo Motor Control

DC Motor and Servo motor Control with ARM and Arduino. Created by:

SMART 3 IN 1 HOLLYWOOD PHOTOS: SETTING UP YOUR BOOTH FOR WEDDING/EVENT MODE

Physics 3 Lab 5 Normal Modes and Resonance

User Manual Version 1.0

PowerPoint 6-Pack Training Games Volume 2 Help

Pass-Words Help Doc. Note: PowerPoint macros must be enabled before playing for more see help information below

Servo Sweep. Learn to make a regular Servo move in a sweeping motion.

What is Digital Logic? Why's it important? What is digital? What is digital logic? Where do we see it? Inputs and Outputs binary

Name EGR 2131 Lab #2 Logic Gates and Boolean Algebra Objectives Equipment and Components Part 1: Reading Pin Diagrams 7400 (TOP VIEW)

Mobile Application Programming: Android

Creating Interactive Games in a Flash! Candace R. Black

Tarocco Closed Loop Motor Controller

Cato s Hike Quick Start

A Few House Rules for Arkham Horror by Richard Launius

Page 1 of 9

Blackfin Online Learning & Development

A Walk Through the MSA Software Vector Network Analyzer Reflection Mode 12/12/09

PWM CONTROL USING ARDUINO. Learn to Control DC Motor Speed and LED Brightness

COASTAL AMUSEMENTS, INC, 1950 SWARTHMORE AVE LAKEWOOD, NJ (732)

Self Learning Game Software Requirements Specification Joint Document Version 1

GE 320: Introduction to Control Systems

Slayer. Documentation. Versions 2.0+ by Greek2me

Intro to Digital Logic, Lab 8 Final Project. Lab Objectives

Lab 7: 3D Tic-Tac-Toe

CPSC 226 Lab Four Spring 2018

Create Or Conquer Game Development Guide

Welcome to Family Dominoes!

CSCI370 Final Report CSM Gianquitto

Using the SparkFun PicoBoard and Scratch

Printer Software Guide

ATS-I USER MANUAL. Tecnoelettra srl Dal Via Vioni Dimo, S.Rocco di Guastalla (RE)

A Scene from. The Incomplete Life & Random Death Of Molly Denholtz. by Ian McWethy

NWN Toolset Module Construction Tutorial

Software user guide. Contents. Introduction. The software. Counter 1. Play Train 4. Minimax 6

EscapeKeeper & EscapeKeeper JR

TWEAK THE ARDUINO LOGO

Servo Animator version Table of contents

Breadboard Primer. Experience. Objective. No previous electronics experience is required.

EE307. Frogger. Project #2. Zach Miller & John Tooker. Lab Work: 11/11/ /23/2008 Report: 11/25/2008

Absolute Backgammon for the ipad Manual Version 2.0 Table of Contents

Nhu Nguyen ES95. Prof. Lehrman. Final Project report. The Desk Instrument. Group: Peter Wu, Paloma Ruiz-Ramon, Nhu Nguyen, and Parker Heyl

TRICKSHOP.COM. Copyright 2016 by Trickshop.com. All rights reserved.

Lock Cracker S. Lust, E. Skjel, R. LeBlanc, C. Kim

In the game of Chess a queen can move any number of spaces in any linear direction: horizontally, vertically, or along a diagonal.

Experiment #3: Micro-controlled Movement

Warm ups PLACE VALUE How many different ways can you make the number 365?

Cosmic 2000-in-1 Multiplay Arcade Machine

Bill of Materials: PWM Stepper Motor Driver PART NO

CNC Using the FlexiCam CNC and HMI Software. Guldbergsgade 29N, P0 E: T:

Ansoft Designer Tutorial ECE 584 October, 2004

TX4400 UHF CB RADIO INSTRUCTION MANUAL TX4400 INSTRUCTION MANUAL PAGE 1

OVEN INDUSTRIES, INC. Model 5C7-362

Explore and Challenge:

HANGMAN EXTREME HALLOWEEN C++ PROJECT

9 TROUBLE- SHOOTING - WHAT TO DO WHEN THINGS DONE WORK

Ok, we need the computer to generate random numbers. Just add this code inside your main method so you have this:

ELECTRICAL ENGINEERING TECHNOLOGY PROGRAM EET 433 CONTROL SYSTEMS ANALYSIS AND DESIGN LABORATORY EXPERIENCES

Disclaimer. Arduino Hands-On 2 CS5968 / ART4455 9/1/10. ! Many of these slides are mine. ! But, some are stolen from various places on the web

Transcription:

PSEUDOCODE: The logic for my code will be based around these basic systems in my game: a letter picker for the user implemented by the use of a knob and a potentiometer, a button for the user that will be labeled as the "guess" button", a dial [dots dial] controlled by a servo that will can show the different positions of permutations of right and wrong in a five-letter word, a dial [gallows dial] controlled by a servo that will tell the user either if they have already guessed a letter or how many missed guesses they have. My intended code will start with the dots dial be set to the far left showing all 5 dots as empty and the gallows dial showing the happy face. (These outputs will be reflected as degree variables within the code, the actual numbers will be determined later after the faces for the dials have been tested with the servos.) The round starts with the computer selecting a random number. That number will be mapped and associated with a string in an array list that will be the five-letter word for the round. This will all happen in the setup portion of each round (or in the reset code I write at the end). For every guess, the player will first press the button to enter into guess mode. This will tell the gallows dial's servo to show that a player is in a guessing mode. The code will then instruct the dot servo to begin reflecting the potentiometer knob (by first moving to match its current position). Turning the knob in guess mode will let the player choose which letter they want to guess. When a player presses the guess button again, the computer will disable the guess button/mode for the current time and then wait to ensure the servo has reached the correct letter display. Then the program will ask, "What is the current value of the servo?" Then, based on a series of "if" statements from tested values on the letter picker, the computer will know what letter has been chosen by the player. Once this letter is found by the program, it will exit the "if" statement list and place the corresponding character into a variable to be used for checking on how good the of a guess it was. The next question would then be "Has the player guessed this letter before?" If after checking the character against a list of all the letters guessed, the letter proves to have been guessed, the computer will move the gallows dial to indicate "already guessed." Simultaneously, the dot dial will move (no longer related to the potentiometer) to indicate which space the guessed letter occupies (can be none). Both dials will wait for a period and then move back to show status positions by changing which variable defines the current servo positions. If the computer determines the letter to not have been guessed prior, it will run the letter through the guess checker. The guess checker will work as a series of "if" statements comparing the current guess character to each of the five letters in the selected word and changing a boolean variable for each of the five spaces (i.e., make the booleans true if the guessed letter matches the current word). If any change in status has been detected (a separate change sensitive boolean will be placed within the previous guess checking series) then the system will run through a series of if statements to determine where to position the dot dial to correctly show how many letters the user currently has correct. (Thus if a guess is correct, the gallows dial stays still and the dot dial will move to show what the new status is.) If a guess is wrong, the gallows dial will move to indicate the current number of wrong tries (shown by icons going from left to right: toothy-smiling face, happy face, disconcerted face, frowning face, screaming face, skull). Now that the letter has been guessed, it will be added to the list of guessed characters and the game will prepare for the next round. This will include resetting the change indicating boolean and allowing the button to have an effect on the game again. If during the last turn a player either got a wrong guess that moved the dial to the skull then the game will automatically shut off and have to be restarted to play again. If the player has won the game during a round by turning all of the space booleans true (as checked in the "change status tree"), then the game turn to the dot dial to the complete indicator and the game will enter into "party" mode. Party mode will consist of the game moving the gallows dial around at the smiley faces while the dot dial spells out the word over and over again. Pressing the guess button once will bring the game out of "party" mode and actually restart the game (reset all the variables and pick a new word).

LIST OF STUFF NEEDED: -Arduino (ordered) -Wire (I have some, will get more) -Power Supply (getting one from an old computer) -2 x MOSFET transistors (maybe) -Resistor (ordered) -Potentiometer (ordered) -Knob for use with potentiometer -2 x Servos (ordered) -Button (ordered) -Needles for dials (steal from some object) -Wood (I will get from ANAWALT) -Spray paint (ANAWALT) -Screws (Have them) -Servo mounting hardware (need to do more research) -Designed dials made of thick paper (created)

THE OUTSIDE Made all out of wood, the exterior will be a sort of trapezoidal box features a button and a knob on the front and two dials on the top. The dials will be cut out of the wood and will actually be recessed material covered in paper (printed with the dial s information).

DIAL DESIGN Two separate dials back to back. The top dot dial indicates placement within the 5 letter word (status and already guessed position) while the bottom dial indicates the path to death as well as when a player is in guessing mode and when a letter has already been guessed.

IDEAS FOR THE INSIDE