Coder Social home page Coder Social logo

finalproject's Introduction

Final Project: Games on Psychtoolbox

Note: In order to be able to run these files, Psychtoolbox needs to be downloaded before proceeding to download the GitHub repository.

This project includes fun, classic games that have been coded using Psychtoolbox including Go Fish, Hangman, and Solitaire.

Hangman: Rules: https://en.wikipedia.org/wiki/Hangman_(game) You will be playing against a computer and trying to solve as many puzzles as possible in 3 rounds. You will have a choice out of 5 different categories.

To play:

  1. Open Hangman.m
  2. Make sure that Blackboard.png, Right Buzzer.m4a, and Wrong buzzer.m4a is in the correct folder and on the path.
  3. Run Hangman.m and read and follow all of the instructions that pop up on the screen.
  4. When guessing letters, press the appropriate key on the keyboard without using any repeats. There is no need to press enter here.
  5. Make sure during the game that you don't repeat any letters. There is a guessed corner where you can check what letters you have guessed or not.
  6. When asked at the end of the game if you want to play again, type 'y' and press enter to play again or type 'n' and press enter to exit out of the code.

Go Fish: Rules: https://bicyclecards.com/how-to-play/go-fish/ You will be playing against a computer and trying to win against it in a game of Go Fish.

To play:

  1. Open GoFish.m
  2. Make sure that all of the card images are in the path (PNG-cards-1.3) and table.jpeg.
  3. Run GoFIsh.m and read and follow all of the instructions that pop up on the screen.

Solitaire: Rules: https://bicyclecards.com/how-to-play/solitaire/ You will be playing solitaire and trying to solve it as fast as you can.

To play:

  1. Open Solitaire.m
  2. Make sure that all of the card images are in the path PNG-cards-1.3), SolitaireBackground.png, backofcard.png.
  3. Run Solitaire.m and read and follow all of the insturctions that pop up on the screen.

finalproject's People

Contributors

chandlercarr avatar sus-hi avatar kaitlmi 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.