Vous êtes sur la page 1sur 1

Assignment 7 - Bonus CSCE 155H/RAIK 183H Fall 2016

Names:

Instructions Follow instructions carefully, failure to do so may result in points being deducted. Hand in
all your source code files through webhandin and make sure your programs compile and run by using the
webgrader interface. You can grade yourself and re-handin as many times as you wish up until the due date.
Print a hardcopy of the rubric for this assignment and hand it in by the due date.
Partner Policy You may work in pairs for this assignment if you chose. If you do work in any groups or
pairs, you must follow these guidelines:

1. You must work on all problems together. You may not simply partition the work between you.
2. You should not discuss problem details with other groups or individuals beyond general questions.
3. Hand in only one hard copy (and one soft copy) under the first authors name/cse login. Be sure to
include both names.

This bonus assignment is worth up to 75 points.


In this assignment, you will implement a Graphical User Interface (GUI) program in either GTK or Swing.
In particular, you will design a simple game. Some ideas:

A battleship game (one player version where you try to guess the placement of 5 randomly placed ships
on a 10 10 grid).

Hangman: have the user guess letters in a word. If the entire word is revealed, they win, if they guess
too many incorrect letters, they lose.
Simon: a progressively longer sequence of 4 colored boxes/sounds are played to the user who must
then repeat the same sequence; if they get it wrong too many times they lose.

Connect 4; two players place red/black tokens into an upright board; the first to 4 red/black in a row,
column, or diagonal wins.
Sudoku (you may use pre-designed game(s); you need not generate them randomly).

However, you should feel free to come up with your own ideas and you do not need to limit your choices
to those above. The code must be your own and should not build on other code. However, you may use
non-original graphics/sprites and other media (sound effects) if you wish.
Your program should be functional and intuitive to the player. It should provide good visual (and perhaps
aural) feedback for the players progress/score and clearly indicate a winning or losing game.
Make it look as cool as you can.
Hand in all of your source files via webhandin and be sure to include a readme file with instructions on how
to compile and run your program. Hand in a hardcopy of this handout with your name(s).

Vous aimerez peut-être aussi