CSCE 2004 S19 Assignment 5. Halfway checkin: April 6, 2019, 11:59pm. Final version: Apr. 12, 2019, 11:59pm

Size: px
Start display at page:

Download "CSCE 2004 S19 Assignment 5. Halfway checkin: April 6, 2019, 11:59pm. Final version: Apr. 12, 2019, 11:59pm"

Transcription

1 CSCE 2004 Programming Foundations 1 Spring 2019 University of Arkansas, Fayetteville Objective CSCE 2004 S19 Assignment 5 Halfway checkin: April 6, 2019, 11:59pm Final version: Apr. 12, 2019, 11:59pm This assignment may be done in pairs. If done in pairs, print out both names in the code and in the report but only one of the partners should submit to blackboard. The goal of this assignment is to become familiar with the manipulation of 2-dimensional arrays, as well as file input and output. Description In this assignment you will implement a console version of the game battleship. For those who are not familiar with the game, it is a board game where two people face each other and the goal is to sink all 5 ships of your opponent. To do so, each player has 5 ships that they place on their board. These ships may be placed horizontally or vertically. Each player has two boards: one that keeps track of where his ships are located as well as the enemy s hits, and another board that keeps track of the player s own hits on his opponent s ships. During each round each player fires a rocket at a specific coordinate on the enemy s board to try and sink the opponent s ships. A ship is only sunk when all locations on the ship have been hit. You can read more here: Implementation In our version, the user will play against a very basic computer. The game boards are represented by 2-dimensional arrays of size 8x8. Note that the coordinate (0,0) is located in the top left corner. Therefore, the row values ( r ) increase as we move down the board and the column values ( c ) increase as we move to the right. Each player (the user and the computer) has 2 boards: The ship_boards store about that player s fleet, i.e., where their ships are and which of their ships have been hit. The hit_boards store the user s play history, i.e., which locations they have already guessed and whether that location was a water or a hit. So, there are 4 boards in the game each of which is a 2-D char array: user_ship_board user_hit_board computer_ship_board computer_hit_board.

2 Each ship has a size, a name, and a character representation as indicated by the global constants at the top of the program. Starter code has been provided to you and three functions are also provided to you: - print_board that prints the given board in the console - place_a_ship that is used to correctly place one of the user s ships on the board - place_all_ships that is used to place all 5 of the user s ships on the board - You can copy this start code with: $turing: cp ~sgauch/public_html/2004/s19/hw/hw5/hw5.cpp. You will have to implement sevearl functions as well as parts of the main() function. The starter code has many comments to guide you. Many constant variables are provided to you, try and make use of them as much as you can! Please note that when a new game is selected, the player has to place his ships on the board, but the computer s ships are loaded from the file default_computer_ships.txt. When the player wants to save a game, the files user_ships.txt and computer_ships.txt are use to save the ship boards respectively; the contents of their hit boards will be saved in user_hits.txt and computer_hits.txt. Those are the 4 files that will be read from to fill in the 4 arrays if the user chooses to load a saved game. Your program can assume that the files that store the various ship boards are always properly formatted so no error checking is needed when they are read in. Here is an example of the file that stores the computers ship locations ( default_computer_ships.txt ): C C C C C D D..... N... B... N... B... N... B B... S S S And here is an example of a file that stores the player s hit board: x x. - x x x x. x Please note that each character is separated with a space. Error checking will be necessary when asking the player to select a menu item, and when asking the player to enter the coordinates where to fire.

3 Typically, a game works as follows: The user chooses from quitting, starting a new game, or loading a saved game. The boards get initialized appropriately: New game: both boards are all WATER; computer s ship board is read from default_computer_ships.txt; user places ships by calling place_all_ships and giving orientations and starting locations Load game: all 4 boards are set by reading the 4 save files No, the main function calls play to play the game. You may change the functions in any way you want we provide the headers for your guidance, but they are not meant to restrict your options. For example, the main program could auto-save after each turn or when the user quits, or ask the user about saving before quitting. You may decide what information to display to the user how often. Our starter code is one possible solution, any version that plays battleship properly is fine. But, you need to have play, take_turn, fire, and check_win functions and several others so that you have broken the problem into manageable chunks. Sample Output To observe what one possible final game would look like, you can copy run the following command to copy a finished version of the game: turing$ cp ~sgauch/public_html/2004/s19/hw/hw5/hw5.exe. You don t have to match the output exactly, in fact you are encouraged to communicate with the user in any way you like, as long as it is clear and includes all of the necessary information to play the game. Getting Started You will need to copy the computer s boards and starter code into your directory: turing$ cp ~sgauch/public_html/2004/s19/hw/hw5/default_computer_ships.txt. turing$ cp ~sgauch/public_html/2004/s19/hw/hw5/hw5.cpp. Implementation Strategy You will want to work on one function at a time. Can you initialize one board with water and then display it to the screen? Can you make one hit and echo back to the user what is at that location? Can you then determine that whether or not that one location is a hit or a miss? Don t worry about looping to play multiple turns until you can play a single turn for the user; then a single turn for the computer. This is a much larger and more complex program so you will want to start early and work with your partner. There will be lots of partial credit based on how many of the functions you complete successfully. Halfway Checkin To encourage everyone to start this one early, 10 points of the 50 points will be awarded based on code turned in by April 6 th. On that date, please upload compiling code and a typescript (no report needed). To receive the 10 points, the program must compile and run and do the following steps:

4 1) ask the use to play a new game, load a saved game, or quit 2) If they choose new game, your program must initialize and print all 4 boards a. Including initializing the computer s ship board from default_computer_ships.txt b. The other 3 boards can be initialized to water c. Then call place_all_ships to place 5 ships on the user s ship board 3) If they choose load a saved game, cout a message a. Optionally load the boards and display them, but this is NOT required by the check in date 4) If they choose quit, the program should end Testing/Requirements Do write a short report for this project describing how much you got done and your approach to implementation. Include at least 2 runs of your game in your typescript, and make sure to demonstrate a starting a new game and also loading a saved game. You will also need to show off your program s error checking during the typescript, by inputting some invalid values. These tests are worth 10% of the assignment grade, and be sure to have MULTIPLE tests.

5 Submission All late projects will receive reduced credit: 10% off if less than 1 day late 20% off if less than 2 days late 30% off if less than 3 days late No credit if more than 3 days late. IMPORTANT NOTE: You must print both partners name and the assignment number at the very beginning of your program s execution (see the sample code). For full credit, you need to submit the following items to ONLY ONE of the partner s blackboard account: 1. One C++ (.cpp) file that performs the two tasks described Please do not submit code in.docx,.txt, or any other format aside from.cpp! 2. One typescript (.script is recommended) file that includes the compilation of your.cpp files, as well as running the program with multiple tests. 3. One report (.docx or.pdf) that summarizes your approach and your success. Download the necessary files to your desktop from turing (FileZilla is a great tool for this). Then just submit the files to the assignment on Blackboard. Instructions on how to download your code from turing to your laptop/desktop are posted on the class website under Technology Guides. Academic Honesty Statement Students are expected to submit their own work on all programming projects, unless group projects have been explicitly assigned. Students ARE allowed to use any materials on the class website, or in the textbook, or ask the instructor and/or GTAs for assistance This course will be using highly effective program comparison software to calculate the similarity of all programs to each other, and to homework assignments from previous semesters. Please do not be tempted to plagiarize from another student. Violations of the policies above will be reported to the Provost's office and may result in a ZERO on the programming project, an F in the class, or suspension from the university, depending on the severity of the violation and any history of prior violation.

Assignment 6 Play A Game: Minesweeper or Battleship!!! Due: Sunday, December 3rd, :59pm

Assignment 6 Play A Game: Minesweeper or Battleship!!! Due: Sunday, December 3rd, :59pm Assignment 6 Play A Game: Minesweeper or Battleship!!! Due: Sunday, December 3rd, 2017 11:59pm This will be our last assignment in the class, boohoo Grading: For this assignment, you will be graded traditionally,

More information

CMSC 201 Fall 2018 Project 3 Sudoku

CMSC 201 Fall 2018 Project 3 Sudoku CMSC 201 Fall 2018 Project 3 Sudoku Assignment: Project 3 Sudoku Due Date: Design Document: Tuesday, December 4th, 2018 by 8:59:59 PM Project: Tuesday, December 11th, 2018 by 8:59:59 PM Value: 80 points

More information

Programming Project 2

Programming Project 2 Programming Project 2 Design Due: 30 April, in class Program Due: 9 May, 4pm (late days cannot be used on either part) Handout 13 CSCI 134: Spring, 2008 23 April Space Invaders Space Invaders has a long

More information

CPSC 217 Assignment 3

CPSC 217 Assignment 3 CPSC 217 Assignment 3 Due: Friday November 24, 2017 at 11:55pm Weight: 7% Sample Solution Length: Less than 100 lines, including blank lines and some comments (not including the provided code) Individual

More information

Assignment 2 (Part 1 of 2), University of Toronto, CSC384 - Intro to AI, Winter

Assignment 2 (Part 1 of 2), University of Toronto, CSC384 - Intro to AI, Winter Assignment 2 (Part 1 of 2), University of Toronto, CSC384 - Intro to AI, Winter 2011 1 Computer Science 384 February 20, 2011 St. George Campus University of Toronto Homework Assignment #2 (Part 1 of 2)

More information

INTRODUCTION TO COMPUTER SCIENCE I PROJECT 6 Sudoku! Revision 2 [2010-May-04] 1

INTRODUCTION TO COMPUTER SCIENCE I PROJECT 6 Sudoku! Revision 2 [2010-May-04] 1 INTRODUCTION TO COMPUTER SCIENCE I PROJECT 6 Sudoku! Revision 2 [2010-May-04] 1 1 The game of Sudoku Sudoku is a game that is currently quite popular and giving crossword puzzles a run for their money

More information

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

CPSC 217 Assignment 3 Due Date: Friday March 30, 2018 at 11:59pm CPSC 217 Assignment 3 Due Date: Friday March 30, 2018 at 11:59pm Weight: 8% Individual Work: All assignments in this course are to be completed individually. Students are advised to read the guidelines

More information

Mobile Application Programming: Android

Mobile Application Programming: Android Mobile Application Programming: Android CS4962 Fall 2015 Project 4 - Networked Battleship Due: 11:59PM Monday, Nov 9th Abstract Extend your Model-View-Controller implementation of the game Battleship on

More information

CS 211 Project 2 Assignment

CS 211 Project 2 Assignment CS 211 Project 2 Assignment Instructor: Dan Fleck, Ricci Heishman Project: Advanced JMortarWar using JGame Overview Project two will build upon project one. In project two you will start with project one

More information

CIDM 2315 Final Project: Hunt the Wumpus

CIDM 2315 Final Project: Hunt the Wumpus CIDM 2315 Final Project: Hunt the Wumpus Description You will implement the popular text adventure game Hunt the Wumpus. Hunt the Wumpus was originally written in BASIC in 1972 by Gregory Yob. You can

More information

CMPT 125/128 with Dr. Fraser. Assignment 3

CMPT 125/128 with Dr. Fraser. Assignment 3 Assignment 3 Due Wednesday June 22, 2011 by 11:59pm Submit all the deliverables to the Course Management System: https://courses.cs.sfu.ca/ There is no possibility of turning the assignment in late. The

More information

1 Modified Othello. Assignment 2. Total marks: 100. Out: February 10 Due: March 5 at 14:30

1 Modified Othello. Assignment 2. Total marks: 100. Out: February 10 Due: March 5 at 14:30 CSE 3402 3.0 Intro. to Concepts of AI Winter 2012 Dept. of Computer Science & Engineering York University Assignment 2 Total marks: 100. Out: February 10 Due: March 5 at 14:30 Note 1: To hand in your report

More information

Spring 06 Assignment 2: Constraint Satisfaction Problems

Spring 06 Assignment 2: Constraint Satisfaction Problems 15-381 Spring 06 Assignment 2: Constraint Satisfaction Problems Questions to Vaibhav Mehta(vaibhav@cs.cmu.edu) Out: 2/07/06 Due: 2/21/06 Name: Andrew ID: Please turn in your answers on this assignment

More information

YEDITEPE UNIVERSITY CSE331 OPERATING SYSTEMS DESIGN FALL2012 ASSIGNMENT III

YEDITEPE UNIVERSITY CSE331 OPERATING SYSTEMS DESIGN FALL2012 ASSIGNMENT III YEDITEPE UNIVERSITY CSE331 OPERATING SYSTEMS DESIGN FALL2012 ASSIGNMENT III Last Submission Date: 11 November 2012, 23:59 UNIX TCP/IP SOCKETS In the third assignment, a simplified version of the game Battleship,

More information

2359 (i.e. 11:59:00 pm) on 4/16/18 via Blackboard

2359 (i.e. 11:59:00 pm) on 4/16/18 via Blackboard CS 109: Introduction to Computer Science Goodney Spring 2018 Homework Assignment 4 Assigned: 4/2/18 via Blackboard Due: 2359 (i.e. 11:59:00 pm) on 4/16/18 via Blackboard Notes: a. This is the fourth homework

More information

Assignment 2, University of Toronto, CSC384 - Intro to AI, Winter

Assignment 2, University of Toronto, CSC384 - Intro to AI, Winter Assignment 2, University of Toronto, CSC384 - Intro to AI, Winter 2014 1 Computer Science 384 March 5, 2014 St. George Campus University of Toronto Homework Assignment #2 Game Tree Search Due: Mon March

More information

Spring 06 Assignment 2: Constraint Satisfaction Problems

Spring 06 Assignment 2: Constraint Satisfaction Problems 15-381 Spring 06 Assignment 2: Constraint Satisfaction Problems Questions to Vaibhav Mehta(vaibhav@cs.cmu.edu) Out: 2/07/06 Due: 2/21/06 Name: Andrew ID: Please turn in your answers on this assignment

More information

Programming Assignment 4

Programming Assignment 4 Programming Assignment 4 Due: 11:59pm, Saturday, January 30 Overview The goals of this section are to: 1. Use methods 2. Break down a problem into small tasks to implement Setup This assignment requires

More information

Pay attention to how flipping of pieces is determined with each move.

Pay attention to how flipping of pieces is determined with each move. CSCE 625 Programing Assignment #5 due: Friday, Mar 13 (by start of class) Minimax Search for Othello The goal of this assignment is to implement a program for playing Othello using Minimax search. Othello,

More information

CS61B, Fall 2014 Project #2: Jumping Cubes(version 3) P. N. Hilfinger

CS61B, Fall 2014 Project #2: Jumping Cubes(version 3) P. N. Hilfinger CSB, Fall 0 Project #: Jumping Cubes(version ) P. N. Hilfinger Due: Tuesday, 8 November 0 Background The KJumpingCube game is a simple two-person board game. It is a pure strategy game, involving no element

More information

Final Project: Verify a Sudoku Solution Due Fri Apr 29 (2400 hrs)? Wed May 4 (1200 hrs)? 1

Final Project: Verify a Sudoku Solution Due Fri Apr 29 (2400 hrs)? Wed May 4 (1200 hrs)? 1 Final Project: Verify a Sudoku Solution Due Fri Apr 29 (2400 hrs)? Wed May 4 (1200 hrs)? 1 A. Why? A final project is a good way to have students combine topics from the entire semester, to see how they

More information

INTRODUCTION TO RADIO, TV & FILM WRITING MRTS 2010 ONLINE Spring 2017 Department of Media Arts

INTRODUCTION TO RADIO, TV & FILM WRITING MRTS 2010 ONLINE Spring 2017 Department of Media Arts INTRODUCTION TO RADIO, TV & FILM WRITING MRTS 2010 ONLINE Spring 2017 Department of Media Arts CLASS INFORMATION Text None. Online readings and links provided in Instructor Frances Perkins Office 263 RTFP

More information

COSC 117 Programming Project 2 Page 1 of 6

COSC 117 Programming Project 2 Page 1 of 6 COSC 117 Programming Project 2 Page 1 of 6 Tic Tac Toe For this project, you will write a program that allows users to repeatedly play the game of Tic Tac Toe against the computer. See http://en.wikipedia.org/wiki/tic-tac-toe

More information

Embedded Systems Lab

Embedded Systems Lab Embedded Systems Lab UNIVERSITY OF JORDAN Tic-Tac-Toe GAME PROJECT Embedded lab Engineers Page 1 of 5 Preferred Group Size Grading Project Due Date (2) Two is the allowed group size. The group can be from

More information

Periodic Table Battleship Open Inquiry

Periodic Table Battleship Open Inquiry Periodic Table Battleship Open Inquiry OBJECTIVE: Showcase how much you know and understand the elements (& their properties) and the periodic table! LEARNING GOALS In this activity, you will: 1. seek

More information

2 Textual Input Language. 1.1 Notation. Project #2 2

2 Textual Input Language. 1.1 Notation. Project #2 2 CS61B, Fall 2015 Project #2: Lines of Action P. N. Hilfinger Due: Tuesday, 17 November 2015 at 2400 1 Background and Rules Lines of Action is a board game invented by Claude Soucie. It is played on a checkerboard

More information

Homework Assignment #1

Homework Assignment #1 CS 540-2: Introduction to Artificial Intelligence Homework Assignment #1 Assigned: Thursday, February 1, 2018 Due: Sunday, February 11, 2018 Hand-in Instructions: This homework assignment includes two

More information

03/05/14 20:47:19 readme

03/05/14 20:47:19 readme 1 CS 61B Project 2 Network (The Game) Due noon Wednesday, April 2, 2014 Interface design due in lab March 13-14 Warning: This project is substantially more time-consuming than Project 1. Start early. This

More information

For slightly more detailed instructions on how to play, visit:

For slightly more detailed instructions on how to play, visit: Introduction to Artificial Intelligence CS 151 Programming Assignment 2 Mancala!! The purpose of this assignment is to program some of the search algorithms and game playing strategies that we have learned

More information

Scratch for Beginners Workbook

Scratch for Beginners Workbook for Beginners Workbook In this workshop you will be using a software called, a drag-anddrop style software you can use to build your own games. You can learn fundamental programming principles without

More information

You Can Make a Difference! Due November 11/12 (Implementation plans due in class on 11/9)

You Can Make a Difference! Due November 11/12 (Implementation plans due in class on 11/9) You Can Make a Difference! Due November 11/12 (Implementation plans due in class on 11/9) In last week s lab, we introduced some of the basic mechanisms used to manipulate images in Java programs. In this

More information

CS151 - Assignment 2 Mancala Due: Tuesday March 5 at the beginning of class

CS151 - Assignment 2 Mancala Due: Tuesday March 5 at the beginning of class CS151 - Assignment 2 Mancala Due: Tuesday March 5 at the beginning of class http://www.clubpenguinsaraapril.com/2009/07/mancala-game-in-club-penguin.html The purpose of this assignment is to program some

More information

CS 540-2: Introduction to Artificial Intelligence Homework Assignment #2. Assigned: Monday, February 6 Due: Saturday, February 18

CS 540-2: Introduction to Artificial Intelligence Homework Assignment #2. Assigned: Monday, February 6 Due: Saturday, February 18 CS 540-2: Introduction to Artificial Intelligence Homework Assignment #2 Assigned: Monday, February 6 Due: Saturday, February 18 Hand-In Instructions This assignment includes written problems and programming

More information

Communications and New Media Title: Writing for Media Catalog Number: CNMS Credit Hours: 3 Total Contact Hours: 45

Communications and New Media Title: Writing for Media Catalog Number: CNMS Credit Hours: 3 Total Contact Hours: 45 ! South Portland, Maine 04106 Communications and New Media Title: Writing for Media Catalog Number: CNMS-125 01 Credit Hours: 3 Total Contact Hours: 45 Lecture (or Lab): Room HILDM-102 Instructor: Huey

More information

CMPT 310 Assignment 1

CMPT 310 Assignment 1 CMPT 310 Assignment 1 October 4, 2017 100 points total, worth 10% of the course grade. Turn in on CourSys. Submit a compressed directory (.zip or.tar.gz) with your solutions. Code should be submitted as

More information

COM 357: Scriptwriting for Serial Media Spring 2014 Tue./Thur. 12-1:50pm Bouillon 106

COM 357: Scriptwriting for Serial Media Spring 2014 Tue./Thur. 12-1:50pm Bouillon 106 COM 357: Scriptwriting for Serial Media Spring 2014 Tue./Thur. 12-1:50pm Bouillon 106 1 Instructor: Maria Sanders Office Hours: Bouillon 225 Assistant Professor, Film and Video Studies Mon. / Tue. / Wed.

More information

Building a Personal Portfolio in Blackboard UK SLIS

Building a Personal Portfolio in Blackboard UK SLIS Building a Personal Portfolio in Blackboard Creating a New Personal Portfolio UK SLIS 1. Enter the Blackboard Course, and select Portfolios Homepage in the Course Menu. 2. In the Portfolios page, you will

More information

Due: Sunday 13 November by 10:59pm Worth: 8%

Due: Sunday 13 November by 10:59pm Worth: 8% CSC 8 HF Project # General Instructions Fall Due: Sunday Novemer y :9pm Worth: 8% Sumitting your project You must hand in your work electronically, using the MarkUs system. Log in to https://markus.teach.cs.toronto.edu/csc8--9/en/main

More information

Homework Assignment #2

Homework Assignment #2 CS 540-2: Introduction to Artificial Intelligence Homework Assignment #2 Assigned: Thursday, February 15 Due: Sunday, February 25 Hand-in Instructions This homework assignment includes two written problems

More information

CHM 152 Lab 1: Plotting with Excel updated: May 2011

CHM 152 Lab 1: Plotting with Excel updated: May 2011 CHM 152 Lab 1: Plotting with Excel updated: May 2011 Introduction In this course, many of our labs will involve plotting data. While many students are nerds already quite proficient at using Excel to plot

More information

CS1301 Individual Homework 5 Olympics Due Monday March 7 th, 2016 before 11:55pm Out of 100 Points

CS1301 Individual Homework 5 Olympics Due Monday March 7 th, 2016 before 11:55pm Out of 100 Points CS1301 Individual Homework 5 Olympics Due Monday March 7 th, 2016 before 11:55pm Out of 100 Points File to submit: hw5.py THIS IS AN INDIVIDUAL ASSIGNMENT!!!!! Collaboration at a reasonable level will

More information

CS Project 1 Fall 2017

CS Project 1 Fall 2017 Card Game: Poker - 5 Card Draw Due: 11:59 pm on Wednesday 9/13/2017 For this assignment, you are to implement the card game of Five Card Draw in Poker. The wikipedia page Five Card Draw explains the order

More information

Begin this assignment by first creating a new Java Project called Assignment 5.There is only one part to this assignment.

Begin this assignment by first creating a new Java Project called Assignment 5.There is only one part to this assignment. CSCI 2311, Spring 2013 Programming Assignment 5 The program is due Sunday, March 3 by midnight. Overview of Assignment Begin this assignment by first creating a new Java Project called Assignment 5.There

More information

CSE 231 Fall 2012 Programming Project 8

CSE 231 Fall 2012 Programming Project 8 CSE 231 Fall 2012 Programming Project 8 Assignment Overview This assignment will give you more experience on the use of classes. It is worth 50 points (5.0% of the course grade) and must be completed and

More information

Introduction to Artificial Intelligence CS 151 Programming Assignment 2 Mancala!! Due (in dropbox) Tuesday, September 23, 9:34am

Introduction to Artificial Intelligence CS 151 Programming Assignment 2 Mancala!! Due (in dropbox) Tuesday, September 23, 9:34am Introduction to Artificial Intelligence CS 151 Programming Assignment 2 Mancala!! Due (in dropbox) Tuesday, September 23, 9:34am The purpose of this assignment is to program some of the search algorithms

More information

CMPT 310 Assignment 1

CMPT 310 Assignment 1 CMPT 310 Assignment 1 October 16, 2017 100 points total, worth 10% of the course grade. Turn in on CourSys. Submit a compressed directory (.zip or.tar.gz) with your solutions. Code should be submitted

More information

Term 1 Assignment. Dates etc. project brief set: 20/11/2006 project tutorials: Assignment Weighting: 30% of coursework mark (15% of overall ES mark)

Term 1 Assignment. Dates etc. project brief set: 20/11/2006 project tutorials: Assignment Weighting: 30% of coursework mark (15% of overall ES mark) Term 1 Assignment Dates etc. project brief set: 20/11/2006 project tutorials: project deadline: in the workshop/tutorial slots 11/12/2006, 12 noon Assignment Weighting: 30% of coursework mark (15% of overall

More information

HW4: The Game of Pig Due date: Thursday, Oct. 29 th at 9pm. Late turn-in deadline is Tuesday, Nov. 3 rd at 9pm.

HW4: The Game of Pig Due date: Thursday, Oct. 29 th at 9pm. Late turn-in deadline is Tuesday, Nov. 3 rd at 9pm. HW4: The Game of Pig Due date: Thursday, Oct. 29 th at 9pm. Late turn-in deadline is Tuesday, Nov. 3 rd at 9pm. 1. Background: Pig is a folk jeopardy dice game described by John Scarne in 1945, and was

More information

INTERMEDIATE SCREENWRITING MRTS 4460 Fall 2016 Department of Media Arts

INTERMEDIATE SCREENWRITING MRTS 4460 Fall 2016 Department of Media Arts INTERMEDIATE SCREENWRITING MRTS 4460 Fall 2016 Department of Media Arts Class Information Section - 001 Location RTVP Building room 180i Time Tuesday 2-4:50pm Text None. Online readings and links provided

More information

HW4: The Game of Pig Due date: Tuesday, Mar 15 th at 9pm. Late turn-in deadline is Thursday, Mar 17th at 9pm.

HW4: The Game of Pig Due date: Tuesday, Mar 15 th at 9pm. Late turn-in deadline is Thursday, Mar 17th at 9pm. HW4: The Game of Pig Due date: Tuesday, Mar 15 th at 9pm. Late turn-in deadline is Thursday, Mar 17th at 9pm. 1. Background: Pig is a folk jeopardy dice game described by John Scarne in 1945, and was an

More information

Suggested Games and Activities MathShop: Cartesian Coordinate Mat

Suggested Games and Activities MathShop: Cartesian Coordinate Mat Cartesian Coordinates Suggested Games and Activities MathShop: Cartesian Coordinate Mat Gr. 1 Curriculum Expectations Geometry and Spatial Sense Overall Expectations Describe the relative locations of

More information

CS Programming Project 1

CS Programming Project 1 CS 340 - Programming Project 1 Card Game: Kings in the Corner Due: 11:59 pm on Thursday 1/31/2013 For this assignment, you are to implement the card game of Kings Corner. We will use the website as http://www.pagat.com/domino/kingscorners.html

More information

This course involves writing and revising a research paper on a topic of your choice, and helping other students with their research papers.

This course involves writing and revising a research paper on a topic of your choice, and helping other students with their research papers. Liberal Studies 4800, Senior Capstone Seminar Dr. Daniel Kolak, Atrium 109, kolakd@wpunj.edu Welcome to the Liberal Studies Capstone Seminar! General Information This course involves writing and revising

More information

UNIT NAME. Media 0155 T 0150 A 1.0. Media Foundation Skills COURSE NAME CODE VALUE CODE T A

UNIT NAME. Media 0155 T 0150 A 1.0. Media Foundation Skills COURSE NAME CODE VALUE CODE T A COURSE NAME CODE VALUE Media 0155 T 0150 A 1.0 UNIT NAME CODE Media Foundation Skills 05208 T 05137 A ASSESSMENT FOR Tick the appropriate box(s) ASSESSMENT ITEM TYPE Project 2: Short Film T A V " H " M

More information

Tac Due: Sep. 26, 2012

Tac Due: Sep. 26, 2012 CS 195N 2D Game Engines Andy van Dam Tac Due: Sep. 26, 2012 Introduction This assignment involves a much more complex game than Tic-Tac-Toe, and in order to create it you ll need to add several features

More information

Make sure your name and FSUID are in a comment at the top of the file.

Make sure your name and FSUID are in a comment at the top of the file. Homework 2 Due March 6, 2015 Submissions are due by 11:59PM on the specified due date. Submissions may be made on the Blackboard course site under the Assignments tab. Late submissions will be accepted

More information

EELE 201 Circuits I. Fall 2013 (4 Credits)

EELE 201 Circuits I. Fall 2013 (4 Credits) EELE 201 Circuits I Instructor: Fall 2013 (4 Credits) Jim Becker 535 Cobleigh Hall 994-5988 Office hours: Monday 2:30-3:30 pm and Wednesday 3:30-4:30 pm or by appointment EMAIL: For EELE 201-related questions,

More information

Math Spring 2014 Proof Portfolio Instructions And Assessment

Math Spring 2014 Proof Portfolio Instructions And Assessment Math 310 - Spring 2014 Proof Portfolio Instructions And Assessment Portfolio Description: Very few people are innately good writers, and that s even more true if we consider writing mathematical proofs.

More information

CSSE220 BomberMan programming assignment Team Project

CSSE220 BomberMan programming assignment Team Project CSSE220 BomberMan programming assignment Team Project You will write a game that is patterned off the 1980 s BomberMan game. You can find a description of the game, and much more information here: http://strategywiki.org/wiki/bomberman

More information

A fun way to challenge your math thinking! Grade Levels: 4th - 8th Time: 1 class period. Check out 36 BINGO Snapshot

A fun way to challenge your math thinking! Grade Levels: 4th - 8th Time: 1 class period. Check out 36 BINGO Snapshot Grade Levels: 4th - 8th Time: 1 class period A computation strategy game Check out 36 BINGO Snapshot What equations can you make with 4, 5, & 6? (6 X 4) 5 = 19 6 + 4 + 5 = 15 (6 5) + 4 = 5 Which equation

More information

BIEB 143 Spring 2018 Weeks 8-10 Game Theory Lab

BIEB 143 Spring 2018 Weeks 8-10 Game Theory Lab BIEB 143 Spring 2018 Weeks 8-10 Game Theory Lab Please read and follow this handout. Read a section or paragraph completely before proceeding to writing code. It is important that you understand exactly

More information

CSC242 Intro to AI Spring 2012 Project 2: Knowledge and Reasoning Handed out: Thu Mar 1 Due: Wed Mar 21 11:59pm

CSC242 Intro to AI Spring 2012 Project 2: Knowledge and Reasoning Handed out: Thu Mar 1 Due: Wed Mar 21 11:59pm CSC242 Intro to AI Spring 2012 Project 2: Knowledge and Reasoning Handed out: Thu Mar 1 Due: Wed Mar 21 11:59pm In this project we will... Hunt the Wumpus! The objective is to build an agent that can explore

More information

Introduction to Computers and Engineering Problem Solving Spring 2012 Problem Set 10: Electrical Circuits Due: 12 noon, Friday May 11, 2012

Introduction to Computers and Engineering Problem Solving Spring 2012 Problem Set 10: Electrical Circuits Due: 12 noon, Friday May 11, 2012 Introduction to Computers and Engineering Problem Solving Spring 2012 Problem Set 10: Electrical Circuits Due: 12 noon, Friday May 11, 2012 I. Problem Statement Figure 1. Electric circuit The electric

More information

[DOING AN ODA: STEP-BY-STEP INSTRUCTIONS]

[DOING AN ODA: STEP-BY-STEP INSTRUCTIONS] How to do Oral Diagnostic Assessments (ODAs) Table of Contents What is an ODA?... 1 Check the Headset Volume... 2 Check the Headset Microphone Using Audacity... 3 Log into Coursework... 4 Select Your Microphone,

More information

BCN 1251C Construction Drawing Section: Credits Spring 2016

BCN 1251C Construction Drawing Section: Credits Spring 2016 BCN 1251C Construction Drawing Section: 5889 3 Credits Spring 2016 Meeting Location: RNK210 Meeting Time: T, R 8-9 Periods Instructor: Yuanxin 'Alex' Zhang Logan K. To Ph.D. Candidate Office: RNK324 Office:

More information

Lab 7: 3D Tic-Tac-Toe

Lab 7: 3D Tic-Tac-Toe Lab 7: 3D Tic-Tac-Toe Overview: Khan Academy has a great video that shows how to create a memory game. This is followed by getting you started in creating a tic-tac-toe game. Both games use a 2D grid or

More information

Game Playing in Prolog

Game Playing in Prolog 1 Introduction CIS335: Logic Programming, Assignment 5 (Assessed) Game Playing in Prolog Geraint A. Wiggins November 11, 2004 This assignment is the last formally assessed course work exercise for students

More information

CS Game Programming, Fall 2014

CS Game Programming, Fall 2014 CS 38101 Game Programming, Fall 2014 Recommended Text Learn Unity 4 for ios Game Development, Philip Chu, 2013, Apress, ISBN-13 (pbk): 978-1-4302-4875-0 ISBN-13 (electronic): 978-1-4302-4876-7, www.apress.com.

More information

MATH302: Mathematics & Computing Permutation Puzzles: A Mathematical Perspective

MATH302: Mathematics & Computing Permutation Puzzles: A Mathematical Perspective COURSE OUTLINE Fall 2016 MATH302: Mathematics & Computing Permutation Puzzles: A Mathematical Perspective General information Course: MATH302: Mathematics & Computing Permutation Puzzles: A Mathematical

More information

1 Introduction. 1.1 Game play. CSC 261 Lab 4: Adversarial Search Fall Assigned: Tuesday 24 September 2013

1 Introduction. 1.1 Game play. CSC 261 Lab 4: Adversarial Search Fall Assigned: Tuesday 24 September 2013 CSC 261 Lab 4: Adversarial Search Fall 2013 Assigned: Tuesday 24 September 2013 Due: Monday 30 September 2011, 11:59 p.m. Objectives: Understand adversarial search implementations Explore performance implications

More information

Project Connect Four (Version 1.1)

Project Connect Four (Version 1.1) OPI F2008: Object-Oriented Programming Carsten Schürmann Date: April 2, 2008 Project Connect Four (Version 1.1) Guidelines While we acknowledge that beauty is in the eye of the beholder, you should nonetheless

More information

EE 4314 Lab 3 Handout Speed Control of the DC Motor System Using a PID Controller Fall Lab Information

EE 4314 Lab 3 Handout Speed Control of the DC Motor System Using a PID Controller Fall Lab Information EE 4314 Lab 3 Handout Speed Control of the DC Motor System Using a PID Controller Fall 2012 IMPORTANT: This handout is common for all workbenches. 1. Lab Information a) Date, Time, Location, and Report

More information

CSC C85 Embedded Systems Project # 1 Robot Localization

CSC C85 Embedded Systems Project # 1 Robot Localization 1 The goal of this project is to apply the ideas we have discussed in lecture to a real-world robot localization task. You will be working with Lego NXT robots, and you will have to find ways to work around

More information

Mathematics Success Grade 8

Mathematics Success Grade 8 Mathematics Success Grade 8 T429 [OBJECTIVE] The student will solve systems of equations by graphing. [PREREQUISITE SKILLS] solving equations [MATERIALS] Student pages S207 S220 Rulers [ESSENTIAL QUESTIONS]

More information

Monte Carlo based battleship agent

Monte Carlo based battleship agent Monte Carlo based battleship agent Written by: Omer Haber, 313302010; Dror Sharf, 315357319 Introduction The game of battleship is a guessing game for two players which has been around for almost a century.

More information

Certified SOLIDWORKS Professional Advanced Preparation Materials

Certified SOLIDWORKS Professional Advanced Preparation Materials Includes Preparation for Five Advanced Certification Exams Certified SOLIDWORKS Professional Advanced Preparation Materials Sheet Metal, Weldments, Surfacing, Mold Tools and Drawing Tools SOLIDWORKS 2016

More information

ECE2049: Foundations of Embedded Systems Lab Exercise #1 C Term 2018 Implementing a Black Jack game

ECE2049: Foundations of Embedded Systems Lab Exercise #1 C Term 2018 Implementing a Black Jack game ECE2049: Foundations of Embedded Systems Lab Exercise #1 C Term 2018 Implementing a Black Jack game Card games were some of the very first applications implemented for personal computers. Even today, most

More information

ndash Customer Success Guide

ndash Customer Success Guide ndash Customer Success Guide Introduction (Page 3) Basic Setup (Page 3) o Completing Profile (info and payment) Groups o Adding your team members o Setting preferences Getting Started (Page 8) o Building

More information

MATHEMATICAL RELATIONAL SKILLS AND COUNTING

MATHEMATICAL RELATIONAL SKILLS AND COUNTING MATHEMATICAL RELATIONAL SKILLS AND COUNTING 0 1000 Mathematical relational skills and counting 0-1000 ThinkMath 2017 MATHEMATICAL RELATIONAL SKILLS AND COUNTING 0 1000 The Mathematical relational skills

More information

Keytar Hero. Bobby Barnett, Katy Kahla, James Kress, and Josh Tate. Teams 9 and 10 1

Keytar Hero. Bobby Barnett, Katy Kahla, James Kress, and Josh Tate. Teams 9 and 10 1 Teams 9 and 10 1 Keytar Hero Bobby Barnett, Katy Kahla, James Kress, and Josh Tate Abstract This paper talks about the implementation of a Keytar game on a DE2 FPGA that was influenced by Guitar Hero.

More information

CSE231 Spring Updated 04/09/2019 Project 10: Basra - A Fishing Card Game

CSE231 Spring Updated 04/09/2019 Project 10: Basra - A Fishing Card Game CSE231 Spring 2019 Updated 04/09/2019 Project 10: Basra - A Fishing Card Game This assignment is worth 55 points (5.5% of the course grade) and must be completed and turned in before 11:59pm on April 15,

More information

MthSc 103 Test #1 Spring 2011 Version A JIT , 1.8, , , , 8.1, 11.1 ANSWER KEY AND CUID: GRADING GUIDELINES

MthSc 103 Test #1 Spring 2011 Version A JIT , 1.8, , , , 8.1, 11.1 ANSWER KEY AND CUID: GRADING GUIDELINES Student s Printed Name: ANSWER KEY AND CUID: GRADING GUIDELINES Instructor: Section # : You are not permitted to use a calculator on any portion of this test. You are not allowed to use any textbook, notes,

More information

Homework Week #16 Due January 24, 2019 Grade 2 TLC

Homework Week #16 Due January 24, 2019 Grade 2 TLC Homework Week #16 Due January 24, 2019 Grade 2 TLC Reading: The homework program includes 15 20 minutes of daily reading. Please complete at least 2 3 sessions of Raz-Kids a week, which should include

More information

Recording your Voice Tutorials 3 - Basic Uses of Audacity Wayne B. Dickerson

Recording your Voice Tutorials 3 - Basic Uses of Audacity Wayne B. Dickerson Recording your Voice Tutorials 3 - Basic Uses of Audacity Wayne B. Dickerson In this tutorial, you are going to learn how to use Audacity to perform some basic functions, namely, to record, edit, save

More information

BCN 1251C Construction Drawing Section: Credits Fall 2016

BCN 1251C Construction Drawing Section: Credits Fall 2016 Meeting Location: RNK210 Instructor: BCN 1251C Construction Drawing Section: 5889 3 Credits Fall 2016 Meeting Time: T, R 8-9 Periods (3:00-4:55pm) TA: Nichole Campbell, Ph.D., LEED GA Logan K. To Research

More information

CAD RESIDENTIAL AND COMMERCIAL DRAFTING WITH CADD 3 Semester Hours

CAD RESIDENTIAL AND COMMERCIAL DRAFTING WITH CADD 3 Semester Hours FALL 2014 Course Syllabus CAD 210-01 RESIDENTIAL AND COMMERCIAL DRAFTING WITH CADD 3 Semester Hours Faculty: Donald Nicholson, Technology Department Head Telephone: 410-334-2828 E-mail: dnicholson@worwic.edu

More information

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs 10-11 Introduction to Arduino In this lab we will introduce the idea of using a microcontroller as a tool for controlling

More information

UCLA Department of Film, Television and Digital Media FTV 183a: Introduction to Producing

UCLA Department of Film, Television and Digital Media FTV 183a: Introduction to Producing UCLA Department of Film, Television and Digital Media FTV 183a: Introduction to Producing Class Meetings: Mondays & Wednesdays 7:30pm 9:50pm Location : Public Affairs Room 2333 Updated : 11/11/16 COURSE

More information

VARVE MEASUREMENT AND ANALYSIS PROGRAMS OPERATION INSTRUCTIONS. USING THE COUPLET MEASUREMENT UTILITY (Varve300.itm)

VARVE MEASUREMENT AND ANALYSIS PROGRAMS OPERATION INSTRUCTIONS. USING THE COUPLET MEASUREMENT UTILITY (Varve300.itm) VARVE MEASUREMENT AND ANALYSIS PROGRAMS OPERATION INSTRUCTIONS USING THE COUPLET MEASUREMENT UTILITY (Varve300.itm) 1. Starting Image Tool and Couplet Measurement Start Image Tool 3.0 by double clicking

More information

Advanced Excel. Table of Contents. Lesson 3 Solver

Advanced Excel. Table of Contents. Lesson 3 Solver Advanced Excel Lesson 3 Solver Pre-reqs/Technical Skills Office for Engineers Module Basic computer use Expectations Read lesson material Implement steps in software while reading through lesson material

More information

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

More Challenges These challenges should only be attempted after difficulty challenges have been successfully completed in all the required objectives. More Challenges These challenges should only be attempted after difficulty challenges have been successfully completed in all the required objectives. Word extractor challenge Requires knowledge of objectives

More information

Mathematics Success Level D

Mathematics Success Level D T782 [OBJECTIVE] The student will explore concepts of angles and be able to use a protractor to measure angle degrees. [PREREQUISITE SKILLS] multiplying multi-digit whole numbers [MATERIALS] Student pages

More information

1.1 Investigate the capabilities and limitations of a range of digital gaming platforms

1.1 Investigate the capabilities and limitations of a range of digital gaming platforms Unit Title: Game design concepts Level: 2 OCR unit number: 215 Credit value: 4 Guided learning hours: 30 Unit reference number: T/600/7735 Unit purpose and aim This unit helps learners to understand the

More information

Activity Graphics: Image Processing

Activity Graphics: Image Processing Computer Science Activity Graphics: Image Processing ASSIGNMENT OVERVIEW In this assignment you ll be writing a series of small programs that take a digital image, examine the pixels that make up that

More information

Lab Assignment 3. Writing a text-based adventure. February 23, 2010

Lab Assignment 3. Writing a text-based adventure. February 23, 2010 Lab Assignment 3 Writing a text-based adventure February 23, 2010 In this lab assignment, we are going to write an old-fashioned adventure game. Unfortunately, the first adventure games did not have fancy

More information

YourTurnMyTurn.com: Rules Minesweeper. Michael A. Coan Copyright Coan.net

YourTurnMyTurn.com: Rules Minesweeper. Michael A. Coan Copyright Coan.net YourTurnMyTurn.com: Rules Minesweeper Michael A. Coan Copyright Coan.net Inhoud Rules Minesweeper...1 Introduction and Object of the board game...1 Playing the board game...2 End of the board game...2

More information

CSEP 573 Applications of Artificial Intelligence Winter 2011 Assignment 3 Due: Wednesday February 16, 6:30PM

CSEP 573 Applications of Artificial Intelligence Winter 2011 Assignment 3 Due: Wednesday February 16, 6:30PM CSEP 573 Applications of Artificial Intelligence Winter 2011 Assignment 3 Due: Wednesday February 16, 6:30PM Q 1: [ 9 points ] The purpose of this question is to show that STRIPS is more expressive than

More information

GRADE 3 SUPPLEMENT. Set C3 Geometry: Coordinate Systems. Includes. Skills & Concepts

GRADE 3 SUPPLEMENT. Set C3 Geometry: Coordinate Systems. Includes. Skills & Concepts GRADE SUPPLEMENT Set C Geometry: Coordinate Systems Includes Activity Coordinate Place Four C. Activity Dragon s Gold C.7 Independent Worksheet Coordinate Dot-to-Dots C. Independent Worksheet Robot Programs

More information

ABET Course Syllabus Template

ABET Course Syllabus Template 1. Course number and name ECE341: Energy Conversion ABET Course Syllabus Template 2. Credits and contact hours 3 credit hours, 3 contact hours (including 20 minutes breaks) 3. Instructor s or course coordinator

More information

The Beauty and Joy of Computing Lab Exercise 10: Shall we play a game? Objectives. Background (Pre-Lab Reading)

The Beauty and Joy of Computing Lab Exercise 10: Shall we play a game? Objectives. Background (Pre-Lab Reading) The Beauty and Joy of Computing Lab Exercise 10: Shall we play a game? [Note: This lab isn t as complete as the others we have done in this class. There are no self-assessment questions and no post-lab

More information